/* =========================================
   1. VARIABLES & RESET
   ========================================= */
   :root {
    --ocean-blue: #0c365a;   /* Deep Navy from Logo */
    --sky-blue: #58c2a9;     /* Seafoam Teal from Logo */
    --accent-dark: #092a47;  /* Darker navy for hovers */
    --footer-bg: #003051;    /* Exact Deep Blue from reference */
    --teal-accent: #20c997;  /* Footer Icons/Heads */
    --light-bg: #f8f9fa;
    --ocean-deep: #0a2a43; /* Richer Navy */
    --sky-bright: #58c2a9; /* Your Teal/Sky Blue */
    --white: #ffffff;
}

html {
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    padding-top: 80px; /* Offset for fixed nav */
    margin: 0;
    padding-bottom: 0 !important;
}

/* Accessibility: Focus Ring for Keyboard Navigation */
:focus-visible {
    outline: 3px solid var(--sky-blue);
    outline-offset: 2px;
}


/* Helper Classes */
.text-end { text-align: left !important; } /* Aligning Bootstrap columns */
.section-padding { padding: 80px 0; }
.bg-sky { background-color: var(--sky-blue) !important; }
.bg-ocean { background-color: var(--ocean-blue) !important; }

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
.navbar {
    border-top: 4px solid var(--sky-blue);
    background-color: white !important;
    min-height: 80px;
    transition: all 0.3s ease;
}

.navbar-brand {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.navbar-logo-custom {
    height: 110px;
    width: auto;
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 1050;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1));
}

.brand-text {
    margin-left: 120px;
    color: var(--ocean-blue) !important;
    font-weight: 700;
}

.navbar-nav .nav-item { border-left: 1px solid #eee; }

/* Resetting the previous "blocky" style */
.nav-link {
    color: var(--ocean-blue) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    background-color: transparent !important; /* Removes the old navy box */
    padding: 10px 15px !important;
}

/* Hover State: Text turns Teal + Line appears */
.nav-link:hover {
    color: var(--sky-blue) !important;
}

/* The Animated Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--sky-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 30px); /* Adjusts line to fit text width */
}

@media (max-width: 991px) {
    .navbar-logo-custom {
        height: 50px; /* Smaller on mobile */
    }
    .brand-text {
        font-size: 0.85rem;
        margin-left: 10px;
    }
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-bottom: 3px solid var(--sky-blue);
        max-width: 900px;
    }
}

.nav-link {
    color: var(--ocean-blue) !important;
    font-weight: 600;
    padding: 10px 15px !important;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--sky-blue) !important;
}
/* =========================================
   ACTIVE LINK STYLING
   ========================================= */

/* The specific link of the current page */
.navbar-nav .nav-link.active {
    color: var(--sky-blue) !important;
    font-weight: 700;
    position: relative;
}

/* Optional: Add a small teal dot or line under the active link */
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--sky-blue);
    border-radius: 2px;
}


/* ==========================================================================
   HERO & CAROUSEL SECTION
   ========================================================================== */
#aboutHero { 
    border-bottom: 5px solid var(--sky-blue); 
}



.about-hero-slide {
    height: 400px; /* Standardized height */
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
}


/* Carousel Control Arrows */
.carousel-control-prev, 
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
}

/* Ensure smooth sliding physics */
.carousel-item {
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ==========================================================================
   COMPONENTS & BUTTONS
   ========================================================================== */
/* Image Accent Styles */
.image-wrapper {
    position: relative;
    border-radius: 15px;
}

.image-wrapper .accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background-color: var(--sky-blue);
}

/* ==========================================================================
   MISSION, VISION & PROMISE CARDS
   ========================================================================== */
.mission-card {
    border-radius: 15px;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 5px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid var(--sky-blue);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.featured-card {
    border-top: 5px solid var(--ocean-blue);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(88, 194, 169, 0.1); /* Sky Blue with 10% Opacity */
    color: var(--sky-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    transition: 0.3s;
}

.mission-card:hover .icon-circle {
    background-color: var(--sky-blue);
    color: white;
}

/* ==========================================================================
   SLOGAN & CTA SECTION
   ========================================================================== */
.slogan-section {
    background-image: url('../imgs/slogan-bg.jpg'); 
    background-attachment: fixed; /* Parallax Effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.slogan-overlay {
    background: rgba(12, 54, 90, 0.85); /* Thematic Overlay */
    padding: 100px 0;
}

.slogan-section h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.btn-outline-light:hover {
    background-color: var(--sky-blue);
    border-color: var(--sky-blue);
    color: white;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--sky-blue);
    transform: translateX(5px); /* Smooth slide-in effect */
}

.footer-socials a i {
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer-socials a:hover i {
    color: var(--sky-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 768px) {
    .about-hero-slide {
        height: 300px;
    }
    
    .image-wrapper img {
        height: 300px !important;
    }

    .slogan-overlay {
        padding: 60px 0;
    }
}