/* ==========================================
   RESET & VARIABLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark: #0a0a0a;
    --gray: #e8e8e8; /* Changed to off-white */
    --light-gray: #e8e8e8; /* Changed to off-white */
    --white: #ffffff;
    --off-white: #e8e8e8;
    --yellow: #FFB800;
    --teal: #00BCD4;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--teal));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 184, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    height: 60px;
    display: flex;
    align-items: center;  /* This is new - helps center the logo */
}

.logo img {
    height: 100%;
    width: auto;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--yellow);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--yellow);
    color: var(--black) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #FFC933;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.4);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    margin-top: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--yellow), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.emphasis-text {
    font-size: 1.25em;
    font-weight: 600;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--light-gray);
    line-height: 1.7;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-stat-card {
    padding: 2.5rem;
    background: var(--dark);
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.hero-stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--yellow);
    box-shadow: 0 20px 50px rgba(255, 184, 0, 0.3);
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 1.1rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-stat-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   Sections
   ========================================== */
.categories {
    padding: 7rem 0;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.85rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--yellow);  
}

.section-header p {
    font-size: 1.2rem;
    color: var(--off-white);
}

/* ==========================================
  Categories
   ========================================== */

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

.category-card {
    padding: 2rem;
    background: var(--black);
    border: 2px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.category-card:hover {
    border-color: var(--teal);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.3);
}

.category-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--yellow);
    transition: color 0.3s ease;
}

.category-card:hover h4 {
    color: var(--teal);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   TIMELINE
   ========================================== */
.platform {
    padding: 7rem 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 100px;
    width: 2px;
    background: linear-gradient(180deg, var(--yellow), var(--teal));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

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

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--black);
    border: 3px solid var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--yellow);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem 2rem;
    background: var(--dark);
    border: 2px solid rgba(255, 184, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--teal);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--yellow);
}

.timeline-content p {
    color: var(--gray);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
    padding: 7rem 0;
    background: var(--dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding: 3rem;
    background: var(--black);
    border-radius: 16px;
    border: 2px solid rgba(255, 184, 0, 0.2);
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--yellow);
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-item svg {
    stroke: var(--yellow);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--yellow);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.05rem;
    color: var(--off-white);
    font-weight: 500;
}

.contact-form {
    padding: 3rem;
    background: var(--black);
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-radius: 16px;
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column;
}

#contactForm {
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex: 1;
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-message.show {
    opacity: 1;
    transform: scale(1);
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 3rem auto;
}

.checkmark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #4BB543;
    stroke-miterlimit: 10;
    filter: drop-shadow(0 0 20px rgba(75, 181, 67, 0.3));
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: #4BB543;
    fill: rgba(75, 181, 67, 0.15);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #4BB543;
    stroke-width: 4;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-message h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--off-white);
    font-weight: 800;
}

.success-message p {
    font-size: 1.15rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.btn-submit-another {
    padding: 1.2rem 3rem;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit-another:hover {
    background: #FFC933;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 184, 0, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-gray);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
    transform: translateY(-2px);
}

.form-group select option {
    background: var(--black);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #FFC933;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.4);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr auto auto;
    gap: 6rem;
    margin-bottom: 3rem;
    justify-content: space-between;
}

.footer-column:last-child,
.footer-column:nth-child(2) {
    justify-self: end;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 100%;
    width: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    color: var(--yellow);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 28px;
    height: 28px;
}

.footer-bottom {
    text-align: right;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hero {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-description .emphasis-text {
        font-size: 1.1rem;  /* Match body text size on mobile */
        display: block;
        line-height: 1.4;
    }
    

    .hero-stat-number {
        font-size: 2.5rem;
    }

    .categories {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .platform {
        padding: 4rem 0;
    }

    .timeline::before {
        left: 19px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 2rem;
        min-height: 600px;
    }

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

    .success-icon {
        width: 100px;
        height: 100px;
    }

    .checkmark {
        width: 100px;
        height: 100px;
    }

    .logo {
        height: 50px;
    }

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

    .footer-column:last-child,
    .footer-column:nth-child(2) {
        justify-self: start;
        margin-left: 0.4rem;  /* ADD THIS LINE - pushes right */
    }

    .footer-logo {
        height: 50px;
    }

    .footer-bottom {
        text-align: center;
    }
}
