/* Custom CSS Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #059669;
    --accent-dark: #047857;
    --whatsapp: #25d366;
    --whatsapp-dark: #1ebc57;
    --dark: #0f172a;
    --slate: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    background-color: var(--white);
    color: var(--slate);
    line-height: 1.6;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

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

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--primary);
    font-weight: 600;
}

/* Header & Nav */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Header Action Buttons */
.header-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-head {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-head:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.btn-email {
    background-color: var(--slate);
    color: var(--white);
}

.btn-email:hover {
    background-color: var(--dark);
}

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

.btn-call:hover {
    background-color: var(--primary-dark);
}

.btn-wa {
    background-color: var(--whatsapp);
    color: var(--white);
}

.btn-wa:hover {
    background-color: var(--whatsapp-dark);
}

/* Specialist Service Strip */
.service-strip {
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-strip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 9px;
    padding-bottom: 9px;
    overflow-x: auto;
    scrollbar-width: none;
}

.service-strip-inner::-webkit-scrollbar {
    display: none;
}

.strip-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #94a3b8;
    white-space: nowrap;
    margin-right: 4px;
}

.service-pill {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    color: var(--dark);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.service-pill:hover {
    border-color: var(--accent);
    border-left-color: var(--accent-dark);
    background: var(--white);
    color: var(--accent-dark);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(96, 165, 250, 0.3);
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* General Buttons */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 1px solid #475569;
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Stats Bar */
.stats-bar {
    background: var(--primary);
    color: var(--white);
    padding: 30px 0;
}

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

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Grids & Cards */
.grid {
    display: grid;
    gap: 25px;
}

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

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

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--dark);
    margin-bottom: 12px;
}

/* About Layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.about-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.about-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.timeline-item {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.timeline-content h3 {
    color: var(--dark);
    margin-bottom: 8px;
}

/* Skill List */
.skill-list {
    list-style: none;
    margin-top: 15px;
}

.skill-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 20px;
}

.skill-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

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

/* Contact Box */
.contact-box {
    background: var(--dark);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-box p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.contact-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

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

.contact-details p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #090d16;
    color: #64748b;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

.footer-address {
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #475569;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .btn-head {
        padding: 8px 11px;
        font-size: 0.8rem;
        gap: 4px;
    }

    .header-buttons {
        gap: 6px;
    }

    .service-strip-inner {
        gap: 8px;
    }

    .strip-label {
        display: none;
    }

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

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

    .contact-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .btn-label {
        display: none;
    }

    .btn-head {
        padding: 9px 12px;
        font-size: 1rem;
    }

    .logo {
        font-size: 1rem;
    }

    .service-pill {
        font-size: 0.82rem;
        padding: 6px 13px;
    }
}
