/* ============================================
   Vaish Girls College Samalkha - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #8B1A4A;
    --primary-dark: #6B1038;
    --secondary: #D4A843;
    --accent: #F0E6D3;
    --dark: #1a1a2e;
    --light: #FFF8F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
}

/* ==================
   Preloader
   ================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================
   Top Bar
   ================== */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a {
    color: #f0d0a0;
    text-decoration: none;
}
.top-bar a:hover {
    color: var(--secondary);
}
.top-bar i {
    color: var(--secondary);
}

/* ==================
   Navbar
   ================== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.3rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
}
.navbar-brand i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 8px;
}
.navbar-brand span {
    color: var(--secondary);
}

/* Mobile Toggler Fix */
.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 6px 10px;
    font-size: 1.1rem;
    color: var(--primary);
    outline: none !important;
    box-shadow: none !important;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
.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='%238B1A4A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Desktop nav links */
.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 20px 15px !important;
    transition: color 0.3s;
    font-size: 0.95rem;
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px 3px 0 0;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 8px 8px;
    padding: 8px 0;
    min-width: 220px;
}
.dropdown-item {
    padding: 10px 20px;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--accent);
    color: var(--primary);
    padding-left: 25px;
}
.dropdown-item.active,
.dropdown-item:active {
    background: var(--primary);
    color: #fff;
}

/* ==================
   Mobile Navbar Styles
   ================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 15px 0;
        border-top: 2px solid var(--accent);
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-link.active::after {
        display: none;
    }
    .nav-link.active {
        background: var(--accent);
        color: var(--primary) !important;
        border-radius: 5px;
    }
    .dropdown-menu {
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--secondary);
        margin-left: 15px;
        padding: 0;
        background: #fafafa;
    }
    .dropdown-item {
        padding: 10px 15px;
        font-size: 0.88rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* ==================
   Page Header / Banner
   ================== */
.page-header {
    background: linear-gradient(135deg, rgba(139,26,74,0.93), rgba(107,16,56,0.9)), url('https://images.unsplash.com/photo-1562774053-701939374585?w=1920') center/cover no-repeat;
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.page-header h1 span {
    color: var(--secondary);
}
.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}
.breadcrumb-custom a {
    color: var(--secondary);
    text-decoration: none;
}
.breadcrumb-custom a:hover {
    color: #fff;
}
.breadcrumb-custom span {
    color: rgba(255,255,255,0.7);
}

/* ==================
   Hero Section (Home)
   ================== */
.hero-section {
    background: linear-gradient(135deg, rgba(139,26,74,0.92), rgba(107,16,56,0.88)), url('https://images.unsplash.com/photo-1562774053-701939374585?w=1920') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, #fff);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content h1 span {
    color: var(--secondary);
}
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
}
.hero-stats {
    margin-top: 50px;
}
.stat-item {
    text-align: center;
    color: #fff;
}
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}
.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==================
   Buttons
   ================== */
.btn-primary-custom {
    background: var(--secondary);
    color: var(--dark);
    border: none;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: none;
}
.btn-primary-custom:hover {
    background: #c49a38;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212,168,67,0.4);
}
.btn-outline-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    background: transparent;
    display: inline-block;
    text-decoration: none;
}
.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-maroon {
    background: var(--primary);
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}
.btn-maroon:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139,26,74,0.3);
}

/* ==================
   Marquee
   ================== */
.marquee-bar {
    background: var(--secondary);
    color: var(--dark);
    padding: 10px 0;
    font-weight: 500;
    overflow: hidden;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ==================
   Section Common
   ================== */
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
}
.section-title p {
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.05rem;
}

/* ==================
   About Section
   ================== */
.about-img-wrapper {
    position: relative;
}
.about-img-wrapper img {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139,26,74,0.3);
}
.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}
.experience-badge p {
    margin: 0;
    font-size: 0.85rem;
}
.about-content h2 {
    color: var(--dark);
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.about-content .lead {
    color: var(--primary);
    font-weight: 500;
}
.about-list li {
    padding: 8px 0;
    display: flex;
    align-items: start;
}
.about-list li i {
    color: var(--secondary);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
}

/* ==================
   Why Choose Cards
   ================== */
.choose-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.07);
    transition: all 0.4s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139,26,74,0.12);
    border-color: var(--primary);
}
.choose-card .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s;
}
.choose-card:hover .icon-box {
    background: linear-gradient(135deg, var(--secondary), #c49a38);
    transform: scale(1.1);
}
.choose-card h5 {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}
.choose-card p {
    color: #666;
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ==================
   Mission Vision
   ================== */
.mission-vision {
    background: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mission-vision::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.mv-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.mv-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-5px);
}
.mv-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}
.mv-card h4 {
    color: var(--secondary);
    margin-bottom: 15px;
}
.mv-card p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ==================
   Counter Section
   ================== */
.counter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
}
.counter-item {
    text-align: center;
    color: #fff;
}
.counter-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
}
.counter-item h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
}
.counter-item p {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-bottom: 0;
}

/* ==================
   Service / Course Cards
   ================== */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s;
    height: 100%;
    background: #fff;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-card:hover .card-img-top {
    transform: scale(1.05);
}
.service-card .card-body {
    padding: 25px;
}
.badge-custom {
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}
.service-card h5 {
    color: var(--dark);
    margin: 12px 0 10px;
}
.service-card p {
    color: #666;
    font-size: 0.9rem;
}
.btn-link-custom {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.btn-link-custom:hover {
    color: var(--secondary);
}

/* ==================
   History Timeline
   ================== */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary);
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
}
.timeline-item .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    width: 44%;
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
}
.timeline-content .year {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.timeline-content h5 {
    color: var(--dark);
}
.timeline-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item .timeline-dot {
        left: 20px;
    }
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
}

/* ==================
   Staff Cards
   ================== */
.staff-card {
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s;
    background: #fff;
}
.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139,26,74,0.15);
}
.staff-img-wrapper {
    position: relative;
    overflow: hidden;
}
.staff-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}
.staff-card:hover .staff-img-wrapper img {
    transform: scale(1.05);
}
.staff-img-wrapper .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(139,26,74,0.8));
    padding: 40px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.staff-card:hover .staff-img-wrapper .overlay {
    opacity: 1;
}
.overlay .social-links a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s;
}
.overlay .social-links a:hover {
    color: var(--secondary);
}
.staff-info {
    padding: 20px;
}
.staff-info h5 {
    color: var(--dark);
    margin-bottom: 5px;
}
.staff-info p {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==================
   Event Cards
   ================== */
.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.event-card .event-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.event-card .event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
}
.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}
.event-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}
.event-card .card-body {
    padding: 20px;
}
.event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #888;
}

/* ==================
   Testimonials
   ================== */
.testimonials-section {
    background: var(--dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '\201C';
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 20rem;
    color: rgba(255,255,255,0.03);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}
.testimonial-card .stars {
    color: var(--secondary);
    margin-bottom: 15px;
}
.testimonial-card p {
    color: rgba(255,255,255,0.8);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
}
.testimonial-card .author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--secondary);
}
.testimonial-card .author h6 {
    color: #fff;
    margin-bottom: 2px;
}
.testimonial-card .author small {
    color: var(--secondary);
}

/* ==================
   Blog Cards
   ================== */
.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s;
    background: #fff;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.blog-card .blog-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.blog-card .card-body {
    padding: 25px;
}
.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 12px;
}
.blog-meta i {
    color: var(--primary);
    margin-right: 4px;
}
.blog-category {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-card h5 {
    color: var(--dark);
    line-height: 1.4;
}
.blog-card h5:hover {
    color: var(--primary);
}
.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}
.read-more:hover {
    gap: 10px;
    color: var(--secondary);
}

/* ==================
   Gallery
   ================== */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    margin-bottom: 25px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139,26,74,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* ==================
   Contact Section
   ================== */
.contact-info-card {
    background: var(--primary);
    color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
}
.contact-info-card h4 {
    color: var(--secondary);
    margin-bottom: 20px;
}
.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
}
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 3px;
}
.contact-info-item h6 {
    margin-bottom: 3px;
}
.contact-info-item p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.contact-social a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}
.contact-form {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139,26,74,0.1);
}
.btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    font-size: 1rem;
}
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139,26,74,0.3);
    color: #fff;
}

/* ==================
   Map
   ================== */
.map-section iframe {
    width: 100%;
    height: 350px;
    border: none;
    filter: grayscale(20%);
}

/* ==================
   Footer
   ================== */
.footer {
    background: var(--dark);
    color: #ccc;
    padding: 60px 0 0;
}
.footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}
.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}
.footer p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}
.footer-links a i {
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--secondary);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.footer-contact {
    list-style: none;
    padding: 0;
}
.footer-contact li {
    display: flex;
    align-items: start;
    margin-bottom: 15px;
    color: #999;
    font-size: 0.9rem;
}
.footer-contact li i {
    color: var(--secondary);
    margin-right: 12px;
    margin-top: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 40px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

/* ==================
   Back to Top
   ================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 20px rgba(139,26,74,0.4);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px);
}

/* ==================
   Animations
   ================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================
   Utility BG
   ================== */
.bg-light-custom {
    background: linear-gradient(135deg, var(--light), #fff);
}

/* ==================
   Responsive
   ================== */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .contact-form {
        padding: 25px;
    }
    .page-header {
        padding: 100px 0 50px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .stat-item h3 {
        font-size: 1.8rem;
    }
    .counter-item h3 {
        font-size: 2rem;
    }
    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 15px;
    }
    .experience-badge h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
