
    

/* ================= GLOBAL STYLES (Yours) ================= */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100%;
    background: radial-gradient(circle, #1f1f1f, #000000, #880202); /* Reddish shiny background */
    color: white; /* Changed to white for better readability on dark bg, specific red accents added below */
}

/* ================= NAVBAR (Yours) ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(to right, black, #eb0028);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.navbar .logo img {
    height: 55px;
    margin-right: 10px;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: -10px;
    padding: 30px;
}

.navbar ul li {
    margin: 0 20px;
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navbar ul li a:hover, .navbar ul li a.active {
    color: rgb(0, 0, 0);
}

/* ================= HERO SECTION ================= */
.speakers-hero {
    margin-top: 120px; /* Space for fixed navbar */
    text-align: center;
    padding: 20px 5%;
}

.page-title {
    font-size: 64px;
    font-weight: 800;
    color: #eb0028; /* TEDx Red */
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%); /* Artistic touch like screenshot */
    transition: filter 0.5s;
}
.tedx-outline { position: relative; border-radius: 12px; border: 1px solid rgba(235, 0, 40, 0.35); box-shadow: 0 0 0 1px rgba(235, 0, 40, 0.15) inset, 0 8px 24px rgba(0, 0, 0, 0.4); transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease; }

.tedx-outline:hover {
border-color: rgba(235, 0, 40, 0.65);
box-shadow:
0 0 0 1px rgba(235, 0, 40, 0.25) inset,
0 10px 32px rgba(235, 0, 40, 0.25),
0 18px 40px rgba(0, 0, 0, 0.55);
transform: translateY(-2px);
}
.hero-image-container.tedx-outline {
overflow: hidden;
}

.hero-img:hover {
    filter: grayscale(0%);
}

.hero-intro-text p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    text-shadow: 1px 1px 2px black;
}

/* ================= SPEAKERS GRID (The Cards) ================= */
.speakers-grid-section {
    padding: 60px 5%;
    display: flex;
    justify-content: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

/* Card Base Style */
.speaker-card {
    background: #000000; /* Pure black background ensures text is readable when image fades */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px; /* Increased radius for classy look */
    padding: 25px;
    height: 350px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.speaker-card:hover {
    transform: translateY(-10px); /* Lifts up higher */
    box-shadow: 0 15px 30px rgba(235, 0, 40, 0.3); /* TEDx Red Glow */
    border-color: #eb0028;
}

/* --- 1. THE IMAGE (Now Visible by Default) --- */
.speaker-reveal-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* Initial State: Fully Visible */
    opacity: 1; 
    filter: grayscale(0%) blur(0px); /* Crisp image */
    transform: scale(1);
    
    /* Smooth Animation */
    transition: all 0.5s ease;
    z-index: 1;
}

/* Hover State: Image Fades Out */
.speaker-card:hover .speaker-reveal-img {
    opacity: 0.1; /* Fades to 10% visibility (darkened) */
    filter: grayscale(100%) blur(4px); /* Turns B&W and Blurs */
    transform: scale(1.1); /* Subtle zoom effect */
}

/* --- 2. THE TEXT CONTENT (Now Hidden by Default) --- */
.card-content {
    z-index: 2; /* Sits on top of the image */
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Initial State: Hidden */
    opacity: 0;
    transform: translateY(20px); /* Pushed down slightly */
    transition: all 0.5s ease;
}

/* Hover State: Text Fades In */
.speaker-card:hover .card-content {
    opacity: 1; /* Fully Visible */
    transform: translateY(0); /* Slides up into place */
}

/* Typography Styling */
.card-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff; /* White text */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* Shadow to read against background */
}

.card-footer h4 {
    font-size: 11px;
    color: #eb0028; /* Red accent */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 700;
}

.card-footer h3 {
    font-size: 24px;
    color: white;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 5px black;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* ================= TEDx SOCIAL SECTION ================= */
.tedx-social-container {
    padding: 40px 10%;
    display: flex;
    justify-content: center;
}

.social-card {
    background: linear-gradient(135deg, #ffe5e5, #fff);
    color: black;
    padding: 30px 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-left: 10px solid #eb0028;
    flex-wrap: wrap; /* Added for responsiveness */
    gap: 20px; /* Added for spacing on wrap */
}

.social-text {
    flex: 1;
    font-size: 16px;
    padding-right: 30px;
    line-height: 1.5;
}

.social-text .highlight {
    color: #eb0028;
    font-weight: 800;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 30px;
}

.s-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s-link .icon {
    width: 40px;
    height: 40px;
}

.link-details {
    display: flex;
    flex-direction: column;
}

.link-details strong {
    font-size: 14px;
    color: #eb0028;
}

.link-details a {
    font-size: 12px;
    color: black;
    text-decoration: underline;
}

/* ================= PAST HISTORY SECTION ================= */
/* ================= PAST HISTORY SECTION ================= */
.history-section {
    background-color: #0f0f0f;
    padding: 60px 10%;
    border-top: 1px solid #333;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centers image and text vertically */
    margin-bottom: 50px;
    gap: 50px; /* Creates space between Image and Text */
}

/* --- LEFT SIDE: IMAGE CONTAINER --- */
.history-logo {
    flex: 0 0 45%; /* This forces the image container to take 45% of the width (Left Side) */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling the actual Image to be Big and "Recipe Shaped" */
.history-logo img {
    width: 100%; /* Takes full width of the 45% container */
    max-width: 500px; /* Limits it from getting too huge on 4k screens */
    height: auto; /* Maintains aspect ratio */
    
    /* The "Good Recipe Shape" & Classy Vibe */
    border-radius: 20px; 
    border: 2px solid #eb0028; /* TEDx Red Border */
    box-shadow: 0 10px 30px rgba(235, 0, 40, 0.3); /* Red Glow Shadow */
    
    object-fit: cover;
    transition: transform 0.3s ease;
}

.history-logo img:hover {
    transform: scale(1.02); /* Slight pop effect on hover */
}

/* --- RIGHT SIDE: TEXT CONTAINER --- */
.history-intro {
    flex: 1; /* Takes the remaining space (Right Side) */
    text-align: left; /* Ensures text aligns to the left of its own box */
}

.history-intro h2 {
    color: white;
    font-size: 32px; /* Increased size as requested */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    line-height: 1.3;
}

.history-intro p {
    font-size: 20px; /* Increased size */
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 15px;
}

.history-intro p.small {
    font-size: 18px;
    color: #eb0028; /* Made this red to stand out slightly */
    font-weight: 600;
    margin-top: 15px;
}

/* Mobile Responsiveness: Stacks them on small screens */
@media (max-width: 900px) {
    .history-header {
        flex-direction: column; /* Stacks image on top of text */
        text-align: center;
    }

    .history-logo {
        width: 100%;
        margin-bottom: 30px;
    }

    .history-intro {
        text-align: center;
    }
}
.history-logo-img:hover {
    transform: scale(1.05);
}


.history-intro {
    flex: 1;
    text-align: right;
    max-width: 600px;
    margin-left: 40px;
}

.history-intro h2 {
    color: white;
    font-size: 28px; /* Larger font size */
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px #eb0028;
}

.history-intro p {
    font-size: 20px; /* Slightly larger font size */
    color: #aaa;
    line-height: 1.6;
}

.history-intro p.small {
    font-size: 16px; /* Keep this smaller as per screenshot */
    margin-top: 15px;
}
.history-intro p #abc{
    color: #ffffff;
}
/* Container */
.history-heading {
text-align: center;
margin: 12px 0 32px;
}

/* Main Title with classy depth */
.history-title {
margin: 0;
font-size: 34px;          
line-height: 1.2;
letter-spacing: 0.6px;
color: #fff;
text-transform: uppercase;
font-weight: 800;
text-shadow:
0 1px 0 rgba(255,255,255,0.06),   
0 8px 18px rgba(0,0,0,0.55);      
position: relative;
display: inline-block;
}

/* “Past” word: 3D stack + soft red aura (non‑neon) */
.history-title .past-3d {
position: relative;
display: inline-block;
color: #ffffff;
padding: 0 6px;
text-shadow:
0 1px 0 rgba(255,255,255,0.10),
0 2px 0 rgba(255,255,255,0.08),
0 3px 0 rgba(255,255,255,0.06),
0 4px 0 rgba(0,0,0,0.25),
0 6px 10px rgba(0,0,0,0.45),
0 0 22px rgba(235,0,40,0.22),     
0 0 48px rgba(235,0,40,0.12);     
}


.history-title .past-3d::before {
content: '';
position: absolute;
inset: -6px -10px -8px -10px;       
border-radius: 10px;
background: radial-gradient(
60% 90% at 50% 50%,
rgba(235,0,40,0.18),
rgba(235,0,40,0.08) 55%,
rgba(235,0,40,0.00) 100%
);
filter: blur(6px);
z-index: -1;
opacity: 0.9;
}

/* Gentle sheen sweep on hover (kept tasteful) */
.history-title .past-3d::after {
content: '';
position: absolute;
top: -15%;
left: -20%;
width: 50%;
height: 130%;
transform: skewX(-18deg);
background: linear-gradient(
90deg,
rgba(255,255,255,0) 0%,
rgba(255,255,255,0.09) 45%,
rgba(255,255,255,0) 100%
);
opacity: 0;
transition: transform 0.9s ease, opacity 0.45s ease;
pointer-events: none;
}

.history-title:hover .past-3d::after {
opacity: 1;
transform: skewX(-18deg) translateX(180%);
}

/* Subtitle stays understated */
.history-subtitle {
margin: 10px 0 0;
font-size: 14px;
color: #bbb;
}

/* Responsive polish */
@media (max-width: 600px) {
.history-title { font-size: 28px; }
}

.history-list { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 24px; align-items: start; }
.h-col {
margin: 0;
padding: 24px;
border-radius: 14px;
background: rgba(25, 25, 25, 0.45);
border: 1px solid rgba(235,0,40,0.18);
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
position: relative;
overflow: hidden;
}

/* Subtle sweep on hover */
.h-col::before {
content: '';
position: absolute;
top: 0;
left: -80%;
width: 50%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
transform: skewX(-20deg);
transition: left 0.7s ease;
}

.h-col:hover::before { left: 130%; }

.h-col:hover {
border-color: rgba(235,0,40,0.5);
background: rgba(35, 10, 12, 0.5);
box-shadow:
0 0 0 1px rgba(235,0,40,0.18) inset,
0 16px 40px rgba(235,0,40,0.18),
0 24px 60px rgba(0,0,0,0.55);
}

.h-item { margin-bottom: 18px; }
.h-item:last-child { margin-bottom: 0; }

.h-name {
color: #eb0028;
font-weight: 700;
font-size: 17px;
margin: 0 0 6px 0;
}

.h-role {
color: #eaeaea;
font-size: 12.5px;
opacity: 0.95;
}
@media (max-width: 1024px) {
.history-list { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 600px) {
.history-list { grid-template-columns: 1fr; }
}
/* ================= FOOTER (Yours) ================= */
/* Footer Section Container */

.footer-section {
    position: relative;
    background: linear-gradient(to bottom, #330000, #000);
    color: white;
    padding: 50px 20px 0;
    text-align: center;
    
    /* CHANGE THIS LINE */
    overflow: visible; /* Was hidden - needs to be visible for popup to show */
}
.footer-bg-clipper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* CRITICAL for background */
    z-index: 0;
    pointer-events: none;
}

/* 3. Adjust the Animated Background to sit inside the clipper */
.animated-background {
    position: absolute;
    top: -50px; /* You can keep this, the clipper will hide the overflow part */
    left: -200px;
    width: 200%;
    height: 300px;
    background: radial-gradient(circle, #eb0028 60%, transparent 60%);
    animation: background 10s linear infinite;
    /* Remove z-index here, controlled by parent */
}

/* Footer Content Wrapper */
.footer-content {
    position: relative;
    z-index: 2;
}

/* Find this in your CSS and update it */
.footer-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
    
    /* ADD THESE TWO LINES */
    position: relative; 
    z-index: 10; /* Ensures the popup sits on top of the next row */
}

.footer-box {
    text-align: center;
    position: relative;
}

.footer-underline {
    height: 2px;
    width: 80%;
    background: white;
    border-top: 2px dashed white;
    margin: 0 auto 20px;
}

/* Heading Links (if applicable) */
.footer-heading {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-heading a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.footer-heading a:hover {
    background-color: rgba(255, 255, 255, 0.15); /* Whitish transparent background */
}

/* --- SUBTEXT LINKS (Book Ticket / Contact Us) --- */
.footer-subtext {
    font-size: 16px;
    font-weight: 400;
    color: white;
}

.footer-subtext a {
    color: white !important; /* Force white text */
    text-decoration: none !important; /* No underline */
    padding: 5px 12px; /* Add padding so the background looks like a button */
    border-radius: 5px; /* Soft rounded corners */
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* Ensures padding works correctly */
}

/* THE HOVER EFFECT: White text + Translucent Background */
.footer-subtext a:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15); /* The "whitish" background */
    backdrop-filter: blur(2px); /* Optional: adds a slight glass effect */
}

.footer-subtext .arrow {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff; /* Arrow stays red */
    margin-left: 5px;
}

/* Email Section */
.email-section {
    text-align: center;
}

.email-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.email-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.email-input {
    padding: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    border: none;
    outline: none;
    border-bottom: 2px solid white;
    background: transparent;
    color: white;
    width: 300px;
}

.email-input::placeholder {
    color: white;
    opacity: 0.8;
}

.submit-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background: white;
    color: red;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.submit-button:hover {
    background: red;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
}

.footer-left {
    text-align: left;
}

.footer-left h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #e00227;
}

.footer-left p {
    font-size: 14px;
    color: white;
    margin: 5px 0;
}

.social-icons a img {
    width: 24px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-right ul li {
    display: inline;
}

.footer-right ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-right ul li a:hover {
    color: red;
}

.footer-right p {
    font-size: 14px;
    margin-top: 10px;
    color: white;
}

/* Animation Keyframes */
@keyframes background {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* --- CONTACT TOOLTIP STYLES --- */

/* 1. The Wrapper: anchors the absolute tooltip */
.contact-wrapper {
    position: relative; 
    display: inline-block;
    cursor: pointer;
}

/* 2. The Tooltip Box (Hidden by default) */
.contact-tooltip {
    position: absolute;
    bottom: 140%; /* Positions it above the text initially */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Start slightly lower for animation */
    
    width: 320px;
    padding: 25px;
    
    /* THE SHINY BLACKISH LOOK */
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(40, 0, 0, 0.9));
    backdrop-filter: blur(10px); /* Glass blur effect */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle top border */
    border-bottom: 2px solid #eb0028; /* TED Red accent at bottom */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    
    /* Animation State: Hidden */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy effect */
    z-index: 100;
    pointer-events: none; /* Prevents clicking when hidden */
}

/* 3. The Hover Effect (Makes it appear) */
.contact-wrapper:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    bottom: 120%; /* Moves up slightly */
    pointer-events: auto; /* Enables clicking links inside */
}

/* Add a tiny triangle pointer at the bottom of the box */
.contact-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #eb0028 transparent transparent transparent; /* Red pointer */
}

/* --- TOOLTIP CONTENT STYLING --- */

.tooltip-content {
    text-align: left; /* Elegant alignment */
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-row .icon {
    color: #eb0028; /* Red Icons */
    font-size: 18px;
}

.ted-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted #eb0028;
    transition: color 0.3s;
}

.ted-link:hover {
    color: #eb0028;
}

/* Divider Line */
.tooltip-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    margin: 15px 0;
}

/* Thank You Message */
.thank-you-msg {
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: #ddd;
    line-height: 1.4;
}

.thank-you-msg .highlight {
    color: #eb0028;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    font-size: 14px;
}
/* ================= RESPONSIVE FIXES (UPDATED) ================= */

/* Tablet View */
@media (max-width: 992px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 15px; padding: 15px; }
    .navbar ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    body { padding-top: 160px; }
    
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-row { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .footer-right ul { justify-content: center; flex-wrap: wrap; }

    /* Footer Background for Mobile */
    .animated-background {
        height: 100%; 
        width: 300%; 
        top: 0;
        left: -100%;
        border-radius: 0;
    }
}

/* Mobile Phones (400px - 480px) */
@media (max-width: 600px) {
    /* 1. Navbar: Big Logo Fix */
    .navbar { 
        padding: 15px 10px; 
        justify-content: center; /* Center items */
    }
    
    .navbar .logo { 
        flex-direction: row; /* Keep image and text side-by-side */
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar .logo img { 
        height: 60px; /* Bigger Logo Image */
        margin-right: 15px;
    }

    /* Target the text specifically to make it BIGGER */
    .navbar .logo .tedx-text {
        font-size: 34px; /* Much Bigger font */
    }
    .navbar .logo .imi-delhi-text {
        font-size: 34px; /* Much Bigger font */
    }

    .navbar ul li { margin: 5px 10px; }
    .navbar ul li a { font-size: 15px; }

    /* 2. Body & Layout - PUSH CONTENT DOWN */
    body { 
        padding-top: 260px; /* Ensures the About box is visible below navbar */
    }
    
    .about-team-section { margin-top: 20px; padding: 0 10px; }
    
    .glassy-box { padding: 20px 15px; width: 100%; border-radius: 15px; }
    
    .animated-heading { font-size: 1.8rem; flex-direction: column; gap: 5px; }
    .about-content p { font-size: 1rem; }

    /* 3. Grid & Forms */
    .team-grid { grid-template-columns: 1fr; }
    .team-grid-section h1 { font-size: 2.2rem; }
    
    .email-form { flex-direction: column; width: 100%; }
    .email-input { width: 100%; margin-bottom: 10px; }
    .submit-button { width: 100%; }

    /* 4. Tooltip Fix */
    .contact-tooltip { width: 280px; left: 50%; transform: translateX(-50%); }
}
