/* Base styles */
/* :root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --background: #f8fafc;
    --foreground: #0f172a;
    --muted: #64748b;
} */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --background: #f8fafc;
    --foreground: #0f172a;
    --muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
}

/* Navbar styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add these new styles for mobile navbar */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        margin: 0 -1rem;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        padding: 0.5rem 1rem;
    }

    .navbar .btn {
        margin: 0.5rem 1rem 1rem 1rem;
        width: calc(100% - 2rem);
    }
}

.navbar-brand {
    font-weight: 800; /* Made slightly bolder */
    color: var(--primary) !important;
    font-size: 1.6rem; /* Slightly larger */
    letter-spacing: -0.5px; /* Tighter letter spacing for modern look */
}

.navbar-brand::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: -12px;
    opacity: 0.8;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Hero section */
.hero {
    background: linear-gradient(to bottom, #f0f7ff, transparent);
    position: relative;
    overflow: hidden;
    padding: 120px 0; /* Default padding for mobile */
}

/* Ensure responsive behavior */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px; /* Slightly less padding on mobile */
    }
}

.decoration-blur {
    position: absolute;
    width: 50%;
    height: 50%;
    background: rgba(219, 234, 254, 0.3);
    border-radius: 50%;
    filter: blur(100px);
}

.top-right {
    top: -25%;
    right: -25%;
}

.bottom-left {
    bottom: -25%;
    left: -25%;
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(219, 234, 254, 0.5);
    color: var(--primary);
    border: 1px solid rgba(219, 234, 254, 0.8);
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    margin-top: 4rem;
    max-width: 1000px; /* Reduced from 1600px to 1000px */
    margin-left: auto;
    margin-right: auto;
}

.image-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01); /* Slight scale to prevent white edges */
}

/* Optimize animation for better performance */
.image-container:hover {
    transform: translateY(-10px);
    will-change: transform;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .hero-image {
        max-width: 80%; /* Adjusted from 90% to 80% */
    }
}

@media (max-width: 768px) {
    .hero-image {
        max-width: 100%;
        margin-top: 2rem;
    }
}

/* Animations */
.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.7s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styles */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.button-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Add these new styles for mobile buttons */
@media (max-width: 576px) {
    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* About section */
.about {
    background: var(--background);
    padding: 12rem 0; /* Keep this for mobile */
}

.about-image {
    position: relative;
    max-width: 100%; /* Full width on mobile */
    margin: 2rem auto 0;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Laptop and larger screens (min-width: 992px) */
@media (min-width: 992px) {
    .hero {
        height: 100vh; /* Full height only on laptop */
        padding: 0; /* Remove padding on laptop */
        display: flex;
        align-items: center;
    }

    .about {
        height: 100vh; /* Full height only on laptop */
        padding: 0; /* Remove padding on laptop */
        display: flex;
        align-items: center;
        margin-top: 2rem; /* Reduced from 8rem to 2rem to decrease space */
    }

    .about-image {
        max-width: 500px; /* Smaller image on laptop */
        margin: 0 auto;
    }
}

/* Mobile styles (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .about .row {
        gap: 2rem;
    }
    
    .profile-image-container {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .profile-image-container {
        max-width: 100%;
    }
}

/* Services section */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(219, 234, 254, 0.8);
}

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

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card .icon-box i {
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.feature-list li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* How It Works section */
.step-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(219, 234, 254, 0.8);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 600;
}

.option-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(219, 234, 254, 0.8);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* Benefits section */
.benefit-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(219, 234, 254, 0.8);
}

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

.benefit-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-card .icon-box i {
    color: white;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer styles */
.footer {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(219, 234, 254, 0.7);
    position: relative;
    overflow: hidden;
}

/* Decorative elements for depth */
.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(
        45deg,
        rgba(219, 234, 254, 0.3),
        rgba(0, 102, 255, 0.1)
    );
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(
        45deg,
        rgba(0, 102, 255, 0.1),
        rgba(219, 234, 254, 0.3)
    );
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

/* Footer content wrapper */
.footer-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-brand h3 {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links a {
    color: var(--muted);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-right: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.social-links a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.1);
}

.footer h5 {
    color: var(--foreground);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.5);
}

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

.footer-contact li {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.footer-contact li i {
    color: var(--primary);
    width: 24px;
    margin-right: 10px;
}

.footer hr {
    border-color: rgba(219, 234, 254, 0.4);
    margin: 2rem 0;
}

.footer-bottom {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-top: 1px solid rgba(219, 234, 254, 0.4);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer .copyright {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .social-links {
        margin-bottom: 2rem;
    }
    
    .footer [class^="col-"] {
        margin-bottom: 2rem;
    }
    
    .footer [class^="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Mobile styles for CTA buttons */
@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem; /* Adds space between buttons when stacked */
    }

    .cta-buttons .btn {
        width: 100%; /* Makes both buttons full width */
        margin: 0; /* Removes default margins */
        padding: 0.75rem 1.5rem; /* Consistent padding */
    }
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
}

.features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.features li {
    margin-bottom: 1rem;
    color: var(--muted);
}

.features li i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.features li i.fa-times {
    color: #dc3545;
}

.pricing-card .btn {
    width: 100%;
    padding: 0.75rem;
}

@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* Contact Section Styles */
.contact {
    background-color: var(--background);
}

.contact-form-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card {
    padding: 2rem;
    text-align: center;
}

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

.contact-info-card h4 {
    margin: 1rem 0;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--muted);
    margin-bottom: 0;
}

/* Form control styles */
.form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.1);
}
