/*
Theme Name: ATJOIN - COLLEGE THEME
Theme URI: https://atjoin.in
Author: Aniruddha Bhorkade
Author URI: https://atjoin.in
Description: The ATJOIN College WordPress Theme is a powerful and versatile solution designed specifically for educational institutions such as colleges, universities, and training centers. Crafted with a sleek and modern design, this theme offers an intuitive interface that ensures a seamless experience for administrators, students, and faculty alike.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: college-theme
*/

/* Import Bootstrap CSS via CDN */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
:root {
    --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Poppins",  sans-serif;
    --nav-font: "Raleway",  sans-serif;
  }
  
  /* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
  :root { 
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #2c4964; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #1977cc; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  }
  
  /* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
  :root {
    --nav-color: #2c4964;  /* The default color of the main navmenu links */
    --nav-hover-color: #1977cc; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #2c4964; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #1977cc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }
  
  /* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
  
  .light-background {
    --background-color: #f1f7fc;
    --surface-color: #ffffff;
  }
  
  .dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
  }
  
  /* Smooth scroll */
  :root {
    scroll-behavior: smooth;
  }
  


/* General Styles */
body {
    font-family: sans-serif; /* Example font */
    line-height: 1.6;
    color: #333;
}

a {
    color: #007bff; /* Example link color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/* Header Styles */
/* .top-bar {
    padding: 0.5rem 0;
}

.top-bar .nav-link {
    padding: 0.5rem 1rem;
    color: #333;
}

.top-bar .nav-link:hover {
    color: #ffffff;
}

.top-bar .contact-number .user-email-id {
    padding: 0.5rem 1rem;
} */

.header-main .site-title,
.header-main .site-description,
.header-main .site-address,
.header-main .society-name {
    margin: 0;
    text-align: left; /* Align text to left */
}
.header-main .header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 20px; /* Add some left padding for spacing between logo and text */
}
.header-main .img-fluid{
    max-width: 100%;
    height: auto;
}
/* Sticky menu */
.header-nav-wrapper {
    height: auto;
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.header-nav-wrapper.sticked {
    animation: slideDown 0.5s ease-out; /* Smooth slide down animation */
    box-shadow: 0 2px 5px rgba(0,0,0,.1); /* Add a subtle shadow */
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}
/* Slider Styles */
.slider-section .carousel-caption {
    bottom: 20%;
}
.slider-section .caption-content {
    max-width: 50%;
}
.slider-section .carousel-item img {
    /* height: 500px; */
    /* object-fit: cover; */
    width: 100%;
}

/* Announcement Styles */
.announcement-section .marquee-container {
    overflow: hidden;
}
.announcement-item {
    white-space: nowrap; /* Prevent announcements from wrapping */
}

/* Placement Styles */
.placement-section .card {
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: 100%;
}

.placement-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.placement-section .card-img-top {
    object-fit: cover;
    /* height: 250px; */
    border-radius: 180px;
}
.placement-section .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
/* Footer Styles */
footer {
    background-color: #f8f9fa; /* Example background color */
    padding: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .slider-section .carousel-item img {
/*         height: 300px; */
    }
}
/* Utilities */
.bg-primary{
    background-color: #24364a !important;
}
.text-decoration-none{
    text-decoration: none !important;
}

/* Sticky Menu Styles */
.header-nav-wrapper {
    transition: all 0.3s ease-in-out;
}

.header-nav-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: #132334;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.site-branding img.img-fluid { /* Target the logo image specifically */
/*     width: 100px; */
    height: auto; /* Maintain aspect ratio */
}

.header-main .society-name {
    display: block; /* Make it a block element to take full width */
    font-size: 14px;
    color: #777; /* Example color */
}

/* Sidebar Styles */
#secondary.widget-area {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#secondary.widget-area {
    padding: 5px;
    background-color: #515354;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
}
#secondary .widget {
    margin-bottom: 20px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#secondary .widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
	text-align: center;
}

/* Styles for Menu Links (Important Changes Here) */
#secondary ul {
    list-style: none; /* Remove bullet points */
    padding-left: 0;
    margin: 0; /* Remove default ul margins */
}

#secondary li {
    margin-bottom: 5px;
}

#secondary li a {
    display: block; /* Make links fill the entire list item width */
    padding: 8px 12px; /* Add padding to the link */
    background-color: #fff; /* White background for list items */
    color: #333; /* Darker text color */
    text-decoration: none;
    border-radius: 4px; /* Rounded corners for list items */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Subtle shadow for list items */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s; /* Smooth transitions */
}

#secondary li a:hover {
    background-color: #e9ecef; /* Light gray on hover */
    color: #007bff; /* Blue text on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* More pronounced shadow on hover */
    transform: scale(1.02); /* Slight scale on hover */
}

/* Responsive adjustments (optional) */
@media (max-width: 767px) {
    #secondary.widget-area {
        margin-top: 0;
        padding: 15px;
    }
}

/* Site Branding/Header Styles */
.site-branding {
    text-align: center; /* Center the branding */
/*     padding: 15px 0;
    width: 100px; */
}

.site-branding h1 {
    margin: 0; /* Remove default h1 margins */
    font-size: 2.5rem; /* Adjust font size as needed */
    font-weight: bold; /* Make the name bold */
    line-height: 1.2; /* Adjust line height for better spacing */
}

.site-branding h1 a {
    text-decoration: none; /* Remove underline */
    color: #007bff; /* Set your desired color (Bootstrap primary blue) */
    transition: color 0.3s; /* Add a smooth color transition on hover */
}

.site-branding h1 a:hover {
    color: #0056b3; /* Darker blue on hover */
}

/* Optional: Add a subtle background or border */
.site-branding {
    /*background-color: #f0f0f0; /* Light gray background */
    /* border-bottom: 1px solid #ddd;  */
}

/* Top Bar Styles */
/* .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
    background-color: #f8f9fa;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info {
    display: flex;
    gap: 20px;
}

.top-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
} */

/* Top Menu Styles */
/* .top-menu {
    position: relative;
} */

#top-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Key: Make it flex on desktop */
    align-items: center;
    justify-content: flex-end; /* Align to the right */
}

#top-nav li {
    margin: 0 15px; /* Spacing between list items */
    position: relative;
}

#top-nav li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -8px;
    color: #ccc;
}

#top-nav a {
    text-decoration: none;
    color: #333;
    padding: 8px 12px; /* Increased padding for better appearance */
    border-radius: 4px; /* Optional rounded corners */
    transition: background-color 0.3s, color 0.3s;
}

#top-nav a:hover {
    background-color: #007bff;
    color: white;
}

/* Burger Menu Button Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 10;
}

.burger-icon {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger-icon span:nth-child(1) {
    top: 0px;
}

.burger-icon span:nth-child(2) {
    top: 8px;
}

.burger-icon span:nth-child(3) {
    top: 16px;
}

.menu-text {
    display: block;
}

.close-text {
    display: none;
}

.menu-toggle.open .burger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.open .burger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.open .burger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.menu-toggle.open .menu-text {
    display: none;
}

.menu-toggle.open .close-text {
    display: block;
}
/* Media Query for Mobile (Corrected and Using Transitions) */
@media (max-width: 767px) {
    /* .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar .text-end {
        text-align: left !important;
        margin-top: 10px;
        width: 100%;
    } */

    #top-nav {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 10px;
        width: 100%;
        max-height: 0; /* Initially hidden */
        overflow: hidden;
        transition: max-height 0.3s ease-in-out; /* Smooth transition */
    }

    .top-menu.open #top-nav {
        max-height: 500px; /* Adjust this value as needed */
    }

    #top-nav li {
        margin: 10px 0;
        width: 100%;
    }

    #top-nav li:not(:last-child)::after {
        display: none;
    }

    #top-nav a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .menu-toggle {
        display: block;
    }
}

.attendance-pdf-list .card {
    border: 1px solid #ddd; /* Light gray border */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.attendance-pdf-list .card-img-top {
    object-fit: cover; /* Prevent image distortion */
    height: 200px; /* Set a fixed height for images */
}

.attendance-pdf-list .card-title{
    margin-bottom: 0.5rem;
}
.profile-page .container {
    max-width: 960px;
    margin: 20px auto; /* Added top/bottom margin */
    padding: 20px;
    background-color: #fff; /* Added white background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
}

.profile-header {
    display: flex; /* Use flexbox for layout */
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* Add a separator line */
}

.profile-image {
    width: 200px; /* Adjust image width */
    margin-right: 20px;
    border-radius: 5px; /* Rounded corners for image */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.profile-image img {
    max-width: 100%;
    height: auto;
    display: block;
}
.profile-text{
    flex-grow: 1; /* Allow text to take available space */
}

.profile-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #555; /* Slightly darker title color */
}

.profile-quote {
    font-style: italic;
    margin-bottom: 20px;
    color: #777;
}
/* .contact-info{
    margin-top: 20px;
    text-align: right;
}
.contact-info p{
    margin: 5px 0;
}
.contact-info a{
    color: inherit;
    text-decoration: none;
} */
.profile-section {
    margin-bottom: 30px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

.profile-grid-item {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9; /* Light background for grid items */
}

.profile-grid-item h3 {
    margin-top: 0;
    color: #333;
}

.profile-grid-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Blink for Announcements */

.badge-blink {
    animation: blink 2.5s infinite; /* Adjusted for a slower blink */
  }

  @keyframes blink {
    0%, 50%, 100% {
      opacity: 1;
    }
    25%, 75% {
      opacity: 0;
    }
  }

  .announcement-link{
    color: #055f6a;
    text-decoration: none;
    font-weight: 400;
  }

.website-heading{
    color: #055f6a;
    text-align: center;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
  }
  .section-title {
    font-size: 2rem;
    font-weight: bold;
/*     text-transform: uppercase; */
    text-align: center;
    margin-bottom: 1.5rem;
    color: #055f6a;
  }
  .vision-mission {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #055f6a;
  }
  .mission-item {
    margin-bottom: 1rem;
  }
  .mission-item span {
    font-weight: bold;
  }

  /* New added code */
  /* Style for center aligned menu */
.navbar-expand-lg .navbar-collapse {
    justify-content: center;
}

.navbar-expand-lg .navbar-nav {
    width: 100%;
}

.navbar-nav .nav-item {
    margin: 0 15px; /* Adjust spacing as needed */
}

/* Styles for smaller screens (hamburger menu) */
/* @media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-start;
    }

    .navbar-expand-lg .navbar-nav {
        width: auto;
    }

    .navbar-nav {
        flex-direction: column;
        text-align: left;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }
} */

/* New Theme Stylesheet code */
.header-info {
padding-left: 45px;
}

.container p{
text-align: justify;
}

.container li{
text-align: justify;
}
.menu li{
text-align: left;
}
