/* ============================================
   ENHANCED MATTRESS WEBSITE - HOME PAGE STYLING
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #1a2f4d;
    --secondary-color: #0f4c75;
    --accent-color: #3282b8;
    --accent-hover: #3a8fc9;
    --accent-gold: #f6ad55;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success: #10b981;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   HERO CAROUSEL SECTION
   ============================================ */
.hero-section {
    position: relative;
    margin-top: -1px;
}

.carousel-inner {
    height: 100vh;
    max-height: 750px;
}

.carousel-item {
    height: 100vh;
    max-height: 750px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
                rgba(26, 26, 46, 0.3) 0%, 
                rgba(15, 76, 117, 0.5) 50%, 
                rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    z-index: 2;
    text-align: center;
}

.slide-badge {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    letter-spacing: 0.5px;
    animation: fadeInUp 1.2s ease;
}

.slide-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.btn-slide-primary,
.btn-slide-secondary {
    padding: 18px 50px;
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-slide-primary {
    background: linear-gradient(135deg, #0f4c75, #3282b8, #0f4c75);
    background-size: 200% auto;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(15, 76, 117, 0.4);
}

.btn-slide-secondary {
    background: transparent;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.btn-slide-primary::before,
.btn-slide-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-slide-primary:hover::before,
.btn-slide-secondary:hover::before {
    left: 100%;
}

.btn-slide-primary:hover {
    background-position: right center;
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(15, 76, 117, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-slide-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.btn-slide-primary i,
.btn-slide-secondary i {
    transition: transform 0.3s ease;
}

.btn-slide-primary:hover i,
.btn-slide-secondary:hover i {
    transform: translateX(5px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(15, 76, 117, 0.6);
    border-radius: 50%;
    top: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(15, 76, 117, 0.8);
    transform: scale(1.1);
}

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

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 40px;
    border-radius: 6px;
    background-color: var(--secondary-color);
    opacity: 1;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    background: var(--white);
    padding: 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    margin-top: -1px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    gap: 15px;
    border-right: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.trust-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.1) rotateY(360deg);
}

.trust-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.trust-content p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

.title-divider.left-aligned {
    margin: 0;
}

/* ============================================
   PRODUCT CATEGORIES
   ============================================ */
.product-categories {
    padding: 100px 0;
    background: var(--bg-light);
}

.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(26, 26, 46, 0.85) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 76, 117, 0.9) 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
    color: var(--white);
}

.category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.category-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.category-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-category {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-category:hover {
    background: var(--white);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.featured-products {
    padding: 100px 0;
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.15);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.product-badge.badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.product-badge.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.product-details {
    padding: 30px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.product-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-left: 8px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(15, 76, 117, 0.3);
}

.btn-view-all {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(15, 76, 117, 0.4);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #e6f2ff 100%);
}

.why-image-wrapper {
    position: relative;
}

.why-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.rounded-custom {
    border-radius: 20px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(15, 76, 117, 0.4);
}

.badge-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.badge-content p {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-content {
    padding-left: 40px;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-gold), #e89b3f);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-text h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.btn-custom-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-custom-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(15, 76, 117, 0.4);
}

/* ============================================
   SHOP BY CATEGORY SECTION
   ============================================ */
.shop-category-section {
    padding: 100px 0;
    background: var(--white);
}

.category-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.category-box:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.category-box:hover .category-icon {
    transform: rotateY(360deg) scale(1.1);
}

.category-icon i {
    font-size: 2rem;
    color: var(--white);
}

.category-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.category-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-explore {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-explore:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

.btn-view-all-categories {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-all-categories:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(15, 76, 117, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1199px) {
    .carousel-inner,
    .carousel-item {
        max-height: 650px;
    }

    .slide-title {
        font-size: 3.8rem;
    }

    .slide-description {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .carousel-inner,
    .carousel-item {
        max-height: 550px;
    }

    .slide-title {
        font-size: 3.2rem;
    }

    .slide-description {
        font-size: 1.15rem;
    }

    .btn-slide-primary,
    .btn-slide-secondary {
        padding: 16px 40px;
        font-size: 1.05rem;
    }

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

    .carousel-control-prev {
        left: 20px;
    }

    .carousel-control-next {
        right: 20px;
    }

    .why-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .trust-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .carousel-inner,
    .carousel-item {
        max-height: 500px;
    }

    .slide-badge {
        padding: 10px 25px;
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-description {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-slide-primary,
    .btn-slide-secondary {
        padding: 14px 35px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }

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

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-card {
        height: 350px;
    }

    .category-content h3 {
        font-size: 2rem;
    }

    .product-categories,
    .featured-products,
    .why-choose-us,
    .shop-category-section {
        padding: 60px 0;
    }

    .category-box {
        padding: 30px 20px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-icon i {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .carousel-inner,
    .carousel-item {
        max-height: 450px;
    }

    .slide-badge {
        padding: 8px 20px;
        font-size: 0.75rem;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-description {
        font-size: 0.95rem;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .btn-custom-primary,
    .btn-view-all,
    .btn-view-all-categories {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
}

/* ============================================
   CONTACT POPUP STYLES
   ============================================ */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.4s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--accent-color);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .popup-content {
        padding: 30px 20px;
    }
}

/* ============================================
   OUR VISION SECTION
   ============================================ */
.our-vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.our-vision-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(50, 130, 184, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.our-vision-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 76, 117, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.vision-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vision-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.vision-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e6f3ff 100%);
}

.vision-secondary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.vision-tertiary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fef3e6 100%);
}

.vision-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(50, 130, 184, 0.3);
}

.vision-card:hover .vision-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 35px rgba(50, 130, 184, 0.5);
}

.vision-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.vision-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.vision-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.vision-highlight {
    background: linear-gradient(135deg, #f7fafc, #e6f2ff);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.vision-highlight i {
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.6;
}

.vision-highlight span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: italic;
}

/* Vision Statistics */
.vision-stats {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(15, 76, 117, 0.3);
    position: relative;
    overflow: hidden;
}

.vision-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Counter Animation (optional - requires JavaScript) */
.counter {
    display: inline-block;
}

/* Responsive Design for Vision Section */
@media (max-width: 991px) {
    .vision-card {
        padding: 40px 30px;
        margin-bottom: 20px;
    }

    .vision-icon {
        width: 80px;
        height: 80px;
    }

    .vision-icon i {
        font-size: 2.2rem;
    }

    .vision-card h3 {
        font-size: 1.7rem;
    }

    .vision-stats {
        padding: 50px 40px;
        margin-top: 60px;
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .our-vision-section {
        padding: 60px 0;
    }

    .vision-card {
        padding: 35px 25px;
    }

    .vision-icon {
        width: 70px;
        height: 70px;
    }

    .vision-icon i {
        font-size: 2rem;
    }

    .vision-card h3 {
        font-size: 1.5rem;
    }

    .vision-card p {
        font-size: 0.95rem;
    }

    .vision-stats {
        padding: 40px 25px;
        margin-top: 50px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .vision-highlight {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}
