:root {
    /* Brand Colors */
    --primary-color: #0F172A;
    /* Deep Navy - Professional & Trust */
    --primary-light: #1E293B;
    --accent-color: #06B6D4;
    /* Cyan/Teal - Tech & Growth */
    --accent-hover: #0891B2;
    --secondary-accent: #8B5CF6;
    /* Violet - Creative/Innovation */

    /* Neutrals */
    --text-main: #1F293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-surface: #F1F5F9;
    --border-color: #E2E8F0;

    /* Status */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1280px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: #f1f5f9;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu .btn {
    margin-left: 0.5rem;
    /* Additional separation for the CTA */
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    /* Slightly bolder for better visibility */
    font-size: 0.9rem;
    /* Slightly smaller to fit better */
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05), transparent 40%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Features/Departments */
.feature-box {
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-box:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* Footer Modern Redesign */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer-grid-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-img {
    max-height: 52px;
    width: auto;
}

.footer-logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 4px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

/* Header Logo Styling */
.nav-logo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-logo-title {
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--primary-color);
}

.nav-logo-slogan {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Newsletter Styles */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter h5 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    color: white;
    outline: none;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer Right Side */
.footer-right {
    display: flex;
    flex-direction: column;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: white;
    padding-left: 8px;
}

/* Contact Specifics */
.contact-list li {
    display: flex;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-list li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive Footer Updates */
@media (max-width: 1024px) {
    .footer-grid-top {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-left {
        max-width: 500px;
    }

    .footer-links-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-links-group {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    /* Mobile menu needed */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-toggle-label {
        display: block;
        /* Shown on mobile */
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Glassmorphism & Modern Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, background 0.1s;
    mix-blend-mode: difference;
}

.custom-cursor.hovered {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(255, 255, 255, 0.2);
    border-color: transparent;
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none !important;
    }
}

/* Floating Background Icons */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s infinite linear;
}

@keyframes floatShape {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* Stats Counter */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.pricing-card.featured {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured * {
    color: white;
}

.pricing-card.featured .btn-outline {
    border-color: white;
    color: white;
}

.pricing-card.featured .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Fix */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Focus more on top-center for faces */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Team Card Hover Overrides */
.team-card:hover .team-socials {
    transform: translateY(0) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Decorative Elements */
.bg-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    z-index: -1;
    opacity: 0.5;
    background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
    background-size: 20px 20px;
}

.bg-dot-blue {
    background-image: radial-gradient(#4f46e5 2px, transparent 2px);
}

.bg-dot-orange {
    background-image: radial-gradient(#f97316 2px, transparent 2px);
}

.bg-circle {
    position: absolute;
    border: 2px solid rgba(147, 51, 234, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Card Variants */
.card-dept {
    transition: all 0.3s ease;
    border: none;
    border-radius: 20px;
}

.card-dept.purple {
    background: #f5f3ff;
    color: #5b21b6;
}

.card-dept.green {
    background: #f0fdf4;
    color: #166534;
}

.card-dept.orange {
    background: #fff7ed;
    color: #9a3412;
}

.card-dept.blue {
    background: #eff6ff;
    color: #1e40af;
}

.card-dept.yellow {
    background: #fefce8;
    color: #854d0e;
}

.card-dept.pink {
    background: #fdf2f8;
    color: #9d174d;
}

.card-dept:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.hero-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.floating-card-stats {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}