/* ========================================
   Global Styles & Variables
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f172a;
    --primary-blue: #0066cc;
    --accent-blue: #0052a3;
    --secondary-gray: #64748b;
    --light-gray: #f8fafc;
    --border-gray: #e2e8f0;
    --white: #ffffff;
    --text-dark: #1e293b;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* ========================================
   Animations
   ======================================== */

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

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

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--secondary-gray);
}

/* ========================================
   Utility Classes
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 14px 36px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 14px 36px;
    border: 2px solid var(--primary-blue);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.2);
}

.btn-full-width {
    width: 100%;
    padding: 16px 0;
}

.section {
    padding: 100px 0;
}

.section.light {
    background: var(--light-gray);
}

/* ========================================
   Header & Navigation
   ======================================== */

header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

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

nav a:hover,
nav a.active {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ========================================
   Footer
   ======================================== */

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

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

.footer-col a:hover {
    color: var(--primary-blue);
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========================================
   Scroll Top Button
   ======================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

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

.scroll-top:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
}

/* ========================================
   Section Title
   ======================================== */

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--secondary-gray);
    margin-top: 20px;
}

/* ========================================
   Highlight Text
   ======================================== */

.highlight-text {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ========================================
   CTA Banner
   ======================================== */

.cta-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 100px 0;
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.2);
}

.cta-banner h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.cta-banner .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-banner .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    nav ul {
        gap: 30px;
    }

    nav a {
        font-size: 14px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        display: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }

    .section {
        padding: 50px 0;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

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

    nav ul {
        gap: 0;
    }

    .logo-icon {
        display: none;
    }

    .cta-banner {
        padding: 40px 20px;
        margin: 60px 0;
    }
}
