/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip link — hidden but visible on focus for keyboard users */
.skip-link {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    z-index: 9999;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.05), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(45, 212, 191, 0.08), transparent 35%),
                #f7f9fc;
    overflow-x: hidden;
    width: 100%;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #0b4fd3;
    --accent-color: #2dd4bf;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #ffffff;
    --background-light: #f5f7fa;
    --background-dark: #0f1419;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 6px 20px rgba(0, 102, 204, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --glow: 0 0 15px rgba(0, 102, 204, 0.15);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

section {
    padding: 5rem 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 102, 204, 0.12);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary-color), #5b9dff);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(120deg, #0b4fd3, #4b8df5);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(11, 79, 211, 0.28);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 26px rgba(13, 110, 253, 0.12);
}

.btn-secondary:hover {
    background: linear-gradient(120deg, rgba(13, 110, 253, 0.12), rgba(45, 212, 191, 0.18));
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(13, 110, 253, 0.22);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(250, 251, 252, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 48px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.company-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 0.35rem; /* slightly increased touch target */
    display: inline-block;
    border-radius: 10px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
    box-shadow: 0 6px 14px rgba(0, 102, 204, 0.08);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Ensure car leasing link is clickable */
.nav-link[href="car-leasing.html"] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 15px var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== DROPDOWN MENU ===== */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 280px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1100;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.nav-item-dropdown:focus-within .dropdown-menu,
.dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
    display: block; /* override Bootstrap's default display:none */
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(120deg, rgba(13, 110, 253, 0.08), rgba(45, 212, 191, 0.08));
    transform: translateX(4px);
}

.dropdown-item-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.dropdown-item-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ===== HERO SECTION ===== */
.hero {
    /* slightly reduced to improve scroll / UX on mobile */
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 15% 20%, rgba(45, 212, 191, 0.16), transparent 45%),
                radial-gradient(circle at 85% 10%, rgba(13, 110, 253, 0.22), transparent 50%),
                linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(0, 102, 204, 0.08), transparent);
    border-radius: 0 0 0 150px;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
    animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    word-wrap: break-word;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 2rem;
    padding: 0;
}

.hero-points li {
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.15);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-points li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 102, 204, 0.03);
    border: 1px solid rgba(0, 102, 204, 0.15);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.partner-badge:hover {
    background: rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

.partner-logo {
    width: 24px;
    height: 24px;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    word-break: break-word;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
    background: linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,250,255,0.98));
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--border-radius);
    border: 1px solid rgba(13, 110, 253, 0.12);
    box-shadow: 0 14px 36px rgba(13, 110, 253, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    width: 100%;
    backdrop-filter: blur(6px);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.08), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(45, 212, 191, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 20px 44px rgba(13, 110, 253, 0.18);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    height: 120px;
    width: 120px;
}

.icon-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 2px 8px rgba(0, 102, 204, 0.15));
}

/* Reduce size for specific service logos */
.service-card:nth-child(3) .icon-img {
    width: 110px;
    height: 110px;
}

.service-card:nth-child(4) .icon-img {
    width: 70px;
    height: 70px;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* Ensure car leasing button is clickable */
.service-card .btn[href="car-leasing.html"] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.product-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,250,255,0.98));
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(13, 110, 253, 0.15);
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.12);
    max-width: 800px;
    width: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.08), transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.12), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(13, 110, 253, 0.18);
    border-color: rgba(13, 110, 253, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.featured {
    border: 2px solid rgba(13, 110, 253, 0.2);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    transition: transform 0.3s ease;
}

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

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.product-badge {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15), rgba(45, 212, 191, 0.15));
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.product-features {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.product-features h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.product-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* ===== CASE STUDIES ===== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.case-study-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.case-study-card:nth-child(1) { animation-delay: 0.1s; }
.case-study-card:nth-child(2) { animation-delay: 0.2s; }
.case-study-card:nth-child(3) { animation-delay: 0.3s; }

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-study-image {
    height: 200px;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.placeholder-image {
    font-size: 4rem;
    opacity: 0.5;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.case-study-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.case-study-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: inline-flex;
    align-items: center;
}

.case-study-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.tag:hover {
    transform: scale(1.05);
    background: var(--secondary-color);
}

/* ===== ABOUT ===== */
.about {
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05), transparent);
    border-radius: 50%;
    transform: translate(100px, -50%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-details {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    text-align: left;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 0.8s ease-out;
}

.about-details:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.08);
    transform: translateY(-2px);
}

.about-details h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.about-details p {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.about-details p:last-child {
    margin-bottom: 0;
}

.about-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    min-width: 200px;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }

.stat:hover {
    border-color: #d0d0d0;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.1);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== RESOURCES ===== */
.resources {
    background: var(--background-light);
}

.resources-content {
    max-width: 1000px;
    margin: 0 auto;
}

.resource-category {
    margin-bottom: 4rem;
}

.resource-category-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.resource-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

.resource-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.resource-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resource-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.resource-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.resource-details span {
    background: var(--background-light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.resource-type {
    background: var(--primary-color) !important;
    color: white !important;
}

.resource-download {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.resource-download:hover {
    color: var(--secondary-color);
}

.resource-download::after {
    content: '⬇️';
    font-size: 0.8rem;
}

/* ===== FAQ ===== */
.faq {
    background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    background: white;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.faq-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.08);
}

.faq-item.active {
    border-color: rgba(0, 102, 204, 0.35);
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.faq-question:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-secondary);
}

/* ===== PROCESS ===== */
.process {
    background: white;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.05), transparent 45%);
    pointer-events: none;
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: process;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}

.process-step {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.2), transparent);
    opacity: 0.25;
}

.step-number {
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===== CTA BAND ===== */
.cta-band {
    background: linear-gradient(120deg, #0f172a 0%, #1d3a6d 60%, #0077ff 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
    top: -60px;
    right: -80px;
    opacity: 0.8;
    filter: blur(10px);
}

.cta-band-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.cta-band h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cta-band .btn-secondary {
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
}

.cta-band .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

/* ===== FLOATING ACTIONS ===== */
.contact-fab {
    position: fixed;
    bottom: 24px;
    right: clamp(12px, 4vw, 18px);
    left: auto;
    background: var(--primary-color);
    color: white;
    padding: 0.9rem 1.25rem;
    max-width: calc(100% - 32px);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.35);
    transition: var(--transition);
    z-index: 1200;
}

.contact-fab:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

#back-to-top {
    position: fixed;
    bottom: 110px;
    right: clamp(12px, 4vw, 20px);
    left: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.3);
}

body.reduce-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05), transparent);
    border-radius: 50%;
    transform: translate(-100px, -50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    animation: fadeInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }

.contact-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.08);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    animation: fadeInRight 0.6s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
    transition: var(--transition);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #ddd;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.08);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    color: var(--text-light);
    padding: 3.5rem 0 1rem;
    border-top: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.03), transparent);
    border-radius: 50%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-brand:hover {
    transform: translateY(-2px);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-logo {
    height: 150px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.95);
}

.footer-logo:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

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

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes fadeInDown {
    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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 102, 204, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 102, 204, 0.25);
    }
}

/* Animation utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out forwards;
}

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

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

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Stagger animations */
.animate-stagger-1 { animation-delay: 0.1s; }
.animate-stagger-2 { animation-delay: 0.2s; }
.animate-stagger-3 { animation-delay: 0.3s; }
.animate-stagger-4 { animation-delay: 0.4s; }
.animate-stagger-5 { animation-delay: 0.5s; }
.animate-stagger-6 { animation-delay: 0.6s; }

/* Pulse animation for interactive elements */
.pulse-on-hover:hover {
    animation: pulse 1.5s ease-in-out;
}

.glow-on-hover:hover {
    animation: glow 1.5s ease-in-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .contact {
        overflow: hidden;
    }

    .contact::before {
        width: 140%;
        height: 140%;
        top: -20%;
        left: -20%;
        transform: none;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1200;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        padding: 0.85rem 1rem;
    }

    .nav-brand {
        gap: 0.6rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo {
        flex-shrink: 0;
    }

    .company-name {
        display: inline-block;
        /* 140px accounts for: logo (40px) + hamburger menu (44px) + gaps and padding (~56px) */
        max-width: calc(100vw - 140px);
        font-size: 0.85rem;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Mobile dropdown menu styles */
    .nav-item-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        background: rgba(13, 110, 253, 0.05);
        margin-top: 0.5rem;
        padding: 0;
        border: 1px solid rgba(13, 110, 253, 0.15);
        transition: all 0.3s ease;
    }

    .dropdown-menu.mobile-open {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem;
    }

    .dropdown-menu.is-open {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem;
        transform: none;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    /* Mobile products section */
    .product-card {
        padding: 2rem 1.5rem;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-features li {
        font-size: 0.95rem;
    }

    .product-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-points {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-grid,
    .case-studies-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-item {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-details {
        justify-content: center;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        width: 100%;
        padding: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-content {
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-band-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .contact-fab {
        display: none;
    }

    #back-to-top {
        bottom: 82px;
        right: clamp(12px, 4vw, 16px);
    }

    .icon-img {
        width: 100px;
        height: 100px;
    }

    .service-card:nth-child(3) .icon-img {
        width: 95px;
        height: 95px;
    }

    .service-card:nth-child(4) .icon-img {
        width: 60px;
        height: 60px;
    }
}

/* Focus styles for keyboard users */
:focus-visible {
    outline: 3px solid rgba(0,170,136,0.25);
    outline-offset: 3px;
}

.nav-link:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.faq-question:focus-visible {
    outline: 3px solid rgba(0,102,204,0.15);
    border-radius: 6px;
}
