/* Basic Reset & Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* New "Twilight" Color Palette */
    --background-color: #191924;
    /* Deep Indigo Base */
    --card-background: #232333;
    /* Dark Navy/Purple for cards */
    --primary-accent: #7F5AF0;
    /* Vibrant Purple */
    --secondary-accent: #E53170;
    /* Energetic Magenta/Pink */
    --highlight-color: #FFC400;
    /* Warm Gold for contrast */
    --text-color: #eaeaea;
    /* Soft off-white for readability */
    --heading-color: #ffffff;
    /* Pure white for headings */

    /* Font Variables */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(25, 25, 36, 0.8);
    /* Semi-transparent Indigo */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-background);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-logo {
    text-decoration: none;
    line-height: 1;
}

.nav-logo .brand-name {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
}

.nav-logo .tagline {
    font-family: var(--body-font);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--highlight-color);
    margin-left: 2px;
}

/* Gold tagline */

.nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-accent);
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(25, 25, 36, 0.85), rgba(25, 25, 36, 0.85)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: kenBurnsEffect 20s infinite;
}

@keyframes kenBurnsEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--heading-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Button Styles with Gradient */
.cta-button {
    display: inline-block;
    background-image: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(229, 49, 112, 0.4);
    /* Magenta glow */
}

/* General Section Styling */
section {
    padding: 6rem 5%;
    border-bottom: 1px solid var(--card-background);
}

section:last-of-type {
    border-bottom: none;
}

/* Services Section */
#services {
    background-color: var(--background-color);
}

.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-category-card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #2b2b3f;
}

.service-category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.service-category-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.service-category-card h4 {
    color: var(--primary-accent);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sub-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-color);
}

.sub-service-list li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #2b2b3f;
}

.sub-service-list li:last-child {
    border-bottom: none;
}

/* About Section */
/* #about {
    background-color: var(--card-background);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-image,
.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.about-text .quote {
    border-left: 3px solid var(--highlight-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-size: 1.4rem;
    font-style: italic;
} */
 /* About Section */
 #about {
     background-color: var(--card-background);
 }

 .about-container {
     display: flex;
     align-items: center;
     gap: 3rem;
     flex-wrap: wrap;
 }

 .about-image,
 .about-text {
     flex: 1;
     min-width: 300px;
 }

 .about-image img {
     width: 100%;
     height: auto;
     /* Allow image to determine its own height */
     max-height: 500px;
     /* Prevent image from being excessively tall */
     object-fit: cover;
     border-radius: 10px;
 }

 /* --- CLEANER LAYOUT FIX STARTS HERE --- */
 .about-text {
     display: flex;
     flex-direction: column;
     justify-content: center;
     /* This vertically centers the content in the column */
     align-items: flex-start;
     /* Aligns text to the left */
 }

 .about-text h2 {
     width: 100%;
     /* Ensure heading spans the full width for centering */
     text-align: center;
     margin-bottom: 2rem;
     /* Add space below the heading */
 }

 .about-text .quote {
     border-left: 3px solid var(--highlight-color);
     padding-left: 1.5rem;
     margin: 0;
     font-size: 1.2rem;
     /* Slightly smaller for better balance */
     font-style: italic;
 }

 .quote-author {
     width: 100%;
     text-align: right;
     font-style: italic;
     color: var(--primary-accent);
     margin-top: 0.5rem;
     margin-bottom: 2rem;
     /* Add space between quote and main paragraph */
 }

 /* --- FIX ENDS HERE --- */

/* Gold border */

/* Careers Section */
#careers {
    text-align: center;
    background-color: var(--background-color);
}

.hiring-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

#careers p {
    margin-bottom: 2rem;
}

.job-perks {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    display: inline-block;
    text-align: left;
}

.job-perks li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
#testimonials {
    background-color: var(--card-background);
}

.testimonial-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    text-align: center;
    max-width: 350px;
}

.testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-weight: bold;
    color: var(--secondary-accent);
}

/* Magenta cite */

/* Contact Section */
#contact {
    background-color: var(--background-color);
    text-align: center;
}

#contact .subtitle {
    max-width: 600px;
    margin: -2rem auto 3rem auto;
}

.contact-info-container {
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: 10px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.location-note {
    color: var(--text-color);
    font-style: italic;
}

.map-container {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(100%) grayscale(80%);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--background-color);
    border-top: 1px solid var(--card-background);
}

.social-media-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-media-links svg {
    width: 28px;
    height: 28px;
    fill: var(--text-color);
    transition: fill 0.3s ease;
}

.social-media-links a:hover svg {
    fill: var(--primary-accent);
}

/* Hamburger Menu & Responsive */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
}

@media(max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        left: 0;
        top: 80px;
        flex-direction: column;
        background-color: var(--card-background);
        width: 100%;
        text-align: center;
        gap: 0;
    }

    .nav-item {
        padding: 1.5rem 0;
        width: 100%;
    }

    .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);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 4rem 5%;
    }
    .services-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .about-container {
        text-align: center;
        /* Center-align the about text */
    }

    .about-text .quote {
        text-align: left;
        /* Keep the quote left-aligned for readability */
    }

    .contact-info-container {
        padding: 2rem;
        /* Reduce padding on the contact card */
    }
    .about-image img {
        height: 300px;
        /* Or use auto for natural aspect ratio */
    }
}