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

:root {
    --primary: #0b5ed7;
    --primary-dark: #084298;
    --accent: #ff6b35;
    --dark: #1a2332;
    --gray-900: #2c3e50;
    --gray-600: #6c757d;
    --gray-300: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

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

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

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

h1, h2, h3, h4 {
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.accent { color: var(--accent); }
.muted { color: var(--gray-600); font-size: 0.9rem; }

.section {
    padding: 80px 0;
}

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

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.center-action {
    text-align: center;
    margin-top: 40px;
}

/* ===== Header ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.6rem;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--gray-900);
    font-weight: 500;
    position: relative;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.call-btn {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.call-btn:hover {
    background: #e55a2b;
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--white);
}

.stat span {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ===== Services Preview (Home) ===== */
.services-preview {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

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

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== Why Us / Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature p {
    color: var(--gray-600);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

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

.cta-section p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* ===== About Page ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-top: 30px;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.placeholder-img {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-radius: var(--radius);
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray-600);
}

.placeholder-img span {
    font-size: 1rem;
    margin-top: 10px;
}

.values-section {
    background: var(--gray-100);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.value-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

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

.value-card p {
    color: var(--gray-600);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

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

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

.team-card h3 {
    margin-bottom: 5px;
}

.role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card p:last-child {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== Services Detail Page ===== */
.services-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    font-size: 3rem;
}

.service-detail-body h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.service-detail-body p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.service-detail-body ul {
    list-style: none;
    padding: 0;
}

.service-detail-body li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--gray-900);
}

.service-detail-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-wrap h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

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

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form-wrap {
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius);
}

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

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

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

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
}

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

.footer-col p {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.25rem; }
    .section { padding: 50px 0; }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }

    .nav.open {
        display: flex;
    }

    .call-btn {
        display: none;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat strong {
        font-size: 1.5rem;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-wrap {
        padding: 25px;
    }
}