/* ============================================
   Claystone Investment Ltd - MASTER STYLESHEET
   Version: 1.0
   Description: Global styles for all pages
   ============================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #1a3a5c;
    --primary-dark: #0f2540;
    --primary-light: #2a4a6e;

    /* Accent Colors */
    --accent: #c9a962;
    --accent-light: #e8d5a3;
    --accent-dark: #a88b4a;

    /* Neutral Colors */
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --text-muted: #8a9aad;
    --bg: #f8f9fa;
    --bg-dark: #eef1f5;
    --white: #ffffff;
    --border: #e1e8ed;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Spacing */
    --section-padding: 6rem 5%;
    --container-max: 1400px;
    --grid-gap: 2rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary: #e8d5a3;
    --primary-dark: #c9a962;
    --accent: #1a3a5c;
    --accent-light: #2a4a6e;
    --text: #e1e8ed;
    --text-light: #b0bec5;
    --text-muted: #78909c;
    --bg: #0f172a;
    --bg-dark: #1e293b;
    --white: #1e293b;
    --border: #334155;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.5);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg);
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================================
   2. UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--section-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 1rem auto;
    border-radius: 2px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ============================================
   3. NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(201, 169, 98, 0.08);
}

/* ============================================
   4. DROPDOWN MENU
   ============================================ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown:hover .dropdown-toggle {
    color: var(--primary);
    background: rgba(201, 169, 98, 0.08);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2rem;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--transition);
    border-radius: 0;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--bg);

    color: var(--primary);
    padding-left: 1.5rem;
}

.dropdown-menu a i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 1rem;
}

.dropdown-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
    }
}

/* ============================================
   5. MOBILE MENU
   ============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 98, 0.4);
}

.btn-secondary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   7. FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6c7d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.form-message.success {
    display: flex;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: flex;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================
   8. CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Card Variant */
.service-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

/* Feature Card */
.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(-10deg) scale(1.1);
}

/* Team Card */
.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.team-info .role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.team-info .bio {
    color: var(--text-light);
    font-size: 0.85rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   9. HERO CAROUSEL
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) contrast(1.1);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 900px;
    padding: 0 1rem;
}

.carousel-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
    color: white;
}

.carousel-slide.active .carousel-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.carousel-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
    font-weight: 300;
    line-height: 1.6;
}

.carousel-slide.active .carousel-content p {
    opacity: 1;
    transform: translateY(0);
}

.carousel-content .btn-primary {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s, transform 0.3s, box-shadow 0.3s;
}

.carousel-slide.active .carousel-content .btn-primary {
    opacity: 1;
    transform: translateY(0);
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.2);
    border-color: white;
}

.indicator:hover {
    background: var(--accent-light);
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    z-index: 10;
    transition: width 0.1s linear;
}


/* ============================================
   9b. INNER PAGE BANNERS
   ============================================ */
.inner-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.inner-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.05);
}

.inner-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 37, 64, 0.3), rgba(15, 37, 64, 0.7));
}

.inner-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.inner-banner-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.inner-banner-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.inner-banner-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.inner-banner-breadcrumb a {
    color: var(--accent-light);
    transition: var(--transition);
}

.inner-banner-breadcrumb a:hover {
    color: white;
}

.inner-banner-breadcrumb i {
    font-size: 0.7rem;
    color: var(--accent);
}

/* ============================================
   10. PAGE HEADER
   ============================================ */

   ============================================ */
/* Page Header - now handled by inner-banner */
.page-header {
    display: none;
}

/* ============================================
   11. GRID LAYOUTS
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

@media (max-width: 1024px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ============================================
   12. STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   13. ABOUT SECTION
   ============================================ */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 4px solid var(--accent);
    border-left: 4px solid var(--accent);
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 4px solid var(--accent);
    border-right: 4px solid var(--accent);
    z-index: -1;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================
   14. PROCESS STEPS
   ============================================ */
.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--accent);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }
}

/* ============================================
   15. CONTACT SECTION
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item div h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item div p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
    }
}

/* ============================================
   16. MAP SECTION
   ============================================ */
.map-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1920&q=80') center/cover;
    opacity: 0.3;
}

.map-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.map-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.map-content p {
    opacity: 0.8;
}

/* ============================================
   17. CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   18. FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container-max);
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-column h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   19. ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   20. LOADING SPINNER
   ============================================ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   21. THEME TOGGLE
   ============================================ */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

/* ============================================
   22. BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 998;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

/* ============================================
   23. RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .page-header {
        padding: 8rem 5% 4rem;
    }

    .section {
        padding: 4rem 5%;
    }

    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ============================================
   24. PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .footer,
    .theme-toggle,
    .back-to-top,
    .carousel-indicators,
    .carousel-progress,
    .mobile-menu-btn {
        display: none !important;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }

    .carousel-slide {
        position: relative;
        opacity: 1;
    }

    .carousel-slide:not(.active) {
        display: none;
    }

    body {
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* ============================================
   25. COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 1.5rem 5%;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 280px;
}

.cookie-icon {
    width: 45px;
    height: 45px;
    background: rgba(201, 169, 98, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cookie-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: var(--accent-light);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-cookie-accept {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-cookie-accept:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-cookie-decline:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.btn-cookie-settings {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-cookie-settings:hover {
    background: rgba(201, 169, 98, 0.1);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal-overlay.active {
    display: flex;
}

.cookie-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-modal-close:hover {
    background: var(--border);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
}

.cookie-modal-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cookie-option-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: var(--border);
    border-radius: 13px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.toggle-switch.active {
    background: var(--accent);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active::after {
    left: 27px;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: stretch;
    }

    .btn-cookie {
        flex: 1;
        text-align: center;
    }
}

/* ============================================
   26. LEGAL PAGES (Privacy, Terms, Cookies)
   ============================================ */
.legal-page {
    background: var(--white);
    min-height: calc(100vh - 400px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-container h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.legal-container h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
    color: var(--primary-dark);
}

.legal-container h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary);
}

.legal-container p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-container ul {
    list-style: disc;
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-light);
}

.legal-container ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-container ol {
    list-style: decimal;
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-light);
}

.legal-container ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-container a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
}

.legal-container a:hover {
    color: var(--accent-dark);
}

.legal-last-updated {
    background: var(--bg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.legal-last-updated p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.legal-toc {
    background: var(--bg);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.legal-toc h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
}

.legal-toc ul li {
    margin-bottom: 0.5rem;
}

.legal-toc ul li a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.legal-toc ul li a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transition: var(--transition);
}

.legal-toc ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.legal-toc ul li a:hover::before {
    transform: scale(1.5);
}

.legal-contact-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    text-align: center;
}

.legal-contact-box h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.legal-contact-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.legal-contact-box .btn-white {
    margin-top: 0.5rem;
}

/* ============================================
   27. SERVICE DETAIL PAGES
   ============================================ */
.service-detail-section {
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-image img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail-image:hover img {
    transform: scale(1.03);
}

.service-detail-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-detail-content > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-features-list {
    margin: 2rem 0;
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-features-list li i {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-cta-box {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    text-align: center;
}

.service-cta-box h4 {
    margin-bottom: 0.5rem;
}

.service-cta-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.service-stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.service-stat-item .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-stats-row {
        grid-template-columns: 1fr;
    }
}