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

/* --- CUSTOM VARIABLES --- */
:root {
    --primary-blue: #079BD3;
    --deep-blue: #063B66;
    --navy: #102A43;
    --white: #FFFFFF;
    --light-bg: #F5F9FC;
    --soft-blue: #EAF6FB;
    --text-primary: #172B4D;
    --text-muted: #5B6B7C;
    --accent-purple: #332A88;
    --border-color: #E2E8F0;
    
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-sm: 0 2px 4px rgba(16, 42, 67, 0.04);
    --shadow-md: 0 4px 12px rgba(16, 42, 67, 0.06);
    --shadow-lg: 0 12px 24px rgba(16, 42, 67, 0.08);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --max-width: 1200px;
}

/* --- RESET & BASIC STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

h1 {
    font-size: 2.75rem; /* ~44px mobile, ~56px desktop */
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem; /* ~36px */
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem; /* ~24px */
    font-weight: 600;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: justify;
}

.text-center { text-align: center; }
.text-center p { text-align: center; }
.section-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.75rem;
}

/* --- CONTAINERS & SECTIONS --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 7rem 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-navy {
    background-color: var(--navy);
    color: var(--white);
}
.bg-navy h2, .bg-navy h3 {
    color: var(--white);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--deep-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 155, 211, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.btn-secondary:hover {
    background-color: var(--soft-blue);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--deep-blue);
}

.btn-white:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* --- PREMIUM LOADER --- */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 280px;
}

.loader-logo {
    width: 140px;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: scale(0.95);
    animation: loaderLogoIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: loaderTextIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.loader-bar-bg {
    width: 180px;
    height: 2px;
    background-color: var(--light-bg);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary-blue);
    position: absolute;
    top: 0;
    left: 0;
    animation: loaderBarProgress 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes loaderLogoIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loaderTextIn {
    to {
        opacity: 1;
    }
}

@keyframes loaderBarProgress {
    0% { width: 0%; }
    50% { width: 45%; }
    100% { width: 100%; }
}

/* --- HEADER / NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.3rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

header.scrolled .header-container {
    height: 68px;
}

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

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2.25rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

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

.header-cta {
    display: block;
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
    padding: 0.5rem;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--navy);
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    overflow: hidden;
    position: relative;
    background-color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-headline {
    margin: 1rem 0 1.25rem 0;
    font-size: 3.5rem;
    color: var(--navy);
    line-height: 1.15;
}

.hero-taglines {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.hero-visual:hover img {
    transform: scale(1.04);
}

/* --- HERO IMAGE MASK SHAPES --- */
.hero-mask-skew img {
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.hero-mask-octagon img {
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
}

.hero-mask-shield img {
    clip-path: polygon(50% 0%, 100% 18%, 100% 82%, 50% 100%, 0% 82%, 0% 18%);
}

.hero-geometric-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
    z-index: 10;
    pointer-events: none;
    opacity: 0.8;
}

/* --- HERO SVG VECTOR STYLES & ANIMATIONS --- */
.hero-svg-vector {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: block;
}

.hero-vector-gridline {
    stroke: rgba(16, 42, 67, 0.04);
    stroke-width: 1px;
}

.hero-vector-chartline {
    stroke: var(--primary-blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 4s ease-out infinite alternate;
}

.hero-vector-chartline-glow {
    stroke: var(--primary-blue);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0.15;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 4s ease-out infinite alternate;
}

.hero-vector-bar {
    fill: var(--navy);
    opacity: 0.08;
    transform-origin: bottom;
    animation: scaleBar 3s ease-in-out infinite alternate;
}

.hero-vector-bar-active {
    fill: var(--primary-blue);
    opacity: 0.8;
    transform-origin: bottom;
    animation: scaleBarActive 2.5s ease-in-out infinite alternate;
}

.hero-vector-bar-accent {
    fill: #063B66; /* var(--deep-blue) */
    opacity: 0.2;
    transform-origin: bottom;
    animation: scaleBarAccent 3.5s ease-in-out infinite alternate;
}

.hero-vector-node {
    fill: var(--navy);
    animation: pulseNode 2s ease-in-out infinite alternate;
}

.hero-vector-node-primary {
    fill: var(--primary-blue);
    animation: pulseNodePrimary 2.5s ease-in-out infinite alternate;
}

.hero-vector-shield {
    transform-origin: center;
    animation: floatShield 4s ease-in-out infinite alternate;
}

.hero-vector-gear {
    transform-origin: center;
    animation: rotateGear 12s linear infinite;
}

.hero-vector-circle-decor {
    fill: none;
    stroke: rgba(7, 155, 211, 0.15);
    stroke-width: 2;
    stroke-dasharray: 8 4;
    transform-origin: center;
    animation: rotateGear 20s linear infinite;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleBar {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(0.85); }
}

@keyframes scaleBarActive {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(0.95); }
}

@keyframes scaleBarAccent {
    0% { transform: scaleY(0.5); }
    100% { transform: scaleY(0.75); }
}

@keyframes pulseNode {
    0% { r: 3px; opacity: 0.4; }
    100% { r: 5px; opacity: 0.9; }
}

@keyframes pulseNodePrimary {
    0% { r: 4px; opacity: 0.5; }
    100% { r: 7px; opacity: 1; }
}

@keyframes floatShield {
    0% { transform: translateY(-5px) translateX(0); }
    100% { transform: translateY(5px) translateX(0); }
}

@keyframes rotateGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* --- TRUST STATISTICS STRIP --- */
.stats-strip {
    background-color: var(--navy);
    padding: 3rem 0;
    color: var(--white);
    border-top: 4px solid var(--primary-blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #A0AEC0;
    letter-spacing: 0.05em;
    max-width: 200px;
    margin: 0 auto;
}

/* --- TWO-COLUMN BLOCK --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.split-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content h2 {
    margin-bottom: 1.5rem;
}

.split-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* --- PREMIUM CARD GRID (WHAT WE BRING / INDUSTRIES) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.premium-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-blue);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.premium-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background-color: var(--soft-blue);
    color: var(--deep-blue);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.premium-card:hover .card-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.premium-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--navy);
}

.premium-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- SECTORS / INDUSTRIES GRID --- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.sector-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
}

.sector-card:hover {
    background-color: var(--soft-blue);
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

.sector-icon {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-flex;
}

.sector-icon svg {
    width: 32px;
    height: 32px;
}

.sector-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

/* --- COMMITMENT CTA BANNER --- */
.commitment-banner {
    position: relative;
    text-align: center;
    padding: 6rem 0;
    background-color: var(--deep-blue);
    color: var(--white);
    overflow: hidden;
}

.commitment-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.commitment-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.commitment-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
    background-image: radial-gradient(var(--primary-blue) 1px, transparent 0);
    background-size: 24px 24px;
}

/* --- ABOUT PAGE SPECIFIC --- */
.about-hero-img {
    height: 480px;
}

.timeline-container {
    max-width: 900px;
    margin: 4rem auto 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: 3.5rem;
    position: relative;
    width: 100%;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 44%;
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.timeline-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 4px var(--white), var(--shadow-sm);
}

.timeline-badge svg {
    width: 20px;
    height: 20px;
}

.timeline-step:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.pillar-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-bottom: 3px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(7, 155, 211, 0.25);
    line-height: 1;
    margin-bottom: 1rem;
}

.pillar-item h3 {
    margin-bottom: 0.75rem;
}

/* --- SERVICES PAGE SPECIFIC --- */
.services-section-title {
    margin-bottom: 3.5rem;
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
}

.framework-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    position: relative;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.framework-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.framework-step:hover {
    border-color: var(--primary-blue);
    background-color: var(--soft-blue);
    transform: translateY(-3px);
}

.framework-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.framework-step:last-child::after {
    display: none;
}

.framework-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
}

/* --- WHY ESSENTIAL SPECIFIC --- */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.promise-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.promise-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.promise-icon {
    width: 48px;
    height: 48px;
    background-color: var(--soft-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.promise-item h3 {
    margin-bottom: 0.85rem;
}

/* Large alternating panels */
.panel-section {
    padding: 6rem 0;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.panel-image {
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--soft-blue);
    color: var(--primary-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.contact-info-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-info-text a:hover {
    color: var(--primary-blue);
}

/* Form Styling */
.contact-form-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 1rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(7, 155, 211, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-feedback {
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}

.form-feedback.error {
    color: #E53E3E;
    display: block;
}

.form-success-overlay {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.form-success-overlay svg {
    color: #38A169;
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
}

.form-success-overlay h3 {
    margin-bottom: 0.75rem;
}

/* WhatsApp Overlay Floating Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(8deg);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 5rem 0 2rem 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary-blue);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    margin-left: -0.85rem;
    transition: var(--transition);
}

.footer-logo-img {
    height: 44px;
    width: auto;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #A0AEC0;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #718096;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- RESPONSIVE DESIGN BREAKPOINTS --- */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 3rem;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 5rem 0;
    }
    .hero-grid {
        gap: 2.5rem;
    }
    .hero-visual {
        height: 400px;
    }
    .split-section {
        gap: 3rem;
    }
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 2.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    header.scrolled .nav-menu {
        top: 68px;
        height: calc(100vh - 68px);
    }
    
    .header-cta {
        display: none; /* inside hamburger or hidden for mobile layout simplification */
    }
    
    /* Show mobile CTA inside menu */
    .nav-menu .mobile-menu-cta {
        display: block;
        margin-top: 1rem;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 320px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .split-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .split-image {
        height: 300px;
        order: 2;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-step {
        flex-direction: row !important;
        margin-bottom: 2.5rem;
    }
    
    .timeline-content {
        width: calc(100% - 60px) !important;
        margin-left: 50px;
        text-align: left !important;
        padding: 1.5rem;
    }
    
    .timeline-badge {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .framework-flow {
        flex-direction: column;
        align-items: stretch;
    }
    
    .framework-step::after {
        content: '↓';
        right: auto;
        left: 50%;
        bottom: -20px;
        top: auto;
        transform: translateX(-50%);
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .panel-image {
        height: 300px;
    }
    
    .panel-grid:nth-child(even) .panel-image {
        order: 2;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}
