/* --- Global Styles & Variables --- */
:root {
    --color-gold: #D4AF37;
    --color-black: #111111;
    --color-dark-gray: #1a1a1a;
    --color-light-gray: #333;
    --color-white: #F5F5F5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin: 4rem 2rem;
    position: relative;
}

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

section {
    padding: 80px 0;
    overflow-x: hidden; /* Prevents horizontal scroll from animations */
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-white);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--color-gold);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
}


/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-light-gray);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative; /* For mobile menu positioning */
}

header .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-white);
}

header ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

header ul a {
    color: var(--color-white);
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

header ul a:hover, header ul a.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

/* ADDED: Hamburger Menu Styles */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.7)), url('./herobg.png') no-repeat center center/cover;
}

.animated-headline {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.animated-headline span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 40px;
}

.trust-signals {
    margin-top: 50px;
}

.trust-signals p {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Client Logos Slider --- */
.client-logos-slider {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.client-logos-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
}

.client-logos-slider img {
    max-height: 100%;
    max-width: 120px;
    width: auto;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.client-logos-slider img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Stats Section --- */
#stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    background-color: var(--color-dark-gray);
    padding: 60px;
    border-radius: 10px;
    transform: translateY(-50px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.8);
}

/* --- Testimonials Section --- */
#testimonials {
    background-color: var(--color-dark-gray);
}
.testimonial-card {
    background: var(--color-black);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid var(--color-gold);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--color-gold);
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: rgba(245, 245, 245, 0.9);
}

.testimonial-card cite strong {
    color: var(--color-white);
    font-size: 1.1rem;
}
.testimonial-card cite p {
    color: var(--color-gold);
}

.swiper-pagination-bullet {
    background: var(--color-white);
}

.swiper-pagination-bullet-active {
    background: var(--color-gold);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-item {
    background: var(--color-dark-gray);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.1rem;
    color: var(--color-white);
}

.service-item:hover, .service-item.active {
    background: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.service-details-content {
    background: var(--color-dark-gray);
    padding: 40px;
    border-radius: 10px;
    min-height: 150px;
}

.service-details {
    display: none;
    animation: fadeIn 0.5s;
}

.service-details.active {
    display: block;
}

.service-details h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

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

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.1));
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-overlay h3 {
    color: var(--color-white);
    margin-bottom: 10px;
}
.portfolio-overlay a {
    margin-top: 15px;
    font-weight: bold;
    display: inline-block;
}

/* --- Media Section --- */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border: 3px solid var(--color-gold);
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Certifications --- */
#certifications {
    margin-bottom: 5rem;
}
.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.8);
}
.certifications-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.certifications-grid i {
    color: var(--color-gold);
    font-size: 1.5rem;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--color-dark-gray);
    padding: 50px;
    border-radius: 10px;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--color-light-gray);
    border: 1px solid #444;
    color: var(--color-white);
    border-radius: 5px;
    font-family: var(--font-body);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}
.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contact-info i {
    color: var(--color-gold);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--color-gold);
}
.map-container iframe {
    filter: invert(90%) grayscale(100%);
}

/* --- Footer --- */
footer {
    background: var(--color-dark-gray);
    margin-top: 80px;
    padding-top: 60px;
    border-top: 3px solid var(--color-gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3 {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 20px;
}
.footer-col h4 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.social-icons {
    margin-top: 20px;
    display: flex; /* Added for easier centering */
    gap: 15px;
}
.social-icons a {
    font-size: 1.5rem;
    margin-right: 0; /* Replaced with gap */
}
.newsletter-form {
    display: flex;
}
.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    background: var(--color-light-gray);
    color: var(--color-white);
    border-radius: 5px 0 0 5px;
}
.newsletter-form button {
    padding: 10px 15px;
    border: none;
    background: var(--color-gold);
    color: var(--color-black);
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--color-light-gray);
}

/* --- Floating Contact Button --- */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
    z-index: 999;
    transition: transform 0.3s ease;
}
.floating-contact-btn:hover {
    transform: scale(1.1);
    color: var(--color-black);
}

/* --- Services Page Specific Styles --- */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}
.page-header .section-subtitle {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.8);
}
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--color-dark-gray);
    padding: 35px 30px;
    border-radius: 10px;
    border-left: 4px solid var(--color-light-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-color: var(--color-gold);
}
.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: rgba(245, 245, 245, 0.8);
}
.service-card h4 {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-top: auto;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: bold;
}
.service-card ul {
    list-style: none;
    padding-left: 0;
}
.service-card ul li {
    margin-bottom: 8px;
    color: rgba(245, 245, 245, 0.8);
    position: relative;
    padding-left: 20px;
}
.service-card ul li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: 2px;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* --- General Mobile Adjustments --- */
    section {
        padding: 60px 0; /* Reduced vertical padding for sections */
    }
    .section-title { 
        font-size: 2.2rem; 
        margin-bottom: 30px;
    }
    
    /* --- Header & Mobile Navigation --- */
    header .menu-toggle {
        display: block; /* Show hamburger menu */
    }

    header ul {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 80px; /* Position below header */
        left: 0;
        width: 100%;
        background: var(--color-black);
        padding: 20px;
        text-align: left;
        gap: 0;
    }
    
    header ul.nav-open {
        display: flex; /* Show nav when class is added by JS */
    }

    header ul li {
        width: 100%;
    }
    
    header ul a {
        padding: 15px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
    }

    header ul a:hover, header ul a.active {
        border-bottom-color: var(--color-light-gray); /* Override desktop hover */
    }

    header ul li:last-child a {
        border-bottom: none;
    }

    header ul a.btn {
        margin-top: 15px;
        text-align: center;
        width: fit-content;
    }

    /* --- Hero Section --- */

    .hero-content {
        max-width: 90vw;
    }

    h1.animated-headline { 
        font-size: 2.5rem; 
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .client-logos {
        gap: 25px;
        font-size: 2rem;
        flex-wrap: wrap; /* Allow logos to wrap */
    }

    /* --- Stats Section --- */
    #stats {
        transform: translateY(0);
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px 20px;
        margin-top: -1px; /* To overlap hero slightly if desired */
    }
    .stat-number {
        font-size: 2.5rem;
    }

    /* --- Certifications Section (FIXED SPACING) --- */
    #certifications {
        padding: 60px 20px; /* Added horizontal padding */
    }
    .certifications-grid {
        flex-direction: column; /* Stack items vertically */
        gap: 25px; /* Increase gap for better spacing */
        font-size: 1.1rem;
        text-align: center;
    }

    /* --- Contact Section --- */
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    /* --- Footer --- */
    .footer-grid {
        text-align: center; /* Center align footer content */
    }
    .footer-col .social-icons {
        justify-content: center;
    }
    .newsletter-form {
        justify-content: center;
    }

    /* --- Floating Button --- */
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- About Us Section --- */
#about {
    margin-top: 3rem;
    background-color: var(--color-dark-gray);
    padding-bottom: 3rem;
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-text p:last-of-type {
    margin-bottom: 0;
}
.about-text h3 {
    color: var(--color-white);
    margin-bottom: 15px;
}
.vision-mission-team {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.vision-mission .card {
    background-color: var(--color-black);
    padding: 30px;
    border-left: 5px solid var(--color-gold);
    border-radius: 10px;
}
.vision-mission .card h3 {
    margin-bottom: 10px;
    color: var(--color-gold);
}
.vision-mission .card p {
    font-size: 1rem;
    line-height: 1.6;
}
.our-team h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--color-white);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.team-member {
    background-color: var(--color-black);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--color-gold);
}
.team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-gold);
}
.team-member p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.7);
}

@media (min-width: 769px) {
    .mob-ex {
        display: none;
    }
    .wide-ex {
        display: block;
    }
    .vision-mission-team {
        grid-template-columns: 1fr 2fr;
    }
}
@media (max-width: 768px) {
    .mob-ex {
        display: block;
    }
    .wide-ex {
        display: none;
    }
    .about-content {
        gap: 30px;
    }
    .about-text p, .vision-mission .card p {
        font-size: 1rem;
    }
    .vision-mission {
        flex-direction: column;
    }
}
