section {
    scroll-margin-top: 70px; /* Adjust based on your navbar height */
}
body {
    background-color: #F9F3EF;
}

/* Navbar background color */
.navbar {
    background-color: #EDEAE6 !important;
}

/* Navbar text color */
.navbar .nav-link, #title {
    color: #1B3C53 !important;
}

/* Navbar text hover effect */
.navbar .nav-link:hover {
    color: #1a1a1a !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Mobile toggle button color */
.navbar-toggler {
    border-color: #2C2C2C;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.5s; /* Same delay as mobile contact button */
}

/* Rounded square images */
.rounded-square {
    border-radius: 15px !important;
    object-fit: cover;
}

/* Feature text color */
.feature h6 {
    color: #456882 !important;
}

/* Shared animation styles */
.feature, #title, .navbar .nav-link, .navbar .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Profile image animation */
#profile-img {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.6s ease-out forwards;
}

/* Individual animation delays */
.feature {
    transform: translateY(30px);
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }

#title {
    transform: translateY(20px);
    animation-delay: 0.1s;
}

.navbar .nav-link, .navbar .btn {
    transform: translateY(-20px);
    animation-duration: 0.6s;
    transition: color 0.3s ease;
}

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

.navbar .nav-item:nth-child(5) .btn { animation-delay: 0.5s; } /* Desktop Contact button */
.navbar .btn.d-md-none { animation-delay: 0.5s; } /* Mobile Contact button */

/* Keyframe animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-icon {
    width: 4rem !important;
    height: 4rem !important;
    object-fit: contain;
}

/* XXL screens (1400px and above) - larger images and text */
@media (min-width: 1400px) {
    .feature-icon {
        width: 6rem !important;
        height: 6rem !important;
    }
    
    /* Make h1-xl class much larger on XXL screens */
    .h1-xl {
        font-size: 1.5rem !important;
    }
    
    /* Make h2-xl class larger too */
    .h2-xl {
        font-size: 1.2rem !important;
    }
    
    /* Optional: increase spacing */
    .mb-xl-4 {
        margin-bottom: 2rem !important;
    }
}
.about_page h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); /* Responsive font size */
}

.about_page p {
    line-height: 1.5;
    font-size: clamp(0.9rem, 2.5vw, 1.3rem); /* Responsive font size */
    margin-bottom: 1.5rem;
}
.about_text_container {
    padding-right: 3rem;
}
.about .carousel_image {
    margin-left: 5vw;          /* Responsive left margin */
}

.testimonial-card {
    max-width: 400px;
    width: 100%;
}

@media (max-width: 768px) {
    .testimonial-card {
        max-width: 350px;
    }
}