/* ============================================
   IRBGEN ARCHSTUDIO & CONSTRUCTION LTD.
   Stylesheet - Navy Blue Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Color Variables */
:root {
    --navy-primary: #001f3f;
    --navy-dark: #000814;
    --navy-medium: #003366;
    --navy-light: #004080;
    --navy-lighter: #1a4d7a;
    --sky-blue: #5ad1ff;
    --white: #ffffff;
    --off-white: #f5f7fa;
    --light-gray: #e5e7eb;
    --gold: #5ad1ff;
    --gold-dark: #2a9fd6;
    --teal: #008b8b;
    --text-dark: #0f172a;
    --text-light: #475569;
    --shadow-soft: 0 12px 30px rgba(0, 31, 63, 0.08);
    --shadow-card: 0 8px 20px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
}

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

body {
    font-family: 'Poppins', 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    overflow-x: hidden;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background-color: var(--navy-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--gold);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: var(--text-dark);
}

.hero-home {
    background-color: #0b2236;
    background-image: url('../images/cc1.webp');
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 8, 20, 0.72) 0%, rgba(0, 8, 20, 0.6) 38%, rgba(0, 8, 20, 0.35) 60%, rgba(0, 8, 20, 0.12) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 1000px;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    font-family: 'Poppins', 'Manrope', 'Segoe UI', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--navy-primary);
    line-height: 1.05;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 780px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-tags span {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 31, 63, 0.25);
    color: var(--navy-primary);
    background-color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-home .hero-copy h1,
.hero-home .eyebrow,
.hero-home .hero-subtitle {
    color: var(--white);
}

.hero-home .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-home .hero-tags span {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
}

.hero-home .btn.ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-home .btn.ghost:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--white);
}

@media (max-width: 1024px) {
    .hero-copy h1 {
        white-space: normal;
    }
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-medium);
    margin-bottom: 16px;
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--navy-primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    border: 2px solid var(--navy-primary);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--navy-medium);
    border-color: var(--navy-medium);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.btn.ghost {
    background-color: transparent;
    color: var(--navy-primary);
    border-color: rgba(0, 31, 63, 0.35);
    border-radius: 10px;
}

.btn.ghost:hover {
    background-color: rgba(0, 31, 63, 0.08);
    border-color: rgba(0, 31, 63, 0.45);
}

.btn.ghost.light {
    color: var(--white);
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: none;
}

.btn.ghost.light:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   INTRO SECTION
   ============================================ */

.intro {
    padding: 80px 0;
    background-color: var(--off-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.intro h2 {
    font-size: 2.3rem;
    color: var(--navy-primary);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-align: left;
}

.intro p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: none;
    margin: 0 0 16px;
    text-align: left;
    line-height: 1.8;
}

.intro-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--light-gray);
}

.intro-card h3 {
    font-size: 1.2rem;
    color: var(--navy-primary);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.intro-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.intro-card li {
    position: relative;
    padding-left: 24px;
    color: var(--text-light);
    line-height: 1.6;
}

.intro-card li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gold);
    position: absolute;
    left: 0;
    top: 0.6em;
    transform: translateY(-50%);
}

/* ============================================
   METRICS SECTION
   ============================================ */

.metrics {
    padding: 30px 0 70px;
    background-color: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric {
    background-color: var(--white);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--light-gray);
}

.metric strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--navy-primary);
    margin-bottom: 6px;
}

.metric span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
}

/* ============================================
   SERVICES HIGHLIGHT
   ============================================ */

.services-highlight {
    padding: 80px 0;
    background-color: var(--white);
}

.services-highlight h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--navy-primary);
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--navy-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

/* ============================================
   FEATURE SPLIT
   ============================================ */

.feature-split {
    padding: 60px 0 80px;
    background-color: var(--off-white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 28px 30px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-card);
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--navy-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.feature-card.dark {
    background-color: var(--navy-primary);
    border-color: transparent;
    color: var(--white);
}

.feature-card.dark h3 {
    color: var(--white);
}

.feature-card.dark p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background-color: rgba(0, 31, 63, 0.08);
    color: var(--navy-primary);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card.dark .feature-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--navy-primary);
    text-decoration: none;
    margin-top: 16px;
    border-bottom: 1px solid transparent;
}

.link-arrow:hover {
    border-bottom-color: currentColor;
}

.feature-card.dark .link-arrow {
    color: var(--white);
}

/* ============================================
   CTA STRIP
   ============================================ */

.cta-strip {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    color: var(--white);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-medium) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: 80px 0;
    background-color: var(--white);
}

.content-section h2 {
    font-size: 2.2rem;
    color: var(--navy-primary);
    margin-bottom: 25px;
    margin-top: 40px;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.business-info {
    background-color: var(--off-white);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid var(--navy-primary);
}

.business-info ul {
    list-style: none;
}

.business-info li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.business-info strong {
    color: var(--navy-primary);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
    position: relative;
    min-height: 520px;
    background: url('../images/L2.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 8, 20, 0.6), rgba(0, 8, 20, 0.2));
}

.about-hero-content {
    position: relative;
    max-width: 1100px;
    padding: 120px 20px 150px;
    width: 100%;
}

.about-hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    margin: 10px 0 12px;
}

.about-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    font-size: 1.05rem;
}

.about-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.about-section {
    background-color: var(--white);
    padding: 90px 0;
}

.about-section.alt {
    background-color: var(--off-white);
}

.about-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: center;
}

.about-split.reverse .about-copy {
    order: 2;
}

.about-split.reverse .about-image {
    order: 1;
}

.about-copy h3 {
    font-size: 1.6rem;
    color: var(--navy-primary);
    margin-bottom: 14px;
}

.about-copy p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.about-mission {
    position: relative;
    background: url('../images/cc.webp') center/cover no-repeat;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.about-mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 8, 20, 0.6), rgba(0, 8, 20, 0.35));
}

.about-mission-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-mission h2 {
    font-size: clamp(2rem, 4.8vw, 3rem);
    font-weight: 800;
    color: var(--white);
}

.mission-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
    font-size: 1.05rem;
}

.about-values {
    background-color: var(--white);
    padding: 90px 0;
}

.section-title {
    text-align: center;
    color: var(--navy-primary);
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.value-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.value-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy-primary);
    background: rgba(90, 209, 255, 0.08);
}

.value-card h4 {
    margin-bottom: 6px;
    color: var(--navy-primary);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.about-investors {
    background-color: var(--off-white);
    padding: 80px 0;
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.logo-pill {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.about-news {
    background-color: var(--white);
    padding: 80px 0 90px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.news-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-tag {
    font-weight: 700;
    color: var(--gold-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.news-body h4 {
    font-size: 1.15rem;
    color: var(--navy-primary);
}

.news-body p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-people {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: var(--white);
}

.about-people::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 8, 20, 0.6), rgba(0, 8, 20, 0.45));
}

.about-people-content {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-people h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--white);
    margin: 10px 0;
}

.about-people p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: 80px 0;
    background-color: var(--off-white);
    background-image: linear-gradient(rgba(248, 249, 250, 0.84), rgba(248, 249, 250, 0.84)), url("../../LHD_1 - Photo.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

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

.service {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--navy-primary);
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.2);
    border-top-color: var(--gold);
}

.service h3 {
    font-size: 1.5rem;
    color: var(--navy-primary);
    margin-bottom: 15px;
}

.service p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio-grid {
    padding: 80px 0;
    background-color: var(--white);
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
    transition: all 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.8) 0%, rgba(0, 51, 102, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project:hover .project-overlay {
    opacity: 1;
}

.view-project {
    background-color: var(--gold);
    color: var(--navy-primary);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-project:hover {
    background-color: var(--gold-dark);
    transform: scale(1.05);
}

.project h3 {
    font-size: 1.4rem;
    color: var(--navy-primary);
    margin: 20px 20px 10px;
}

.project p {
    color: var(--text-light);
    margin: 0 20px 20px;
    line-height: 1.6;
}

/* Project detail layout */
.project-detail {
    padding: 40px 0 80px;
    background: var(--white);
}

.project-detail-header {
    padding: 30px 0 10px;
    text-align: center;
}

.project-detail-header h1 {
    font-size: 2.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy-primary);
}

.project-feature,
.project-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

.project-feature .project-media,
.project-block .project-media {
    width: 100%;
}

.project-feature img,
.project-block img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    max-height: 75vh;
}

.project-copy h2 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: var(--navy-primary);
}

.project-copy p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.project-caption {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: left;
}

.project-stack {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
}

.project-detail-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.project-detail-actions .btn {
    padding: 12px 28px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-hero {
    position: relative;
    min-height: clamp(680px, 85vh, 980px);
    background: url('../images/c4.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 8, 20, 0.65), rgba(0, 8, 20, 0.25));
}

.contact-hero-content {
    position: relative;
    max-width: 1200px;
    padding: clamp(110px, 14vh, 170px) 20px clamp(240px, 26vh, 320px);
    width: 100%;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
}

.contact-hero .hero-subtitle {
    color: var(--white);
    opacity: 0.9;
    max-width: 520px;
    margin-top: 10px;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-grid.success-mode {
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--navy-primary);
}

.contact-info p {
    max-width: 520px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 6px;
}

.contact-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 30px;
}

.contact-details p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-details a {
    color: var(--navy-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.contact-details strong {
    color: var(--navy-primary);
    display: inline-block;
    min-width: 120px;
}

.location-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.location-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.contact-social .social-icon {
    margin-left: 0;
}

.social-icon.dark {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.social-icon.dark:hover {
    background-color: #0f172a;
    border-color: #0f172a;
    transform: translateY(-1px);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--navy-primary);
    margin-bottom: 30px;
}

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

.contact-form label {
    display: block;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1.5px solid var(--light-gray);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.intl-phone {
    position: relative;
}

.phone-input-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.phone-input-row input[type="tel"] {
    flex: 1 1 auto;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    min-height: 50px;
}

.country-selector {
    width: 120px;
    min-width: 120px;
    border: 1.5px solid var(--light-gray);
    border-right: 1.5px solid var(--light-gray);
    border-radius: 8px 0 0 8px;
    background: #fff;
    color: var(--navy-primary);
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    min-height: 50px;
    justify-content: flex-start;
    position: relative;
}

.country-selector:focus-visible {
    outline: none;
    border-color: var(--navy-primary);
}

.country-selector::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 1px;
    background: #d3dae4;
}

.country-flag {
    line-height: 1;
    width: 20px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.country-flag-img {
    display: block;
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.country-dial {
    color: #0f172a;
    font-weight: 600;
    font-size: 15px;
}

.country-caret {
    margin-left: auto;
    color: #64748b;
    font-size: 10px;
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    max-width: calc(100vw - 40px);
    z-index: 20;
    border: 1.5px solid var(--light-gray);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
    padding: 10px;
    overflow: hidden;
}

.country-search-wrap {
    position: relative;
    margin-bottom: 8px;
}

.country-search {
    width: 100%;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
}

.country-search::placeholder {
    color: #8a94a8;
}

.country-search:focus {
    outline: none;
    border-color: var(--navy-primary);
}

.country-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.country-option {
    width: 100%;
    border: 0;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    padding: 8px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: inherit;
    text-align: left;
}

.country-option:hover,
.country-option.is-active,
.country-option[aria-selected="true"] {
    background: rgba(0, 31, 63, 0.08);
}

.country-option-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.country-option-flag {
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.country-option-name {
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}

.country-option-dial {
    color: #0f172a;
    font-weight: 600;
    margin-left: 12px;
    flex-shrink: 0;
    font-size: 15px;
}

.country-empty {
    margin: 8px 4px 2px;
    color: #64748b;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .checkbox-row {
    color: #000;
    font-weight: 400;
}

.contact-form .checkbox-row input[type="checkbox"] {
    appearance: none;
    width: 12px;
    height: 12px;
    transform: scale(0.5);
    transform-origin: center;
    vertical-align: middle;
    border: 1.3px solid #1f2937;
    border-radius: 2px;
    background-color: transparent;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.contact-form .checkbox-row input[type="checkbox"]:checked {
    background-color: var(--navy-primary);
    border-color: var(--navy-primary);
}

.contact-form .checkbox-row input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #fff;
    border-radius: 1px;
}

.submit-btn {
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    background-color: var(--navy-primary);
    color: var(--white);
}

.submit-btn:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.error-message {
    display: block;
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
}

.form-success {
    display: none;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px;
    margin-top: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
    text-align: left;
}

.form-success p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: left;
}

footer p {
    font-size: 1rem;
    color: var(--light-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.footer-left {
    justify-self: start;
}

.footer-center {
    text-align: center;
}

.footer-right {
    justify-self: end;
    display: flex;
    align-items: center;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(0, 31, 63, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--navy-primary);
    margin-left: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon:hover {
    background-color: #f1f5f9;
    border-color: rgba(0, 31, 63, 0.2);
    transform: translateY(-1px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy-primary);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 20px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-grid {
        min-height: 520px;
    }

    .hero-copy h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .intro h2,
    .content-section h2 {
        font-size: 1.8rem;
    }

    .about-hero {
        min-height: 420px;
        align-items: flex-end;
    }

    .about-hero-content {
        padding: 100px 20px 120px;
    }

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

    .about-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-split.reverse .about-copy,
    .about-split.reverse .about-image {
        order: unset;
    }

    .about-image img {
        max-height: 360px;
    }

    .about-mission {
        padding: 110px 0;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .about-people {
        padding: 110px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-items {
        grid-template-columns: 1fr;
    }

    .project-feature,
    .project-block {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-detail-header h1 {
        font-size: 2rem;
    }

    .contact-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-input-row {
        gap: 0;
    }

    .country-selector {
        width: 108px;
        min-width: 108px;
    }

    .country-dropdown {
        width: min(320px, calc(100vw - 36px));
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-self: center;
    }

    .footer-right {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact-row {
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .hero {
        min-height: 440px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }

    .hero-grid {
        min-height: 440px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-content h3 {
        font-size: 1.6rem;
    }

    .intro,
    .content-section,
    .services-section,
    .portfolio-grid,
    .contact-section {
        padding: 50px 0;
    }

    .about-hero-content {
        padding: 90px 18px 110px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero .hero-subtitle {
        font-size: 0.98rem;
    }

    .about-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-section,
    .about-values,
    .about-investors,
    .about-news {
        padding: 60px 0;
    }

    .news-card img {
        height: 160px;
    }

    .about-mission h2 {
        font-size: 2.2rem;
    }
}

