/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* Root Variables */
:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #14b8a6;
    --dark-color: #1e293b;
    --light-bg: #f8fafc;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-5: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-6: linear-gradient(135deg, #f77062 0%, #fe5196 100%);
    --gradient-7: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--dark-color);
}

h1, h2, h3 {
    font-weight: 600;
}

h1 {
    font-family: 'Playfair Display', serif;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9)), 
                url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?q=80&w=2670') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-section .btn {
    padding: 12px 40px;
    font-size: 1.1rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.canada-flag {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.flag-icon {
    width: 30px;
    height: auto;
}

.inline-flag {
    width: 20px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
}

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

/* About Section */
#about {
    padding: 100px 0;
    background: var(--light-bg);
}

#about h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
}

#about p {
    line-height: 1.8;
    color: #64748b;
    font-size: 1.1rem;
}

#about img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.02);
}

.location-badge {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
}

.location-badge i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Services Section - Complete Redesign */
#services {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

#services h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Override Bootstrap's row class for services */
#services .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:nth-child(2)::before {
    background: var(--gradient-2);
}

.service-card:nth-child(3)::before {
    background: var(--gradient-3);
}

.service-card:nth-child(4)::before {
    background: var(--gradient-4);
}

.service-card:nth-child(5)::before {
    background: var(--gradient-5);
}

.service-card:nth-child(6)::before {
    background: var(--gradient-6);
}

.service-card:nth-child(7)::before {
    background: var(--gradient-7);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-color);
}

.service-card:nth-child(2) .service-icon {
    border-color: #f093fb;
}

.service-card:nth-child(3) .service-icon {
    border-color: #4facfe;
}

.service-card:nth-child(4) .service-icon {
    border-color: #fa709a;
}

.service-card:nth-child(5) .service-icon {
    border-color: #43e97b;
}

.service-card:nth-child(6) .service-icon {
    border-color: #f77062;
}

.service-card:nth-child(7) .service-icon {
    border-color: #a8edea;
}

.service-icon img,
.service-icon svg {
    width: 50px;
    height: 50px;
}

.service-card h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background: var(--light-bg);
}

#contact h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
    padding: 50px 0 !important;
}

.social-icons a {
    display: inline-block;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons i {
    transition: color 0.3s ease;
}

.social-icons a:hover i {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p.lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .canada-flag {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .flag-icon {
        width: 25px;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    /* About Section Mobile */
    #about {
        padding: 60px 0;
    }
    
    #about h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    #about p {
        font-size: 1rem;
    }
    
    #about img {
        margin-top: 30px;
    }
    
    .location-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    /* Services Section Mobile */
    #services {
        padding: 60px 0;
    }
    
    #services h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-icon img {
        width: 40px;
        height: 40px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Contact Section Mobile */
    #contact {
        padding: 60px 0;
    }
    
    #contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Footer Mobile */
    footer {
        padding: 30px 0 !important;
    }
    
    .social-icons a {
        margin: 0 10px;
    }
    
    .social-icons i {
        font-size: 1.5rem !important;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Animations */
[data-aos] {
    transition-property: transform, opacity !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}