/* ==========================================================================
   TNA ARCHITECTURE - CUSTOM PREMIUM STYLESHEET
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
    --bg-color: #FAF9F6;              /* Premium Alabaster / Off-White */
    --text-primary: #111111;          /* Elegant Charcoal Black */
    --text-secondary: #555555;        /* Soft Charcoal */
    --text-muted: #888888;            /* Muted Grey */
    --accent: #000000;                /* Pure Solid Black */
    --border-color: rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hide default cursor on desktop device if custom cursor is active */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
    a, button, .hover-target {
        cursor: none;
    }
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.3s var(--ease-out-expo), 
                height 0.3s var(--ease-out-expo), 
                background-color 0.3s var(--ease-out-expo),
                border 0.3s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor.hovered {
    width: 65px;
    height: 65px;
    background-color: rgba(17, 17, 17, 0.04);
    border: 1px solid var(--text-primary);
}

.custom-cursor .cursor-text {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.custom-cursor.hovered .cursor-text {
    opacity: 1;
}

/* ==========================================================================
   MINIMALIST PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 80%;
    max-width: 320px;
}

.preloader-logo {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
}

.preloader-logo .logo-bold {
    font-family: var(--font-serif);
    font-weight: 700;
}

.preloader-logo .logo-light {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-secondary);
}

.preloader-bar-wrapper {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--text-primary);
}

.preloader-percentage {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
    width: 100%;
    padding: 2.2rem 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    z-index: 105;
    position: relative;
}

.logo a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.header-logo-img {
    height: 24px;
    width: auto;
    display: block;
}

.logo .logo-bold {
    font-family: var(--font-serif);
    font-weight: 700;
}

.logo .logo-light {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.04em;
}

.nav-container {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--text-primary);
}

/* Underline Indicator for Navigation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link.active::after {
    width: 60%; /* matches exact length of underline in design */
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 102;
}

.menu-bar {
    width: 24px;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   MOBILE NAVIGATION OVERLAY
   ========================================================================== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-nav-overlay.open {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover, 
.mobile-nav-link.active {
    color: var(--text-primary);
}

/* ==========================================================================
   MAIN HERO LAYOUT (SPLIT SCREEN)
   ========================================================================== */
.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* 55% / 45% split */
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

/* Left Side: Content */
.hero-text-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 10% 4rem 15%; /* Beautiful breathing padding */
    background-color: var(--bg-color);
}

.hero-text-content {
    max-width: 580px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    opacity: 0;
    transform: translateY(15px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.line-wrapper {
    display: block;
    overflow: hidden;
    margin-bottom: 0.15em;
}

.line-content {
    display: block;
    transform: translateY(105%);
}

.divider-line {
    width: 48px;
    height: 1px;
    background-color: var(--text-primary);
    margin-bottom: 2.2rem;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-description {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 3.2rem;
    max-width: 450px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    opacity: 0;
    transform: translateY(20px);
}

/* Call to action buttons */
.btn-solid {
    background-color: var(--accent);
    color: #FFFFFF;
    text-decoration: none;
    padding: 1.1rem 2.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    display: inline-block;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-solid span {
    position: relative;
    z-index: 2;
}

/* Premium Button Hover Overlay */
.btn-solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 1;
}

.btn-solid:hover::before {
    transform: translateY(0);
}

.btn-text {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
    transition: var(--transition-fast);
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.btn-text:hover::after {
    width: 60%;
}

/* Right Side: Image */
.hero-image-section {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Revealed dynamically via GSAP clip-path */
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.15); /* For zoom-out reveal */
    filter: brightness(0.96); /* Elegant tone */
    transition: filter 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    filter: brightness(1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.02);
    pointer-events: none;
}

/* ==========================================================================
   ABOUT SECTION LAYOUT (SPLIT SCREEN ALTERNATING)
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr; /* Alternating split: left image, right text */
    align-items: stretch;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

/* Left Side: Image */
.about-image-section {
    position: relative;
    height: 100%;
    width: 100%;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Revealed dynamically via GSAP clip-path */
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.15); /* For zoom-out reveal */
    filter: brightness(0.96);
    transition: filter 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    filter: brightness(1);
}

/* Right Side: Content */
.about-text-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 10% 5rem 12%; /* Generous padding for text area */
    background-color: var(--bg-color);
}

.about-text-content {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    opacity: 0;
    transform: translateY(15px);
}

.about-title {
    font-family: var(--font-serif);
    font-size: 4.2rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.about-line-wrapper {
    display: block;
    overflow: hidden;
    margin-bottom: 0.15em;
}

.about-line-content {
    display: block;
    transform: translateY(105%);
}

.about-divider-line {
    width: 48px;
    height: 1px;
    background-color: var(--text-primary);
    margin-bottom: 2.2rem;
    transform: scaleX(0);
    transform-origin: left;
}

.about-description {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
}

.about-description:last-of-type {
    margin-bottom: 3.2rem;
}

.about-actions {
    opacity: 0;
    transform: translateY(20px);
}

/* ==========================================================================
   SERVICES SECTION (CAROUSEL SLIDER)
   ========================================================================== */
.services-container {
    background-color: var(--bg-color);
    padding: 8rem 8%;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4.5rem;
    width: 100%;
}

.services-title-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.services-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.services-header-line {
    height: 1px;
    background-color: var(--text-primary);
    opacity: 0.15;
    flex: 1;
    margin-right: 3.5rem;
    transform: scaleX(0);
    transform-origin: left;
}

.services-nav {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.services-nav-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
    padding: 0;
}

.services-nav-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.services-nav-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(17, 17, 17, 0.02);
}

.services-nav-btn.prev:hover svg {
    transform: translateX(-2px);
}

.services-nav-btn.next:hover svg {
    transform: translateX(2px);
}

.services-slider-wrapper {
    width: 100%;
    overflow: visible; /* Allows vertical dividers to be unclipped and smooth */
}

.services-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

.service-card {
    position: relative;
    flex: 0 0 360px; /* Fixed width for standard sizing */
    margin-right: 45px;
    padding: 3.5rem 2.5rem 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.service-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--text-primary);
    opacity: 0.12;
    transform: scaleY(0);
    transform-origin: top;
}

.service-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 2.2rem;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.choose-container {
    background-color: var(--bg-color);
    padding: 8rem 8%;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.choose-header {
    margin-bottom: 5.5rem;
    width: 100%;
}

.choose-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    align-items: start;
    width: 100%;
}

.choose-card {
    position: relative;
    padding: 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.choose-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--text-primary);
    opacity: 0.12;
    transform: scaleY(0);
    transform-origin: top;
}

/* Hide first border left to match design cleanly */
.choose-grid .choose-card:first-child .choose-border {
    display: none;
}

.choose-icon-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.choose-circle {
    width: 80px;
    height: 80px;
    border: 1.5px solid var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: transform 0.4s var(--ease-out-expo), 
                background-color 0.3s ease, 
                color 0.3s ease;
    transform: scale(0);
}

.choose-circle:hover {
    background-color: var(--text-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.choose-svg {
    width: 26px;
    height: 26px;
}

.choose-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.choose-card-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 240px;
}

/* ==========================================================================
   SELECTED WORK / PROJECTS SECTION
   ========================================================================== */
.projects-container {
    background-color: var(--bg-color);
    padding: 8rem 8%;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4.5rem;
    width: 100%;
}

.projects-title-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.projects-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.projects-header-line {
    height: 1px;
    background-color: var(--text-primary);
    opacity: 0.15;
    flex: 1;
    margin-right: 3.5rem;
    transform: scaleX(0);
    transform-origin: left;
}

.projects-view-all {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.projects-view-all::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.projects-view-all:hover::after {
    width: 60%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;
    width: 100%;
}

.project-card {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.15); /* Zoomed in initially, reveals via ScrollTrigger scale(1) */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-image-wrapper:hover .project-image {
    transform: scale(1.06);
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.project-image-wrapper:hover .project-image-overlay {
    background-color: rgba(0, 0, 0, 0);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-title {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.project-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* ==========================================================================
   TESTIMONIALS SECTION (SLIDER / CAROUSEL)
   ========================================================================== */
.testimonials-container {
    background-color: var(--bg-color);
    padding: 8rem 8%;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4.5rem;
    width: 100%;
}

.testimonials-title-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.testimonials-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    white-space: nowrap;
}

.testimonials-header-line {
    height: 1px;
    background-color: var(--text-primary);
    opacity: 0.15;
    flex: 1;
    margin-right: 3.5rem;
    transform: scaleX(0);
    transform-origin: left;
}

.testimonials-nav {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.testimonials-nav-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
    padding: 0;
}

.testimonials-nav-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.testimonials-nav-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(17, 17, 17, 0.02);
}

.testimonials-nav-btn.prev:hover svg {
    transform: translateX(-2px);
}

.testimonials-nav-btn.next:hover svg {
    transform: translateX(2px);
}

.testimonials-slider-wrapper {
    width: 100%;
    overflow: visible;
}

.testimonials-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

.testimonial-card {
    position: relative;
    flex: 0 0 440px; /* Slightly wider for testimonials */
    margin-right: 50px;
    padding: 2rem 3rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.testimonial-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--text-primary);
    opacity: 0.12;
    transform: scaleY(0);
    transform-origin: top;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    height: 45px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.testimonial-client {
    margin-top: auto;
}

.testimonial-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
    background-color: var(--bg-color);
    padding: 8rem 8%;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5%;
    align-items: stretch;
    position: relative;
    width: 100%;
}

.contact-info-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.contact-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    text-transform: uppercase;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-primary);
}

.contact-line-wrapper {
    display: block;
    overflow: hidden;
}

.contact-line-content {
    display: block;
    transform: translateY(105%);
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.contact-form-section {
    position: relative;
    padding-left: 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--text-primary);
    opacity: 0.12;
    transform: scaleY(0);
    transform-origin: top;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input, 
.form-textarea, 
.form-select {
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
    padding: 1.1rem 1.3rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 400;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus, 
.form-textarea:focus, 
.form-select:focus {
    border-color: var(--text-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
}

.select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.form-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.form-textarea {
    resize: none;
}

.form-actions {
    margin-top: 1rem;
}

.btn-submit {
    background: none;
    border: none;
    border-bottom: 1.5px solid var(--text-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 0.6rem 0;
    cursor: pointer;
    transition: padding-left 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-submit:hover {
    padding-left: 0.6rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: var(--bg-color);
    padding: 3.5rem 8%;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 18px;
    width: auto;
    display: block;
}

.footer-copyright {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer-socials {
    display: flex;
    gap: 2.2rem;
}

.footer-social-link {
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition-fast);
}

.footer-social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.footer-social-link:hover::after {
    width: 100%;
}

/* High-resolution widescreen layouts */
@media (min-width: 1440px) {
    .hero-text-section {
        padding: 3rem 12% 4rem 18%;
    }
    .hero-title {
        font-size: 5.6rem;
    }
}

/* Tablets and small desktops */
@media (max-width: 1024px) {
    .site-header {
        padding: 1.8rem 6%;
    }
    
    .hero-container {
        grid-template-columns: 1fr; /* Stack layout */
        min-height: auto;
    }
    
    .hero-text-section {
        padding: 3rem 8%;
        order: 2; /* Text below image */
    }
    
    .hero-image-section {
        height: 60vh; /* Controlled height on tablet */
        order: 1; /* Image on top */
    }
    
    .hero-image-wrapper {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); /* Bottom reveal for vertical stack */
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    /* About section tablet styles */
    .about-container {
        grid-template-columns: 1fr; /* Stack layout */
        min-height: auto;
    }
    
    .about-image-section {
        height: 60vh;
        order: 1; /* Image on top */
    }
    
    .about-text-section {
        padding: 4rem 8%;
        order: 2; /* Text below image */
    }
    
    .about-image-wrapper {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); /* Bottom reveal for stack */
    }
    
    .about-title {
        font-size: 3.2rem;
    }
    
    /* Services section tablet styles */
    .services-container {
        padding: 6rem 6%;
    }
    
    .services-header-line {
        margin-right: 1.5rem;
    }
    
    .service-card {
        flex: 0 0 310px;
        margin-right: 35px;
        padding: 2.8rem 2rem 2.8rem 1.5rem;
    }
    
    .service-name {
        font-size: 1.9rem;
    }
    
    /* Why Choose Us Tablet styles */
    .choose-container {
        padding: 6rem 6%;
    }
    
    .choose-grid {
        grid-template-columns: repeat(3, 1fr); /* Wrap to multiple rows */
    }
    
    .choose-card {
        padding: 3rem 2rem;
    }
    
    /* Show borders for row elements except first of row */
    .choose-grid .choose-card:nth-child(3n+1) .choose-border {
        display: none;
    }
    .choose-grid .choose-card:not(:nth-child(3n+1)) .choose-border {
        display: block;
    }
    
    /* Projects Tablet styles */
    .projects-container {
        padding: 6rem 6%;
    }
    
    .projects-header-line {
        margin-right: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
    
    .project-title {
        font-size: 1.05rem;
    }
    
    /* Testimonials Tablet styles */
    .testimonials-container {
        padding: 6rem 6%;
    }
    
    .testimonials-header-line {
        margin-right: 1.5rem;
    }
    
    .testimonial-card {
        flex: 0 0 360px;
        margin-right: 35px;
        padding: 1.8rem 2rem;
    }
    
    .testimonial-text {
        font-size: 0.98rem;
        line-height: 1.7;
        margin-bottom: 2.2rem;
    }
    
    .testimonial-quote {
        font-size: 4rem;
        height: 35px;
    }
    
    /* Contact Section Tablet Styles */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .contact-info-section {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
    }
    
    .contact-form-section {
        padding-left: 0;
    }
    
    .contact-form-border {
        width: 100%;
        height: 1px;
        top: -2.5rem;
        left: 0;
        transform: scaleX(0);
        transform-origin: left;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .nav-container {
        display: none; /* Hide standard nav */
    }
    
    .menu-toggle {
        display: flex; /* Show hamburger toggle */
    }
    
    /* Toggle active animation */
    .menu-toggle.active .menu-bar:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    
    .menu-toggle.active .menu-bar:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }
    
    .hero-image-section {
        height: 40vh;
    }
    
    .hero-text-section {
        padding: 3rem 6% 2.5rem 6%;
    }
    
    .location-tag {
        margin-bottom: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.15;
        margin-bottom: 1.2rem;
    }
    
    .divider-line {
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    
    .btn-solid {
        width: 100%;
        text-align: center;
    }
    
    .btn-text {
        padding-left: 0.5rem;
    }
    
    /* About section mobile styles */
    .about-image-section {
        height: 40vh;
    }
    
    .about-text-section {
        padding: 3rem 6% 2.5rem 6%;
    }
    
    .about-tag {
        margin-bottom: 1.2rem;
    }
    
    .about-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .about-divider-line {
        margin-bottom: 1.5rem;
    }
    
    .about-description {
        margin-bottom: 1.2rem;
    }
    
    .about-description:last-of-type {
        margin-bottom: 2rem;
    }
    
    /* Services section mobile styles */
    .services-container {
        padding: 5rem 6%;
    }
    
    .services-header {
        margin-bottom: 2.5rem;
    }
    
    .services-header-line {
        display: none; /* Hide the line to fit text and nav in one row */
    }
    
    .service-card {
        flex: 0 0 85%;
        margin-right: 20px;
        padding: 2rem 1.5rem 2rem 1.2rem;
    }
    
    .service-name {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    
    .service-num {
        margin-bottom: 1.5rem;
    }
    
    /* Why Choose Us Mobile styles */
    .choose-container {
        padding: 4rem 6%;
    }
    
    .choose-header {
        margin-bottom: 2rem;
    }
    
    .choose-grid {
        grid-template-columns: 1fr; /* Single column stack */
    }
    
    .choose-card {
        padding: 1.5rem 0;
    }
    
    .choose-icon-wrapper {
        margin-bottom: 1.2rem;
    }
    
    .choose-card-title {
        margin-bottom: 0.6rem;
    }
    
    .choose-border {
        width: 100%;
        height: 1px;
        left: 0;
        top: 0;
        transform: scaleX(0);
        transform-origin: left;
    }
    
    /* Display borders as horizontal lines for all except first */
    .choose-grid .choose-card:first-child .choose-border {
        display: none;
    }
    .choose-grid .choose-card:not(:first-child) .choose-border {
        display: block;
    }
    
    .choose-circle {
        width: 60px;
        height: 60px;
    }
    
    .choose-svg {
        width: 24px;
        height: 24px;
    }
    
    /* Projects Mobile styles */
    .projects-container {
        padding: 5rem 6%;
    }
    
    .projects-header {
        margin-bottom: 2.5rem;
    }
    
    .projects-header-line {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    /* Testimonials Mobile styles */
    .testimonials-container {
        padding: 5rem 6%;
    }
    
    .testimonials-header {
        margin-bottom: 2.5rem;
    }
    
    .testimonials-header-line {
        display: none;
    }
    
    .testimonial-card {
        flex: 0 0 85%;
        margin-right: 20px;
        padding: 1.5rem 1.5rem 1.5rem 1.2rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.8rem;
    }
    
    .testimonial-quote {
        font-size: 3.5rem;
        height: 30px;
    }
    
    .testimonial-border {
        width: 100%;
        height: 1px;
        left: 0;
        top: 0;
        transform: scaleX(0);
        transform-origin: left;
    }
    
    /* Contact Section Mobile Styles */
    .contact-container {
        padding: 5rem 6%;
        gap: 4rem;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-title {
        font-size: 2.8rem;
    }
    
    .contact-details {
        padding-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-border {
        top: -2rem;
    }
    
    /* Footer Mobile Styles */
    .footer-content {
        flex-direction: column;
        gap: 1.8rem;
        text-align: center;
    }
    
    .footer-socials {
        gap: 2rem;
    }
}

/* Small Screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-text-section {
        padding: 2.5rem 6%;
    }
}
