/* ================================
   RESET & GLOBALS
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --secondary: #f093fb;
    --text: #333;
    --text-light: #666;
    --bg: #f8f9fa;
    --white: #ffffff;
    --border: #e0e0e0;
    --success: #4caf50;
    --danger: #f44336;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

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

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ================================
   NAVBAR
   ================================ */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-light);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    animation: slideUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

section {
    padding: 80px 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ================================
   AREAS PREVIEW / GRID
   ================================ */

.areas-preview,
.services-section,
.values {
    background: var(--bg);
}

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

.area-card,
.service-card,
.value-card,
.team-member,
.why-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.icon,
.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.area-card h3,
.service-card h3,
.value-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.service-list {
    text-align: left;
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.service-list li:last-child {
    border-bottom: none;
}

.why-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ================================
   GAVI SECTION
   ================================ */

.gavi-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
}

.gavi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gavi-text h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin: 30px 0;
}

.features li {
    padding: 12px 0;
    color: var(--text-light);
    font-weight: 500;
}

.phone-mockup {
    background: var(--white);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 350px;
    margin: 0 auto;
}

.phone-screen {
    background: #f8f9fa;
    border-radius: 30px;
    padding: 20px;
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 0.9rem;
}

.chat-message.bot {
    background: var(--primary);
    color: var(--white);
    align-self: flex-start;
}

.chat-message.user {
    background: var(--border);
    color: var(--text);
    align-self: flex-end;
    border-radius: 15px 0 15px 15px;
}

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

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

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ================================
   ABOUT SECTION
   ================================ */

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-text h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 10px;
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 8rem;
}

.about-image {
    text-align: center;
}

/* ================================
   TECHNOLOGY SECTION
   ================================ */

.technology {
    background: var(--bg);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-text h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.tech-features {
    list-style: none;
    margin: 20px 0;
}

.tech-features li {
    padding: 10px 0;
    color: var(--text-light);
    font-weight: 500;
}

.tech-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--white);
    font-size: 6rem;
}

/* ================================
   PROCESS SECTION
   ================================ */

.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

.step {
    text-align: center;
    padding: 30px;
    background: var(--bg);
    border-radius: 10px;
}

.step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-connector {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
}

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

.contact-section {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-details h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.contact-details a {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-form h2 {
    text-align: left;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
}

/* ================================
   CHAT OPTIONS
   ================================ */

.chat-options {
    background: var(--bg);
}

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

.option-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.option-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.option-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ================================
   CTA SECTION
   ================================ */

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

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

.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section a {
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow);
        display: flex;
    }

    .gavi-content,
    .about-content,
    .tech-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta .btn,
    .hero-buttons .btn {
        width: 100%;
    }

    .phone-mockup {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .areas-grid,
    .services-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        font-size: 0.8rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }
}
