﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    /* Color Palette - Jass Group Corporate Swiss Style */
    --primary-bg: #0A0A0A;
    --secondary-bg: #111111;
    --accent-color: #1D4ED8;
    /* Royal Blue */
    --brand-navy: #0A1128;
    /* Deep Navy */
    --accent-glow: rgba(29, 78, 216, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dark: #6B7280;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-primary: linear-gradient(135deg, #0A1128 0%, #1D4ED8 100%);
    --gradient-dark: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);

    /* Spacing & Sizes */
    --container-width: 1280px;
    --section-padding: 8rem 0;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-glow: 0 0 30px 0 rgba(99, 102, 241, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: var(--section-padding);
}

.bg-darker {
    background-color: var(--primary-bg);
}

.bg-dark {
    background-color: var(--secondary-bg);
}

/* Typography */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.leading {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent-color);
}

/* Cards & Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: start;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.glass-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

/* Specific Section Styles */
.section-head {
    text-align: center;
    margin-bottom: 5rem;
}

.section-head h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* Badge */
.badge {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: inline-block;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea,
select {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    color: white;
    outline: none;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Utility */
.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.rounded {
    border-radius: 1.5rem;
}

.shadow {
    box-shadow: var(--shadow-glow);
}

/* Responsive */
@media (max-width: 1024px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.8rem;
    }

    section {
        padding: 5rem 0;
    }
}

/* Enhanced Button Styles for Hero Cards */
.reg-path-card .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.reg-path-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.reg-path-card:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.reg-path-card:hover .btn::before {
    width: 100%;
}

/* Specific Colors for clarity */
.btn-primary {
    background: var(--accent-gradient);
    border: none;
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: white;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* Final Mobile Polish */
@media (max-width: 768px) {
    body {
        font-size: 15px;
        /* Slightly larger text for mobile readability */
    }

    h1 {
        font-size: 2.5rem !important;
        /* Ensure headers don't overflow */
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem !important;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .glass-card {
        padding: 1.5rem !important;
        /* Consistent padding on mobile cards */
    }

    section {
        padding: 4rem 0 !important;
        /* Better section spacing on mobile */
    }

    /* Fix sticky navigation overlap on mobile */
    main {
        padding-top: 80px !important;
    }
}

/* Footer Styling */
footer .logo-text {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0.8;
}

.nav-links-vertical {
    list-style: none;
    padding: 0;
}

.nav-links-vertical li {
    margin-bottom: 0.8rem;
}

.nav-links-vertical a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.nav-links-vertical a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem;
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.newsletter-form button {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-col {
        text-align: center;
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .nav-links-vertical-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Stat Card Enhancements */
.stat-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: 0 10px 40px -10px var(--accent-glow);
}

.stat-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(29, 78, 216, 0.1);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(29, 78, 216, 0.2);
}

.stat-card h2 {
    transition: var(--transition);
}

.stat-card:hover h2 {
    transform: scale(1.05);
}

@keyframes glow-pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

.stats-glow-1,
.stats-glow-2 {
    animation: glow-pulse 10s infinite ease-in-out;
}