/* ============================================
   Survey Monkeys — Technology Template
   Color Scheme:
     Primary:   #2563eb
     Secondary: #1e40af
     Accent:    #3b82f6
     Dark:      #0f172a
     Light:     #f8fafc
   ============================================ */

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

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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1e40af;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
    line-height: 1.3;
    font-weight: 700;
}

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #2563eb;
}

.btn-lg {
    padding: 1rem 2.4rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.navbar {
    height: 72px;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a;
}

.nav-logo:hover {
    color: #0f172a;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 0 6px;
    height: 36px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
}

.logo-text {
    color: #0f172a;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.btn-nav {
    background-color: #2563eb;
    color: #ffffff !important;
    margin-left: 0.5rem;
}

.btn-nav:hover {
    background-color: #1e40af;
    color: #ffffff !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    transition: transform 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    color: #ffffff;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
    padding: 9rem 0 3.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    color: #ffffff;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
}

/* ============================================
   SECTION UTSTITIES
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-link {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   TESTISTNIALS
   ============================================ */
.testimonials {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
}

.author-info span {
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #ffffff;
}

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

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #bfdbfe;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background-color: #ffffff;
    color: #1e40af;
    border-color: #ffffff;
}

.cta .btn-primary:hover {
    background-color: #f0f4ff;
    border-color: #f0f4ff;
}

/* ============================================
   ABOUT — Story
   ============================================ */
.about-story {
    padding: 5rem 0;
}

.story-content {
    max-width: 760px;
}

.story-content h2 {
    margin-bottom: 1.25rem;
}

.story-content p {
    margin-bottom: 1.25rem;
    color: #475569;
}

/* ============================================
   VALUES
   ============================================ */
.values {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.value-icon {
    color: #2563eb;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.value-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ============================================
   TEAM
   ============================================ */
.team {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.team-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a, #1e40af);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-title {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-bio {
    color: #64748b;
    font-size: 0.9rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #2563eb;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #2563eb;
    transform: translateX(-50%);
    left: -2.6rem;
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ============================================
   SERVICES DETAST
   ============================================ */
.services-detail {
    padding: 4rem 0;
}

.service-block {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e2e8f0;
}

.service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-block-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon-lg {
    color: #2563eb;
    flex-shrink: 0;
}

.service-block-header h2 {
    margin-bottom: 0.25rem;
}

.service-tagline {
    color: #64748b;
    font-size: 1.05rem;
}

.service-block-body p {
    color: #475569;
    margin-bottom: 1.25rem;
    max-width: 760px;
}

.service-block-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-block-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-block-body li {
    color: #475569;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

/* ============================================
   BLOG
   ============================================ */
.blog-listing {
    padding: 4rem 0;
}

.blog-article {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #e2e8f0;
}

.blog-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.article-date {
    color: #64748b;
}

.article-author {
    color: #475569;
    font-weight: 500;
}

.article-tag {
    background-color: #eff6ff;
    color: #2563eb;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
}

.article-header h2 {
    font-size: 1.75rem;
}

.article-body {
    max-width: 760px;
}

.article-body p {
    color: #475569;
    margin-bottom: 1.25rem;
}

.article-body h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-body li {
    color: #475569;
    margin-bottom: 0.4rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1e293b;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    color: #16a34a;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #64748b;
}

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

.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.info-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   LEGAL / PRIVACY
   ============================================ */
.legal-content {
    padding: 4rem 0;
}

.legal-body {
    max-width: 760px;
}

.legal-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.legal-body p {
    color: #475569;
    margin-bottom: 1rem;
}

.legal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-body li {
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.footer-brand .nav-logo .logo-text {
    color: #ffffff;
}

.footer-nav h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-nav a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #94a3b8;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    /* Mobile Nav */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem 1.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 0.7rem 0;
    }

    .btn-nav {
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 8rem 0 4rem;
    }

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

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    /* Grids */
    .features-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* Services */
    .service-block-header {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .article-header h2 {
        font-size: 1.4rem;
    }
}
