/* Global Styles */
:root {
    --primary-color: #006580;
    /* Deep Teal */
    --secondary-color: #C4D600;
    /* Lime Green */
    --text-color: #333333;
    --bg-color: #f8f9fa;
    /* Off-white */
    --white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-primary);
    border: none;
}

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

.btn-primary:hover {
    background-color: #b3c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 32px;
    /* Increased from 24px */
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0;
}

.logo span {
    color: var(--secondary-color);
}

.header-logo {
    max-height: 135px;
    width: auto;
    display: block;
    border-radius: 50%;
    margin-right: -25px;
    /* Pull text closer to image */
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: var(--white);
    /* White text for video overlay */
    overflow: hidden;
    background: #000;
    /* Fallback */
}

/* Removed old hero-bg/img styles */

/* Removed old layouts, added video support */

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 60, 0.6);
    /* Semi-transparent Deep Teal/Dark overlay */
    z-index: 1;
}

.video-label {
    position: absolute;
    bottom: 20px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
}

.video-label i {
    color: var(--secondary-color);
}

.hero-content {
    position: relative;
    max-width: 650px;
    margin-left: 0;
    z-index: 10;
}

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

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Authority Section */
.authority {
    background-color: #f0f2f5;
    padding: 40px 0;
    text-align: center;
}

.authority-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 600;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    font-weight: 700;
    color: #888;
    font-size: 1.2rem;
    /* Placeholder style for text logos */
    text-transform: uppercase;
    font-family: var(--font-primary);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

/* Highlight Card Style */
.highlight-card {
    background-color: var(--primary-color);
    color: var(--white);
}

.highlight-card h3,
.highlight-card .icon {
    color: var(--white);
    /* Override primary text color */
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
}

.highlight-card:hover {
    border-bottom-color: var(--white);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0 40px;
    /* Reduced bottom padding from 80px to 40px */
    background-color: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.case-item {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.case-img {
    height: 250px;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    object-position: left center;
    /* Anchor to left to crop out the right-side text */
    transform: scale(1.4);
    /* Zoom to fill */
}

.case-item:hover .case-img img {
    transform: scale(1.5);
}

/* Modifier: Focus on top for images with faces */
.case-img img.object-top {
    object-position: top center;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}


.case-info .case-logo {
    max-height: 40px;
    width: auto;
    margin-bottom: 10px;
    display: block;
}

/* Differentiators Section */
.differentiators {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.diff-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.diff-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Footer & Contact */
.footer {
    padding: 80px 0 40px;
    background-color: #f4f6f8;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-right {
    flex: 1;
    min-width: 300px;
}

.footer-logo-container {
    margin-bottom: 25px;
}

.footer-logo {
    max-height: 80px;
    /* Increased from 60px */
    width: auto;
    display: block;
    border-radius: 50%;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.footer-right h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

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

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

.copyright {
    margin-top: 40px;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        /* Ensure the menu icon is large enough to be easily tapped */
        font-size: 26px;
    }

    .header .btn {
        display: none;
    }

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

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    /* Fix for Logo Overlap and Proportions on Mobile */
    .logo a {
        font-size: 18px;
        /* Slightly smaller to fit with larger logo */
        gap: 0;
    }

    .header-logo {
        max-height: 80px;
        /* Increased from 50px */
        margin-right: -35px;
        /* Aggressive negative margin to remove whitespace */
    }
}

/* =========================================
   NEW SECTIONS STYLES (Added for Expansion)
   ========================================= */

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* About Expanded Section */
.about-expanded {
    padding: 50px 0 100px;
    /* Reduced top padding from 100px to 50px */
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(0, 101, 128, 0.1);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.about-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}

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

.about-values {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    background: rgba(196, 214, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-box {
    background: var(--bg-color);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

/* Service List in Cards */
.service-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-card .service-list {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #666;
}

.highlight-card .service-list li {
    color: rgba(255, 255, 255, 0.9);
}

.service-list li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Methodology Section */
.methodology {
    padding: 100px 0;
    background-color: var(--text-color);
    /* Dark Background */
    color: var(--white);
    text-align: center;
}

.methodology .section-header h2 {
    color: var(--white);
}

.methodology .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.step-item {
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    font-family: var(--font-primary);
}

.step-item h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step-item p {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* Portfolio Updates */
.case-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.portfolio-footer {
    margin-top: 40px;
    /* Reduced from 60px */
    text-align: center;
}

/* Responsive Adjustments for New Sections */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }

    .about-expanded,
    .methodology {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

/* --- Director Profile Section --- */
.director-profile {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Light gray to separate from About */
    border-bottom: 1px solid #ddd;
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.director-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary-color);
}

.director-text h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.director-text .section-tag {
    margin-bottom: 10px;
    display: inline-block;
}

.role-badge {
    display: inline-block;
    /* Added for proper spacing/dimensions */
    font-size: 0.9rem;
    /* Approx. 14.4px on PC - Fixed size for consistency */
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.director-text .bio-intro {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 500;
}

.director-text p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.7;
}

/* Responsive adjustments for Director Section */
@media (max-width: 768px) {
    .director-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .director-img img {
        max-width: 300px;
        margin: 0 auto;
    }

    .role-badge {
        display: table;
        margin: 10px auto 0;
        line-height: 1.4;
        font-size: 12px !important;
        /* Increased size */
        white-space: normal;
        max-width: 100%;
    }
}

/* --- Clients Logo Grid (New) --- */
.clients-grid-container {
    padding: 20px 0;
    margin-bottom: 100px;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.clients-grid img {
    max-width: 150px;
    /* Increased max-width slightly */
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.clients-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .clients-grid {
        gap: 20px;
    }

    .clients-grid img {
        max-width: 100px;
        max-height: 50px;
    }
}