/* 
   Theme Name: Beauty & Spa
   Description: Custom High-end Spa Theme
   Version: 2.0
*/

@import url('iconfont.css');

:root {
    --primary: #BFA082;
    --primary-dark: #a38668;
    --secondary: #2C2C2C;
    --text-body: #666666;
    --text-heading: #1A1A1A;
    --light-bg: #F9F7F2;
    --white: #ffffff;
    --border: #E5E5E5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --container-width: 1320px;
    --transition: all 0.4s ease;
}

/* =========================================
   1. Reset & Base
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. Grid System (Bootstrap-like)
   ========================================= */
.container, .container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

[class^="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-5 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Grid Breakpoints */
/* Mobile First (Default) */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
    .container { max-width: 720px; }
    
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    
    .d-md-block { display: block !important; }
    .d-md-none { display: none !important; }
}

/* Small Laptop (min-width: 992px) */
@media (min-width: 992px) {
    .container { max-width: 960px; }
    
    .col-lg-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
    
    .d-lg-block { display: block !important; }
    .d-lg-none { display: none !important; }
    .d-lg-flex { display: flex !important; }
}

/* Desktop (min-width: 1200px) */
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
    
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* Large Screens */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

/* =========================================
   3. Components
   ========================================= */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Section Title */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header .sub-title {
    display: block;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-header .title {
    font-size: 42px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 20px;
}

.section-header .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary);
}

@media (max-width: 768px) {
    .section-header .title { font-size: 32px; }
}

/* =========================================
   4. Header & Navigation
   ========================================= */
.top-bar {
    background-color: var(--secondary);
    color: #ccc;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar i {
    color: var(--primary);
    margin-right: 5px;
}

.top-bar-info li {
    display: inline-block;
    margin-right: 25px;
}

.top-bar-social a {
    color: #ccc;
    margin-left: 15px;
}

.top-bar-social a:hover { color: var(--primary); }

header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.navbar {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links > li > a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    position: relative;
    padding: 25px 0; /* Increase padding for hover target */
}

.nav-links > li > a::before {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links > li > a:hover::before,
.nav-links > li > a.active::before {
    width: 100%;
}

.nav-actions i {
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
}

.nav-actions i:hover { color: var(--primary); }

/* Mega Menu & Dropdown */
.dropdown {
    position: relative;
}

.mega-dropdown {
    position: static;
}

.mega-menu, .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.mega-menu {
    width: 100%;
    left: 0;
    position: absolute;
    /* To make it full width of container, we might need JS or fixed width */
    /* Assuming it's inside the .container of header, so it will be width of that container? No, header has container. */
    /* Actually for full width mega menu usually position is static on parent or fixed left 0 width 100% */
    /* Let's make it fixed width container size */
    width: 1140px; /* Default container width */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

@media (min-width: 1400px) { .mega-menu { width: 1320px; } }
@media (max-width: 1199px) { .mega-menu { width: 960px; } }

.dropdown-menu {
    min-width: 200px;
    padding: 20px 0;
    transform: translateY(20px);
}

.nav-links li:hover .mega-menu,
.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links li:hover .dropdown-menu {
    transform: translateY(0);
}

/* Mega Menu Layout */
.mega-wrapper {
    background: var(--white);
    min-height: 300px;
    position: relative;
    display: flex;
}

.mega-list {
    width: 25%;
    border-right: 1px solid #eee;
    padding: 20px 0;
}

.mega-item {
    position: relative;
}

.mega-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.mega-link:hover, .mega-item.active .mega-link {
    background: var(--light-bg);
    color: var(--primary);
}

.mega-sub {
    position: absolute;
    top: 0;
    left: 100%; /* Relative to mega-list? No, mega-list is 25% */
    /* We need mega-sub to fill the rest 75% */
    /* If mega-sub is child of mega-item, positioned absolute relative to mega-wrapper? No. */
    /* Let's rely on CSS hover or JS active class. */
    /* Better: Make mega-sub Fixed/Absolute relative to mega-wrapper. */
    /* But mega-item is relative. So top:0 left:100% puts it next to the item. */
    /* We want it to fill the right pane. */
    /* Solution: Position mega-sub relative to mega-wrapper (if we can) or just hardcode width/height. */
    width: 300%; /* 75% / 25% = 3 */
    height: 100%; /* Match height of mega-list */
    top: 0;
    left: 100%;
    padding: 30px;
    display: none; /* Hidden by default */
    background: var(--white);
    z-index: 101;
}

/* We need JS to match height or min-height. Let's just set min-height on wrapper. */
.mega-item:hover .mega-sub {
    display: block;
}

.mega-sub h4 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.mega-sub ul {
    column-count: 2; /* Split L3 items into 2 columns if many */
}

.mega-sub li a {
    display: block;
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    text-transform: none;
    font-weight: 400;
}

.mega-sub li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #666;
    font-size: 14px;
    text-transform: none;
    font-weight: 400;
}

.dropdown-menu li a:hover {
    color: var(--primary);
    background: var(--light-bg);
}


/* Mobile Menu */
.mobile-toggle {
    display: none;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 0; /* Remove side padding to use full width for items */
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-links > li > a {
        padding: 15px 30px;
        display: block;
        width: 100%;
    }
    
    .nav-links > li > a::before { display: none; }

    /* Mobile Mega Menu */
    .mega-menu, .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Hidden initially, toggled via JS */
        padding: 0;
        background: #f9f9f9;
    }
    
    .mega-wrapper {
        display: block; /* Stack on mobile */
        min-height: auto;
    }
    
    .mega-list {
        width: 100%;
        border: none;
        padding: 0;
    }
    
    .mega-link {
        padding: 15px 40px;
        border-bottom: 1px solid #eee;
        background: #f9f9f9;
    }
    
    .mega-sub {
        position: static;
        width: 100%;
        display: none; /* Toggle via JS/Click */
        padding: 20px 50px;
        background: #fff;
        height: auto;
    }
    
    /* Show L3 when L2 is clicked/active on mobile */
    .mega-item.active .mega-sub {
        display: block;
    }
    
    /* Toggle dropdowns on mobile */
    .nav-links li.active > .mega-menu,
    .nav-links li.active > .dropdown-menu {
        display: block;
    }
    
    .mobile-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 1000;
        transition: var(--transition);
    }

    .mobile-toggle.active {
        transform: rotate(90deg);
        color: var(--primary);
    }
    
    .top-bar { display: none; }
}

/* Search Modal */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-form {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
    position: relative;
    transform: translateY(30px);
    transition: 0.5s ease;
}

.search-popup.active .search-form {
    transform: translateY(0);
}

.search-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    padding: 20px 0;
    font-size: 30px;
    color: var(--white);
    font-family: var(--font-heading);
}

.search-form input::placeholder { color: rgba(255,255,255,0.3); }

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover { transform: rotate(90deg); color: var(--primary); }

/* =========================================
   5. Hero Section
   ========================================= */
.hero-slider {
    height: 90vh;
    min-height: 600px;
    position: relative;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 900px;
    z-index: 2;
}

.hero-content .sub-title {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--primary);
    animation-delay: 0.5s;
}

.hero-content h2 {
    font-size: 80px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
    animation-delay: 0.8s;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation-delay: 1.1s;
}

.hero-content .btn {
    animation-delay: 1.4s;
}

/* Updated Swiper Dots */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--white);
    opacity: 0.5;
    margin: 0 8px !important;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    width: 30px;
    background: var(--primary);
    opacity: 1;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-content h2 { font-size: 40px; }
    .hero-slider { height: 70vh; }
}

/* =========================================
   6. Products Section
   ========================================= */
.product-card {
    background: var(--white);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #f9f9f9;
}

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

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: 0.4s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.product-actions i:hover {
    background: var(--primary);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 5px;
    display: block;
}

.product-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 700;
    color: var(--secondary);
}

/* Product Tabs */
.product-tabs {
    text-align: center;
    margin-bottom: 40px;
}

.product-tabs li {
    display: inline-block;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    transition: var(--transition);
}

.product-tabs li.active {
    color: var(--primary);
}

.product-tabs li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.product-tabs li.active::after {
    width: 100%;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

/* =========================================
   7. Service Section
   ========================================= */
.service-section {
    background-color: var(--light-bg);
}

.service-box {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.service-icon-img {
    margin-bottom: 25px;
    display: inline-block;
    border-radius: 50%;
    transition: var(--transition);
}

.service-box:hover .service-icon-img {
    transform: scale(1.1);
}

.service-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-box p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #888;
}

.service-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 1px;
}

.service-link i {
    margin-left: 5px;
    transition: 0.3s;
}

.service-box:hover .service-link i {
    margin-left: 10px;
}

/* =========================================
   8. Solution Section (Counter)
   ========================================= */
.solution-section {
    background: linear-gradient(rgba(44,44,44,0.9), rgba(44,44,44,0.9)), url('../images/bg-spa.jpg') center/cover fixed;
    color: var(--white);
    text-align: center;
}

.counter-item i {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 20px;
}

.counter-number {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    display: block;
}

.counter-text {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* =========================================
   9. Case Section
   ========================================= */
.case-item {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.case-img {
    height: 350px;
}

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

.case-item:hover .case-img img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-content h3 {
    color: var(--white);
    transform: translateY(20px);
    transition: 0.4s;
}

.case-content p {
    color: #ddd;
    transform: translateY(20px);
    transition: 0.4s 0.1s;
}

.case-item:hover .case-content h3,
.case-item:hover .case-content p {
    transform: translateY(0);
}

/* =========================================
   10. About Us (Video)
   ========================================= */
.about-section {
    position: relative;
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.about-content {
    padding-left: 30px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-list i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 20px;
}

@media (max-width: 991px) {
    .about-content { padding-left: 0; margin-top: 30px; }
}

/* =========================================
   11. News Section
   ========================================= */
.news-item {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-radius: 8px;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.news-item:hover .news-thumb img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.news-content {
    padding: 25px;
}

.news-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.news-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.news-content h3 a:hover {
    color: var(--primary);
}

.read-more {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    font-size: 18px; /* Increased Size */
    transition: 0.3s;
}

.read-more:hover { color: var(--primary); }
.read-more:hover i { margin-left: 10px; }

/* Partner Carousel */
.partner-item {
    text-align: center;
    padding: 20px;
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
}

.partner-item img {
    max-height: 80px;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0);
}

/* =========================================
   9. Footer
   ========================================= */
footer {
    background-color: #111;
    color: #aaa;
    padding-top: 80px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-logo span { color: var(--primary); }

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--primary);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #222;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    margin-top: 60px;
    border-top: 1px solid #222;
}

/* =========================================
   13. Swiper Customization
   ========================================= */
.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary);
}

/* Magnific Popup Fade Effect */
.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

.swiper-horizontal{
    text-align: center;
}
#home .swiper {
    height:100%
}
.counter-item img{ 
    margin:0 auto;
}
 
#home .swiper-slide{
    position: relative;
}
.index-banner-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
