/* =================================
   RESET & BASE
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend Deca', sans-serif;
    background: #0e0e0e;
    color: #e5e5e5;
    line-height: 1.6;
    padding-top: 70px;
    overflow-x: hidden;
}

/* =================================
   FAKE CODE BACKGROUND
================================= */
section,
.hero,
.navbar {
    position: relative;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 22px,
        rgba(255,255,255,0.03) 23px
    );
}

.animated-background::before {
    content: 
        "if(auth.valid){ access.granted(); }\n"
        "validate(input);\n"
        "token.rotate();\n"
        "session.check();\n"
        "policy.enforce();\n"
        "request.sanitize();\n"
        "auth.verify();\n"
        "log.audit(event);\n";
    white-space: pre;
    position: absolute;
    inset: 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(255,255,255,0.05);
    padding: 40px;
    animation: scrollCode 40s linear infinite;
}

@keyframes scrollCode {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* =================================
   CONTAINER
================================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* =================================
   NAVBAR
================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15,15,15,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #f5f5f5;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
}

.logo-text:hover {
    opacity: 0.85;
}

/* =========================
   NAV MENU
========================= */
.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #e5e5e5;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(90deg, #e5e5e5, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    background: #e5e5e5;
    border-radius: 1px;
}

/* =================================
   HERO SECTION
================================= */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-content {
    max-width: 720px;
    margin: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #e5e5e5, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #d0d0d0, #f5f5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    margin: 20px 0 32px;
    color: #a3a3a3;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =================================
   BUTTONS
================================= */
.btn {
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    color: #e5e5e5;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: #ffffff;
    color: #0e0e0e;
}

/* =================================
   SECTIONS
================================= */
section {
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* subtle divider */
}

section:nth-child(even) {
    background: rgba(15,15,15,0.95);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #e5e5e5, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    margin-top: 8px;
    color: #9a9a9a;
}

/* =================================
   SERVICE CARDS & SOLUTIONS
================================= */
.services-grid,
.solutions-content,
.methodology-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card,
.solution-item,
.methodology-step {
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.solution-item:hover,
.methodology-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.service-title {
    font-weight: 600;
    background: linear-gradient(90deg, #d0d0d0, #f5f5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.service-description {
    color: #b5b5b5;
}

/* =================================
   METHODOLOGY KEYWORDS
================================= */
.step-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.step-keywords span {
    display: inline-block;
    margin: 6px 6px 0 0;
    padding: 4px 10px;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #cfcfcf;
}

/* =================================
   CONTACT SECTION FIX
================================= */
.contact {
    position: relative;
    padding: 100px 20px;
    background: #0e0e0e;
    color: #e5e5e5;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact .section-title {
    font-size: 2rem;
    color: #ffffff;
}

.contact .section-subtitle {
    color: #aaa;
    font-size: 1rem;
}

/* Centered Calendly button */
.contact-button {
    display: flex;
    justify-content: center; /* center horizontally */
    margin-bottom: 60px;
}

.contact-button .btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #e74c3c;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.contact-button .btn-primary:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* Contact info flex container */
.contact-info {
    display: flex;
    justify-content: center; /* center horizontally */
    gap: 60px; /* space between items */
    flex-wrap: wrap; /* wrap on smaller screens */
    max-width: 800px;
    margin: 0 auto;
}

/* Individual contact items */
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* center text inside each item */
    text-align: center;
}

.contact-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    color: #ccc;
    font-size: 1rem;
}

/* =================================
   FOOTER
================================= */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer a {
    color: #b5b5b5;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    color: #8a8a8a;
    font-size: 0.85rem;
}

/* =================================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
    .services-grid,
    .solutions-content,
    .methodology-flow,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    section {
        padding: 70px 0;
    }

    .services-grid,
    .solutions-content,
    .methodology-flow,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        gap: 30px;
    }

    #scheduleMeeting {
        width: 80%;
        max-width: 300px;
    }
}
