/* ===========================================
   ADMISSION SECTION STYLES
   Contains styles for:
   - Main admission container
   - Coordinator message
   - Animation effects
   To modify colors: Update --bg-secondary for container background
   To adjust spacing: Modify padding values
   =========================================== */

/* Main admission section container 
   Controls the overall layout of admission section */
.admission {
    padding: 6rem 0;      /* Vertical spacing: top & bottom */
    background: #1a1a1a;  /* Light background in light mode, dark in dark mode */
}

/* Admission coordinator message section with animation 
   Initial state: invisible and moved down
   Animation triggers on scroll */
.admission-coordinator-message-section {
    padding: 4rem 0;      /* Vertical spacing */
    background: var(--bg-primary);  /* Container background */
    opacity: 0;           /* Start invisible */
    transform: translateY(30px);  /* Start moved down */
    transition: all 0.6s ease;    /* Smooth animation */
}

/* Animation trigger for admission coordinator section 
   Class added via JavaScript when section enters viewport */
.admission-coordinator-message-section.animate-in {
    opacity: 1;           /* Become visible */
    transform: translateY(0);  /* Move to original position */
}

/* Admission coordinator card styling - matches HOD design 
   Main container for coordinator profile card
   Modify gap for spacing between photo and text
   Adjust border-radius for corner roundness */
.admission-coordinator-desk .admission-coordinator-message {
    display: flex;          /* Horizontal layout */
    align-items: center;    /* Vertical center alignment */
    gap: 3rem;             /* Space between photo and text */
    background: var(--bg-primary);  /* Card background */
    padding: 3rem;         /* Inner spacing */
    border-radius: 1rem;   /* Rounded corners */
    border: 2px solid #ffffff; /* White border - adjust width or color here */
    box-shadow: none;      /* No shadow for cleaner look */
    transition: var(--transition);  /* Smooth hover effects */
    overflow: hidden;      /* Keep content inside rounded corners */
}

/* Admission coordinator photo styling 
   Container for profile photo
   Controls animation and layout */
.admission-coordinator-photo {
    position: relative;    /* For potential overlays */
    flex-shrink: 0;       /* Prevent photo from shrinking */
    animation: slideInFromLeft 1s ease-out;  /* Entrance animation */
}

/* Admission coordinator image styling 
   Profile photo appearance
   Modify size by changing width/height */
.admission-coordinator-photo img {
    width: 200px;         /* Photo width */
    height: 200px;        /* Photo height */
    border-radius: 50%;   /* Circular shape */
    object-fit: cover;    /* Prevent image distortion */
    transition: var(--transition);  /* Smooth hover effects */
}

/* Admission coordinator message content animation 
   Animates text content separately from photo
   Delayed animation (0.3s) after photo appears */
.admission-coordinator-message .message-content {
    animation: slideInFromBottom 1s ease-out 0.3s both;  /* Animation with delay */
}

/* Admission coordinator hover effect 
   Card interaction feedback
   Adjust transform for different hover height */
.admission-coordinator-message:hover {
    transform: translateY(-5px);  /* Slight lift effect */
    box-shadow: none;   /* No shadow on hover */
}

/* Admission contact information styling 
   Contact details container
   Modify gap for spacing between icon and text */
.admission-contact {
    margin-top: 1rem;     /* Space above contact info */
    display: inline-flex; /* Horizontal layout */
    align-items: center;  /* Vertical center alignment */
    gap: 0.5rem;         /* Space between items */
    color: var(--text-primary);  /* Text color */
    font-weight: 600;    /* Semi-bold text */
}

/* Admission contact icon styling */
.admission-contact i {
    color: var(--primary-color);
}
/* ===========================================
   CSS RESET AND BASE STYLES
   =========================================== */

/* Universal reset for consistent styling across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   Main theme configuration
   To change theme colors:
   1. Update light theme values in :root
   2. Update dark theme values in [data-theme="dark"]
   Color distribution follows 60-30-10 rule
   =========================================== */

/* Light theme color variables 
   Default theme colors
   Used throughout the site for consistent styling */
:root {
    /* ===== DOMINANT COLORS (60% of design) ===== */
    --bg-primary: #F5F5F5;           /* Main background color - light grey */
    --bg-secondary: #FFFFFF;         /* Card/section background - white */
    --bg-tertiary: #E0E0E0;         /* Alternative sections - soft grey */
    
    /* ===== SECONDARY COLORS (30% of design) ===== */
    /* Text colors for different content types
       Maintain sufficient contrast with backgrounds */
    --text-primary: #333333;          /* Main text color - dark grey */
    --text-secondary: #666666;        /* Secondary text - medium grey */
    --text-light: #999999;           /* Subtle text - light grey */
    
    /* ===== ACCENT COLORS (10% of design) ===== */
    /* Brand colors and highlights
       Used for buttons, links, and emphasis */
    --primary-color: #0066CC;         /* Primary brand color - blue */
    --secondary-color: #1ABC9C;       /* Secondary brand color - teal */
    --accent-color: #0066CC;          /* Highlight color - blue */
    
    /* ===== UI ELEMENT STYLES ===== */
    /* Common interface elements
       Used for navigation and borders */
    --bg-navbar: rgba(245, 245, 245, 0.95); /* Navbar with transparency */
    --border-color: #E0E0E0;          /* Default border color */
    
    /* ===== SHADOW SYSTEM ===== */
    /* Elevation system using shadows
       Larger values create higher elevation */
    --shadow-sm: 0 1px 3px rgba(51, 51, 51, 0.1);   /* Subtle shadow */
    --shadow-md: 0 4px 6px rgba(51, 51, 51, 0.1);   /* Medium shadow */
    --shadow-lg: 0 10px 15px rgba(51, 51, 51, 0.1); /* Large shadow */
    --shadow-xl: 0 20px 25px rgba(51, 51, 51, 0.15); /* Extra large shadow */
    
    /* ===== ANIMATION SYSTEM ===== */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme color variables */
[data-theme="dark"] {
    /* ===== DOMINANT COLORS (60% of design) ===== */
    --bg-primary: #1a1a1a;           /* Dark neutral background */
    --bg-secondary: #2d2d2d;         /* Dark cards/sections */
    --bg-tertiary: #404040;          /* Dark grey for sections */
    
    /* ===== SECONDARY COLORS (30% of design) ===== */
    --text-primary: #f5f5f5;         /* Light neutral text */
    --text-secondary: #cccccc;       /* Medium light text */
    --text-light: #999999;           /* Light grey text */
    
    /* ===== ACCENT COLORS (10% of design) ===== */
    --primary-color: #5096ed;         /* Blue tone primary accent */
    --secondary-color: #08ca9d;       /* Teal tone secondary accent */
    --accent-color: #310dc0;         /* Blue accent for highlights */
    
    /* ===== UI ELEMENT STYLES ===== */
    --bg-navbar: rgba(26, 26, 26, 0.95); /* Semi-transparent dark navbar */
    --border-color: #404040;         /* Dark borders */
}

/* ===========================================
   BODY AND LAYOUT STYLES
   Base styles that affect the entire site
   Includes:
   - Font settings
   - Basic layout containers
   - Global spacing
   =========================================== */

/* Main body styling with Inter font family 
   Controls the default text appearance site-wide
   To change font: Update font-family value */
body {
    font-family: 'Inter', sans-serif;  /* Main font, with fallback */
    line-height: 1.6;                  /* Comfortable reading height */
    color: var(--text-primary);        /* Default text color */
    background-color: var(--bg-primary); /* Main background */
    transition: var(--transition);      /* Smooth theme switching */
}

/* Container for consistent max-width and centering 
   Used throughout the site for content width control
   To adjust site width: Modify max-width value */
.container {
    max-width: 1200px;     /* Maximum content width */
    margin: 0 auto;        /* Center horizontally */
    padding: 0 2rem;       /* Side spacing for small screens */
}

/* ===========================================
   NAVIGATION BAR STYLES
   Main site navigation header
   Includes:
   - Fixed positioning
   - Layout structure
   - Logo and menu items
   - Responsive behavior
   =========================================== */

/* Fixed navigation bar at top of page 
   Stays visible while scrolling
   To modify height: Adjust min-height in .nav-container */
.navbar {
    position: fixed;      /* Stick to top of viewport */
    top: 0;
    left: 0;
    right: 0;
    background: #000;     /* Dark background for contrast */
    z-index: 1000;       /* Keep above other content */
    transition: var(--transition);  /* Smooth color/height changes */
}

/* Navigation container with flexbox layout 
   Holds logo and navigation items
   To adjust width: Modify max-width value */
.nav-container {
    display: flex;        /* Horizontal layout */
    align-items: center;  /* Vertical centering */
    justify-content: space-between;  /* Space between logo and menu */
    max-width: 1500px;    /* Maximum navbar width */
    min-height: 20px;     /* Minimum navbar height */
}

/* Logo and department name styling 
   Contains site branding elements
   To adjust spacing: Modify gap, margin, and padding values */
.nav-logo {
    display: flex;          /* Horizontal layout */
    align-items: left;      /* Left alignment */
    gap: 0.75rem;          /* Space between logo and text */
    font-size: 1.5rem;     /* Logo text size */
    font-weight: 700;      /* Bold text */
    color: var(--primary-color);  /* Brand color */
    margin-left: 10px;     /* Left spacing */
    padding: 10px;         /* Internal spacing */
}

/* Department name styling 
   Text next to the logo
   To adjust width/position: Modify width and margin values */
.nav-logo h4 {
   width: 240px;          /* Fixed width for text */
   margin-top: 24px;      /* Top spacing */
   margin-left: 30px;     /* Left spacing */
}

/* Logo image styling 
   Main logo/icon image
   To resize: Adjust height value, width stays proportional */
.logo-image {
    height: 90px;         /* Fixed height */
    width: auto;          /* Maintain aspect ratio */
}

/* Logo icon styling (if using icon instead of image) */
.nav-logo i {
    font-size: 5rem;
}

/* Main navigation menu container */
.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

/* Navigation links row */
.nav-row {
    margin-top: 0;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: right;
    margin-left: 60px;
    flex-wrap: nowrap;
}

/* Individual navigation link styling */
.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation link hover effect */
.nav-link:hover {
    color: var(--primary-color);
}

/* Animated underline for navigation links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Expand underline on hover */
.nav-link:hover::after {
    width: 80%;
}

/* Multi-row navigation layout */

/* HOD Animation Keyframes */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ------------------------------- */
/* ✅ Responsive Navbar Extension  */
/* ------------------------------- */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 25px;
  cursor: pointer;
  margin-right: 20px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation (active state) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Responsive Layout for Tablets & Mobiles */
@media (max-width: 992px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-row {
    position: fixed;
    top: 10px;
    right: -100%;
    flex-direction: column;
    background: #000; /* Keep dark theme */
    width: 220px;
    height: calc(100vh - 80px);
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease-in-out;
  }

  .nav-row.active {
    right: 0;

  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo h4 {
    font-size: 0.9rem;
    width: auto;
    margin-left: 10px;
  }

  .logo-image {
    height: 60px;
  }
}

.search-container {
    position: relative;
}

.search-container input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
    width: 200px;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-container i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===========================================
   HERO SECTION STYLES
   Main landing section with image slider
   Includes:
   - Full height hero container
   - Image slider functionality 
   - Slide transitions
   To modify timing: Update transition duration
   =========================================== */

/* Hero section container 
   Full viewport height with centered content
   To adjust height: Modify height value */
.hero {
    position: relative;     /* For absolute positioning of children */
    height: 100vh;         /* Full viewport height */
    overflow: hidden;      /* Hide overflow content */
    display: flex;         /* Center content */
    align-items: center;   /* Vertical center */
    justify-content: center; /* Horizontal center */
}

/* Hero slider container
   Holds all slide elements
   To modify position: Adjust top/left values */
.hero-slider {
    position: absolute;    /* Position relative to hero */
    top: 0;               /* Align to top */
    left: 0;              /* Align to left */
    width: 100%;          /* Full width */
    height: 100%;         /* Full height */
}

/* Individual slide styling
   Controls slide appearance and transitions
   To adjust animation: Modify transition timing */
.slide {
    position: absolute;    /* Position within slider */
    top: 0;               /* Align to top */
    left: 0;              /* Align to left */
    width: 100%;          /* Full width */
    height: 100%;         /* Full height */
    opacity: 0;           /* Start invisible */
    transition: opacity 2s ease-in-out; /* Fade transition */
    display: flex;        /* Center content */
    align-items: center;  /* Vertical center */
    justify-content: center; /* Horizontal center */
}

/* Active slide state
   Shows current slide
   To modify visibility: Adjust opacity */
.slide.active {
    opacity: 1;           /* Fully visible */
}

/* Slide content container
   Centered text overlay on slides
   To adjust positioning: Modify transform values */
.slide-content {
       /* Position over slide */
    top: 50%;             /* Center vertically */
    left: 50%;            /* Center horizontally */
   
    text-align: center;   /* Center text */
    color: white;         /* Light text on dark backgrounds */
    z-index: 2;           /* Above slide background */
       width: auto; /* Maximum content width */
    padding: 0 2rem;      /* Horizontal spacing */
}

/* Slide heading style
   Main title for each slide
   To modify appearance: Adjust font-size and shadow */
.slide-content h1 {
    font-size: 3.5rem;    /* Large heading size */
    font-weight: 700;     /* Bold text */
    margin-bottom: 1rem;  /* Bottom spacing */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Readability shadow */
}

/* Slide paragraph style
   Descriptive text under heading
   To adjust text: Modify font-size and shadow */
.slide-content p {
    font-size: 1.25rem;   /* Readable text size */
    margin-bottom: 2rem;  /* Bottom spacing */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle text shadow */
}

/* Department title styling 
   Main heading for department slides
   Uses !important to override default heading sizes
   To modify: Adjust font-size and shadow values */
.department-title {
    font-size: 3rem !important;  /* fixed typo */
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}


/* Program subtitle styling 
   Secondary headings for program documents
   Uses !important to maintain consistent sizing
   To modify: Adjust font-size and weight */
.program-subtitle {
    font-size: 2.5rem !important; /* Prominent but smaller than title */
    font-weight: 600;             /* Semi-bold text */
    margin-bottom: 1rem;          /* Bottom spacing */
    color: var(--text-primary);   /* Theme-aware color */
}

/* Call-to-Action button styling 
   Primary action buttons throughout site
   To modify appearance: 
   - Adjust padding for size
   - Change background for different color
   - Modify border-radius for roundness */
.cta-button {
    display: inline-block;         /* Inline button layout */
    padding: 1rem 2rem;           /* Button size */
    background: var(--primary-color); /* Theme color */
    color: rgb(255, 255, 255);    /* White text */
    text-decoration: none;        /* Remove underline */
    border-radius: 2rem;          /* Rounded corners */
    font-weight: 600;             /* Semi-bold text */
    transition: var(--transition); /* Smooth effects */
    box-shadow: var(--shadow-lg); /* Button shadow */
}

/* CTA button hover effects
   Interactive feedback on hover
   To modify animation:
   - Adjust transform for lift effect
   - Change shadow for depth */
.cta-button:hover {
    background: var(--secondary-color); /* Color change */
    transform: translateY(-2px);     /* Lift effect */
    box-shadow: var(--shadow-xl);    /* Deeper shadow */
}

/* Slide background image container
   Full-size background for each slide
   To modify position: Adjust z-index for layering */
.slide-image {
    position: absolute;    /* Position behind content */
    top: 0;               /* Align to top */
    left: 0;              /* Align to left */
    width: 100%;          /* Full width */
    height: 100%;         /* Full height */
    z-index: -1;          /* Behind other elements */
}

/* Background image styling
   Ensures images cover entire slide area
   To modify fit: Change object-fit property */
.slide-image img {
    width: 100%;          /* Full width */
    height: 100%;         /* Full height */
    object-fit: cover;    /* Scale to cover */
}

/* Gradient overlay on images
   Adds color tint and improves text readability
   To modify overlay:
   - Adjust gradient colors and opacity
   - Change gradient angle (135deg) */
.slide-image::after {
    content: '';          /* Required for pseudo-element */
    position: absolute;   /* Cover entire image */
    top: 0;              /* Align to top */
    left: 0;             /* Align to left */
    width: 100%;         /* Full width */
    height: 100%;        /* Full height */
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.6),    /* Primary color overlay */
        rgba(26, 188, 156, 0.4));   /* Secondary color overlay */
}

/* Hero slider controls
   Previous/Next navigation buttons
   To modify position:
   - Adjust top percentage
   - Change padding for spacing */
.hero-controls {
    position: absolute;     /* Position over slider */
    top: 50%;              /* Vertical center */
    transform: translateY(-50%); /* Perfect center */
    width: 100%;           /* Full width */
    display: flex;         /* Space buttons */
    justify-content: space-between; /* Edge alignment */
    padding: 0 2rem;       /* Side spacing */
    z-index: 3;            /* Above images */
}

/* Control buttons styling
   Semi-transparent circular buttons
   To modify appearance:
   - Adjust background opacity
   - Change padding for size
   - Modify blur amount */
.hero-controls button {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
    border: none;          /* Remove border */
    color: white;          /* Light text */
    font-size: 1.5rem;     /* Icon size */
    padding: 1rem;         /* Button size */
    border-radius: 50%;    /* Circular shape */
    cursor: pointer;       /* Show clickable */
    transition: var(--transition); /* Smooth effects */
    backdrop-filter: blur(10px); /* Frosted glass effect */
}

/* Control button hover state
   Enhanced visibility on hover
   To modify effect:
   - Adjust background opacity
   - Change scale factor */
.hero-controls button:hover {
    background: rgba(255, 255, 255, 0.3); /* More visible */
    transform: scale(1.1); /* Slight enlargement */
}

/* Slide indicators container
   Dots showing current slide position
   To modify position:
   - Adjust bottom spacing
   - Change gap between dots */
.hero-indicators {
    position: absolute;    /* Position over slider */
    bottom: 2rem;         /* Space from bottom */
    left: 50%;            /* Center horizontally */
    transform: translateX(-50%); /* Perfect center */
    display: flex;        /* Horizontal dots */
    gap: 1rem;           /* Space between dots */
    z-index: 3;          /* Above images */
}

/* Individual indicator dot
   Small circular indicators
   To modify appearance:
   - Adjust width/height for size
   - Change background opacity */
.indicator {
    width: 12px;          /* Dot width */
    height: 12px;         /* Dot height */
    border-radius: 50%;   /* Circular shape */
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent */
    cursor: pointer;      /* Show clickable */
    transition: var(--transition); /* Smooth effects */
}

/* Active indicator state
   Shows current slide
   To modify highlight:
   - Change background color
   - Adjust scale factor */
.indicator.active {
    background: white;    /* Solid white */
    transform: scale(1.2); /* Slightly larger */
}

/* ===========================================
   SECTION HEADERS
   Common styling for all section titles
   Used throughout the site for consistency
   To modify spacing: Adjust margin values
   =========================================== */

/* Section header container
   Centers and spaces section titles
   To adjust spacing: Modify margin-bottom */
.section-header {
    text-align: center;     /* Center alignment */
    margin-bottom: 4rem;    /* Space below header */
}

/* Section title styling
   Main heading for each section
   To modify appearance:
   - Adjust font-size for scale
   - Change weight for emphasis */
.section-header h2 {
    font-size: 2.5rem;     /* Large heading */
    font-weight: 700;      /* Bold text */
    margin-bottom: 1rem;   /* Space below title */
    color: var(--text-primary); /* Theme-aware color */
}

/* Section subtitle styling
   Supporting text below heading
   To modify width: Adjust max-width value */
.section-header p {
    font-size: 1.125rem;   /* Readable size */
    color: var(--text-secondary); /* Subtle color */
    max-width: 600px;      /* Contained width */
    margin: 0 auto;        /* Center horizontally */
}

/* ===========================================
   HOD MESSAGE SECTION
   Head of Department message display
   To modify spacing: Adjust padding values
   =========================================== */
.hod-message-section {
    padding: rem 0;        /* Vertical spacing */
    background: var(--bg-primary); /* Theme background */
}

/* ===========================================
   VISION & MISSION SECTION
   Department goals and objectives
   To modify spacing: Adjust padding values
   =========================================== */
.vision-mission {
    padding: 2rem 0;        /* Reduced vertical spacing */
    background: var(--bg-secondary); /* Alternate background */
}

/* ===========================================
   ABOUT US SECTION STYLES
   =========================================== */

/* About Us Section */
.about-us-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

/* Department Cards Container */
.department-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Department Card */
.department-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    opacity: 1;
    cursor: pointer;
}

.department-card:nth-child(1) {
    animation-delay: 0.1s;
}

.department-card:nth-child(2) {
    animation-delay: 0.2s;
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.department-card:hover::before {
    left: 100%;
}

.department-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Department Card Icon */
.department-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.department-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.department-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Department Card Content */
.department-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.department-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Know More Button */
.know-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.know-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.know-more-btn:hover::before {
    left: 100%;
}

.know-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Department Content Sections */
.department-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.department-content.show {
    opacity: 1;
    transform: translateY(0);
}

/* Back Button */
.back-to-departments {
    text-align: center;
    margin-bottom: 3rem;
}

.back-btn {
    background: var(--text-secondary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.back-btn i {
    font-size: 0.9rem;
}

.hod-desk {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hod-message {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid #ffffff; /* White border */
    max-width: 900px;
    width: 100%;
}

.hod-photo {
    animation: slideInFromLeft 1s ease-out;
    position: relative;
    flex-shrink: 0;
}

.hod-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.hod-photo:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 3rem;
    color: white;
}

.message-content {
    animation: slideInFromBottom 1s ease-out 0.3s both;
    max-height: 200px;             /* ✅ scrollable text height */
    overflow-y: auto;              /* ✅ enables scroll like your image */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #222;
}

.message-content::-webkit-scrollbar {
    width: 6px;
}
.message-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.message-content h3 {
   
    color: var(--text-primary);
}

.message-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.designation {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.message-content blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .hod-message {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        max-width: 700px;
    }

    .hod-photo {
        max-width: 250px;
    }

    .message-content {
        max-height: 180px; /* Adjusted scroll area */
    }

    .message-content blockquote {
        padding-left: 0.5rem;
        border-left-width: 3px;
    }
}

/* Small devices (mobiles) */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .hod-message {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        border-radius: 1rem;
        text-align: center;
    }

    .hod-photo {
        max-width: 180px;
    }


}
.message-content {
    animation: slideInFromBottom 1s ease-out 0.3s both;
    display: flex;
    flex-direction: column;
    max-height: 220px; /* container height */
    overflow: hidden;
}

/* This wraps only the blockquote part and makes it scrollable */
.message-scroll {
    overflow-y: auto;
    max-height: 160px; /* Scroll area for paragraph */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #222;
}

.message-scroll::-webkit-scrollbar {
    width: 6px;
}
.message-scroll::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.message-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    flex-shrink: 0; /* ✅ Prevents scroll */
}

.designation {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-shrink: 0; /* ✅ Prevents scroll */
}

.message-content blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}
/* Extra small devices */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.6rem;
    }

    .hod-photo img {
        width: 150px;
        height: 150px;
    }

    .message-content {
        max-height: 140px; /* ✅ Scroll like your screenshot */
        overflow-y: auto;
    }

    .message-content h4 {
        font-size: 1rem;
    }

    .message-content blockquote {
        font-size: 0.85rem;
    }
}

.message-content blockquote {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 0;
  text-align: justify;           /* ✅ Makes it professionally aligned */
  background: rgba(255, 255, 255, 0.03); /* Subtle background tint */
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
  transition: all 0.3s ease;
}

.message-content blockquote:hover {
  background: rgba(255, 255, 255, 0.07); /* Slight hover highlight */
  transform: translateY(-2px);
}


.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    opacity: 1;
    height: 400px; /* Fixed height for equal card sizes */
    display: flex;
    flex-direction: column;
}

.vision-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vision-card:nth-child(2) {
    animation-delay: 0.2s;
}

.vision-card:nth-child(3) {
    animation-delay: 0.3s;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.vision-card:hover::before {
    left: 100%;
}

.vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    animation: iconBounce 2s ease-in-out infinite;
}

.vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.vision-card:hover .card-icon i {
    transform: scale(1.1);
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.vision-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scrollable content area for vision cards */
.vision-card .card-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1rem;
}

/* Custom scrollbar styling */
.vision-card .card-content::-webkit-scrollbar {
    width: 6px;
}

.vision-card .card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.vision-card .card-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.vision-card .card-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
.vision-mission {
    
    padding: 4rem 2rem;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-card {
    
    padding: 2rem;
    border-radius: 1rem;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 420px; /* Consistent height */
    display: flex;
    flex-direction: column;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.vision-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.vision-card:hover::before {
    left: 100%;
}

/* Icon styling */
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: transform 0.3s ease;
}

.vision-card:hover .card-icon {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-icon i {
    font-size: 1.8rem;
    color: #fff;
}

/* Heading */
.vision-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    
    letter-spacing: 0.5px;
}

/* Scrollable content area */
.vision-card .card-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

/* Custom scrollbar */
.vision-card .card-content::-webkit-scrollbar {
    width: 6px;
}

.vision-card .card-content::-webkit-scrollbar-track {
    
    border-radius: 3px;
}

.vision-card .card-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.vision-card .card-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/* PDF Modal Styles */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.pdf-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    background: #fff;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-modal-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-modal-body {
    height: calc(100% - 60px);
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.pdf-close-btn:hover {
    color: #ddd;
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-image-container {
    position: relative;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: all;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.prev-btn {
    margin-left: -80px;
}

.next-btn {
    margin-right: -80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* 🌟 Walkthrough Video Section */
.walkthrough-video {
    text-align: center;
    padding: 4rem 2rem;
   
    border-radius: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

/* Section Title */
.walkthrough-video h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

/* Video Container */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Video Styling */
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bg-tertiary);
    border-radius: 1rem;
}

/* Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.7), rgba(26, 188, 156, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.4s ease, opacity 0.4s ease;
}

.video-wrapper:hover .video-overlay {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85), rgba(26, 188, 156, 0.75));
}

/* Play Button */
.play-button {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.play-button i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-button:hover i {
    transform: scale(1.15);
}

/* Video Info Text */
.video-info {
    text-align: center;
    color: #fff;
}

.video-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.video-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.video-duration {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.3rem 0.9rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hide overlay when playing */
.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
    .walkthrough-video {
        padding: 3rem 1rem;
    }

    .walkthrough-video h3 {
        font-size: 1.8rem;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-button i {
        font-size: 1.8rem;
    }

    .video-info h4 {
        font-size: 1.25rem;
    }
}


/* Gallery Section - Grid Layout */
.gallery-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Programs Section */
.programs {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.program-card:nth-child(1) {
    animation-delay: 0.1s;
}

.program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card:nth-child(3) {
    animation-delay: 0.3s;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.program-card:hover::before {
    left: 100%;
}

.program-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    animation: iconBounce 2s ease-in-out infinite;
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.program-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon i {
    transform: scale(1.1);
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.program-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.program-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.program-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

/* Faculty Section - Flip Cards */



.faculty-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px;
}

.card-link {
  text-decoration: none;
}

.fry-card {
  width: 300px;
  /*height: 540px;*/
  background-color: #f7c96b;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 10px;
}

.info {
  margin-top: 20px;
}
.info h3{
    color: #000;
}
.info h2 {
  color: #003366;
  font-size: 24px;
  margin-bottom: 10px;
}

.info p {
  font-size: 18px;
  color: #333;
  margin: 8px 0;
}

.info a {
  color: #0044cc;
  text-decoration: none;
}

.info a:hover {
  text-decoration: underline;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 7px;
}

.icons img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.icons img:hover {
  transform: scale(1.2);
}


/* Alumini Section */
.alumini {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    display: flex;
   
    gap: 2rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.testimonial-photo {
    flex-shrink: 0;
}

.testimonial-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}
.alumini-text blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.graduation-year {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-controls button {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.sc-icons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.sc-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

/* News & Events Section */
.news-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 2rem;
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content h3 {
    color: var(--text-primary);
    margin: 1rem 0;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}


/* Research Section */
.research {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.research-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    /* Match Academics: animate on load without hidden state */
    animation: slideInUp 0.6s ease-out;
    filter: none;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* When observed in viewport */
/* No special animate-in rule needed for research cards */

/* Staggered reveal for the first three project cards */
.research-grid .research-card:nth-child(1) { animation-delay: 0.1s; }
.research-grid .research-card:nth-child(2) { animation-delay: 0.2s; }
.research-grid .research-card:nth-child(3) { animation-delay: 0.3s; }

.research-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.research-icon i {
    font-size: 2rem;
    color: white;
}

.research-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.research-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.research-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.funding, .duration {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.collaborators h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.collaborators p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Resources Section */
.resources {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.resource-icon i {
    font-size: 2rem;
    color: white;
}

.resource-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resource-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.resource-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.resource-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.resource-link:hover {
    color: var(--secondary-color);
}

/* PDF Cards Styling */
.pdf-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pdf-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.pdf-icon i {
    font-size: 1.5rem;
    color: white;
}

.pdf-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pdf-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.pdf-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pdf-size, .pdf-pages {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.pdf-download-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.pdf-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* PDF View Button Styling */
.pdf-view-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    font-size: 0.9rem;
}

.pdf-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* PDF Modal Styling */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.pdf-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: hidden;
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--primary-color);
    color: white;
    border-bottom: 1px solid var(--border-color);
}

.pdf-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.pdf-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pdf-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.pdf-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    height: calc(100vh - 80px); /* Full height minus header height */
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Partnerships Section */
.partnerships {
    padding: 6rem 2rem; /* horizontal padding for smaller screens */
    background: var(--bg-primary);
}

.partnerships-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Partners Logos Grid */
.partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.partner-logo {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Partnership Benefits */
.partnership-benefits h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr; /* 2-column layout on desktop */
}

.benefit-item {
    
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .partnerships-content {
        grid-template-columns: 1fr; /* stack logos & benefits */
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr; /* single-column benefits */
    }
}

@media (max-width: 768px) {
    .partners-logos {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row */
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Horizontal scroll for partner logos */
    .partners-logos {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
        scroll-behavior: smooth;
    }

    .partners-logos::-webkit-scrollbar {
        display: none; /* hide scrollbar */
    }
    .partners-logos {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .partner-logo {
        flex: 0 0 auto; /* don't shrink */
        width: 45%; /* show at least 2 logos in view */
        padding: 1.5rem;
    }

    .partnerships {
        padding: 4rem 1rem; /* smaller padding on mobile */
    }

    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .benefit-item i {
        margin-top: 0;
    }
}



/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-map {
    background: var(--bg-primary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    aspect-ratio: 10/9;
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder:hover {
    background: var(--bg-secondary);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.map-placeholder span {
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

/* Footer link hover underline animation (match navbar style) */
.footer-section ul a {
    position: relative;
    padding-bottom: 2px;
}

.footer-section ul a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-section ul a:hover::after {
    width: 80%;
}

/* Do not show underline animation for social icon links */
.footer .social-links a {
    position: static;
    padding-bottom: 0;
}

.footer .social-links a::after {
    content: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
}
/* Hide footer on mobile devices */
@media (max-width: 768px) {
    .footer {
        display: none;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        max-width: none;
        height: auto;
    }

    .nav-row {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .search-container input {
        width: 150px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .department-title {
        font-size: 3rem !important;
    }

    .program-subtitle {
        font-size: 2rem !important;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .hod-message {
        flex-direction: column;
        text-align: center;
    }

    .hod-photo img {
        width: 150px;
        height: 150px;
    }

    .vision-cards {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }


    .testimonial-content {
        flex-direction: column;
       
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .partnerships-content {
        grid-template-columns: 1fr;
    }

    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .department-title {
        font-size: 5.5rem !important;
    }

    .program-subtitle {
        font-size: 1.8rem !important;
    }

    .hero-controls {
        padding: 0 1rem;
    }

    .hero-controls button {
        font-size: 1.25rem;
        padding: 0.75rem;
    }

    .partners-logos {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced scroll animations for all sections */
.walkthrough-video {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.walkthrough-video.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.gallery-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure HOD section animates into view */
.hod-message-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.hod-message-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Research Coordinator and Placement Coordinator styled like HOD */

.research-coordinator-message-section,
.placement.section {
    padding: rem 0;
    background: var(--bg-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.research-coordinator-message-section.animate-in,
.placement.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* (removed) Admission section styles */

.research-coordinator-desk .research-coordinator-message,
.Placement.coordinator .placement.coordinator.Message,
.placement .placement.coordinator.Message {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 1rem;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    overflow: hidden;
}

.research-coordinator-photo,
.placement .hod-photo {
    position: relative;
    flex-shrink: 0;
    animation: slideInFromLeft 1s ease-out;
}

.research-coordinator-photo img,
.placement .hod-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

.research-coordinator-message .message-content,
.placement .message-content {
    animation: slideInFromBottom 1s ease-out 0.3s both;
}

.research-coordinator-message:hover,
.Placement.coordinator .placement.coordinator.Message:hover,
.placement .placement.coordinator.Message:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* BOS Section */
.bos-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.bos-card {
  background-color: #111827;
  border-radius: 20px;
  width: 300px;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bos-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.bos-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #2563eb;
  margin-bottom: 20px;
  object-fit: cover;
}

.bos-card h2 {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.bos-card h3 {
  color: #3b82f6;
  font-size: 16px;
  margin-bottom: 5px;
}

.bos-card p {
  color: #d1d5db;
  font-size: 14px;
  margin-bottom: 25px;
}

.bos-btn {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
}

.bos-btn:hover {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
}
