/* ========================================
   DASHN Consulting - Main Styles
   High-Tech AI Consulting Website
   Official Brand Identity
   ======================================== */

/* ========================================
   Font Face Declarations - Adam Font Family
   ======================================== */
@font-face {
    font-family: 'Adam';
    src: url('../fonts/Adam-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adam';
    src: url('../fonts/Adam-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adam';
    src: url('../fonts/Adam-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS Variables & Official Brand Colors
   ======================================== */
:root {
    /* Primary Brand Colors - Official DASHN Identity */
    --primary-light: rgb(215, 198, 189);  /* Warm beige/taupe */
    --primary-dark: rgb(51, 62, 72);      /* Deep slate */
    
    /* Secondary Brand Colors */
    --secondary-teal: rgb(91, 107, 106);     /* Muted teal */
    --secondary-silver: rgb(209, 211, 212);  /* Light silver */
    --secondary-tan: rgb(220, 187, 157);     /* Warm tan */
    --secondary-navy: rgb(76, 89, 102);      /* Navy blue */
    --secondary-gray: rgb(142, 140, 134);    /* Neutral gray */
    
    /* Base Colors */
    --color-black: #000000;
    --color-white: #ffffff;
    
    /* Gradient Colors - Using Brand Palette */
    --gradient-primary: linear-gradient(135deg, rgb(215, 198, 189) 0%, rgb(220, 187, 157) 100%);
    --gradient-dark: linear-gradient(135deg, rgb(51, 62, 72) 0%, rgb(76, 89, 102) 100%);
    --gradient-secondary: linear-gradient(135deg, rgb(91, 107, 106) 0%, rgb(142, 140, 134) 100%);
    --gradient-elegant: linear-gradient(135deg, rgb(215, 198, 189) 0%, rgb(209, 211, 212) 50%, rgb(220, 187, 157) 100%);
    
    /* Text Colors */
    --text-primary: rgb(51, 62, 72);
    --text-secondary: rgb(76, 89, 102);
    --text-light: rgb(142, 140, 134);
    --text-white: #ffffff;
    --text-black: #000000;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: rgb(245, 243, 241);
    --bg-primary-light: rgb(215, 198, 189);
    --bg-dark: rgb(51, 62, 72);
    --bg-card: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Typography - Adam Font Family */
    --font-primary: 'Adam', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Adam', 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows - Subtle and elegant */
    --shadow-sm: 0 1px 3px rgba(51, 62, 72, 0.08);
    --shadow-md: 0 4px 6px rgba(51, 62, 72, 0.12);
    --shadow-lg: 0 10px 25px rgba(51, 62, 72, 0.15);
    --shadow-xl: 0 20px 40px rgba(51, 62, 72, 0.2);
    
    /* Border Radius - Sharp, geometric design */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 2px;
    --radius-xl: 3px;
}

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

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

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.8;
}

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

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(215, 198, 189, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
}

.logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--secondary-teal);
    font-weight: 500;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: rgba(215, 198, 189, 0.2);
}

.nav-link.btn-contact {
    background: var(--primary-dark);
    color: var(--text-white);
}

.nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--secondary-navy);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 0;
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(245, 243, 241) 0%, rgb(235, 230, 225) 100%);
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(215, 198, 189, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 187, 157, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 2rem;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--text-primary);
}

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

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.card-4 {
    top: 30%;
    right: 30%;
    animation-delay: 4.5s;
}

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

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--secondary-navy);
}

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

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--text-white);
}

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

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    position: relative;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card.featured {
    background: var(--primary-dark);
    color: var(--text-white);
}

.service-card.featured .service-title,
.service-card.featured .service-description,
.service-card.featured .service-features li {
    color: var(--text-white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.service-card.featured .service-icon {
    background: rgba(215, 198, 189, 0.2);
    color: var(--primary-light);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-weight: 300;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-weight: 300;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-teal);
    font-weight: bold;
}

/* ========================================
   Clients Section
   ======================================== */
.clients {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.clients-showcase {
    display: grid;
    gap: var(--spacing-lg);
}

.featured-client {
    background: var(--gradient-dark);
    color: var(--text-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
}

.featured-client-logo {
    margin-bottom: var(--spacing-md);
}

.client-logo-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.client-region {
    font-size: 1rem;
    letter-spacing: 0.2em;
    opacity: 0.9;
    color: var(--primary-light);
}

.featured-client-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    font-weight: 300;
}

.client-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.result-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.client-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

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

.client-logo {
    margin-bottom: var(--spacing-sm);
}

.client-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.client-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .client-results {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: var(--spacing-xxl) 0;
    background: var(--primary-dark);
    color: var(--text-white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    font-weight: 300;
}

.cta .btn-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.cta .btn-primary:hover {
    background: var(--secondary-tan);
    transform: translateY(-3px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.footer-logo .logo-text {
    color: var(--text-white);
}

.footer-logo .logo-subtitle {
    color: var(--primary-light);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 300;
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-white);
    font-weight: 500;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(215, 198, 189, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Header (Internal Pages)
   ======================================== */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: var(--gradient-dark);
    color: var(--text-white);
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ========================================
   About Section (Who We Are Page)
   ======================================== */
.about {
    padding: var(--spacing-xxl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.stat-box {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-base);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-box .stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--text-secondary);
    font-weight: 300;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Mission & Vision
   ======================================== */
.mission-vision {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.mv-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.mv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--secondary-teal);
}

.mv-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.mv-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Values Section
   ======================================== */
.values {
    padding: var(--spacing-xxl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid transparent;
    transition: var(--transition-base);
}

.value-card:hover {
    border-left-color: var(--primary-dark);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ========================================
   Team Section
   ======================================== */
.team {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.team-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.expertise-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.expertise-card h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Why Choose Section
   ======================================== */
.why-choose {
    padding: var(--spacing-xxl) 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.reason-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
}

.reason-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: bold;
    flex-shrink: 0;
}

.reason-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.reason-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 300;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
    padding: var(--spacing-xxl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--secondary-silver);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(51, 62, 72, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.info-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    gap: var(--spacing-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(215, 198, 189, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.info-content a {
    color: var(--text-secondary);
}

.info-content a:hover {
    color: var(--primary-dark);
}

.cta-card {
    background: var(--primary-dark);
    color: var(--text-white);
    text-align: center;
}

.cta-card .info-title,
.cta-card .info-description {
    color: var(--text-white);
}

.cta-card .btn-outline {
    color: var(--text-white);
    border-color: var(--primary-light);
}

.cta-card .btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.social-card {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(215, 198, 189, 0.2);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-dark);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    height: 400px;
    background: var(--bg-light);
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(rgba(215, 198, 189, 0.1), rgba(215, 198, 189, 0.1)),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23f5f3f1"/><path d="M50 20 L50 80 M20 50 L80 50" stroke="%23d7c6bd" stroke-width="1"/></svg>');
}

.map-content {
    text-align: center;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Loading States
   ======================================== */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 576px) {
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .hero-buttons,
    .cta,
    .footer {
        display: none;
    }
}
