:root {
    --primary-text: #2c2926;
    --secondary-text: #555555;
    --accent-color: #d4a33a;
    --accent-hover: #b88b2e;
    --bg-light: #ffffff;
    --bg-dark: #151617;
    --bg-subtle: #f4f4f4;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Client Section Specifics */

.client-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-text);
    /* Uses your grey variable */
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    /* Aligns title to left like the reference image */
    padding-left: 10px;
    border-left: 4px solid var(--accent-color);
    /* Optional: adds a nice accent marker */
}

/* Specific Grid Layouts */
.three-col {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    /* Constraints width to keep logos clustered */
    margin: 0 auto;
    /* Centers the grid container */
}

.five-col {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* Flexible for business logos */
    margin-top: 20px;
}

/* Logo Sizing Tweaks for Clients */
.clients-section img {
    max-height: 100px;
    /* Slightly larger for client logos */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.clients-section img:hover {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .three-col,
    .five-col {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
    }

    .client-category-title {
        text-align: center;
        border-left: none;
    }
}

body {
    font-family: var(--font-main);
    color: var(--primary-text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.text-light {
    color: white;
}

.accent-color {
    color: var(--accent-color);
}

.dark-bg {
    background-color: var(--bg-dark);
    color: white;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    /* Push down content for fixed navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    text-align: left;
    padding-left: 2rem;
    /* Add some spacing from left edge */
}

.hero-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Profile Image - Adjust to match PDF "floating" look if needed, or just clean frame */
.profile-image-container {
    width: 350px;
    /* Larger */
    height: 350px;
    margin: 0;
    /* Remove auto margin */
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content h1 {
    font-size: 3.5rem;
    /* Larger title */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
    text-transform: uppercase;
}

.accent-text {
    color: var(--accent-color);
    font-size: 2rem;
    display: inline-block;
    transform: translateY(-5px);
}

.tagline {
    font-size: 1.25rem;
    color: #444;
    /* Darker for better contrast on bg */
    font-weight: 500;
    margin-bottom: 2.5rem;
    /* More space */
    max-width: 100%;
    /* Full width */
    margin-left: 0;
    margin-right: 0;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    /* Left align */
    gap: 1rem;
    flex-wrap: wrap;
}

/* Gold/Beige Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    color: white;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold {
    background: linear-gradient(135deg, #d4a33a 0%, #b88b2e 100%);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Mobile Responsiveness for Hero */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        /* Text on bottom, image on top for mobile? Or standard stack */
        text-align: center;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        text-align: center;
        padding-left: 0;
    }

    .social-links {
        justify-content: center;
    }

    .profile-image-container {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
        border-width: 5px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }
}

/* Expertise Section */
.expertise {

    /* Parallax effect */
    padding: 6rem 0;
    position: relative;
    /* If the text is baked in, we might need to adjust, 
       but assuming we overlay HTML text */
}

/* Enhancing the cards to matching the rounded/premium look */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background-color: rgba(255, 255, 255, 0.9);
    /* Slight transparency */
    padding: 3rem 2rem;
    border-radius: 30px;
    /* Very round corners from PDF */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-top: none;
    /* Removing the top border approach */
    border: 1px solid rgba(212, 163, 58, 0.3);
    /* Gold border trace */
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 163, 58, 0.15);
    background-color: white;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.card p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* Experience & Impact Section */
.experience-impact {

    padding: 6rem 0;
    position: relative;
    color: white;
    /* Default text color due to dark bg */
}

/* Semi-transparent overlay to ensure text readability if bg is busy */


.experience-impact .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    /* Reduce gap */
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #e7bf6a;
    /* Lighter gold for dark bg */
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: #dfdfdf;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* Global Work */
.global-work {

    padding: 6rem 0;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.location-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card:hover {
    transform: translateY(-5px);
}

.flag-icon img {
    height: 60px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Designations */
.designations {

    padding: 6rem 0;
}

.designation-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.designation-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.designation-item:hover {
    transform: translateX(10px);
}

.company-logo-small {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.designation-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #333;
}

/* Companies Worked With & Clients */
/* Using generic class for spacing but specific BGs */
.companies-section {

    padding: 6rem 0;
}

.clients-section {

    padding: 6rem 0;
}

/* Logos Grid - General */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
    background: rgba(255, 255, 255, 0.8);
    /* Background behind logos for readability */
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 480px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }

    .logos-grid img {
        max-height: 50px;
    }
}

.logos-grid img {
    max-width: 100%;
    max-height: 80px;
    transition: all 0.3s;
    /* Removed grayscale */
    opacity: 1;
}

.logos-grid img:hover {
    transform: scale(1.1);
}

/* Services */
.services-section {

    padding: 6rem 0;
    color: white;
    position: relative;
}



.services-section .container {
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    transition: background 0.3s;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card ul {
    list-style-position: inside;
    margin-top: 1rem;
}

.service-card li {
    margin-bottom: 0.8rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

/* Skills */
.skills-section {

    padding: 6rem 0;
    position: relative;
    /* Blend with services style if needed */
}

.skills-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    transition: all 0.3s;
    font-size: 1.1rem;
    color: var(--primary-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
}

/* Footer */
.footer-section {
    background-color: var(--bg-dark);
    color: white;
    padding: 6rem 0 2rem;
    position: relative;
}



.footer-section .container {
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    /* Slight box */
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 1.5rem;
    }
}

.footer-socials {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-socials {
        justify-content: flex-start;
    }
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-socials a:hover {
    background: var(--accent-color);
}

.map-images img {
    width: 100%;
    margin-top: 1rem;
    border-radius: 12px;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}


/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    /* Double ensure no bullets */
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-text);
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-btn {
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* Base Hamburger - Hidden on Desktop */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-text);
    z-index: 1002;
}

/* Mobile Navbar */
@media (max-width: 768px) {
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
        /* Prevent crushing */
    }

    /* Forcefully clamp logo sizes */
    .nav-logo-img {
        height: 30px !important;
        width: auto !important;
        max-width: 100px;
        /* Safety cap */
        object-fit: contain;
    }

    .nav-btn {
        padding: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-text);
        z-index: 1002;
    }

    .nav-links {
        display: flex;
        position: fixed;
        right: -100%;
        top: 60px;
        height: calc(100vh - 60px);
        background-color: var(--bg-light);
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-top: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        font-size: 1.2rem;
        padding: 1rem 0;
    }
}