/* --- New CSS to Center and Constrain the Header Text --- */



/* --- Centered and Constrained Header Text --- */



.header-content-container {

  /* 100% - 30% left - 30% right = 40% width */

  width: 400%;

  max-width: 800px;        /* Safety cap for very large monitors */

 

  /* Centering the container itself */

  margin-left: auto;

  margin-right: auto;

 

  /* Centering the text inside */

  text-align: center;

 

  padding: 40px 20px;

}



.researcher-name {

  font-size: 2.2rem;

  font-weight: 800;

  color: var(--primary-blue); /* Using your official IITR blue */

  margin-bottom: 0.5rem;

}



.researcher-title {

  font-size: 1.1rem;

  color: var(--text-muted);

  font-weight: 500;

  line-height: 1.4;

}

/* 1. Make the Page Scroll Properly */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* IMPORTANT: Stops tabs from hiding under the bar */
}

/* 2. The Main Top Bar - Always Fixed */

/* 1. The Navbar Container */
/* 0. THE RESET - Add this to stop the top gap */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 1. THE MAIN NAV BAR */
nav {
    position: fixed;      /* Keeps it at the top */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;         /* Fixed height is key */
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;  /* Centers everything vertically */
    padding: 0 50px;      /* Side padding */
}

/* 2. THE CONTAINER */
.nav-container {
    width: 100%;
    max-width: 1400px;    /* Increased as per your comment to match iDRIVE home */
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin: 0 auto;
}

/* 3. LOGO SECTION */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 55px;
    width: auto;
    display: block;
}

/* 4. THE LINKS (The jump-fix is here) */
.nav-links {
    display: flex;
    align-items: center;  /* CRITICAL: Keeps Research from jumping up */
    gap: 25px; 
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;  /* Ensures dropdown arrow/text stays level */
    height: 80px;         /* Matches nav height */
}

/* 5. LINK STYLING */
.nav-links li a, 
.dropbtn {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 14px;      /* Clean uniform size */
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links li a:hover {
    color: #e63946; 
}

/* 6. DROPDOWN SPECIFIC (To prevent jumping) */
/* 1. Ensure the parent Research link is centered */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

/* 2. The Menu Box */
.dropdown-content {
    display: none;
    position: absolute;
    /* This makes it stick exactly to the bottom of the white nav bar */
    top: 100%; 
    left: 50%;
    transform: translateX(-50%); /* Centers the dropdown under the word Research */
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Softer, deeper shadow */
    border-top: 3px solid #000000; /* Red accent line at the top */
    padding: 10px 0;
    z-index: 9999;
}

/* 3. Dropdown Links Styling */
.dropdown-content li {
    width: 100%;
    height: auto !important; /* Overrides the 80px nav height */
    display: block !important;
}

.dropdown-content a {
    color: #333 !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: block;
    font-size: 13px !important;
    font-weight: 600;
    text-transform: uppercase;
    text-align: left;
    transition: background 0.2s;
}

/* 4. Hover effect for links */
.dropdown-content a:hover {
    background-color: #f8f8f8;
    color: #ff0000 !important;
}

/* 5. Show Menu */
.dropdown:hover .dropdown-content {
    display: block;
}

/* 1. The Container must be wide enough to allow centering */
.nav-container {
    width: 100%;
    max-width: 1400px; /* Make sure this is large (1200px-1400px) */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

/* 2. The Logo Section */
.nav-logo {
    flex: 1; /* This pushes from the left */
    display: flex;
    justify-content: flex-start;
}

/* 3. The Links Section (The Center) */
.nav-links {
    flex: 2; /* Giving the links more "weight" helps them stay in the middle */
    display: flex;
    justify-content: center; /* THIS centers the links */
    align-items: center;
    gap: 30px; 
    list-style: none;
}

/* 4. The Spacer Section */
.nav-spacer {
    flex: 1; /* This pushes from the right to balance the logo */
    display: flex;
    justify-content: flex-end;
}

/* --- MOBILE MENU STYLES --- */

/* 1. Hide Hamburger on Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* 2. Media Query for Mobile (max-width: 768px) */
@media screen and (max-width: 1024px) {
    nav {
        padding: 0 20px;
    }

    .nav-spacer {
        display: none; /* Remove spacer to save room */
    }

    .menu-toggle {
        display: flex; /* Show Hamburger */
    }

  .nav-links {
        position: fixed;
        top: 80px;         /* Positioned exactly under the header */
        right: -100%;      /* Hidden by default */
        
        /* THE CHANGE: Sufficient size instead of full screen */
        width: 250px;      
        height: auto;      
        max-height: 80vh;  /* Prevents it from going off the bottom of the screen */
        
        background-color: #a8a8a8;
        flex-direction: column;
        justify-content: flex-start !important;
        transition: 0.4s ease;
        
        /* Design tweaks to make it look like a floating menu */
        border-radius: 0 0 0 15px; 
        box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
        padding: 10px 0;
        overflow-y: auto;
    }

    /* Show menu when active class is added */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        height: auto; /* Reset desktop height */
        border-bottom: 1px solid #eee;
    }

    .nav-links li a {
        padding: 15px 25px;
        width: 100%;
        justify-content: flex-start; /* Aligns text to the left for better reading */
        border-bottom: 1px solid #f9f9f9;
        font-size: 13px;
    }

    /* Dropdown Fix for Mobile */
    .dropdown {
        flex-direction: column;
        height: auto;
    }

    .dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: none; /* Toggle this via JS or hover */
        width: 100%;
        box-shadow: none;
        border-top: none;
        background: #f9f9f9;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}























/* 7. Body Push (Matches Nav Height) */
body {
  margin: 0;
  padding-top: 80px;
}
/* 5. The Body Push */
/* 1. Body Push - Increase this value to create a gap */
body {
  margin: 0;
  /* If your navbar height is 100px, set this to 140px for a 40px gap */
  padding-top: 50px; 
}





/* 2. Alternative: Add margin directly to the Home section */

#home {
  padding: 80px 0 40px;
  background-color: #ffffff;
}

.header-content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px; /* Space before the big image */
}

/* --- Left Side: Branding & Typography --- */
.header-text {
  flex: 1.4;
}

.Lab-name {
  font-size: 4.5rem;
  font-weight: 900;
  color: #1a1a1a;
  display: flex;
  align-items: baseline;
  gap: 8px;
  /* This ensures the 'i' can fly from outside the container */
  position: relative; 
}

.i-zoom-intro {
  color: #e63946;
  display: inline-block;
  opacity: 0;
  
  /* Animation: Name | Duration | Timing | Delay | Fill Mode */
  animation: cinematicBottomZoom 2.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes cinematicBottomZoom {
  0% {
    opacity: 0;
    /* Move it to the absolute bottom-center of the screen */
    /* 50vw - 50% shifts it to the middle regardless of screen size */
    transform: translate(calc(50vw - 100%), 100vh) scale(150);
  }
  
  15% {
    opacity: 1;
  }

  /* The "Flying Bird" arc: it swoops up and then settles left */
  50% {
    transform: translate(25vw, -20vh) scale(20) rotate(-10deg);
  }

  100% {
    opacity: 1;
    /* Final position in 'iDRIVE' */
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* Make sure the body doesn't shake or show scrollbars during flight */
body {
  overflow-x: hidden;
}






/* 2. Full-Width Black Banner */




/* Centering the Header elements */
.vision-header {
    width: 100%;
    padding: 0;
}

.vision-header h1 {
    background: #000;
    color: #fff;
    text-align: center;
    height: 120px;             
    width: 100%;               
    display: flex;             
    align-items: center;       
    justify-content: center;   
    margin: 0;                 
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vision-header .quote {
    text-align: center;
    font-size: 1.2rem;
    color: #000000;
    font-style: italic;
    
    /* --- THE FIX --- */
    margin-top: 40px;    /* This creates space BELOW the black bar */
    margin-bottom: 30px; /* This creates space ABOVE the intro text */
    /* --------------- */
    
    display: block; 
}

/* Centering the Intro paragraph */
.vision-intro {
    text-align: center;
}

.vision-intro p {
    color: #fa0015;    /* Using the professional red we discussed */
    max-width: 800px;  /* Keeps the text from being too wide on large screens */
    margin: 0 auto;    /* Centers the 'box' of the paragraph itself */
    line-height: 1.8;
    font-size: 1.2rem;
}


/* --- ORBIT CONTAINER --- */
/* GENERAL STYLES */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; overflow-x: hidden; }

.vision-header h1 {
    background: #000; color: #fff; text-align: center; height: 120px;
    display: flex; align-items: center; justify-content: center; margin: 0;
    text-transform: uppercase; letter-spacing: 2px;
}

.vision-header .quote {
    text-align: center; font-style: italic; margin: 40px 0; font-size: 1.1rem;
}

.vision-intro p {
    color: #fa0015; text-align: center; max-width: 800px; margin: 0 auto 50px;
    line-height: 1.8; font-size: 1.2rem;
}

/* --- NEW CIRCULAR ORBIT --- */
.vision-orbit-container {
    position: relative; width: 500px; height: 500px; margin: 100px auto;
    border: 2px dashed #ddd; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    animation: main-orbit 30s linear infinite;
    transform-style: preserve-3d;
}

.center-logo {
    position: absolute; width: 130px; height: 130px; background: #fff;
    border-radius: 50%; border: 2px solid #ddd; z-index: 10;
    display: flex; justify-content: center; align-items: center;
    animation: anti-rotate 30s linear infinite;
}

.center-logo img { max-width: 80%; }
.orbit-line {
    position: absolute; top: 50%; left: 50%; width: 200px; height: 1px;
    background: #ccc; transform-origin: left center; z-index: -10;
}
.orbit-item {
    position: absolute; 
    width: 120px; 
    height: 120px; 
    background: #fff; /* This acts as the floor */
    border: 2px solid #333; 
    border-radius: 50%; 
    z-index: 1;
    
    /* ADD THIS LINE */
    isolation: isolate; 
    
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    padding: 10px; 
    font-weight: bold; 
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: little-zoom 30s linear infinite;
}

/* Math for 6-item circle placement */
.item-1 { transform: translate(0, -250px); animation-delay: 0s; }
.item-2 { transform: translate(216px, -125px); animation-delay: -5s; }
.item-3 { transform: translate(216px, 125px); animation-delay: -10s; }
.item-4 { transform: translate(0, 250px); animation-delay: -15s; }
.item-5 { transform: translate(-216px, 125px); animation-delay: -20s; }
.item-6 { transform: translate(-216px, -125px); animation-delay: -25s; }

.item-content { 
    animation: anti-rotate 30s linear infinite; 
    position: relative;
    z-index: 2; /* Keeps text above everything */
}



/* Line Rotations */
.item-1 .orbit-line { transform: rotate(90deg); }
.item-2 .orbit-line { transform: rotate(150deg); }
.item-3 .orbit-line { transform: rotate(210deg); }
.item-4 .orbit-line { transform: rotate(270deg); }
.item-5 .orbit-line { transform: rotate(330deg); }
.item-6 .orbit-line { transform: rotate(30deg); }

@keyframes main-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes anti-rotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes little-zoom {
    0%, 2%, 98%, 100% { scale: 1.2; background: #333; color: #fff; }
    15%, 85% { scale: 1; background: #fff; color: #000; }
}

.vision-orbit-container:hover, .vision-orbit-container:hover * { animation-play-state: paused !important; }


.vision-page .vision-image-container {
    width: 60%;           /* This controls how much of the screen it takes */
    max-width: 600px;     /* This prevents it from getting too big on huge monitors */
    height: 400px;        /* Only set this if you want a specific fixed height */
    margin: 30px auto;    /* Keeps it centered */
    overflow: hidden;     /* Ensures nothing leaks out of the container */
    border: 1px solid #ddd; /* Optional: adds a frame */
}

/* This ensures the image fills that container */
.vision-page .vision-pic {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* IMPORTANT: This keeps the image from stretching */
    background-color: #fff; 
}
/* Specifically targets the paragraph inside the vision-intro div */
.vision-page .vision-intro p {
    color: #e63946; /* A professional 'Academic Red' rather than bright red */
    font-weight: 500;
    line-height: 1.8;
}
/* Your centered title rule from before */
/* Base style for ALL section titles */
.section-title {
    text-align: center;
    margin: 40px auto 20px;
    width: 100%;
    font-size: 1.8rem;
    text-transform: uppercase;
    position: relative; 
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    
    /* These look at the style="" in your HTML tags */
    width: var(--w, 80px);      /* If no width is set, defaults to 80px */
    height: var(--h, 3px);      /* If no height is set, defaults to 3px */
    background-color: var(--c, #333); /* If no color is set, defaults to #333 */
    
    border-radius: 4px;
}
/* This will ONLY apply to research_vision.html */

/* The actual image styling */

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #000; /* Academic look */
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.vision-card:hover, .branch-card:hover {
    transform: translateY(-5px); /* Keeps the slight lift */
    box-shadow: none; /* Removes the red glow */
    border-left: 5px solid #ff0000 !important; /* Adds the solid red line */
    transition: all 0.3s ease;
}

.vision-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
}

.vision-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    text-align: justify; /* Matches your About section */
}


.vision-grid1 {
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px 20px; /* Added more breathing room */
}

.vision-card1 {
    max-width: 850px;
    background: #ffffff;
    padding: 50px 60px; /* Increased padding for a more "luxurious" feel */
    border-radius: 4px; /* Slightly sharper corners look more academic */
    
    /* Dual accent: Top bar (your variable) + subtle side border */
    border-top: var(--h) solid var(--c); 
    border-left: 1px solid #f0f0f0; 
    
    /* Deep, soft shadow for premium look */
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    position: relative;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}



/* Decorative Quote Icon */
.quote-icon1 {
    font-size: 32px; /* Slightly larger */
    color: #fa0015; /* iDRIVE Red */
    display: block;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Typography Improvements */
.vision-card1 p {
    font-size: 1.15rem; /* Slightly larger for the vision statement */
    line-height: 1.9;    /* More line-height = easier to read */
    color: #333;
    margin-bottom: 25px;
}

/* Highlighted keywords */
/* This targets the card when the mouse (cursor) is over it */
.vision-card1 {
    max-width: 850px;
    background: #ffffff;
    padding: 40px 60px;
    border-radius: 4px;
    border-top-left-radius: 30px; 
    border-bottom-left-radius: 30px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    /* REMOVE border-top and ADD border-left */
    border-top: none; 
    border-left: var(--h) solid var(--c); /* Uses your 5px width and black color */
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    text-align: left;
    
    /* Smooth transition for the color change */
    transition: border-left-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* THE HOVER EFFECT: Change side bar from Black to Red */
.vision-card1:hover {
    --c: #fa0015 !important; /* Changes the side bar color to iDRIVE Red */
    transform: translateY(-5px); /* Slightly moves card to the right on hover */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Optional: Make the quote icon also turn red on hover */
.vision-card1:hover .quote-icon1 {
    color: #fa0015;
    opacity: 1;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .vision-card1 {
        padding: 40px 25px;
        margin: 0 10px;
        text-align: justify; /* Helps long text look tidy on mobile */
    }
}











.researcher-title {
  font-size: 1.4rem;
  color: #444;
  font-weight: 500;
  margin: 15px 0 5px 0;
  line-height: 1.3;
}

.researcher-specialty {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0056b3; /* IIT Blue */
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- THE RESEARCH GRID CONTAINER --- */
.research-areas-container {
    display: flex;
    flex-wrap: wrap;       /* Allows 2x2 wrapping */
    width: 100%;
    max-width: 650px;     /* Keeps the grid neat */
    margin: 40px auto;    /* Centers on page */
    gap: 15px;             /* Space between boxes */
}

/* --- BASE STYLING FOR EACH BOX --- */
.area-box {
    flex: 0 0 calc(50% - 15px); /* Forces 2 per row (accounting for gap) */
    height: 180px;            /* Fixed height for uniformity */
    background-color: #fff;
    border: 2px solid #333;   /* Clean border */
    border-radius: 8px;
    display: flex;
    align-items: center;      /* Vertically centers text */
    justify-content: center;   /* Horizontally centers text */
    text-align: center;
    padding: 20px;
    opacity: 0.3;             /* Default "dimmed" state */
    transition: opacity 0.5s ease, transform 0.3s ease;
    animation: rotatePulse 8s infinite; /* 8-second total loop */
}

/* --- THE ROTATING ANIMATION LOGIC (1→2→3→4) --- */
@keyframes rotatePulse {
    0%, 20%  { opacity: 1; transform: scale(1.05); } /* Step 1: Visible (0-1.6s) */
    25%, 100% { opacity: 0.3; transform: scale(1.0); } /* Steps 2, 3, 4: Dimmed */
}

/* --- STAGGERED START TIMES --- */
/* Each box starts its animation after the previous one finishes.
   (25% of 8s is exactly 2 seconds delay per step) */
.active-1 { animation-delay: 0s; }
.active-2 { animation-delay: 2s; } /* Step 2 starts at 2s */
.active-3 { animation-delay: 4s; } /* Step 3 starts at 4s */
.active-4 { animation-delay: 6s; } /* Step 4 starts at 6s */

/* Optional: Pause on hover so a reader can study it */
.research-areas-container:hover .area-box {
    animation-play-state: paused;
}


.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 35px;
  background: #1a1a1a;
  color: #fff !important;
  text-decoration: none;
  border-radius: 50px; /* Modern pill shape */
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,86,179,0.2);
}






/* --- Right Side: News Ticker Box --- */
#news-column {
  flex: 1;
  max-width: 420px;
}

#news-column h2 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Added a small "Live" dot before Latest News */
#news-column h2::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ff4d4d;
  border-radius: 50%;
  display: inline-block;
}

.ticker-wrapper {
  height: 220px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  overflow: hidden; /* Vital to hide overflow */
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.ticker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  animation: smoothScroll 20s linear infinite;
}

.ticker-list li {
  padding: 20px;
  border-bottom: 1px solid #f7f7f7;
  font-size: 1rem;
  line-height: 1.5;
  transition: background 0.3s;
}

.ticker-list li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.ticker-list li a:hover {
  color: #0056b3;
}

/* Pause on Hover */
.ticker-wrapper:hover .ticker-list {
  animation-play-state: paused;
}

/* --- Improved Smooth Animation --- */
@keyframes smoothScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* --- Hero Image Styling --- */
/* --- The New Slideshow Row --- */
/* The parent wrapper */
/* --- MAIN LAYOUT --- */
.slideshow-row {
    display: flex;
    align-items: stretch; 
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
}

/* --- LEFT COLUMN (25%) --- */
.slideshow-side-content {
    flex: 0 0 25%;
    max-width: 25%;
    height: 500px; /* Locked to match right side photo height */
    background: #f8f9fa;
    border-radius: 24px;
    padding: 10px 0 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Spreads Title, Image, Dots evenly */
    box-sizing: border-box;
    text-align: center;
}
.sidebar-slider h3 {
    margin-bottom: 5px; /* Adjust the pixels (px) to increase or decrease the gap */
}
.side-image-container {
  position: relative;
    width: 100%; /* Your desired larger size */
    left: 50%;
    transform: translateX(-50%);
    
    /* Keep your existing styles */
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
}

.side-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.side-slide.active {
    opacity: 1;
    z-index: 2; /* Sits on top when active */
}

/* --- RIGHT COLUMN (75%) --- */
/* --- RIGHT COLUMN (75%) --- */
.slideshow-container {
    flex: 0 0 75%;
    max-width: 75%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);

}

/* Apply same sizing to both images and videos */
.slideshow-container img, 
.slideshow-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: none; /* Hidden by default, JS will show them */
}

#volume-control {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
}

#volume-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Show the first image by default */
#slideshow-image {
    display: block;
}

/* --- DOT NAVIGATION --- */
.dot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: rgba(26, 26, 26, 0.2); 
    border-radius: 50%;
    display: inline-block;
    transition: all 0.4s ease;
}

.dot.active {
    background-color: #e63946; /* iDrive Red */
    transform: scale(1.5); /* Makes the center dot big */
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Hide volume button by default if first slide is image */
#volume-control { display: none; }















/* about*/
#about {
  padding: 80px 20px;
  background-color: #f9f9f9; /* Light grey background to separate from gallery */
  text-align: center;
}
#about  h1::after {
  content: "";
  display: block;
  width: 120px;             /* Width of the line */
  height: 3px;
  background: #000000;
  margin: 10px auto 40px;
}
.about-content {
  display: flex;
  align-items: center; /* Centers items vertically */
  justify-content: center;
  gap: 50px; /* Space between image and text */
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  flex: 1; /* Takes up 50% width */
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 10px 10px 0px #000; /* Aesthetic black shadow */
}

.about-text {
  flex: 1; /* Takes up 50% width */
  text-align: left;
}

.about-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
  /* REMOVE hyphens: auto; */
  hyphens: none !important; 
  -webkit-hyphens: none;
  -ms-hyphens: none;
  
  /* Optional: slightly adjust word spacing for a smoother look */
  word-spacing: -1px; 
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Stacks image on top of text */
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
}

/* --- Header Layout --- */
.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Makes both columns same height */
  gap: 40px;
  margin-bottom: 30px;
}

/* --- Header Layout --- */
.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* Makes both columns same height */
  gap: 40px;
  margin-bottom: 30px;
}

.header-text {
  flex: 1.2;
  text-align: left;
}















/* --- Static News Column (Replacing Ticker) --- */
#news-column {
  flex: 1;
  background: #fdfdfd;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#news-column h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

/* Static Box without Overflow/Animation */
.static-news-box {
  width: 100%;
}

/* --- The Ticker Window --- */
.ticker-wrapper {
  height: 180px;      /* Show exactly 3 items (60px * 3) */
  overflow: hidden;
  position: relative;
  background: #fff;
  border-radius: 8px;
  /* This creates the 'Circle' look by fading the top and bottom edges */
  mask-image: linear-gradient(to bottom, 
    transparent 0%, 
    black 15%, 
    black 85%, 
    transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, 
    transparent 0%, 
    black 15%, 
    black 85%, 
    transparent 100%);
}

.ticker-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Increase 10s to 15s if you want it to move slower */
  animation: circle-scroll 12s linear infinite; 
}

.ticker-list li {
  height: 60px;       /* Keep this fixed */
  display: flex;
  align-items: center; /* Centers text vertically */
  padding: 0 15px;
  list-style: none;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}
/* 1. This targets the links inside your ticker */
.ticker-list li a {
    color: #e63946;            /* The iDRIVE Red color */
    text-decoration: none;     /* Removes default underline */
    font-weight: 600;          /* Makes it a bit bolder */
    transition: color 0.3s ease; /* Smooth color change on hover */
}

/* 2. This happens when you hover over a specific link */
.ticker-list li a:hover {
    color: #b91c1c;            /* Slightly darker red on hover */
    text-decoration: underline; /* Adds underline back on hover */
}

/* 3. Style for the news items that are NOT links (plain text) */
.ticker-list li {
    color: #333;               /* Keep plain text dark grey/black */
    font-size: 0.95rem;
}
/* Removes the jump: The first item of the second set should look like a continuation */
@keyframes circle-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    /* The 'Magic Command' resets instantly back to the first set */
    transform: translateY(-50%);
  }
}

.ticker-wrapper:hover .ticker-list {
  animation-play-state: paused;
  cursor: pointer;
}



/* The 'Coming Soon' Tag Styling */
.status-tag {
  background-color: #ff9800; /* Bright Orange for visibility */
  color: white;              /* White text on orange */
  font-size: 0.75rem;        /* Slightly smaller than main text */
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;         /* Space between the news and the tag */
  text-transform: uppercase; /* Professional look */
  display: inline-block;
  vertical-align: middle;
}

/* Optional: Different color for 'NEW' items */
.new-tag {
  background-color: #4caf50; /* Green for new items */
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  text-transform: uppercase;
  display: inline-block;
}



/* Styling for the 'New' Badge */
.badge-new {
  background-color: #2e7d32; /* A professional Forest Green */
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 50px;       /* Makes it a 'pill' shape */
  margin-left: 10px;
  text-transform: uppercase;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adds a tiny bit of depth */
  vertical-align: middle;
}

/* Pulse Animation (Optional - makes the 'New' tag glow slightly) */
.badge-new {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}








/* 1. Entire Section Centering */
#interests {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centers the grid horizontally */
  text-align: center;
  width: 100%;
}

/* 2. Styling the H2 for consistency */
#interests h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #1a1a1a;
  position: relative;
}

/* Optional: Adds the same blue underline as your Publications section */
#interests h2::after {
  content: "";
  display: block;
  width: 260px;             /* Width of the line */
  height: 3px;
  background: #000000;
  margin: 10px auto 0;
}

/* 3. The Grid Container */
.interests-grid {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;         
  gap: 20px;               
  max-width: 800px;        
  margin: 0 auto;          /* Centering the grid itself */
}

/* 4. Styling the individual interest tags */
.interests-grid span {
  background-color: #f4f4f4;
  padding: 12px 25px;
  border-radius: 5px;      /* Changed from 50px to 5px to match your tab style */
  font-weight: 600;
  color: #3f3838;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* THE UPDATE: Black background and White text on hover */
.interests-grid span:hover {
  background-color: #000000; /* Pure Black */
  color: #ffffff;           /* Pure White */
  border-color: #000000;
  transform: translateY(-3px); /* Slightly more noticeable lift */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}














/* Container to provide padding and alignment */
/* Only affects the research vision page */
/* This targets the container on the vision page only */



















/* Style for the caption under the picture */
.image-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}



/* Container for each row */
.highlight-row {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 20px;               /* Space between image and text */
    margin-bottom: 40px;     /* Space between rows */
    width: 100%;
}

/* Left Column: 20% */
/* --- LEFT COLUMN: CENTER THE IMAGE --- */
.left-col {
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    align-items: center;    /* Vertical centering */
    justify-content: center; /* Horizontal centering */
}

.paper-img {
    max-width: 100%;        /* Scales to fit the 20% width */
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: block;         /* Removes bottom whitespace */
}

/* --- RIGHT COLUMN: UNIFIED BAR & LIST --- */
.right-col {
    flex: 0 0 80%;
    max-width: 80%;
    border-left: none !important; /* Ensures the column itself has no border */
}

/* 1. THE MAIN CONTAINER WITH BLACK BAR */
.right-col .content-list {
    border-left: 5px solid #000; 
    padding: 20px 25px;
    background-color: #f9f9f9;
    border-radius: 0 8px 8px 0;
    text-align: justify; /* Keeps it consistent with your About text */
}

/* 2. THE TITLE PARAGRAPH */
.right-col .content-list p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* 3. THE LIST (Removing the extra dots) */
.right-col .content-list ul {
    margin: 0;
    padding: 0; 
    list-style: none !important; /* CRITICAL: This removes the default black dot */
}

/* 4. THE LIST ITEMS */
.right-col .content-list li {
    position: relative;
    padding-left: 25px; /* Creates space for the custom red dot */
    margin-bottom: 12px;
    line-height: 1.6;
    color: #333;
    list-style-type: none !important; /* Double insurance against extra dots */
}

/* 5. THE CUSTOM RED DOT */
.right-col .content-list li::before {
    content: "•"; /* Using a clean bullet symbol */
    color: #000000;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px; /* Adjust this to align perfectly with your text height */
}

.right-col .content-list li:last-child {
    margin-bottom: 0;
}
/* 4. WATCH VIDEO LINK */
.right-col .video-text-link {
    color: #ff0000 !important;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    margin-top: 5px;
}

.right-col.video-text-link:hover {
    color: #b11616 !important;
    text-decoration: none;
}





@media (max-width: 600px) {
    .highlight-row {
        flex-direction: column;
        align-items: center; /* This centers the image and text on mobile */
    }
    .left-col, .right-col {
        max-width: 100%;
        flex: 0 0 100%;
        text-align: center; /* Optional: centers text for better mobile look */
    }
    .paper-img {
        max-width: 250px; /* Prevents the image from being huge on mobile */
        margin-bottom: 15px;
    }
}

/* The Animation Recipe */
/* --- LAYOUT FOR HIGHLIGHTS PAGE ONLY --- */

.highlights-page .highlight-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
    /* Animation Trigger */
    opacity: 0; /* Starts invisible for the animation */
    animation: fadeInUp 0.8s ease-out forwards;
    transition: transform 0.3s ease;
}

.highlights-page .left-col {
    flex: 0 0 20%;
    max-width: 20%;
}

.highlights-page .right-col {
    flex: 0 0 80%;
    max-width: 80%;
}

.highlights-page .paper-img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

/* --- ANIMATIONS --- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered load effect */
.highlights-page .highlight-row:nth-child(1) { animation-delay: 0.1s; }
.highlights-page .highlight-row:nth-child(2) { animation-delay: 0.3s; }
.highlights-page .highlight-row:nth-child(3) { animation-delay: 0.5s; }
.highlights-page .highlight-row:nth-child(4) { animation-delay: 0.7s; }

/* Subtle Hover */
.highlights-page .highlight-row:hover {
    transform: translateX(10px); /* Slides right slightly on hover instead of scaling */
}

/* --- MOBILE RESPONSIVENESS --- */

@media (max-width: 600px) {
    .highlights-page .highlight-row {
        flex-direction: column;
    }
    .highlights-page .left-col, 
    .highlights-page .right-col {
        max-width: 100%;
        flex: 0 0 100%;
    }
}















/* 1. Center the entire section */
/* 3. The Project Card - Adding margin-top to separate from black bar */
.project-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    /* This 'transition' makes the movement smooth instead of jerky */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer;
    overflow: hidden;
}

/* The Animation when you hover */
.project-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    border-color: #e63946;        /* Changes border to red */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Deepens the shadow */
}

/* Subtle glow effect on the status badge when hovering */
.project-card:hover .project-status {
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Optional: Make the title turn red on hover */
.project-card:hover h3 {
    color: #e63946;
    transition: color 0.3s ease;
}




/* 4. The Footer Fix */
/* --- Updated Footer Styles --- */



















/* 1. Make the Leader Card Container Bigger */
.team-lead {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 50px; /* Space before the scholars start */
}

.leader-card {
    width: 100%;
    max-width: 500px !important; /* This makes it wider than others */
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

/* 2. Image Scaling */
.leader-card img {
    width: 250px; /* Bigger profile picture */
    height: 250px;
    border-radius: 50%; /* Optional: Makes it circular like many academic sites */
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #eee;
}

/* 3. Social Links Grid */
.leader-socials {
    display: flex;
    flex-wrap: wrap; /* Allows links to drop to next line if they don't fit */
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.leader-socials a {
    padding: 8px 15px;
    font-size: 0.85rem;
    border: 1px solid #333;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.leader-socials a:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* Specific Link Colors (Optional) */
.scholar-link:hover { border-color: #4285f4; }
.linkedin-link:hover { border-color: #0077b5; }
.orcid-link:hover { border-color: #a6ce39; }
.researchgate-link:hover { border-color: #00ccbb; }



/* 1. Main Section Container */
#team {
  padding: 60px 0;
  background-color: #fff;
}

.team-container {
  max-width: 1000px; /* Limits width so 3 cards look professional */
  margin: 0 auto;
  text-align: center;
}

#team h1 {
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;    /* Required for the line to position correctly */
  display: inline-block;
  color: #000000;
}

#team h1::after {
  content: "";
  display: block;
  
  /* 1. ADJUST LENGTH HERE */
width: 260px;             /* Width of the line */
  height: 3px;
  background: #000000;          
 /* Line Color */
  
  /* 3. POSITIONING */
  margin: 10px auto 0;   /* Centers the line under the text */
  border-radius: 2px;    /* Optional: Rounds the edges of the line */
}


#team h2::after {
  content: "";
  display: block;
  
  /* 1. ADJUST LENGTH HERE */
width: 260px;             /* Width of the line */
  height: 3px;
  background: #ffffff;          
 /* Line Color */
  
  /* 3. POSITIONING */
  margin: 10px auto 0;   /* Centers the line under the text */
  border-radius: 2px;    /* Optional: Rounds the edges of the line */
}

/* Lead Member - Centered */
.team-lead {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.team-lead .member-card {
  width: 300px;
}

/* 3x2 Grid for Scholars */
/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styling */
.member-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ensures photos aren't stretched */
    border-bottom: 1px solid #eee;
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #333;
}

.card-info .role {
    color: #e63946; /* Using your signature red */
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.duration {
    font-size: 0.85rem;
    color: #666; /* Subtle grey color */
    margin-top: -5px; /* Pulls it closer to the role text */
    margin-bottom: 10px;
    font-style: italic;
}
/* Social Link Buttons */
.member-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.member-socials a {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    color: #333 !important;
    padding: 6px 12px;
    border: 1px solid #333;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.member-socials a:hover {
    background-color: #000;
    color: #fff !important;
}




/* Update this specific section in your style.css */
.external-profile-links {
    display: flex;
    gap: 15px;
    padding: 0 0 10px 0; /* Adds a little space above the first card */
    justify-content: flex-start; /* Aligns buttons to the start of the container */
}

/* Ensure the wrapper matches the card width */
.publication-section {
    max-width: 1000px; /* Or whatever width your master-card uses */
    margin: 0 auto 30px; 
    padding: 0 20px;
}

.profile-btn {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.profile-btn:hover {
    background: #000;
    color: #fff;
}


/* Tab Buttons Styling */
.team-tabs {
  text-align: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 30px;
  border: 2px solid #1a1a1a;
  background: white;
  color: #1a1a1a;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #1a1a1a;
  color: white;
}

/* Hide/Show Logic */
.team-content {
  display: none; /* Hide everything by default */
  animation: fadeIn 0.5s ease;
}

.team-content.active {
  display: block; /* Show only the active one */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Vertical List Layout */
/* Vertical List Layout */
.intern-vertical-list {
    max-width: 900px; /* Increased width to accommodate 50/50 split better */
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intern-row {
    display: flex;
    align-items: center; /* Vertical center */
    background: #fff;
    padding: 0; /* Set to 0 if you want the image to touch the edges */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* Ensures image respects border-radius */
}

/* LEFT SIDE: The 50% Image Container */
.intern-slideshow {
    position: relative;
    flex: 0 0 50%; /* Locks width to exactly 50% */
    height: 300px;  /* Increased height for a more prominent look */
    overflow: hidden;
}

/* RIGHT SIDE: The 50% Description Container */
.intern-info {
    flex: 0 0 50%; /* Locks width to exactly 50% */
    padding: 30px;  /* Generous padding for the text */
    text-align: left;
    box-sizing: border-box;
}

.intern-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.intern-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Mobile Responsive: Stack them on top of each other */
@media (max-width: 768px) {
    .intern-row {
        flex-direction: column;
    }
    .intern-slideshow, .intern-info {
        flex: 0 0 100%;
        width: 100%;
    }
    .intern-slideshow {
        height: 200px;
    }
}





















/* Container Spacing */
/* 1. Main Container Adjustment */
/* 1. The Container */
/* 1. Add space below the main title */
/* 1. THE MAIN TITLE (Black Bar) */
/* 1. HEADER SECTION */
/* 1. HEADER - Matching your 120px height theme */
/* 1. HEADER - Matching your 120px height theme */
/* 1. Make the container fill the screen */
.publication-sheet {
    width: 100%;
    padding: 0; /* Remove padding so the black bar touches the edges */
}

/* 2. Full-Width Black Banner */
.publication-sheet h1 {
    background: #000;
    color: #fff;
    text-align: center;
    height: 120px;             
    width: 100%;               /* Forces it to full screen width */
    display: flex;             
    align-items: center;       
    justify-content: center;   
    margin: 0;                 /* Remove margin so it touches the Nav */
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 3. Constrain ONLY the cards below the header */
.projects-grid {
    max-width: 1100px;         /* This keeps the cards from being too wide */
    margin: 60px auto;         /* Centered with space below the banner */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.project-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}


/* 2. THE PAPER CARD (Centered on page) */
.highlight-row {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    max-width: 1000px;
    margin: 40px auto; /* Auto margins center the card itself */
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.highlight-row:hover {
    transform: translateY(-8px);
    border-color: #000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 3. COLUMNS (25/75 split) */
.left-col {
    flex: 0 0 25%;
    position: relative;
    display: flex;
    justify-content: center; /* Centers the image/video within its column */
}

.right-col {
    flex: 1; 
    border-left: 4px solid #000; 
    padding-left: 30px;
    text-align: left; /* Keep text left-aligned for readability, or change to center */
}

/* 4. VIDEO/IMAGE OVERLAY */
.left-col a {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    width: 100%; /* Ensures it fills the 25% column */
}

.paper-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Play Button Overlay */
.left-col a::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    opacity: 0.9;
    z-index: 2;
}

/* 5. HOVER STATES */
.highlight-row:hover strong {
    color: #000; 
    text-decoration: underline;
}

/* 6. CONTENT LIST STYLING (Centered Look) */
.content-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-list p {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.content-list ul {
    list-style: none;
    padding: 0;
}

.content-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.content-list li::before {
    content: "•";
    color: #000; 
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.4rem;
    top: -2px;
}

/* --- RESPONSIVE FIX (Center everything on Mobile) --- */
@media (max-width: 768px) {
    .highlight-row {
        flex-direction: column; /* Stack vertically */
        text-align: center;     /* Center all text */
        padding: 20px;
        width: 90%;
    }
    
    .left-col {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .right-col {
        border-left: none;      /* Remove side line */
        border-top: 3px solid #000; /* Add top line instead */
        padding-left: 0;
        padding-top: 25px;
        width: 100%;
    }

    .content-list li {
        padding-left: 0;        /* Remove padding since bullets will be hidden or centered */
    }
    
    .content-list li::before {
        display: none;          /* Hide bullets on mobile for a cleaner centered look */
    }
}

/* 4. THE FOOTER */






/* Styling for the Individual Year Headers inside the Journal Tab */
.nested-years details {
    border-bottom: 1px solid #eee;
    margin: 5px 0;
}

.nested-years details summary {
    padding: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    background: transparent;
}

/* 3. Padding for the content BELOW the black bar */
.external-profile-links {
    margin: 20px 0; /* Adds space above and below the links */
    display: flex;
    gap: 15px;      /* Space between the two buttons */
}

.profile-btn {
    display: inline-block;
    text-decoration: none; /* Removes the underline */
    color: #333;           /* Dark grey text */
    padding: 8px 16px;     /* Space inside the button */
    border: 1px solid #333; /* The border line */
    border-radius: 4px;    /* Slightly rounded corners */
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease; /* Makes the hover effect smooth */
    background-color: transparent; /* Removes the grey button background */
}

.profile-btn:hover {
    background-color: #000; /* Turns background black on hover */
    color: #fff;            /* Turns text white on hover */
    border-color: #000;
}

/* 2. Accordion Styling */
details {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc; /* The line under each year */
}

summary {
    list-style: none; /* Removes the default black triangle in Chrome/Firefox */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 2rem; /* Big Year size */
    font-weight: bold;
    cursor: pointer;
}

/* Removes the default triangle in Safari */
summary::-webkit-details-marker {
    display: none;
}

/* 3. Adding the custom Arrow on the right */
summary::after {
    content: '\2304'; /* Downward bracket symbol */
    font-size: 1.5rem;
    color: #888;
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(180deg); /* Flips arrow when open */
}

/* 4. The Papers List */
.content {
    padding-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

/* Target the publication paragraphs */
.content p {
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

/* This targets the paragraphs in ALL your publication sections */
.content p, .conference-list p, .chapter-list p {
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 5px solid #000; 
    padding-left: 15px;
    background-color: #fcfcfc; /* Adds a very slight grey tint to the box */
}

/* Hover effect for the entire row */
.content p:hover {
    background: rgba(230, 57, 70, 0.05); /* Very light iDRIVE red tint */
    transform: translateX(5px); /* Gentle shift to the right */
}

/* Specifically animating the number at the start of the paragraph */
.content p strong:first-child, 
.content p:first-letter {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Make the number grow and turn red when hovering the paper */
.content p:hover strong:first-child,


/* Bold your name automatically */
.content strong {
    font-weight: 700;
}


.conference-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.conference-list p {
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 3px solid #000; /* Subtle indicator for each entry */
    padding-left: 15px;
}

/* Ensure the summary matches your yearly archives */
.conference-section summary {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 15px;
    background: #f4f4f4;
    cursor: pointer;
    border-radius: 8px;
    list-style: none;
    transition: background 0.3s ease;
}

.conference-section summary:hover {
    background: #e0e0e0;
}

/* Unified styling for all publication sections (Conference & Books) */
.publication-section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

.publication-section summary {
    font-size: 1.8rem;
    font-weight: 700;
    padding: 15px 20px;
    background: #f4f4f4;
    cursor: pointer;
    border-radius: 8px;
    list-style: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.publication-section summary:hover {
    background: #000;
    color: #fff;
}

/* Customizing the content list */
.chapter-list p, .conference-list p {
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 4px solid #000000; /* Using iDRIVE red for accent */
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: #fafafa;
}

/* Ensures the DOI links look professional */
.publication-section a {
    color: #007bff;
    text-decoration: none;
    word-wrap: break-word;
}

.publication-section a:hover {
    text-decoration: underline;
}

/* 1. Define the 'Slide and Fade' movement */
@keyframes pubFadeIn {
    from {
        opacity: 0;
        transform: translateX(-15px); /* Slides in from the left */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 2. Apply it to the content inside your details tags */
details[open] .content p {
    animation: pubFadeIn 0.5s ease both;
}

/* 3. Stagger the list items so they appear one by one */
details[open] .content p:nth-child(1) { animation-delay: 0.1s; }
details[open] .content p:nth-child(2) { animation-delay: 0.15s; }
details[open] .content p:nth-child(3) { animation-delay: 0.2s; }
details[open] .content p:nth-child(4) { animation-delay: 0.25s; }
details[open] .content p:nth-child(5) { animation-delay: 0.3s; }

/* 4. Smooth transition for the 'details' expansion itself */
details .content {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

/* 5. Hover animation for the Year/Section Headers */
details summary {
    transition: transform 0.2s ease, background-color 0.3s ease;
}

details summary:hover {
    transform: scale(1.01); /* Subtle grow effect */
    background-color: #f0f0f0;
}















/* Unique Wrapper to prevent affecting other pages */
/* --- Wrapper & Sheet --- */
/* --- Global Wrapper --- */
/* --- Page Wrapper --- */
/* --- Page Wrapper --- */
/* --- Page Wrapper --- */
.outreach-page-wrapper {
    background-color: #f9f9f9;
    width: 100%;
    min-height: 100vh;
    padding-top: 0; 
    padding-bottom: 80px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Full-Width Black Banner Heading --- */
.outreach-page-wrapper .page-title {
    background: #000;
    color: #fff;
    text-align: center;
    height: 120px;             
    display: flex;             
    align-items: center;       
    justify-content: center;   
    margin: 0 0 50px 0;        
    padding: 0;                
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Centered Content Sheet --- */
.outreach-page-wrapper .outreach-sheet {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Master Card --- */
.outreach-page-wrapper .master-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.outreach-page-wrapper .card-header {
    color: #000; 
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 700;
    
    /* ADD THIS LINE TO CENTER THE TEXT */
    text-align: center; 
    
    /* ENSURE NO BORDER/UNDERLINE IS PRESENT */
    border-bottom: none; 
}

/* --- List Styling with Line Highlights --- */
.outreach-page-wrapper .outreach-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.outreach-page-wrapper .outreach-list li {
    position: relative;
    padding: 15px 25px 15px 55px; 
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.35rem;
    text-align: justify;
    color: #444;
    background: transparent;
    border-left: 4px solid transparent; 
    border-radius: 0 12px 12px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0; 
    transform: translateY(25px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- THE HIGHLIGHT EFFECT --- */
.outreach-page-wrapper .outreach-list li:hover {
    background: #f4f4f4; /* Light grey highlight */
    border-left: 5px solid #000; /* CHANGED TO BLACK ACCENT */
    box-shadow: 5px 5px 20px rgba(0,0,0,0.05);
    color: #000;
    transform: translateX(10px); 
}

/* Black Bullet Point Positioning */
.outreach-page-wrapper .outreach-list li::before {
    content: "•";
    color: #000; /* CHANGED TO BLACK */
    font-weight: bold;
    position: absolute;
    left: 20px;
    font-size: 2.2rem;
    top: 10px;
    transition: all 0.3s ease;
}

/* Bullet pulses on hover */
.outreach-page-wrapper .outreach-list li:hover::before {
    transform: scale(1.4);
}

/* --- Staggered Entrance --- */
.outreach-page-wrapper .outreach-list li:nth-child(1) { animation-delay: 0.1s; }
.outreach-page-wrapper .outreach-list li:nth-child(2) { animation-delay: 0.2s; }
.outreach-page-wrapper .outreach-list li:nth-child(3) { animation-delay: 0.3s; }
.outreach-page-wrapper .outreach-list li:nth-child(4) { animation-delay: 0.4s; }
.outreach-page-wrapper .outreach-list li:nth-child(5) { animation-delay: 0.5s; }

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Slideshow Section --- */
.outreach-page-wrapper .outreach-slideshow-bottom {
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.outreach-page-wrapper .slideshow-container {
    width: 100%;
    max-width: 950px; 
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    background: #000;
}

.outreach-page-wrapper .slideshow-container img {
    width: 100%;
    height: 480px; 
    object-fit: cover;
    display: block;
}

/* --- Navigation Buttons --- */
.outreach-page-wrapper .prev, 
.outreach-page-wrapper .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    margin: 0 15px;
    transition: 0.3s;
}

.outreach-page-wrapper .next { right: 0; }
.outreach-page-wrapper .prev:hover, 
.outreach-page-wrapper .next:hover {
    background-color: #333; /* Dark grey/black hover */
}

/* --- Pill Dots --- */
.outreach-page-wrapper .dot-container {
    text-align: center;
    margin-top: 25px;
}

.outreach-page-wrapper .dot {
    cursor: pointer;
    height: 10px;
    width: 25px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.4s ease;
}

.outreach-page-wrapper .active, 
.outreach-page-wrapper .dot:hover {
    background-color: #000; /* CHANGED TO BLACK */
    width: 45px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .outreach-page-wrapper .page-title {
        height: 100px;
        font-size: 1.6rem;
    }
    .outreach-page-wrapper .outreach-list li {
        font-size: 1.1rem;
        padding-left: 45px;
    }
}




/* --- Gallery Section Container --- */
#gallery {
  text-align: center;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
#gallery h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: #000000;
  margin: 10px auto 0; /* 10px is the gap between text and line */
}

/* Your existing filter-buttons code follows */
.filter-buttons {
  margin-top: 20px; /* Optional: extra insurance for the gap */
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  border: 2px solid #000;
  background-color: #fff; /* Default: White */
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  outline: none;
}

.btn:hover {
  background-color: #f0f0f0;
}

/* THE FIX: Only one 'active' rule. JS moves this class. */
.btn.active {
  background-color: #000 !important;
  color: #fff !important;
}

/* --- Gallery Grid Layout --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns */
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.img-desc {
  padding: 15px 10px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* --- Animations --- */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 Column on phone */
  }
  .filter-buttons {
    gap: 8px;
  }
  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }
}

















/* --- HERO HEADER STYLE (Slimmer) --- */
/* --- UNIVERSAL NAV LOCK --- */


/* --- HERO SECTION TWEAK --- */
.contact-hero {
    background-color: #000;
    width: 100%;
    height: 120px; /* Set your exact height here */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: 2.5rem; /* Reduced from 3.5rem */
    font-weight: 800;
    letter-spacing: 4px;
    margin: 0;
    text-transform: uppercase;
}

/* --- REFINING THE CARDS & GAPS --- */
.contact-sheet {
    max-width: 1000px;
    /* This margin fix removes the huge white gap */
    margin: 20px auto; 
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
}

/* Title styling to reduce top gap */
.contact-sheet h2.section-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.join-grid {
    display: grid;
    /* Adjusted min-width for better fit */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 20px; /* Reduced gap between cards */
    margin-top: 20px;
}

.join-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 6px solid #000;
    padding: 20px; /* Reduced padding inside cards */
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Red Rectangle Hover */
.join-card:hover {
    border: 2px solid #ff0000 !important;
    border-left: 6px solid #ff0000 !important;
    transform: translateY(-5px);
    box-shadow: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #000;
}

.join-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
    text-align: justify;
}

/* GMAIL BUTTON SECTION (Compact) */
.email-action {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.email-action p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.gmail-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000; /* Sophisticated Black */
    color: #fff !important;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px; /* Rounded pill shape looks more modern */
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.gmail-btn:hover {
    background-color: #fa0015; /* Switches to iDRIVE Red on hover */
    border-color: #fa0015;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 0, 21, 0.3);
}

/* Modal Background */
/* ==========================================================================
   1. MODAL (POPUP) & FORM STYLING
   ========================================================================== */




















/* 1. Section Container & Centering */
/* 1. Full Width Black Container */
/* Update the existing footer styles */
/* Full Width Footer */
/* --- MAIN FOOTER WRAPPER --- */
/* --- FOOTER MAIN CONTAINER --- */
/* --- FOOTER MAIN CONTAINER --- */
footer {
    clear: both;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 60px 0 20px 0;
    margin-top: 80px;
    font-family: 'Arial', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    padding: 0 20px;
    gap: 40px; /* Better spacing between the 4 columns */
}

/* Base style for all 4 footer columns */
.footer-logo, 
.footer-links, 
.footer-info, 
.footer-map {
    flex: 1;
    min-width: 200px;
}

/* Headings Styling */
.footer-links h2, 
.footer-info h2 {
    font-size: 1.25rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #ffffff !important;
}

/* Link Base Styles */
.footer-links a, 
.contact-links a,
.footer-bottom a {
    color: #bbb; /* Subtle grey */
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block; /* Essential for transform/scale to work */
    transition: color 0.3s ease, transform 0.2s ease;
    margin-bottom: 8px;
}

/* --- THE HOVER UPDATE: Turn Red on Cursor --- */
.footer-links a:hover, 
.contact-links a:hover,
.footer-bottom a:hover,
.nav-links a:hover {
    color: #ff0000 !important; /* Instant Red on hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* --- THE CLICK UPDATE: Shrink effect --- */
.footer-links a:active, 
.contact-links a:active,
.nav-links a:active {
    transform: scale(0.92); /* Feels like a real button press */
}

/* Icons within links also turn red on hover because they inherit color */
/* This ensures every icon takes up the exact same horizontal space */
.footer-links i, 
.contact-links i {
    width: 25px;         /* Adjust based on your preference */
    text-align: center;  /* Centers the icon within that 25px space */
    margin-right: 10px;  /* Creates a uniform gap before the text */
}

/* Use Flexbox for perfect vertical and horizontal alignment */
.footer-links li a, 
.contact-links a {
    display: flex;
    align-items: center;
}

/* Address Styling */
.footer-addr {
    color: #bbbbbb;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-top: 20px;
}

.footer-addr strong {
    color: #ffffff;
}

/* Map Styling */
.footer-map {
    display: flex;
    justify-content: flex-end;
}

.footer-map iframe {
    border-radius: 12px;
    border: none;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.05);
}

/* --- BOTTOM WATERMARK --- */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #333; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p, .made-by {
    font-size: 0.8rem;
    color: #777;
}
.footer-links ul li a {
    display: flex;          /* This is the magic fix */
    align-items: center;    /* Keeps text vertically centered with icons */
    gap: 10px;              /* Standardizes the space where icons usually sit */
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s ease;
}

/* If some links don't have icons, this ensures they still indent */
.footer-links ul li a i {
    width: 10px;            /* Fixed width for the icon area */
    text-align: center;
}
/* --- RESPONSIVE FIX --- */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }
    .footer-map {
        justify-content: center;
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}


