/* ===== CSS Variables ===== */
:root {
    /* Colors - Based on Logo */
    --primary-color: #1a3a5c;
    --primary-dark: #0f2840;
    --primary-light: #2a5a8c;
    --accent-color: #c9a962;
    --text-dark: #1a1a2e;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 58, 92, 0.95) 0%, rgba(15, 40, 64, 0.9) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 30px rgba(26, 58, 92, 0.3);

    /* Typography */
    --font-family: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    position: relative;
}

.section__subtitle::before,
.section__subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
}

.section__subtitle::before {
    left: -40px;
}

.section__subtitle::after {
    right: -40px;
}

.section__title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 58, 92, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn--secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn--large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

.nav__logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo-img {
    height: 45px;
}

.nav__list {
    display: flex;
    gap: 40px;
}

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav__link {
    color: var(--text-dark);
}

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

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

.nav__toggle {
    display: none;
    font-size: 24px;
    color: var(--text-white);
    cursor: pointer;
}

.header.scrolled .nav__toggle {
    color: var(--text-dark);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0f2840 0%, #1a3a5c 30%, #1e4a6e 60%, #0f2840 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero__overlay {
    display: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    padding: 20px;
}

.hero__title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero__title span {
    display: block;
}

.hero__title-accent {
    color: var(--accent-color);
}

.hero__subtitle {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero__description {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

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

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__text {
    padding-right: 20px;
}

.about__text p {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about__text strong {
    color: var(--primary-color);
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 24px;
    flex-shrink: 0;
}

.feature__content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature__content p {
    font-size: 14px;
    color: var(--text-light);
}

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

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--text-white);
    font-size: 32px;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card__text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

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

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact__card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.contact__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact__card.highlight {
    background: #25D366;
    color: var(--text-white);
}

.contact__card.highlight .contact__card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.contact__card.highlight h3,
.contact__card.highlight a {
    color: var(--text-white);
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contact__card-content h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 3px;
}

.contact__card-content p,
.contact__card-content a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact__card-content a:hover {
    color: var(--primary-color);
}

.contact__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cta-box {
    text-align: center;
    padding: 50px;
    background: var(--gradient-primary);
    border-radius: 24px;
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-box .btn--primary {
    background: var(--text-white);
    color: var(--primary-color);
}

.cta-box .btn--primary:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    padding: 50px 0 20px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo-img {
    height: 60px;
    border-radius: 8px;
}

.footer__text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.footer__contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
}

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

.footer__bottom {
    padding-top: 20px;
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-primary);
    z-index: 999;
}

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

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

/* ===== Responsive Design ===== */
@media screen and (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__title {
        font-size: 56px;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 40px;
        transition: var(--transition-normal);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 30px;
    }

    .nav__link {
        color: var(--text-dark);
        font-size: 18px;
    }

    .nav__toggle {
        display: block;
        z-index: 1001;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__subtitle {
        font-size: 22px;
    }

    .section__title {
        font-size: 32px;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__text {
        padding-right: 0;
    }

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

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

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

    .footer__content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 32px;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .section__subtitle::before,
    .section__subtitle::after {
        display: none;
    }
}