:root {
    --deep-blue: #211C6A;
    --cyan: #59B4C3;
    --neon-green: #74E291;
    --pale-yellow: #EFF396;

    --bg-color: #ffffff;
    --bg-alt: #f4f6f8;
    --text-color: #1a1a2e;
    --text-muted: #555566;
    --input-bg: #ffffff;
    --nav-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- NAVBAR --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 70px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: flex-end;
}

header.scrolled .logo {
    display: flex;
}

header.scrolled .nav-links a {
    color: var(--deep-blue);
    text-shadow: none;
}

header.scrolled .hamburger .bar {
    background-color: var(--deep-blue);
}

header.scrolled .logo img {
    filter: grayscale(100%) brightness(0.4);
}

/* Header Solid (for inner pages) */
header.header-solid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: flex-end;
}

header.header-solid .logo {
    display: flex;
}

header.header-solid .nav-links a {
    color: var(--deep-blue);
    text-shadow: none;
}

header.header-solid .hamburger .bar {
    background-color: var(--deep-blue);
}

header.header-solid .logo img {
    filter: grayscale(100%) brightness(0.4);
}

/* LOGO AREA */
.logo {
    display: none;
    height: 70px;
    cursor: pointer;
    align-items: center;
    z-index: 1001;
    padding: 5px 0;
}

.logo img {
    height: 100%;
    width: auto;
    filter: grayscale(100%) brightness(2) opacity(0.8);
    /* Gray/Premium look */
}

.logo-icon {
    font-size: 2rem;
    color: var(--cyan);
    filter: drop-shadow(0 0 5px rgba(89, 180, 195, 0.5));
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.9;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--cyan);
}

.btn-cta {
    padding: 10px 25px;
    background: #ffffff;
    color: var(--deep-blue) !important;
    font-weight: 600 !important;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    transform: translateY(-2px);
    background: var(--cyan);
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(89, 180, 195, 0.4);
}

header.scrolled .btn-cta,
header.header-solid .btn-cta {
    background: var(--deep-blue);
    color: #ffffff !important;
}

header.scrolled .btn-cta:hover,
header.header-solid .btn-cta:hover {
    background: var(--cyan);
    color: #ffffff !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
    margin-top: 0;
}

.hero-banner-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-banner-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.8rem;
    color: var(--cyan);
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

section:not(.hero) {
    padding: 100px 5%;
}

.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--deep-blue);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- ABOUT US --- */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text a {
    word-break: break-all;
}

.highlight {
    color: var(--deep-blue);
    font-weight: 600;
}

/* --- HOW WE WORK (GRID) --- */
.grid-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-process {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(89, 180, 195, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-process:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    background: #f0f2f5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 2rem;
    color: var(--deep-blue);
    margin-bottom: 20px;
    background: rgba(89, 180, 195, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card-process h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--deep-blue);
}

.card-process p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- CTA SECTION (FULL WIDTH) --- */
.cta-section {
    text-align: center;
    padding: 120px 5%;
    background: linear-gradient(-45deg, #02020a, var(--deep-blue), #02020a, #302b63, #02020a);
    background-size: 400% 400%;
    animation: gradientBG 8s ease infinite;
    color: #fff;
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-highlight {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(89, 180, 195, 0.6);
}

.cta-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.btn-cta-large {
    display: inline-block;
    padding: 20px 50px;
    background: var(--cyan);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(89, 180, 195, 0.4);
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.btn-cta-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 50px rgba(89, 180, 195, 0.7);
    background: #fff;
    color: var(--deep-blue);
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-top: 5px;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--deep-blue);
}

.info-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-content a:hover {
    color: var(--cyan);
}

.contact-form-container {
    flex: 1.5;
    min-width: 300px;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(89, 180, 195, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--deep-blue);
    box-shadow: 0 0 10px rgba(33, 28, 106, 0.1);
    background: #ffffff;
}

textarea {
    resize: vertical;
    height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--cyan);
    color: #ffffff;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(33, 28, 106, 0.4);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER --- */
footer {
    padding: 40px;
    text-align: center;
    background: var(--deep-blue);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    text-decoration: none;
}

footer a:hover {
    color: var(--cyan);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 5%;
        width: 90%;
        height: auto;
        background: #f4f6f8;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px 0 0 0;
        margin: 0;
        transition: all 0.4s ease;
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: all;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px;
        font-weight: 600;
        color: var(--deep-blue);
        text-shadow: none;
    }

    .nav-links .btn-cta {
        width: 80%;
        margin: 30px auto;
        padding: 12px;
        display: block;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    section:not(.hero) {
        padding: 80px 5%;
    }

    header {
        transform: translateY(-100%);
    }

    header.scrolled, header.header-solid {
        transform: translateY(0);
    }

    .hero {
        background: none !important;
        height: auto !important;
        min-height: auto !important;
        display: block;
        padding: 0;
        margin-top: 0;
        position: relative;
    }

    .hero::before {
        display: none !important;
    }

    .hero::after {
        display: none !important;
    }

    .hero-banner-wrapper {
        display: block;
        position: relative;
        width: 100%;
        height: auto; /* Reset height for mobile */
        margin-top: 0;
    }

    .hero-banner-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain; /* Ensure full image visibility on mobile */
        display: block;
    }

    .hero-banner-wrapper .overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120px; /* Height of navbar + some bleed */
        background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
        z-index: 1;
        pointer-events: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

/* --- FORM SUCCESS ANIMATION --- */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 300px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(89, 180, 195, 0.4);
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon i {
    font-size: 40px;
    color: #fff;
}

.success-message h3 {
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.success-message p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Loading Button State */
.btn-submit.loading {
    background: var(--text-muted);
    pointer-events: none;
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}