:root{
    --primary-color: #1C1D21;
    --secondary-color: #FDFDFD;
    --accent-color: #4C6CA6;
    --primary-text: 'Lato', sans-serif;
    --secondary-text: 'baskervville', serif;
}
body{
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    font-family: 'baskervville', serif;
    background-color: var(--primary-color);
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo-header {
    width: auto;
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
}

/* Hero Explainer Video Styles */
.hero-explainer {
    width: auto;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.video-container {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    flex-shrink: 0;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.play-pause-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 0;
}

.play-pause-btn:hover {
    opacity: 0.8;
}

.play-pause-icon {
    display: inline-block;
}

/* Hero Text Styles */
.hero-text {
    color: var(--secondary-color);
    font-size: 10rem;
    font-weight: 300;
    font-family: var(--secondary-text);
    text-align: left;
    z-index: 5;
    margin: 100px 0 30px 5%;
    max-width: 90%;
    line-height: 1.3;
}

#rotating-word {
    color: var(--secondary-color);
    display: inline-block;
    min-width: 200px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#rotating-word.scroll-up {
    animation: scrollUp 0.5s ease-in-out forwards;
}

@keyframes scrollUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtext */
.hero-subtext {
    color: var(--secondary-color);
    font-family: var(--primary-text);
    font-size: 1.1rem;
    font-weight: 300;
    text-align: right;
    z-index: 5;
    margin: 30px auto 50px auto;
    max-width: 40%;
    line-height: 1.8;
    margin-left: auto;
    margin-right: 5%;
}

/* Get Started Button */
.get-started-btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 108, 166, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--secondary-text);
}

.get-started-btn:hover {
    background-color: #3a5080;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 108, 166, 0.5);
}

.get-started-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 108, 166, 0.3);
}

/* Tagline */
.tagline {
    color: var(--secondary-color);
    font-family: var(--primary-text);
    font-size: 3.5rem;
    font-weight: 300;
    text-align: center;
    margin: 150px 0 20px 0;
    padding: 0 5%;
    line-height: 1.5;
    letter-spacing: -0.5px;
}

.tagline-word {
    cursor: pointer;
    color: var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    font-weight: 100;
    font-family: var(--secondary-text);
    display: inline-block;
}

.tagline-word:hover {
    opacity: 1;
    color: #7A94BF;
    text-decoration: underline;
    text-decoration-color: #7A94BF;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/* Tagline Content */
#tagline-content {
    text-align: center;
    margin: 40px 0 80px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-text {
    color: var(--secondary-color);
    font-family: var(--primary-text);
    font-size: 1.6rem;
    font-weight: 100;
    max-width: 70%;
    margin: 0 auto;
    line-height: 1.9;
    opacity: 1;
    animation: fadeInText 0.5s ease-in-out;
}

.tagline-text.hidden {
    display: none;
    opacity: 0;
}
.animated-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.animated-list li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.5s ease forwards;
}

/* Stagger */
.animated-list li:nth-child(1) { animation-delay: 0.05s; }
.animated-list li:nth-child(2) { animation-delay: 0.15s; }
.animated-list li:nth-child(3) { animation-delay: 0.25s; }
.animated-list li:nth-child(4) { animation-delay: 0.35s; }
.animated-list li:nth-child(5) { animation-delay: 0.45s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Process Section */
#process {
    padding: 120px 5% 160px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-heading {
    color: var(--secondary-color);
    font-family: var(--secondary-text);
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 100px;
}

/* Timeline */
.timeline {
    position: relative;
    margin-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.15);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 90px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

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

/* Roll back up when scrolling up */
.timeline-item.out {
    opacity: 0;
    transform: translateY(40px);
}

.timeline-step {
    position: absolute;
    left: -20px;
    top: 0;
    font-family: var(--secondary-text);
    font-size: 1.2rem;
    color: var(--accent-color);
}

.timeline-item h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin: 0 0 12px 0;
    font-family: var(--primary-text);
    font-weight: 400;
}

.timeline-item p {
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 650px;
    font-family: var(--primary-text);
}
/* Shared Section Heading */
.section-heading {
    color: var(--secondary-color);
    font-family: var(--secondary-text);
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
}

/* WHY US */
#why-us {
    max-width: 900px;
    margin: 0 auto 160px;
    padding: 0 5%;
    text-align: center;
    font-family: var(--primary-text);
}

.why-lead {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-family: var(--primary-text);
}

.why-points p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin: 12px 0;
    font-family: var(--primary-text);
}

.why-closing {
    margin-top: 50px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    line-height: 1.8;
    font-family: var(--primary-text);
}

.why-footnote {
    margin-top: 30px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--primary-text);
}

/* CTA */
#cta {
    padding: 140px 5% 180px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.02),
        rgba(255,255,255,0)
    );
}

.cta-lead {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.7;
    font-family: var(--primary-text);
}

.cta-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
    font-family: var(--primary-text);
}

.cta-btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 18px 56px;
    font-size: 1.1rem;
    font-family: var(--secondary-text);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background-color: #3a5080;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76,108,166,0.4);
}
/* WhatsApp Floating Button — Brand Styled */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(76,108,166,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 40px rgba(76,108,166,0.65);
}

/* Footer */
#site-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 100px 5% 40px;
    color: var(--secondary-color);
    background-color: var(--primary-color);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 60px;
}

.footer-about h3 {
    font-family: var(--secondary-text);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-color);
    max-width: 420px;
    font-family: var(--primary-text);
}

.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    font-family: var(--primary-text);
}

.footer-contact a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-about p {
        margin: 0 auto;
    }

    .social-links {
        align-items: center;
    }
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-top: 0;
    text-align: center;
}

.close {
    color: var(--secondary-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: var(--accent-color);
}

/* Form Styles */
#contactForm {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--secondary-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(76, 108, 166, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #3a5080;
    transform: scale(1.02);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-text {
        font-size: 6rem;
    }

    .hero-subtext {
        max-width: 70%;
        font-size: 1rem;
    }

    .tagline {
        font-size: 2.6rem;
    }

    .timeline {
        margin-left: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-text {
        font-size: 4rem;
        margin-left: 5%;
    }

    .hero-subtext {
        max-width: 90%;
        text-align: left;
        margin-right: auto;
    }

    .tagline {
        font-size: 2rem;
        line-height: 1.4;
    }

    .tagline-text {
        font-size: 1.2rem;
        max-width: 90%;
    }

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

    .timeline-item {
        padding-left: 40px;
    }

    .process-heading,
    .section-heading {
        font-size: 2.2rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 320px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-text {
        font-size: 3.2rem;
    }

    .get-started-btn {
        width: 90%;
    }

    .footer-about p,
    .footer-contact p {
        font-size: 0.95rem;
    }
}
