/* ================== GENERAL RESET & VARIABLES ================== */
:root {
    --primary-blue: #1e3a8a;   /* Deep Blue from style.css */
    --accent-color: #3b82f6;   /* Bright Blue from style.css */
    --accent-hover: #2563eb;   /* Hover Blue from style.css */
    --text-dark: #0f172a;      /* Dark Slate */
    --text-body: #475569;
    --white: #ffffff;
    --glass-bg: rgba(15, 23, 42, 0.85); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background-color: #f8fafc;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Add this to the top of about.css */
::-webkit-scrollbar { width: 0.625rem; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 0.3125rem; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ================== FLUID NAVBAR ================== */
.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Fluid padding that shrinks on small screens */
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 5vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
    /* Magic flex property: forces the logo to stay on its own line if space is tight */
    flex: 1 1 max-content;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    /* Fluid gap between links */
    gap: clamp(1rem, 3vw, 1.5rem);
    list-style: none;
    margin: 0; 
    padding: 0;
    /* Magic flex property: takes up remaining space, but forces a wrap if there isn't enough room */
    flex: 999 1 max-content;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-link:hover { color: var(--accent-color); }

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-btn {
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1rem, 2vw, 1.5rem);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}
/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background 0.2s;
    text-align: center;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* ================== HEADER ================== */
.contact-header {
    background: linear-gradient(rgba(0, 32, 63, 0.9), rgba(0, 32, 63, 0.8)), 
                url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1200&q=80');
    background-size: cover; background-position: center; color: white;
    text-align: center; padding: clamp(7rem, 20vh, 10rem) 0;
}

.contact-header h1 {
    font-family: 'Montserrat', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem; font-weight: 800;
}
.contact-header p {
    font-size: clamp(1.1rem, 2vw, 1.3rem); opacity: 0.9; max-width: 600px; margin: 0 auto;
}

/* Animations */
.animate-entry { opacity: 0; animation: fadeInUp 1s ease-out forwards; }
.delay-1 { animation-delay: 0.3s; transition-delay: 0.3s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.2, 1, 0.4, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ================== CONTACT WRAPPER ================== */
.contact-section { padding: clamp(4rem, 10vh, 6rem) 0; }

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 6vw, 4rem); /* Fluid gap between card and info row */
}

/* ================== GOOGLE FORM CARD (TOP) ================== */
.google-form-card {
    background: white;
    border-radius: clamp(16px, 4vw, 30px);
    /* Fluid padding dynamically scales down on mobile */
    padding: clamp(1.5rem, 6vw, 4rem);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    /* Animated Gradient Border Top */
    border-top: 6px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, var(--primary-blue), var(--accent-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.form-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

/* Floating Icon Animation */
.form-icon-floating {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Fluid icon size */
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.google-form-card h2 {
    font-family: 'Montserrat', sans-serif; 
    font-size: clamp(1.5rem, 4vw, 2rem); /* Fluid heading */
    color: var(--text-dark); 
    margin-bottom: 1rem;
}
.google-form-card p { 
    color: var(--text-body); 
    margin-bottom: 2rem; 
    font-size: clamp(0.95rem, 2vw, 1.1rem); 
}

.form-link-btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    background: #4285F4; 
    color: white; 
    text-decoration: none; 
    border-radius: 50px;
    font-weight: 700; 
    font-size: clamp(0.85rem, 2vw, 1rem); /* Fluid button text */
    transition: all 0.3s; 
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}
.form-link-btn:hover { background: #3367d6; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(66, 133, 244, 0.4); }
.form-link-btn i { margin-left: 10px; transition: transform 0.3s; }
.form-link-btn:hover i { transform: translateX(5px); }

/* ================== CONTACT INFO ROW (BOTTOM) ================== */
.glass-container {
    background: var(--glass-card);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: clamp(16px, 4vw, 30px);
    padding: clamp(1.5rem, 6vw, 3rem) clamp(1rem, 4vw, 2rem);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-label {
    font-family: 'Montserrat', sans-serif; 
    font-size: 1rem; 
    text-transform: uppercase;
    letter-spacing: 2px; 
    color: var(--text-body); 
    margin-bottom: clamp(1.5rem, 5vw, 3rem); 
    opacity: 0.7;
}

/* The Grid Layout for Row-Wise Info (No Media Queries Needed!) */
.info-grid {
    display: grid;
    /* Auto-fit creates columns, minmax prevents breaking on tiny phones */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: flex-start;
}

.info-item {
    display: flex; flex-direction: column; align-items: center;
}

/* Pulsing Icons */
.icon-pulse {
    width: clamp(50px, 8vw, 65px); 
    height: clamp(50px, 8vw, 65px);
    background: white;
    color: var(--accent-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    /* Continuous Pulse Animation */
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(179, 32, 37, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(179, 32, 37, 0); }
    100% { box-shadow: 0 0 0 0 rgba(179, 32, 37, 0); }
}

.info-item h4 {
    font-family: 'Montserrat', sans-serif; font-size: 1.2rem; color: var(--primary-blue);
    margin-bottom: 0.5rem;
}
.info-item p, .info-item a {
    color: var(--text-body); text-decoration: none; font-size: 0.95rem; transition: color 0.3s;
}
.info-item a:hover { color: var(--accent-color); }

/* Small Row for Social Icons */
.social-icons-row { display: flex; gap: 10px; margin-top: 5px; }
.s-icon {
    width: 35px; height: 35px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-blue); border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.s-icon:hover { background: var(--primary-blue); color: white; transform: translateY(-3px); }

/* ================== FLUID FOOTER ================== */
footer {
    text-align: center;
    padding: 10px 10px;
    background: #343d46;
    color: #94a3b8;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer2 {
    position: fixed;
    bottom: 0;
    right: 0;
    text-align: right; 
    width: auto;
}