html {
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Base Fonts */
body { font-family: 'Inter', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }

/* 1. Hero Zoom Animation */
.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?q=80&w=2000');
    background-position: center;
    background-size: cover;
    animation: zoomOut 20s ease-out forwards;
}
@keyframes zoomOut {
    from { background-size: 110% 110%; }
    to { background-size: 100% 100%; }
}

/* 2. Scroll Animation (Fade Up) */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Delays for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-600 { transition-delay: 600ms; }

/* 3. Golden Button Hover Effect */
.btn-golden {
    background-color: #C0A062;
    color: white;
    transition: all 0.3s ease;
}
.btn-golden:hover {
    background-color: #A98B50;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px #C0A062;
}

/* 4. Service Card Hover */
.service-card { transition: all 0.3s ease; }
.service-card:hover {
    border-color: #C0A062;
    transform: translateY(-5px);
}

/* 5. Custom Shapes (Polygon clips from original) */
.feature-shape {
    width: 80px; height: 80px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%); /* Trapezoid */
}

.testimonial-box {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%); /* Cut corner */
}

.testimonial-img-clip {
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.process-badge {
    position: absolute; top: -5px; right: -5px;
    background-color: #1F2937; color: white;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 0.75rem;
}

/* 6. Marquee Animation */
.marquee-track {
    animation: marquee 40s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 7. Project Image Zoom */
.project-img {
    width: 100%; height: 20rem; 
    object-fit: cover; 
    transition: transform 0.5s duration-500;
}
.group:hover .project-img {
    transform: scale(1.1);
}

/* The background overlay (hidden by default) */
.modal-overlay {
    display: none; /* Hidden */
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

/* The actual white box */
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Close button (X) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Form Styles */
.modal-content input, .modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-content button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
}