/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ALX TECNOLOGIA
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0A192F;          /* Azul Marinho Escuro (Títulos, Background Escuro) */
    --primary-light: #172A45;    /* Azul Marinho Médio */
    --secondary: #1F4E5B;        /* Azul Esverdeado (Tom da montanha) */
    --accent: #00B4D8;           /* Ciano Vibrante (Logo e Botões) */
    --accent-hover: #0096C7;     /* Ciano Escuro para Hover */
    --accent-light: #E2F1F4;     /* Ciano Pastel/Névoa (Fundo de Badges e Detalhes) */
    
    /* Background Colors */
    --bg-white: #FFFFFF;         /* Fundo Principal Clean */
    --bg-light: #F4F8F8;         /* Fundo Alternativo Névoa Clara */
    --bg-dark: #0A192F;          /* Fundo Escuro para Seção de Serviços */
    --bg-dark-card: #112240;     /* Cards dentro do Fundo Escuro */
    
    /* Text Colors */
    --text-main: #1E293B;        /* Texto Principal */
    --text-muted: #64748B;       /* Texto Secundário/Desbotado */
    --text-white: #FFFFFF;       /* Texto Claro em fundos escuros */
    --text-accent: #00B4D8;      /* Texto de destaque */

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 180, 216, 0.2);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout Constants */
    --max-width: 1280px;
    --header-height: 80px;
}

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

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

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

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

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

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

button, input, textarea {
    font-family: inherit;
}

/* ==========================================================================
   UTILITY CLASSES & REUSABLE COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent-light);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-bg-dark .section-tag {
    background-color: rgba(0, 180, 216, 0.15);
    color: var(--accent);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-bg-dark .section-title {
    color: var(--text-white);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

.section-bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.sticky {
    height: 70px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

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

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

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

.header.sticky .logo-img {
    height: 52px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.nav-link:hover {
    color: var(--accent);
}

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

.nav-link.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Menu (Mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

/* Hamburger Animation */
.menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Mountain-inspired organic light blobs in background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(226, 241, 244, 0.8) 0%, rgba(199, 226, 232, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(40px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, rgba(226, 241, 244, 0.03) 70%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(30px);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--accent-light);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 180, 216, 0.15);
}

.hero-tag span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-title span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
    max-width: 480px;
}

.hero-avatars {
    display: flex;
}

.hero-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    margin-left: -12px;
}

.hero-avatars img:first-child {
    margin-left: 0;
}

.hero-trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-trust-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* Hero Visual (Right Side) */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Organic blob shape inspired by the reference site */
.hero-image-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(0, 180, 216, 0.8) 100%);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: morph 12s ease-in-out infinite alternate;
}

/* Simulating a clean mountain visual element inside the organic shape */
.hero-image-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=600&q=80') no-repeat center center;
    background-size: cover;
    mix-blend-mode: multiply;
    opacity: 0.35;
}

.hero-image-vector {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}

.hero-image-vector svg {
    width: 100%;
    height: 80%;
}

/* Floating Cards (Glassmorphism & Stat details) */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    left: -40px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 12%;
    right: -40px;
    animation-delay: 2s;
}

.floating-card-3 {
    top: 30%;
    right: -30px;
    animation-delay: 4s;
}

.floating-card-4 {
    bottom: 30%;
    left: -35px;
    animation-delay: 1s;
}

.fc-icon {
    width: 32px;
    height: 32px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-icon svg {
    width: 16px;
    height: 16px;
}

.fc-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0px;
    line-height: 1.2;
}

.fc-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0px;
    line-height: 1.2;
}

/* ==========================================================================
   FEATURES / PILARES SECTION
   ========================================================================== */
.features-section {
    padding: 0;
    position: relative;
    z-index: 20;
    margin-top: -50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--bg-light);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--accent-light);
    color: var(--accent);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about .container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0, 180, 216, 0.05) 100%);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-badge h3 {
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.about-badge p {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.about-pillar-card {
    display: flex;
    gap: 16px;
}

.pillar-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.about-pillar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.about-pillar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION (Dark theme - reference styled)
   ========================================================================== */
.services {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Background gradient details to replicate mountain layers in dark mode */
.services::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, rgba(10, 25, 47, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-white);
    color: var(--text-main);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Highlighted middle cards or special design like reference */
.service-card.highlighted {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card.highlighted:hover {
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.25);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.service-card.highlighted .service-icon-box {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.service-card:hover .service-icon-box {
    background-color: var(--accent-light);
    color: var(--accent);
}

.service-card.highlighted:hover .service-icon-box {
    background-color: var(--accent);
    color: var(--text-white);
}

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

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card.highlighted h3 {
    color: var(--text-white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card.highlighted p {
    color: rgba(255, 255, 255, 0.75);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary);
    transition: var(--transition-fast);
}

.service-card.highlighted .service-link {
    color: var(--accent);
}

.service-link:hover {
    color: var(--accent);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   METODOLOGIA / DIFERENCIAIS SECTION
   ========================================================================== */
.methodology {
    background-color: var(--bg-light);
}

.methodology-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 40px;
}

/* Connecting Line */
.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: rgba(31, 78, 91, 0.1);
    z-index: 1;
}

.methodology-step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.methodology-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.methodology-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-light);
    transition: var(--transition-fast);
}

.methodology-step:hover .methodology-number {
    background-color: var(--accent);
}

.methodology-step h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.methodology-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

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

.contact-info-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.contact-socials {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-glow);
}

textarea.form-input {
    resize: none;
    min-height: 140px;
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    color: #10B981;
    display: block;
}

.form-status.error {
    color: #EF4444;
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 24px 0;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 44px;
    background-color: var(--accent);
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background-color: var(--accent-hover);
}

.newsletter-btn svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 180, 216, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    34% {
        border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    }
    67% {
        border-radius: 50% 60% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Scroll Animation classes */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-image-wrapper {
        width: 380px;
        height: 380px;
    }
    .about .container,
    .contact .container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    /* Header menu mobile layout */
    .menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .nav.open {
        right: 0;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Hero section stacked */
    .hero {
        padding-top: calc(var(--header-height) + 20px);
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 32px auto;
    }
    
    .hero-actions {
        justify-content: center;
        margin-bottom: 32px;
    }
    
    .hero-trust {
        margin: 0 auto;
    }
    
    .hero-visual {
        order: -1; /* Image first on mobile/tablet */
    }
    
    /* Features stacked */
    .features-section {
        margin-top: 0;
        padding-top: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* About Us stacked */
    .about .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual-wrapper {
        margin: 0 auto;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Methodology timeline */
    .methodology-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .methodology-timeline::before {
        display: none; /* Hide horizontal line */
    }
    
    /* Contact page stacked */
    .contact .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    /* Footer layout */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .floating-card-1 {
        left: -10px;
    }
    
    .floating-card-2 {
        right: -10px;
    }
    
    .services-grid,
    .methodology-timeline,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image-wrapper {
        width: 260px;
        height: 260px;
    }
    
    .floating-card {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .fc-icon {
        width: 32px;
        height: 32px;
    }
    
    .fc-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .fc-text h4 {
        font-size: 1rem;
    }
    
    .fc-text p {
        font-size: 0.7rem;
    }
    
    .about-visual-wrapper {
        height: 320px;
        width: 100%;
        padding: 15px;
    }
    
    .about-badge {
        padding: 12px;
        bottom: -10px;
        left: -10px;
    }
    
    .about-badge h3 {
        font-size: 1.5rem;
    }
    
    .about-badge p {
        font-size: 0.7rem;
    }
    
    .about-pillars {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}
