/* =====================
   CSS Variables
   ===================== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --header-height: 4.5rem;
    --transition: all 0.3s ease;
}

/* =====================
   Reset & Base Styles
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    border: none;
    outline: none;
}

/* =====================
   Reusable Classes
   ===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.button__primary {
    background: var(--primary-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.button__primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button__secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button__secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* =====================
   Header & Navigation
   ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scroll-header {
    box-shadow: var(--shadow-md);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav__logo i {
    font-size: 1.75rem;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* =====================
   Home Section
   ===================== */
.home {
    padding-top: calc(var(--header-height) + 3rem);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.home__data {
    animation: fadeInUp 1s ease;
}

.home__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.home__title span {
    color: var(--primary-color);
    display: block;
}

.home__description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.home__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.stat__item {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat__text {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.home__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.home__blob {
    width: 400px;
    height: 400px;
    animation: blob-animate 8s ease-in-out infinite;
}

.home__icon {
    position: absolute;
    font-size: 12rem;
    color: var(--bg-white);
    opacity: 0.9;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blob-animate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    33% {
        transform: scale(1.05) rotate(120deg);
    }
    66% {
        transform: scale(0.95) rotate(240deg);
    }
}

/* =====================
   About Section
   ===================== */
.about {
    background: var(--bg-white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about__img-wrapper {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-xl);
}

.about__img-icon {
    font-size: 10rem;
    color: var(--bg-white);
    opacity: 0.9;
}

.about__description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

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

.about__info-item {
    display: flex;
    gap: 1rem;
}

.about__info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.about__info-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.about__info-item p {
    font-size: 0.938rem;
    color: var(--text-gray);
}

/* =====================
   Services Section
   ===================== */
.services {
    background: var(--bg-gray);
}

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

.service__card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--primary-color);
}

.service__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service__icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.service__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service__description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.service__features i {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

/* =====================
   Benefits Section
   ===================== */
.benefits {
    background: var(--bg-white);
}

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

.benefit__card {
    position: relative;
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.benefit__number {
    position: absolute;
    top: -1.25rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.1;
}

.benefit__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.benefit__icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.benefit__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit__description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* =====================
   Process Section
   ===================== */
.process {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.process__content {
    display: grid;
    gap: 2rem;
}

.process__step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.process__step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step__number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.step__number span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-white);
}

.step__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step__description {
    font-size: 0.938rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.step__icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step__icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* =====================
   Contact Section
   ===================== */
.contact {
    background: var(--bg-white);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact__info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact__info-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact__detail {
    display: flex;
    gap: 1.25rem;
}

.contact__detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact__detail-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact__detail-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact__detail-info p {
    font-size: 0.938rem;
    color: var(--text-gray);
}

.contact__social {
    display: flex;
    gap: 1rem;
}

.contact__social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.contact__social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact__social-link i {
    font-size: 1.125rem;
    color: var(--bg-white);
}

.contact__form-wrapper {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact__form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form__group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form__group-full {
    grid-column: 1 / -1;
}

.form__input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.938rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form__input:focus {
    border-color: var(--primary-color);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__select {
    cursor: pointer;
}

.form__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
}

.form__textarea + .form__icon {
    top: 1.25rem;
    transform: none;
}

.form__button {
    width: 100%;
    margin-top: 0.5rem;
}

.form__message {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.938rem;
    font-weight: 500;
}

.form__message.success {
    color: var(--secondary-color);
}

.form__message.error {
    color: #ef4444;
}

/* =====================
   Footer
   ===================== */
.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer__logo i {
    font-size: 1.75rem;
}

.footer__description {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer__social-link i {
    font-size: 1rem;
    color: var(--bg-white);
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a {
    font-size: 0.938rem;
    color: var(--text-light);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.938rem;
    color: var(--text-light);
}

.footer__contact i {
    font-size: 1rem;
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer__bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
}

.footer__bottom-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer__bottom-links a:hover {
    color: var(--primary-light);
}

.footer__bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* =====================
   Scroll to Top Button
   ===================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.show-scroll {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top i {
    font-size: 1.25rem;
    color: var(--bg-white);
}

/* =====================
   Responsive Design
   ===================== */
@media screen and (max-width: 968px) {
    .section__title {
        font-size: 2rem;
    }

    .home__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home__title {
        font-size: 2.5rem;
    }

    .home__image {
        order: -1;
    }

    .home__blob {
        width: 300px;
        height: 300px;
    }

    .home__icon {
        font-size: 8rem;
    }

    .home__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

    .about__img-wrapper {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .about__img-icon {
        font-size: 8rem;
    }

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

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

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

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

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

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 3.5rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-xl);
        padding: 4rem 2rem;
        transition: var(--transition);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .home {
        padding-top: calc(var(--header-height) + 2rem);
    }

    .home__title {
        font-size: 2rem;
    }

    .home__description {
        font-size: 1rem;
    }

    .home__buttons {
        flex-direction: column;
    }

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

    .stat__number {
        font-size: 2rem;
    }

    .services__content,
    .benefits__content {
        grid-template-columns: 1fr;
    }

    .process__step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step__number {
        margin: 0 auto;
    }

    .step__icon {
        margin: 0 auto;
    }

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

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .home__title {
        font-size: 1.75rem;
    }

    .home__blob {
        width: 250px;
        height: 250px;
    }

    .home__icon {
        font-size: 6rem;
    }

    .button {
        padding: 0.875rem 1.5rem;
        font-size: 0.938rem;
    }

    .service__card,
    .benefit__card {
        padding: 1.5rem;
    }

    .contact__form-wrapper {
        padding: 1.5rem;
    }
}
