/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', sans-serif;
}

:root {
    /* Strict Solid Colors */
    --primary-blue: #1A3399;
    --success-green: #66CC00;
    --highlight-orange: #E65900;
    --accent-yellow: #FFCC0D;

    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-light: #E0E6ED;

    /* Pastel Variants */
    --pastel-blue: #F0F4FF;
    --pastel-green: #F4FCE8;
    --pastel-orange: #FFF4ED;
    --pastel-yellow: #FFFBEA;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.text-orange {
    color: var(--highlight-orange);
}

.text-green {
    color: var(--success-green);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #152A7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 51, 153, 0.1);
    /* Subtle, professional */
}

.btn-secondary {
    background-color: var(--highlight-orange);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #CC4E00;
}

/* Header & Navigation */
.glass-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(224, 230, 237, 0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-left,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-right {
    justify-content: flex-end;
    gap: 20px;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.logo img {
    height: 48px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
}

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

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

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

.nav-cta {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

/* Hero SVG Background Animation */
.hero-bg-svg {
    position: absolute;
    bottom: -150px;
    right: -200px;
    opacity: 0.25;
    z-index: 1;
}

/* About SVG Background Animation */
.about-bg-svg {
    position: absolute;
    bottom: -70px;
    right: -70px;
    opacity: 0.25;
    z-index: 1;
}

.hero-bg-svg .ring,
.about-bg-svg .ring {
    transform-origin: 100px 100px;
}

.ring-blue {
    animation: spin 20s linear infinite;
}

.ring-green {
    animation: spin-reverse 15s linear infinite;
}

.ring-orange {
    animation: spin 12s linear infinite;
}

.ring-yellow {
    animation: spin-reverse 18s linear infinite;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-text {
    flex: 1;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-text h1 {
    margin-bottom: 24px;
    font-size: 4rem;
}

.hero-image-wrapper {
    flex: 1.2;
    text-align: center;
    animation: popIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: scale(0.95);
}

.hero-image-wrapper .mobile-mockup {
    animation: floating 4s ease-in-out infinite alternate;
}

.hero-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 400px 400px;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: rotate(-360deg);
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 60px;
}

.mb-5 {
    margin-bottom: 60px;
}

.py-5 {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--white);
}

/* Section Title Decoration */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 60px;
}

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

/* Base grid System */
.grid {
    display: grid;
    gap: 30px;
}

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

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

/* Premium Pastel Cards */
.card-pastel {
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: none;
}

.card-pastel:hover {
    transform: translateY(-8px);
}

.card-blue {
    background-color: var(--pastel-blue);
}

.card-blue:hover {
    box-shadow: 0 15px 35px rgba(26, 51, 153, 0.15);
}

.card-green {
    background-color: var(--pastel-green);
}

.card-green:hover {
    box-shadow: 0 15px 35px rgba(102, 204, 0, 0.15);
}

.card-orange {
    background-color: var(--pastel-orange);
}

.card-orange:hover {
    box-shadow: 0 15px 35px rgba(230, 89, 0, 0.15);
}

.card-yellow {
    background-color: var(--pastel-yellow);
}

.card-yellow:hover {
    box-shadow: 0 15px 35px rgba(255, 204, 13, 0.15);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

/* Timeline Layout */
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.timeline-content {
    flex: 1;
    background-color: var(--white);
    padding: 25px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(8px);
}

.bullet-list {
    margin-top: 20px;
}

.bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.bullet-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Feature Showcase */
.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

/* Form Styles */
input,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    background-color: var(--white);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 0 30px;
    position: relative;
    border-top: 5px solid var(--accent-yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

.footer-col p,
.footer-col a {
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

.footer-col a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--border-light);
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content,
    .feature-row {
        flex-direction: column !important;
        gap: 40px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    .page-header { display: none !important; }

    .timeline-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .timeline-content {
        width: 100%;
        padding: 20px;
    }

    .nav-links {
        display: none !important;
    }
    
    .grid {
        grid-template-columns: 1fr !important;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 100;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--primary-blue);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
}

/* Offcanvas Menu Styles */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-light);
}

.offcanvas-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--primary-blue);
    cursor: pointer;
    line-height: 1;
}

.offcanvas-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offcanvas-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.offcanvas-links li {
    margin-bottom: 20px;
}

.offcanvas-links a {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.offcanvas-links a.active,
.offcanvas-links a:hover {
    color: var(--highlight-orange);
}

.offcanvas-contact {
    margin-bottom: 40px;
}

.offcanvas-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

/* Mobile Device Mockup */
.mobile-mockup {
    position: relative;
    display: inline-block;
    border: 7px solid #152a7e;
    border-radius: 48px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    background-color: #1a1a1a;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-mockup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 24px;
    background-color: #152a7e;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.mobile-mockup img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 34px;
}

.nav-links a {
    text-transform: uppercase;
}