/* ===== RESET & GLOBAL ===== */
:root {
    --primary: #d4af8e;
    --primary-dark: #c69f73;
    --secondary: #8e6c62;
    --dark: #a50b39;
    --dark-bg: #2a1b2e;
    --light: #f9f5f0;
    --accent: #c69f73;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f5f0eb;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-xl: 0 30px 60px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 42px;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 8px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* ===== LOGO STYLING - Updated for custom logo image ===== */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex-shrink: 0;
    
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition);
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.logo-text .spa-text {
    color: var(--primary);
    font-weight: 700;
}

.logo-text .ampersand {
    color: var(--dark);
    margin: 0 2px;
}
/****************rework on this file**************************/
/* Search Bar */
.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 280px;
    margin: 0 10px;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 18px;
    border: 1px solid #e0d6cc;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: var(--white);
    transition: var(--transition);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 142, 0.2);
}

.search-wrapper button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.search-wrapper button:hover {
    color: var(--primary);
}

.search-results {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 350px;
    overflow-y: auto;
    display: none;
}

.search-results.show {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0e6df;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--light);
    color: var(--primary);
}


/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--dark);
}


/* ===== HERO CAROUSEL ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center /*30%*/;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.55);
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-1 { background-image: url('/image/slides/mpslide.png'); }
.slide-2 { background-image: url('/image/slides/slide1.jpg'); }
.slide-3 { background-image: url('/image/slides/welspa.jpg'); }
.slide-4 { background-image: url('/image/slides/makee.jpg'); }
.slide-5 { background-image: url('/image/slides/nailtreaming.png'); }

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}

.hero h1 {
    font-size: 58px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.slide-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.slide-arrow {
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
}

.slide-arrow:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.service-price {
    font-weight: 600;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-card-footer {
    margin-top: 10px;
}

.service-badge {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-card:hover .service-badge {
    gap: 10px;
}

/* ===== SERVICE DETAIL MODAL - FULLY RESPONSIVE ===== */
.service-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.service-detail-modal {
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    background: var(--white);
    border-radius: 28px;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-xl);
}

/* Custom scrollbar for modal */
.service-detail-modal::-webkit-scrollbar {
    width: 5px;
}

.service-detail-modal::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.service-detail-modal::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-close {
    position: sticky;
    top: 15px;
    right: 15px;
    float: right;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    margin: 15px 15px 0 0;
}

.service-detail-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

/* Clear float */
.service-detail-modal:before {
    content: '';
    display: table;
    clear: both;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px 40px 40px;
    clear: both;
}

.service-detail-image-section {
    position: sticky;
    top: 20px;
    align-self: start;
}

.service-detail-main-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    background: var(--light);
}

.service-detail-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.service-detail-thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.service-detail-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.service-detail-thumbnails .thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.service-detail-thumbnails .thumb:hover {
    opacity: 1;
}

.service-detail-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-info-section {
    padding: 0;
}

.service-detail-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-detail-title {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.service-detail-description {
    margin-bottom: 30px;
}

.service-detail-description p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-detail-features {
    background: var(--light);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.service-detail-features h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-detail-features ul {
    list-style: none;
}

.service-detail-features ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.service-detail-features ul li i {
    color: var(--primary);
    font-size: 18px;
    width: 24px;
}

.service-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-detail-actions .btn {
    flex: 1;
    text-align: center;
    min-width: 140px;
}

/* Related Services */
.service-detail-related {
    border-top: 1px solid #eee;
    padding: 40px;
    background: var(--light);
}

.service-detail-related h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-service-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-info {
    padding: 12px;
    text-align: center;
}

.related-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.related-info span {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

/* ===== RESPONSIVE SERVICE DETAIL MODAL ===== */

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .service-detail-overlay {
        padding: 15px;
    }
    
    .service-detail-modal {
        max-height: 95vh;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px 30px 35px;
    }
    
    .service-detail-image-section {
        position: relative;
        top: 0;
    }
    
    .service-detail-title {
        font-size: 34px;
    }
    
    .service-detail-price {
        font-size: 24px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    .service-detail-overlay {
        padding: 10px;
        align-items: flex-start;
    }
    
    .service-detail-modal {
        max-height: 98vh;
        border-radius: 20px;
        margin-top: 10px;
    }
    
    .service-detail-close {
        width: 38px;
        height: 38px;
        font-size: 18px;
        top: 10px;
        right: 10px;
        margin: 10px 10px 0 0;
    }
    
    .service-detail-grid {
        padding: 20px 20px 30px;
        gap: 25px;
    }
    
    .service-detail-main-image {
        border-radius: 16px;
        margin-bottom: 15px;
    }
    
    .service-detail-thumbnails {
        gap: 10px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 65px;
        height: 65px;
        border-radius: 10px;
    }
    
    .service-detail-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 15px;
    }
    
    .service-detail-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .service-detail-price {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .service-detail-description {
        margin-bottom: 20px;
    }
    
    .service-detail-description p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .service-detail-features {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .service-detail-features h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-detail-features ul li {
        margin-bottom: 10px;
        font-size: 13px;
        gap: 8px;
    }
    
    .service-detail-features ul li i {
        font-size: 16px;
        width: 20px;
    }
    
    .service-detail-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .service-detail-actions .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .service-detail-related {
        padding: 25px 20px;
    }
    
    .service-detail-related h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .related-service-card img {
        height: 110px;
    }
    
    .related-info h4 {
        font-size: 13px;
    }
    
    .related-info span {
        font-size: 12px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .service-detail-overlay {
        padding: 8px;
    }
    
    .service-detail-modal {
        max-height: 99vh;
        border-radius: 16px;
    }
    
    .service-detail-close {
        width: 34px;
        height: 34px;
        font-size: 16px;
        top: 8px;
        right: 8px;
        margin: 8px 8px 0 0;
    }
    
    .service-detail-grid {
        padding: 15px 15px 25px;
        gap: 20px;
    }
    
    .service-detail-thumbnails {
        gap: 8px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 55px;
        height: 55px;
        border-radius: 8px;
    }
    
    .service-detail-title {
        font-size: 24px;
    }
    
    .service-detail-price {
        font-size: 20px;
    }
    
    .service-detail-description p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .service-detail-features {
        padding: 15px;
        border-radius: 16px;
    }
    
    .service-detail-features h3 {
        font-size: 16px;
    }
    
    .service-detail-features ul li {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .service-detail-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .service-detail-related {
        padding: 20px 15px;
    }
    
    .service-detail-related h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .related-service-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
    }
    
    .related-service-card img {
        width: 80px;
        height: 80px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .related-info {
        flex: 1;
        text-align: left;
        padding: 0;
    }
    
    .related-info h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .service-detail-title {
        font-size: 22px;
    }
    
    .service-detail-price {
        font-size: 18px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 48px;
        height: 48px;
    }
    
    .service-detail-features ul li {
        font-size: 11px;
    }
    
    .service-detail-actions .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Landscape orientation fix for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .service-detail-overlay {
        align-items: flex-start;
        padding: 10px;
    }
    
    .service-detail-modal {
        max-height: 95vh;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .service-detail-image-section {
        position: sticky;
        top: 10px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 50px;
        height: 50px;
    }
    
    .service-detail-title {
        font-size: 20px;
    }
    
    .service-detail-price {
        font-size: 16px;
    }
    
    .service-detail-description p {
        font-size: 12px;
    }
    
    .service-detail-features {
        padding: 12px;
    }
    
    .service-detail-features ul li {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .service-detail-actions {
        flex-direction: row;
    }
    
    .service-detail-related {
        padding: 15px;
    }
    
    .related-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* ===== VIDEO SECTION ===== */
.video-section {
    background: linear-gradient(rgba(45, 30, 30, 0.9), rgba(45, 30, 30, 0.9)), url('/image/services/slide.png') center/cover;
    text-align: center;
    background-attachment: fixed;
}

.video-player {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.video-player video {
    width: 100%;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    padding: 12px 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-player:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.video-controls button:hover {
    color: var(--primary);
}

.timeline {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    width: 0%;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.video-text h2 {
    color: white;
    margin-top: 30px;
    font-size: 32px;
}

.video-text p {
    color: rgba(255,255,255,0.8);
}

/* ===== CEO SECTION ===== */
.ceo-section {
    background: var(--white);
}

.ceo-content {
    display: flex;
    align-items: center;
    gap: 55px;
}

.ceo-img {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.ceo-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.ceo-img:hover img {
    transform: scale(1.02);
}

.ceo-text {
    flex: 1;
}

.ceo-text .position {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    font-size: 14px;
}

.ceo-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.ceo-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.signature {
    font-family: 'Playfair Display', cursive;
    font-size: 28px;
    margin-top: 25px;
    color: var(--secondary);
    border-top: 2px solid var(--primary);
    display: inline-block;
    padding-top: 12px;
}

/* ===== TEAM SECTION ===== */
.team {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.team-member {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-img {
    height: 280px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-member:hover .member-img img {
    transform: scale(1.08);
}

.member-info {
    padding: 22px;
}

.member-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.member-info .position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
    font-size: 14px;
}

.member-info p {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.contact-info {
    background: var(--light);
    padding: 35px;
    border-radius: 28px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-light);
}

.map {
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 25px;
}

.map iframe {
    width: 100%;
    height: 100%;
}

.contact-form {
    background: var(--light);
    padding: 35px;
    border-radius: 28px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #e0cfc0;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 142, 0.2);
}

textarea.form-control {
    border-radius: 20px;
    min-height: 110px;
    resize: vertical;
}

.form-message {
    margin-top: 18px;
    padding: 12px;
    border-radius: 40px;
    display: none;
    text-align: center;
    font-size: 14px;
}

.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-bg);
    color: #e8e2dc;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links-footer a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-links-footer a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #cbc2b0;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HIDE MAIN CONTENT ===== */
.main-content.hidden {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .container {
        width: 85%;
        max-width: 1400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        width: 90%;
    }
    
    .hero h1 {
        font-size: 52px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title h2 {
        font-size: 38px;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 44px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-content, .ceo-content {
        flex-direction: column;
        gap: 35px;
    }
    
    .about-text h2, .ceo-text h2 {
        font-size: 32px;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .service-detail-image-section {
        position: relative;
        top: 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .section-title h2 {
        font-size: 34px;
    }
    
    .stats {
        justify-content: center;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    /* Header Mobile */
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .header-container {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    .logo-container {
        flex: 1;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .logo-img {
        width: 38px;
        height: 38px;
    }
    
    .search-wrapper {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 0;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: white;
        transition: 0.3s ease-in-out;
        padding: 30px 25px;
        box-shadow: 5px 0 30px rgba(0,0,0,0.15);
        z-index: 999;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul li a {
        font-size: 16px;
        display: block;
        padding: 8px 0;
    }
    
    /* Hero Section Mobile */
    .hero {
        height: 85vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-btns .btn {
        width: 200px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .slide-arrows {
        display: none;
    }
    
    .slide-nav {
        bottom: 20px;
    }
    
    .slide-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Sections Mobile */
    section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    /* About Mobile */
    .about-text h2 {
        font-size: 28px;
    }
    
    .stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-img {
        height: 220px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    /* Team Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .member-img {
        height: 260px;
    }
    
    /* CEO Mobile */
    .ceo-text h2 {
        font-size: 28px;
    }
    
    .signature {
        font-size: 22px;
    }
    
    /* Service Detail Mobile */
    .service-detail-overlay {
        padding: 20px 15px;
    }
    
    .service-detail-modal {
        margin: 0;
        border-radius: 20px;
    }
    
    .service-detail-grid {
        padding: 20px;
        gap: 20px;
    }
    
    .service-detail-title {
        font-size: 28px;
    }
    
    .service-detail-price {
        font-size: 24px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 60px;
        height: 60px;
    }
    
    .service-detail-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .service-detail-related {
        padding: 25px;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Video Mobile */
    .video-section {
        background-attachment: scroll;
    }
    
    .video-player {
        border-radius: 16px;
    }
    
    .video-text h2 {
        font-size: 24px;
        margin-top: 20px;
    }
    
    .video-text p {
        font-size: 14px;
    }
    
    .video-controls {
        padding: 8px 12px;
        gap: 10px;
    }
    
    .video-controls button {
        font-size: 14px;
    }
    
    /* Contact Mobile */
    .contact-info, .contact-form {
        padding: 25px;
    }
    
    .contact-info h3, .contact-form h3 {
        font-size: 22px;
    }
    
    .contact-item {
        gap: 12px;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .contact-text h4 {
        font-size: 16px;
    }
    
    .contact-text p {
        font-size: 13px;
    }
    
    .map {
        height: 180px;
    }
    
    /* Footer Mobile */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-col h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links-footer {
        justify-content: center;
    }
    
    .copyright {
        font-size: 11px;
        padding-top: 20px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .container {
        width: 92%;
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        height: 75vh;
        min-height: 450px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero-btns .btn {
        width: 180px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .about-text h2, .ceo-text h2 {
        font-size: 24px;
    }
    
    .about-text p, .ceo-text p {
        font-size: 14px;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
    
    .service-content p {
        font-size: 13px;
    }
    
    .member-info h3 {
        font-size: 18px;
    }
    
    .member-info p {
        font-size: 13px;
    }
    
    .service-detail-title {
        font-size: 24px;
    }
    
    .service-detail-badge {
        font-size: 10px;
    }
    
    .service-detail-features h3 {
        font-size: 18px;
    }
    
    .service-detail-features ul li {
        font-size: 13px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 50px;
        height: 50px;
    }
    
    .video-text h2 {
        font-size: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 22px;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .service-detail-thumbnails .thumb {
        width: 45px;
        height: 45px;
    }
    
    .service-detail-close {
        width: 36px;
        height: 36px;
        font-size: 16px;
        top: 12px;
        right: 12px;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}