/* Variables & Reset */
:root {
    --primary-color: #2c3e50;
    /* Deep Blue/Charcoal */
    --accent-color: #c0a062;
    /* Muted Gold */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #a88a50;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: #1a252f;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust height to fit header */
    width: auto;
}

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

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    /* Offset fixed header */
}

/* Fallback for hero image if not present yet */
.hero {
    background-color: #e0e0e0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    border-radius: 8px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 25px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--accent-color);
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    columns: var(--accent-color);
    margin-bottom: 25px;
    color: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Partners Section */
.partners {
    background-color: var(--white);
    padding-bottom: 50px;
}

.partners-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding: 20px 0;
}

.partner-logo {
    font-size: 1.8rem;
    color: #888;
    transition: var(--transition);
    font-weight: 800;
    letter-spacing: 1px;
    font-family: sans-serif;
    opacity: 0.7;
    white-space: nowrap;
}

.partner-logo:hover {
    color: var(--primary-color);
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the width (one full set) */
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
        /* Above nav menu */
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        /* Full screen menu */
        text-align: center;
        transition: 0.3s;
        padding-top: 100px;
        /* Space for close button area */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(192, 160, 98, 0.2);
    /* Transparent accent color */
    margin-bottom: -20px;
    z-index: 0;
    position: relative;
    font-family: var(--font-heading);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.client-type {
    font-size: 0.85rem;
    color: #888;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Showcase Section */
.showcase-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.showcase-image:hover img {
    transform: scale(1.05);
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.showcase-text p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

.showcase-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.showcase-list i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

@media (max-width: 900px) {

    .showcase-item,
    .showcase-item.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .showcase-list {
        display: inline-block;
        text-align: left;
    }

    /* Mobile Slider Styles */
    .slider-container {
        position: relative;
        padding: 0 40px;
        /* Space for arrows */
    }

    .slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
        padding-bottom: 20px;
        /* Space for shadow/hover */
    }

    .slider::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .slider>* {
        flex: 0 0 100%;
        /* Full width items on mobile */
        scroll-snap-align: center;
    }

    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 10;
        display: block;
        /* Show on mobile */
    }

    .slider-btn.prev {
        left: 0;
    }

    .slider-btn.next {
        right: 0;
    }
}

/* Hide slider controls on desktop */
@media (min-width: 901px) {
    .slider-btn {
        display: none;
    }
}