/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo a {
    color: #333333;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 64px;
    width: auto;
    transition: all 0.3s ease;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    transition: width 0.3s ease;
}

.logo a:hover::after {
    width: 100%;
}

.logo a:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section - Works for Chrome and other browsers */
.hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback background image */
    background: url('topview.jpg') center center/cover no-repeat;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Safari-specific fixes using the is-safari class */
.is-safari .hero {
    background: url('topview.jpg') center center/cover no-repeat;
}

.is-safari .hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.is-safari .hero-video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    -webkit-transform: none !important;
    transform: none !important;
         /* Safari-specific properties */
     -webkit-playsinline: true;
     -webkit-media-controls: false;
    /* Force visibility */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    /* Ensure video doesn't affect layout */
    pointer-events: none;
}

/* Hide Safari media controls */
.is-safari video::-webkit-media-controls,
.is-safari video::-webkit-media-controls-container,
.is-safari video::-webkit-media-controls-enclosure,
.is-safari video::-webkit-media-controls-panel,
.is-safari video::-webkit-media-controls-play-button,
.is-safari video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    color: #000000;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    border-color: #ffffff;
}

/* Trust Badges */
.trust-badges {
    padding: 3rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    justify-items: center;
}

.badge {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    font-weight: 600;
    color: #333333;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.services-section.bg-image-1 {
    background: url('topview2.jpg') center center/cover no-repeat;
    position: relative;
}

.services-section.bg-image-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.services-section.bg-image-1 .container {
    position: relative;
    z-index: 2;
}

.services-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.5px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #d4af37;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

.card p {
    color: #666666;
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333333;
}

.cta-button-secondary {
    display: inline-block;
    background: #333333;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #333333;
}

.cta-button-secondary:hover {
    background: #ffffff;
    color: #333333;
    transform: translateY(-2px);
}

/* What We Do Section */
.what-we-do {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.what-we-do.bg-image-2 {
    background: url('topview3.jpg') center center/cover no-repeat;
    position: relative;
}

.what-we-do.bg-image-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.what-we-do.bg-image-2 .container {
    position: relative;
    z-index: 2;
}

.what-we-do h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
}

.what-we-do h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    color: #666666;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #d4af37;
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333333;
}

.service-item p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Areas Section */
.areas-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.areas-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
}

.areas-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.area {
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s ease;
}

.area:hover {
    background: #d4af37;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.pricing-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #d4af37;
}

.pricing-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333333;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.pricing-card li {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.about-section.bg-image-3 {
    background: url('topview4.jpg') center center/cover no-repeat;
    position: relative;
}

.about-section.bg-image-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.about-section.bg-image-3 .container {
    position: relative;
    z-index: 2;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
}

.about-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #666666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: #333333;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #333333;
}

.contact-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styling */
form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section label {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-hint {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1rem;
    font-style: italic;
}

form input,
form textarea,
form select {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    color: #333333;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

form input::placeholder,
form textarea::placeholder {
    color: #999999;
    font-weight: 400;
}

form textarea {
    font-family: inherit;
    line-height: 1.6;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: #ffffff;
    color: #333333;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 100px;
    resize: vertical;
}

form button {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    color: #000000;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    width: 100%;
    margin-top: 1rem;
}

form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Checkbox and Radio Button Styling */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333333;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.checkbox-label:hover,
.radio-label:hover {
    color: #d4af37;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    display: none;
}

.checkmark,
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #d4af37;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    background: #ffffff;
    transition: all 0.3s ease;
}

.radio-mark {
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

.radio-label input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #d4af37;
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark,
.radio-label input[type="radio"]:checked + .radio-mark {
    background: #d4af37;
    border-color: #d4af37;
}

/* Other input styling */
.other-input {
    margin-top: 1rem;
    display: none;
}

.other-input.show {
    display: block;
}

/* Select dropdown styling */
form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* Mobile and Safari-specific fixes */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .logo-img {
        height: 52px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: 80vh;
    }
    
    /* Mobile video optimization */
    .hero-video-background video {
        /* Use different scaling for mobile */
        min-width: 100vw;
        min-height: 100vh;
        width: 100vw;
        height: 100vh;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-group,
    .radio-group {
        gap: 0.5rem;
    }
    
    .checkbox-label,
    .radio-label {
        font-size: 0.95rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Trust badges - make them 2x2 grid */
    .badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
        justify-items: center;
    }
    
    .badge {
        padding: 1.2rem;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
        max-width: 180px;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 0.5rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #d4af37;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Desktop carousel - show multiple slides */
@media (min-width: 769px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: calc(33.333% - 1rem);
        margin-right: 1rem;
    }
    
    .carousel-track {
        gap: 1rem;
    }
}

/* Mobile carousel - single slide */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-arrow.prev {
        left: 5px;
    }
    
    .carousel-arrow.next {
        right: 5px;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 2rem;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

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

.card, .service-item, .testimonial {
    animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700, #d4af37);
}

/* Safari-specific media query for additional fixes */
@supports (-webkit-appearance: none) {
    .hero-video-background video {
        /* Additional Safari-specific fixes */
        -webkit-transform: translate3d(-50%, -50%, 0);
        transform: translate3d(-50%, -50%, 0);
    }
}

/* Footer */
footer {
    background: #333333;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section li {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-bottom {
    border-top: 1px solid #555555;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.9rem;
}