/* assets/css/style.css */
:root {
    --primary: #002E6D;
    --secondary: #E31837;
    --accent: #F9B233;
    --light: #F4F7FB;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light);
}

h1, h2, h3, h4 {
    font-family: 'Merriweather';
    color: var(--primary);
}

/* BUTTON */
.btn-primary {
    background: #8e3330;
    border: none;
    border-radius: 0px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #8f3330;
    border-color: #8f3330;
}

/* HEADER */
.navbar {
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* PREMIUM HEADER */
.header-main {
    background: #fff;
    border-bottom: 1px solid #eef2f7;
}

.nav-link-custom {
    font-weight: 600;
    color: #002E6D;
    position: relative;
    text-decoration: none;
    padding: 8px 0;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #8e3330;
    transition: .3s;
}

.nav-link-custom:hover::after {
    width: 100%;
}

.nav-link-custom:hover {
    color: #8e3330;
}

.btn-primary.btn-sm {
    font-size: 15px;
    letter-spacing: .5px;
    padding: 10px 22px;
}

/* ===== BREADCRUMB STYLES ===== */
.breadcrumb-hero {
    position: relative;
    background: url('../img/792217.jpg') center/cover no-repeat;
    padding: 120px 0 100px;
    color: #fff;
    margin-top: 70px;
}

.breadcrumb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 46, 109, 0.8), rgba(0, 46, 109, 0.6));
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-content h1 {
    color: #fff;
    font-size: 48px;
    font-family: 'Merriweather';
    margin-bottom: 15px;
}

.breadcrumb-content p {
    font-size: 18px;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    margin-top: 20px;
}

.breadcrumb-nav a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.breadcrumb-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #F9B233;
    font-weight: 600;
}

/* ===== ABOUT PAGE SPECIFIC STYLES ===== */

/* About Story Section */
.about-story {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    color: #002E6D;
    font-family: 'Merriweather';
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #8e3330;
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.story-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stats-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.stats-box h3 {
    color: #8e3330;
    margin-bottom: 5px;
}

.stats-box p {
    margin-bottom: 0;
    color: #666;
}

/* Mission & Vision Cards */
.mission-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.mission-card, .vision-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.mission-icon, .vision-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #8e3330;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.video-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    background: #000;
}

/* YouTube iframe */
.video-bg {
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
}

/* Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.65)
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.video-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

/* Button */
.video-btn {
    border-radius: 50px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
/* ===== RESPONSIVE HEADER STYLES ===== */

/* Header Main Styles */
.header-main {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    height: 46px;
    transition: all 0.3s ease;
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 46, 109, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navigation Links */
.nav-link {
    font-weight: 600;
    color: #002E6D !important;
    padding: 8px 12px !important;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #8e3330 !important;
}

.nav-link.active {
    color: #8e3330 !important;
}

/* Underline effect for nav links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8e3330;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Button in Navbar */
.navbar .btn-primary {
    margin-top: 0;
    font-size: 14px;
    padding: 14px 22px;
}

/* Collapse Menu */
.collapse.navbar-collapse {
    transition: all 0.3s ease;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 991px) {
    /* Header adjustments for tablet */
    .header-main {
        padding: 10px 0;
    }
    
    .logo {
        height: 60px;
    }
    
    .navbar-toggler {
        padding: 6px;
    }
    
    .navbar .btn-primary {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    /* Make nav links full width on mobile */
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .nav-link {
        padding: 12px 15px !important;
        margin: 5px 0;
        display: block;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: rgba(142, 51, 48, 0.1);
    }
    
    /* Button adjustments for mobile */
    .btn-primary.btn-sm {
        display: inline-block;
        margin: 15px auto;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    /* Mobile specific styles */
    .header-main {
        padding: 8px 0;
    }
    
    .logo {
        height: 36px;
    }
    
    .navbar-toggler {
        font-size: 14px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 10px 15px !important;
    }
    
    .navbar .btn-primary {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    /* Mobile menu animation */
    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        background: white;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .header-main {
        padding: 6px 0;
    }
    
    .logo {
        height: 32px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 8px 15px !important;
    }
    
    .navbar .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}



/* Adjust breadcrumb hero for fixed header */
.breadcrumb-hero {
    margin-top: 90 !important;
}

/* Adjust slider for fixed header */
.hero-slider {
    margin-top: 76px !important;
}

@media (max-width: 991px) {
    .hero-slider {
        margin-top: 66px !important;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        margin-top: 56px !important;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        margin-top: 50px !important;
    }
}

/* For pages without slider */
.hero {
    padding-top: 40px;
}
.video-btn:hover {
    transform: scale(1.06);
}

/* Responsive */
@media (max-width: 768px) {
    .video-bg {
        height: 260px;
    }

    .video-overlay h2 {
        font-size: 1.8rem;
    }
}


.mission-card h3, .vision-card h3 {
    color: #002E6D;
    margin-bottom: 20px;
    font-size: 28px;
}

.mission-card p, .vision-card p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #002E6D 0%, #8e3330 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.value-card h4 {
    color: #002E6D;
    margin-bottom: 15px;
    font-size: 22px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    margin-bottom: 20px;
}

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f8f9fa;
}

.team-info h4 {
    color: #002E6D;
    margin-bottom: 5px;
    font-size: 22px;
}

.team-info .text-primary {
    color: #8e3330 !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-info .small {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-contact {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.team-note {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.team-note h4 {
    color: #002E6D;
    margin-bottom: 15px;
}

.team-note p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
}

.facility-feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.facility-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #002E6D 0%, #8e3330 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.facility-feature h4 {
    color: #002E6D;
    margin-bottom: 15px;
    font-size: 20px;
}

.facility-feature p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.facility-gallery {
    margin-top: 40px;
}

.facility-gallery img {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.facility-gallery img:hover {
    transform: scale(1.02);
}

/* About CTA Section */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #002E6D 0%, #0A214A 100%);
    color: white;
    text-align: center;
}

.about-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.about-cta .lead {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 20px;
}

.about-cta .btn-primary {
    background: #8e3330 !important;
    border-color: #8e3330 !important;
}

.about-cta .btn-outline-primary {
    border-color: white !important;
    color: white !important;
    background: transparent;
}

.about-cta .btn-outline-primary:hover {
    background: white !important;
    color: #002E6D !important;
}

.about-cta .text-muted {
    color: rgba(255,255,255,0.8) !important;
    margin-top: 30px;
    font-size: 16px;
}

/* ===== SLIDER STYLES ===== */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider .carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    text-align: center;
}

.carousel-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Merriweather', serif;
}

.carousel-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-content .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 8px !important;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
}

/* Auto-play animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .carousel-content h1 {
    animation: slideIn 0.8s ease-out;
}

.carousel-item.active .carousel-content p {
    animation: slideIn 0.8s ease-out 0.3s both;
}

.carousel-item.active .carousel-content .btn {
    animation: slideIn 0.8s ease-out 0.6s both;
}

/* ===== MAIN CONTENT STYLES ===== */
.hero {
    padding: 60px 0 80px;
}

.tab-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    margin-top: 50px;
}

/* FORM */
.form-box {
    background: #012e68;
    padding: 42px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
    border-top: 6px solid #012e68;
}

.form-control, .form-select {
    border-radius: 0px;
    padding: 12px;
    border: 1px solid #dce3ee;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.form-overlap {
    margin-top: -150px;
    position: relative;
    z-index: 5;
}

/* ===== BLOG STYLES ===== */
.blog-section {
    padding: 80px 0;
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.blog-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #002E6D;
}

.blog-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== BLOG POST STYLES ===== */
.blog-wrapper {
    padding: 80px 0;
}

.blog-box {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

.blog-box img {
    border-radius: 16px;
    margin-bottom: 30px;
    width: 100%;
    height: auto;
}

.blog-box h2 {
    font-size: 28px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #002E6D;
    font-family: 'Merriweather';
}

.blog-box h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #002E6D;
    font-family: 'Merriweather';
}

.blog-box p {
    font-size: 16px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 16px;
}

.blog-box ul {
    padding-left: 18px;
    margin-bottom: 20px;
}

.blog-box ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.blog-box a {
    color: white;
    text-decoration: none;
}

.blog-box a:hover {
    text-decoration: underline;
}

/* FAQ Box */
.faq-box {
    background: #f9fafc;
    padding: 30px;
    border-radius: 18px;
    margin-top: 50px;
    border-left: 4px solid #8e3330;
}

.faq-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.faq-box p {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-box p:last-child {
    border-bottom: none;
}

/* FOOTER */
footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer a i {
    background: rgba(255, 255, 255, .15);
    padding: 12px;
    font-size: 16px;
    transition: all .3s ease;
    border-radius: 50%;
}

footer a i:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-slider,
    .hero-slider .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .carousel-content h1 {
        font-size: 2.8rem;
    }
    
    .carousel-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav-link-custom {
        font-size: 15px;
    }
    
    .hero-slider,
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 20px;
    }
    
    .carousel-content .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 10px;
    }
    
    .breadcrumb-content h1 {
        font-size: 32px;
    }
    
    .blog-card img {
        height: 180px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-box {
        padding: 25px;
    }
    
    .blog-box h2 {
        font-size: 24px;
    }
    
    .blog-box h3 {
        font-size: 20px;
    }
    
    .faq-box {
        padding: 20px;
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .team-image img {
        width: 120px;
        height: 120px;
    }
    
    .mission-card, .vision-card {
        padding: 30px 20px !important;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
    }
    
    .breadcrumb-hero {
        padding: 80px 0 60px;
    }
    
    .blog-section {
        padding: 50px 0;
    }
    
    .form-overlap {
        margin-top: 40px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-title::after {
        width: 40px;
    }
}

@media (max-width: 991px) {
    .form-overlap {
        margin-top: 40px;
    }
}
