/* ===== CSS Variables ===== */
:root {
    --header-height: 4rem;
    
    /* Colors - Blue Theme */
    --primary-color: #0066CC;
    --primary-dark: #004C99;
    --secondary-color: #33A1FD;
    --accent-color: #0056B3;
    --light-blue: #E6F2FF;
    --lighter-blue: #F0F7FF;
    --sky-blue: #87CEEB;
    
    /* Text Colors */
    --text-dark: #1A1A2E;
    --text-medium: #4A5568;
    --text-light: #718096;
    --white: #FFFFFF;
    
    /* Typography */
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Manrope', sans-serif;
    
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.5rem;
    --normal-size: 1.125rem;
    --small-size: 0.938rem;
    --smaller-size: 0.813rem;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Spacing */
    --section-padding: 6rem 0;
    
    /* Shadows */
    --shadow-light: 0 4px 12px rgba(0, 102, 204, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 102, 204, 0.12);
    --shadow-large: 0 16px 48px rgba(0, 102, 204, 0.16);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Responsive Typography */
@media screen and (max-width: 968px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --h3-size: 1.25rem;
        --normal-size: 1rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-size);
    color: var(--text-dark);
    line-height: 1.7;
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 100%);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--text-dark);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

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

.section {
    padding: var(--section-padding);
}

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

.section__subtitle {
    display: inline-block;
    font-size: var(--small-size);
    font-weight: var(--font-semibold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
}

.section__subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.section__title {
    font-size: var(--h2-size);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: var(--font-semibold);
    font-size: var(--normal-size);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    outline: none;
    font-family: var(--body-font);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.button-primary:hover::before {
    left: 100%;
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
}

.button-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.button-full {
    width: 100%;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
}

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

.nav__logo .logo-text {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: var(--font-extrabold);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav__link {
    font-weight: var(--font-medium);
    color: var(--text-medium);
    position: relative;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero__content {
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    display: inline-block;
    font-size: var(--small-size);
    font-weight: var(--font-semibold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero__title {
    font-size: var(--h1-size);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--normal-size);
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__decoration {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(51, 161, 253, 0.1));
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 204, 0.2);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 280px;
    height: 180px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    width: 240px;
    height: 160px;
    top: 45%;
    left: 35%;
    animation-delay: 2s;
}

.card-3 {
    width: 200px;
    height: 140px;
    top: 65%;
    left: 5%;
    animation-delay: 4s;
}

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

.about__content {
    max-width: 900px;
    margin: 0 auto;
}

.about__description {
    font-size: var(--normal-size);
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature__item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--lighter-blue);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.feature__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature__title {
    font-size: var(--h3-size);
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature__description {
    font-size: var(--small-size);
    color: var(--text-medium);
}

/* ===== Services Section ===== */
.services {
    background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--light-blue) 100%);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service__card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.service__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

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

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

.service__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--small-size);
    color: var(--text-medium);
}

.service__list i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact__text {
    font-size: var(--normal-size);
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.contact__item {
    display: flex;
    gap: 1.5rem;
}

.contact__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact__info-text {
    font-size: var(--small-size);
    color: var(--text-medium);
    line-height: 1.6;
}

.contact__info-text a {
    color: var(--primary-color);
}

.contact__info-text a:hover {
    text-decoration: underline;
}

.contact__form-container {
    background: var(--lighter-blue);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 102, 204, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--body-font);
    font-size: var(--normal-size);
    background: var(--white);
    color: var(--text-dark);
    transition: var(--transition-base);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer__logo .logo-text {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--white);
}

.footer__description {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--small-size);
}

.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-semibold);
}

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

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--small-size);
    transition: var(--transition-base);
}

.footer__link:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer__info {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--small-size);
    margin-bottom: 0.5rem;
}

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

.footer__copy {
    font-size: var(--smaller-size);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Scroll Up Button ===== */
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -30%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    z-index: var(--z-fixed);
    transition: var(--transition-base);
}

.scrollup:hover {
    transform: translateY(-5px);
}

.scrollup__icon {
    font-size: 1.25rem;
}

.show-scroll {
    bottom: 2rem;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__decoration {
        display: none;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 6rem 2rem;
        box-shadow: var(--shadow-large);
        transition: var(--transition-base);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
}
