:root {
    --primary-color: #D32F2F; /* Canadian Red */
    --primary-light: #FF5252;
    --primary-dark: #B71C1C;
    --bg-dark: #0A0F1A;
    --bg-darker: #05080F;
    --bg-card: rgba(20, 30, 48, 0.6);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --accent-blue: #1E3A8A;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Utilities */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-medium);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 65px;
    max-width: 280px;
    object-fit: contain;
    transition: var(--transition-medium);
    border-radius: 8px;
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: #333333;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-medium);
}

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

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #333333;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-medium);
}

.mobile-menu.open {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.mt-4 {
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('canada_hero_bg_1781238594049.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 8, 15, 0.95) 0%, rgba(5, 8, 15, 0.7) 50%, rgba(5, 8, 15, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hero-text-container {
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(211, 47, 47, 0.15);
    border: 1px solid rgba(211, 47, 47, 0.3);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    flex: 1;
    min-width: 250px;
    transition: var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 45, 70, 0.6);
    border-color: rgba(211, 47, 47, 0.3);
}

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

.stat-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    padding: 8rem 2rem 0 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.8), rgba(211, 47, 47, 0.1));
}

.visual-icon {
    font-size: 10rem;
    color: var(--primary-light);
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(211,47,47,0.3));
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services-section {
    padding: 8rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.mt-8 {
    margin-top: 6rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.category-title i {
    color: var(--primary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(211, 47, 47, 0.4);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 0 2rem 8rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.cta-container {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 45, 70, 0.8), rgba(10, 15, 26, 0.9));
    border-top: 2px solid var(--primary-dark);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 5rem 2rem 2rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #333333;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 80px !important;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.footer-about p {
    color: #555555;
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: #111111;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a, .footer-contact a {
    color: #555555;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #555555;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #777777;
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links, .nav-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: var(--transition-fast);
}

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

.service-link:hover {
    color: white;
}
