* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* --- MAIN NAVBAR CONTAINER --- */
.asl-navbar {
    background-color: #002b5c; /* Deep Blue */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding-right: 20px;
}

/* --- LOGO STYLING --- */
.nav-logo-area {
    display: flex;
    align-items: center;

}

.nav-logo-area img {
    height: 100px;
    margin-right: 25px;

}

.logo-text h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.logo-text h2 {
    color: #f2b824; /* Gold */
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin: 0;
}

/* --- LINKS STYLING --- */
.nav-links:not(.nav-quote-btn) {
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 15px;
    height: 100px; /* Matches navbar height */
    display: flex;
    align-items: center;
    transition: 0.3s;
}

/* Yellow Home Tab */
.nav-item.active {
    background-color: #f2b824;
    color: #002b5c;
    padding: 0 15px;
}

.nav-item:hover:not(.active) {
    color: #f2b824;
}

/* --- DROPDOWN HOVER LOGIC --- */
.nav-dropdown {
    position: relative;
    height: 100%;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: #002b5c;
    min-width: 240px;
    z-index: 2000;
    border-top: 3px solid #f2b824;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    color: #ffffff;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-dropdown-content a:hover {
    background-color: #003a7a;
    color: #f2b824;
}

.nav-dropdown-content a.active {
    background-color: #003a7a;
    color: #f2b824;
}

/* --- GET A QUOTE BUTTON --- */
.nav-quote-btn {
    background-color: #f2b824;
    color: #002b5c;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 12px 20px;
    border-radius: 6px;
    margin-left: 20px;
    transition: 0.3s;
}

.nav-quote-btn:hover {
    background-color: #ffffff;
}

/* The Yellow Line below the menu */
.yellow-line {
    height: 5px;
    background-color: #f2b824;
    width: 100%;
}

/* --- LIGHT BLUE BANNER STYLES --- */

.blue {
        background-color: #003571;
        padding: 15px;
}
.light-blue-banner {
    display: flex;
    height: 180px;             /* Compact height */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-content {
    
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text and the line */
}

.about-text-shadow {
    color: #ffffff; /* Using your ASL Dark Blue for contrast on light background */
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
    
    /* THE SHADOW: Creates the "pushed forward" depth */
    text-shadow: 2px 10px 20px rgba(0, 0, 0, 0.816);
}

/* THE SHORT YELLOW LINE */
.short-gold-line {
    width: 60px;            /* Fixed width - significantly shorter than "About" */
    height: 5px;            /* Thickness of the line */
    background-color: #f2b824; /* Your ASL Gold/Yellow */
    border-radius: 10px;    /* Rounded edges for a modern look */
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .light-blue-banner {
        height: 140px;
    }
    .about-text-shadow {
        font-size: 2.8rem;
    }
    .short-gold-line {
        width: 40px;
        height: 4px;
    }
}



/* --- UPDATED WHY CHOOSE US (VALUES) STYLES --- */
.asl-values-section {
    text-align: center;
}

.values-container {
    max-width: 1100px;
    margin: 0 auto;
}



/* 2-Column Layout for Values and Objectives */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.value-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid #f2b824; /* ASL Gold accent */
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-top: 5px solid #002b5c;
}

.value-card h3 {
    color: #002b5c;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    align-items: center;
}

.value-card p {
    color: #000000;
    line-height: 1.7;
    font-size: 1rem;
}

.bot {
    color: #ffffff;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.8;
    background-color: #f2b824;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    padding: 1.5rem; 
    text-align: center;
    border-radius: 8px;

   
    max-width: 50rem;      
    width: 90%;      
    margin: 0 auto 35px;   
}

/* Footer Summary Area */
.values-footer {
    max-width: 800px;
    margin: 0 auto;
    background-color: #002b5c;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25)
}

.values-footer p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Responsive for Mobile */
@media (max-width: 850px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .dark-title {
        font-size: 2rem;
    }
    .asl-values-section {
        padding: 60px 5%;
    }
}

/* --- TEAM FLIP CARD STYLES --- */
.team-section {
    padding: 100px 5%;
    background-color: #ffffff;
    text-align: center;
}

.team-sub { color: #f2b824; font-weight: 800; letter-spacing: 2px; margin-bottom: 10px; }
.team-main { color: #002b5c; font-size: 2.8rem; font-weight: 800; margin-bottom: 10px; }
.hover-hint { color: #888; font-style: italic; margin-bottom: 40px; font-size: 0.9rem; }

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* THE FLIP MECHANISM */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 520px; /* Height must be fixed for flip effect */
    perspective: 1000px; /* Essential for 3D look */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Trigger the flip on hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
}

/* FRONT SIDE STYLING */
.flip-card-front {
    background-color: #f9f9f9;
    color: black;
}

.team-img-box {
    width: 100%;
    height: 380px;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-info {
    padding: 20px;
}

.front-info h3 { color: #002b5c; font-size: 1.4rem; margin-bottom: 5px; }
.front-info p { color: #777; text-transform: uppercase; font-size: 0.9rem; font-weight: 600; margin-bottom: 15px;}

.team-gold-line {
    height: 5px;
    background-color: #f2b824;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* BACK SIDE STYLING (Blue background with biography) */
.flip-card-back {
    background-color: #002b5c; /* ASL Blue */
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    text-align: left;
    border-top: 5px solid #f2b824;
}

.flip-card-back h3 {
    color: #f2b824;
    margin-bottom: 20px;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
    text-align: center;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #efefef;
    text-align: center;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .flip-card { height: 480px; }
    .team-main { font-size: 2rem; }
}




/* --- FOOTER STYLES --- */


.main-footer {
    background-color: #002b5c; /* Slightly darker version of your ASL Blue */
    color: #ffffff;
    padding: 80px 0 0 0;
    font-family: sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5% 60px 5%;
}

.footer-heading {
    color: #f2b824; /* ASL Gold */
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Column 1 Styling */
.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-icon {
    color: #f2b824;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: #f2b824;
    border-color: #f2b824;
    color: #002b5c;
}

/* Column 2 Styling (Quick Links) */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links li::before {
    content: "›";
    color: #f2b824;
    margin-right: 10px;
    font-weight: bold;
}

.footer-links a:hover {
    color: #f2b824;
    padding-left: 5px;
}

/* Column 3 Styling (Newsletter) */
.newsletter-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    background-color: #f2b824;
    color: #002b5c;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background-color: #ffffff;
}

/* Bottom Bar */
.footer-bottom {
    background-color: #011c3a; /* Deepest blue */
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

.gold-text {
    color: #f2b824;
}

.bottom-legal a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
}

.bottom-legal a:hover {
    color: #f2b824;
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}