/* Font Face Definitions */
@font-face {
    font-family: 'Futura';
    src: url('../font/futurali.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('../font/Futura Bk BT Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('../font/Futura Md BT Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('../font/Futura Md BT Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('../font/FutuHv.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

:root {
    --primary: #31363F;
    /* Dark Charcoal */
    --secondary: #FFFFFF;
    /* White */
    --accent: #AFB2B7;
    /* Silver */
    --font-main: 'Futura', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--primary);
    background-color: var(--secondary);
    overflow-x: hidden;
}

/* Typography */
.hero-logo {
    width: 30%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-half .hero-logo {
    width: 160px;
}

.hero-title {
    font-size: 6.4rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-align: center;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.text-body {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.text-body strong,
.text-body b {
    font-weight: 900;
    color: var(--primary);
}

/* Hero Section - Fixed & Parallax */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    justify-content: center;
    align-items: center;
}

/* Modifier for half-height hero pages (FAQ, Career, etc.) */
.hero.hero-half {
    height: 50vh;
}

.main-content.main-content-half {
    margin-top: 50vh;
}

@media screen and (max-width: 450px) {
    .main-content {
        width: 100%;
        overflow-x: hidden;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(49, 54, 63, 0.5), rgba(49, 54, 63, 0.8));
    z-index: 1;
}

/* Typography for Sub-pages (Career, FAQ, Scope Detail) */
.main-content-half {
    font-size: 1.6rem;
    line-height: 1.6;
}

.main-content-half p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.main-content-half h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.main-content-half ul,
.main-content-half li {
    font-size: 1.6rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.1s linear;
    /* Smooth fade handling */
}

/* Main Content Wrapper */
.main-content {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}



/* Profile Section - Sticky Narrative */
.profile {
    background-color: var(--secondary);
    padding: 5rem 2rem;
    /* Reduced from 8rem */
    min-height: auto;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
    /* Crucial for sticky behavior */
}

.profile-left {
    position: sticky;
    top: 20vh;
    height: auto;
}

.profile-right {
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
}

.text-body {
    font-size: 2.6rem;
    line-height: 1.6;
    color: var(--primary);
    margin-bottom: 0;
    /* Single block, no margin needed */
    font-weight: 300;
    opacity: 0;
    /* Start fully invisible */
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    /* Snappy premium ease */
}

.text-body.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-body:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-left {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .text-body {
        margin-bottom: 5rem;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Simplified Team Section */
.team-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card-simple {
    text-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.team-card-simple:hover {
    transform: translateY(-5px);
}

.team-photo-simple {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.team-card-simple:hover .team-photo-simple {
    filter: grayscale(0%);
}

.member-name-simple {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.member-role-simple {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 992px) {
    .team-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid-simple {
        grid-template-columns: 1fr;
    }
}

/* Team Section - Split Layout */
/* Team Section - Sticky Photo Split Layout */
.team {
    padding: 15rem 0;
    background-color: var(--secondary);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 15vh;
    /* Reduced gap between members since rows are tall now */
    margin-top: 4rem;
}

.team-member-row {
    display: flex;
    align-items: flex-start;
    /* Essential for sticky */
    gap: 4rem;
    position: relative;
    /* Opacity removed so row is visible, blocks will animate instead */
}

/* Alternating Layout */
.team-member-row:nth-child(even) {
    flex-direction: row-reverse;
}

.team-photo-col {
    flex: 1;
    height: auto;
    position: sticky;
    top: 20vh;
    /* Stick to the viewport */
    z-index: 5;
}

.team-photo {
    width: 100%;
    height: 60vh;
    /* Fixed visual height */
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.team-member-row:hover .team-photo {
    filter: grayscale(0%);
}

.team-info-col {
    flex: 1;
    padding: 20vh 2rem 10vh 2rem;
    /* Start low, end with space */
    display: flex;
    flex-direction: column;
}

.team-info-block {
    min-height: 40vh;
    /* Gives scroll time */
    margin-bottom: 20vh;
    /* Space between blocks */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.1;
    transform: translateY(30px);
    filter: blur(2px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-info-block.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.member-name {
    font-size: 4rem;
    /* Bigger */
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.member-role {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 600;
}

.member-certs h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.member-certs ul {
    list-style: none;
    margin-top: 0.5rem;
}

.member-certs li {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

@media (max-width: 900px) {
    .team-member-row {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .team-member-row:nth-child(even) {
        flex-direction: column !important;
    }

    .team-photo-col {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .team-photo {
        height: 400px;
        /* Reset for mobile */
    }

    .team-info-col {
        padding: 2rem;
    }

    .team-info-block {
        min-height: auto;
        margin-bottom: 3rem;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* --- Base Container --- */
.scope {
    /* Reduced padding to fit "1 Screen" */
    padding: 15rem 0;
    background-color: #fff;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3.2rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Grid Container (Replaces Timeline) --- */
.scope-grid {
    display: grid;
    /* This creates the 3-column layout */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Space between cards */

    /* Remove the old center line background */
    background: none;
    margin: 0 auto;
    padding: 0;
}

/* --- The Card Item --- */
.scope-card {
    /* Reset old positioning */
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    right: auto;

    /* Card Styling */
    background: #fff;
    border: 1px solid #eee;
    /* Subtle border */
    border-radius: 12px;
    padding: 2.5rem 2rem;

    /* Flex layout for content */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    text-align: center;
    text-decoration: none;
    /* Removes link underline */

    /* Animation / Hover Transitions */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Remove the "dots" and "lines" from previous design */
.scope-card::after,
.scope-card::before {
    display: none;
}

/* --- Hover Effects --- */
.scope-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* --- Content Styling --- */

/* 1. Icon */
.scope-icon {
    width: 70px;
    /* Reduced from 100px to fit grid */
    height: 70px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.scope-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 2. Title */
.scope-title {
    font-size: 2rem;
    /* Reduced from 2.2rem to fit grid */
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* 3. Description */
.scope-desc {
    font-size: 1.5rem;
    /* Reduced from 1.3rem to fit grid */
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* --- RESPONSIVE --- */

/* Tablet: 2 Columns */
@media (max-width: 992px) {
    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

/* Mobile: 1 Column */
@media (max-width: 600px) {
    .scope {
        padding: 3rem 0;
    }

    .scope-grid {
        grid-template-columns: 1fr;
    }

    /* Optional: On mobile, align text left for easier reading */
    .scope-card {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        /* Icon left, text right */
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .scope-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
        /* Prevents icon from squishing */
    }

    /* Wrapper for text so it stacks next to icon */
    .scope-card>div {
        display: flex;
        flex-direction: column;
    }
}

.team .section-title {
    top: 5vh;
    z-index: 20;
    background-color: transparent;
    padding: 1rem 0;
    display: inline-block;
    width: 100%;
}

.team-desc {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    text-align: left;
    margin-bottom: 4rem;
    font-size: 2.4rem;
    line-height: 1.6;
    color: var(--primary);
    will-change: opacity;
    /* Optimized for JS scroll fade */
}

/* Photo Fade Animation */
.team-photo {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0;
    /* Hidden by default for fade-in */
    transition: filter 0.3s, opacity 0.6s ease-out;
}

.team-member-row.active-photo .team-photo {
    opacity: 1;
}

.gallery {
    padding: 10rem 0;
    background-color: var(--secondary);
}

.container {
    max-width: 1400px;
    /* Adjust based on your design width */
    margin: 0 auto;
    padding: 0 15px;
}

/* THE GRID CONTAINER */
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
}

/* THE INDIVIDUAL ITEMS */
.gallery-item {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: block !important;
}

/* IMAGE STYLING */
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers the fixed height without stretching */
    display: block;

    /* Effects */
    /* filter: grayscale(100%); */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

/* HOVER EFFECTS */
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .profile-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
        text-align: center;
    }
}


/* --- Why Choose Us Section (Circular Style) --- */
.why-choose {
    background-color: #ffffff;
    /* White background to contrast with previous section */
    padding: 6rem 0;
}

.section-title {
    margin-bottom: 3rem;
}

/* Flex Container for 5 Items */
.why-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Allows items to wrap on smaller screens */
    gap: 40px;
    /* Space between items */
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Item Wrapper */
.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
    /* Restrict width to keep title nice */

    /* Removing Card Styling */
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

/* The Circle Border */
.icon-circle {
    width: 100px;
    height: 100px;
    border: 2px solid #222;
    /* Dark border */
    border-radius: 50%;
    /* Perfect circle */

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* SVG Styling */
.icon-circle svg {
    width: 40px;
    height: 40px;
    color: #222;
    /* Icon color */
    transition: all 0.3s ease;
}

/* Title Styling */
.why-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Hover Effects --- */
.why-item:hover .icon-circle {
    background-color: #222;
    /* Fill circle dark on hover */
    transform: translateY(-5px);
    /* Float up */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.why-item:hover .icon-circle svg {
    color: #fff;
    /* Turn icon white on hover */
    stroke: #fff;
    /* Ensure lines are white */
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .why-grid {
        gap: 30px 15px;
        /* Vertical gap 30px, Horizontal 15px */
    }

    .why-item {
        width: 45%;
        /* show 2 items per row */
    }

    .icon-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .icon-circle svg {
        width: 32px;
        height: 32px;
    }

    .why-title {
        font-size: 0.95rem;
    }
}


/* Design Process Section */
/* Design Process Section */
.process {
    padding: 8rem 0;
    position: relative;
    background-color: #F2F2F2;
    /* Slightly darker than white */
}

.process-sticky {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden;  <-- Removed to allow popup shadows if any */
}

.process-timeline-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding-bottom: 2rem;
}

/* Timeline Lines */
.process-line-bg {
    position: absolute;
    top: 40px;
    /* Aligns with icon center (80px/2) */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #E0E0E0;
    z-index: 1;
    border-radius: 2px;
}

.process-line-fill {
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    /* JS will animate this */
    height: 4px;
    background-color: var(--primary);
    z-index: 2;
    border-radius: 2px;
    transition: width 4s ease-out;
}

/* Steps Wrapper */
.process-steps {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
}

/* Individual Step */
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.4;
    /* Inactive State */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-step.active {
    opacity: 1;
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary);
    border: 3px solid #E0E0E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent);
    transition: all 0.3s;
    font-size: 2.4rem;
}

.process-step.active .step-icon {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--secondary);
    box-shadow: 0 10px 20px rgba(49, 54, 63, 0.2);
    transform: scale(1.1);
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    line-height: 1.5;
    max-width: 200px;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .process-timeline-wrapper {
        width: 100%;
        padding: 0 1rem;
    }

    /* Switch to Vertical Layout to prevent overflow */
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .process-step {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.5rem 1.5rem;
        text-align: left;
        width: 100%;
    }

    .process-line-bg,
    .process-line-fill {
        display: none;
    }

    .step-icon {
        grid-row: 1 / span 2;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .step-title {
        font-size: 1.6rem;
        margin: 0;
        align-self: center;
    }

    .step-desc {
        max-width: 100%;
        font-size: 1.4rem;
        grid-column: 2;
    }
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background-color: var(--secondary);
}

.text-center {
    text-align: center;
}

/* Toggle */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 1rem;
}

.pricing-toggle {
    background: transparent;
    border: 2px solid #E0E0E0;
    padding: 0.8rem 2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
    letter-spacing: 1px;
}

.pricing-toggle.active,
.pricing-toggle:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--secondary);
}

/* Content Area */
.pricing-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-content.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #F9F9F9;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
}



.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-card {
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--primary);
}

.price-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 2rem;
}

.price-unit {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--accent);
}

.price-list {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
    padding: 0 3rem;
}

.price-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
    font-size: 1.6rem;
}

.price-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

.btn-price {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.6rem;
}

.btn-price:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-dark:hover {
    background-color: #4a4f58;
    border-color: #4a4f58;
}

/* Premium Card (Interior) */
.premium {
    border: 2px solid var(--primary);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* All In Footer */
.pricing-footer-card {
    margin-top: 4rem;
    padding: 3rem;
    border: 2px solid #D4AF37;
    /* Gold */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: #FFFEFA;
    /* Very slight warm tint */
}

.footer-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-desc {
    color: var(--primary);
    font-weight: 300;
    font-size: 1.6rem;
}

.btn-gold {
    background-color: #D4AF37;
    border-color: #D4AF37;
    color: white;
    font-size: 1.6rem;
}

.btn-gold:hover {
    background-color: #B5952F;
    border-color: #B5952F;
}

/* Custom Link */
.pricing-custom {
    text-align: center;
    margin-top: 2rem;
}

.pricing-custom a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
    font-size: 1.4rem;
    transition: color 0.3s;
}

.pricing-custom a:hover {
    color: var(--primary);
    border-bottom-style: solid;
}

/* Floating Navbar */
/* Floating Navbar */
.floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(49, 54, 63, 0.9);
    /* Dark semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* Reveal Animation */
    animation: navbarReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 3s;
}

@keyframes navbarReveal {
    0% {
        top: -100px;
        opacity: 0;
    }

    100% {
        top: 2rem;
        opacity: 1;
    }
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s, transform 0.2s;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateY(-2px);
}


@keyframes navbarRevealMobile {
    0% {
        top: -100px;
        opacity: 0;
    }

    100% {
        top: 1.5rem;
        opacity: 1;
    }
}

.footer {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 6rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.footer-address,
.footer-contact {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-weight: 300;
}

.footer-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    font-weight: 300;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: var(--secondary);
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
    font-weight: 300;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-footer-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Fix hero logo size for mobile */
    .hero-logo {
        width: 140px;
        max-width: 100%;
    }


    /* --- Gallery Mobile Optimization --- */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .gallery-item {
        margin-bottom: 0 !important;
    }

    /* --- Text Scaling --- */
    .hero-title {
        font-size: 4rem !important;
    }

    .hero-subtitle {
        font-size: 1.6rem !important;
    }

    .section-title {
        font-size: 2.4rem !important;
        margin-bottom: 2rem !important;
    }

    .member-name-simple {
        font-size: 1.6rem !important;
    }

    .scope-title {
        font-size: 1.6rem !important;
    }

    /* Fix container padding to remove gaps on mobile */
    .container {
        padding: 0 10px !important;
    }

    /* Prevent overflow from long text (like email) */
    .footer-contact {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 600px) {
    .pricing-toggle-wrapper {
        gap: 0.5rem;
    }

    .pricing-toggle {
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
}



/* ========================================
   MOBILE HAMBURGER MENU
   ======================================== */

/* Hide hamburger button on desktop, show floating nav */
.menu-toggle {
    display: none;
}

/* Mobile Menu Toggle Button (Circular Hamburger) */
@media (max-width: 768px) {

    /* Hide desktop floating nav on mobile */
    .floating-nav {
        display: none;
    }

    /* Show hamburger button on mobile */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        position: fixed;
        top: 2rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        background: rgba(49, 54, 63, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 0;

        /* Same reveal animation as navbar */
        animation: menuButtonReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: 3s;
    }

    .hamburger-line {
        width: 20px;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Animate hamburger to X when menu is open */
    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Fix hero logo size for mobile - Max width 80vw to prevent overflow */
    .hero-logo {
        width: 80vw;
        max-width: 300px;
    }
}

@keyframes menuButtonReveal {
    0% {
        top: -100px;
        opacity: 0;
    }

    100% {
        top: 2rem;
        opacity: 1;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 54, 63, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 3.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    line-height: 1;
    padding: 0;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: rotate(90deg);
}

/* Mobile Navigation Links */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Stagger animation for menu items */
.mobile-menu-overlay.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(8) {
    transition-delay: 0.45s;
}

.mobile-nav-link:hover {
    color: var(--accent);
    transform: translateX(10px);
}

/* ========================================
   BLOG DETAIL PAGE STYLES
   ======================================== */
.blog-meta {
    font-size: 1.4rem;
    color: var(--accent);
    /* Uses golden accent */
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: block;
}

.blog-featured-img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 4rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-body {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    /* Reading mode */
}

.blog-body p {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 300;
    line-height: 1.8;
}

.blog-body h2 {
    font-size: 2.8rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.blog-body h3 {
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.blog-quote {
    border-left: 4px solid var(--accent);
    padding: 1rem 0 1rem 2rem;
    margin: 3rem 0;
    font-style: italic;
    color: #555;
    font-size: 1.8rem;
    background: linear-gradient(to right, #f9f9f9, transparent);
}

.project-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 4px;
}

.spec-item h4 {
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.spec-item p {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 !important;
    /* Override default p margin */
    color: var(--primary);
}