/*
* SmartPlan Engineers & Architects - Custom Styles
* Brand Colors:
* - Green: #82BD42
* - Gray: #707274
*/

/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #82BD42;
    --secondary-color: #707274;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px; /* Add padding for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

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

a:hover {
    color: #6ca035;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #6ca035;
    border-color: #6ca035;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    position: relative;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark-gray);
}

.title-underline {
    height: 4px;
    width: 70px;
    background-color: var(--primary-color);
    margin-bottom: 25px;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

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

.logo-img {
    max-height: 50px;
    width: auto;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    margin-bottom: 10px;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 0;
    position: relative;
}

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

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

/* Admin Panel Link */
.nav-link[href="admin/index.php"] {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    padding: 8px 15px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.nav-link[href="admin/index.php"]:hover {
    background-color: #6ca035;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-link[href="admin/index.php"]:after {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Offset the body padding */
    padding-top: 80px; /* Add padding to account for navbar */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== ABOUT SECTION ===== */
.about-image-container {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 10px;
}

.about-image-container img:hover {
    transform: scale(1.05);
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.05);
}

/* ===== SERVICES SECTION ===== */
.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ===== PROJECTS SECTION ===== */
.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-1 {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.project-2 {
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

.project-3 {
    background-image: url('https://images.unsplash.com/photo-1518780664697-55e3ad937233?ixlib=rb-1.2.1&auto=format&fit=crop&w=1351&q=80');
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    transition: var(--transition);
}

.project-card:hover .project-info {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.project-info h4 {
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* ===== TESTIMONIALS SECTION ===== */
#testimonials {
    background-color: #f8f9fa;
    background-image: 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='%2382BD42' 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");
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

#testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(130, 189, 66, 0.05), transparent);
    z-index: 1;
}

#testimonialCarousel {
    position: relative;
    z-index: 2;
}

.testimonial-row {
    display: flex;
    margin: 0 -15px;
}

.testimonial-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(130, 189, 66, 0.05) 50%);
    border-radius: 0 0 15px 0;
    z-index: 1;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 28px;
    font-weight: 600;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-avatar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    border-radius: 50%;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-meta {
    flex: 1;
}

.testimonial-source {
    display: inline-block;
    margin-bottom: 8px;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-source.google {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
}

.testimonial-source.facebook {
    background: linear-gradient(135deg, #3b5998, #8b9dc3);
    color: white;
}

.testimonial-source.yelp {
    background: linear-gradient(135deg, #d32323, #ff6666);
    color: white;
}

.testimonial-source.manual {
    background: linear-gradient(135deg, var(--secondary-color), #999);
    color: white;
}

.testimonial-source.verified {
    background: linear-gradient(135deg, #34A853, #4285F4);
    color: white;
    margin-left: 5px;
    padding: 5px 10px;
}

.testimonial-rating {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.testimonial-rating .fas.fa-star {
    color: #FFD700;
    filter: drop-shadow(0 2px 3px rgba(255, 215, 0, 0.3));
    margin-right: 2px;
}

.testimonial-rating .far.fa-star {
    color: #ddd;
    margin-right: 2px;
}

.testimonial-text {
    flex: 1;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding: 5px 25px;
    color: #333;
    line-height: 1.7;
    font-family: 'Georgia', serif;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.testimonial-text:before {
    left: 0;
    top: -10px;
}

.testimonial-text:after {
    right: 0;
    bottom: -40px;
}

.testimonial-author {
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 18px;
    position: relative;
}

.testimonial-author:before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.testimonial-author h5 {
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-style: normal;
    padding: 0;
    font-weight: 500;
}

.testimonial-author small {
    opacity: 0.7;
    font-size: 0.8rem;
}

.testimonial-author p:before,
.testimonial-author p:after {
    display: none;
}

/* Carousel Controls */
.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--secondary-color);
    opacity: 0.2;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    opacity: 1;
    width: 40px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0);
    width: 22px;
    height: 22px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(10);
    opacity: 1;
}

/* Custom pagination for two cards per slide */
.testimonial-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-pagination .page-dot {
    width: 30px;
    height: 4px;
    background-color: var(--secondary-color);
    opacity: 0.2;
    margin: 0 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.testimonial-pagination .page-dot.active {
    background-color: var(--primary-color);
    opacity: 1;
    width: 40px;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

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

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-list li a {
    color: var(--dark-gray);
}

.contact-list li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form .form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
}

/* Footer Admin Panel Link */
.footer-links a[href="admin/index.php"] {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    padding: 3px 8px;
    margin-top: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a[href="admin/index.php"]:hover {
    background-color: #6ca035;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

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

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 10px 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.footer .fa-heart {
    color: var(--primary-color);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99; /* Lower z-index to prevent overlap with chat */
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #6ca035;
    color: var(--white);
    transform: translateY(-5px);
}

/* ===== NOTIFICATION BELL ===== */
.notification-bell {
    position: relative;
    display: inline-block;
}

.notification-bell i {
    font-size: 1.2rem;
}

.notification-bell .notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff3b30;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(50%, -50%);
    animation: bell-shake 1s cubic-bezier(.36,.07,.19,.97) infinite;
}

@keyframes bell-shake {
    0% { transform: translate(50%, -50%) rotate(0); }
    15% { transform: translate(50%, -50%) rotate(5deg); }
    30% { transform: translate(50%, -50%) rotate(-5deg); }
    45% { transform: translate(50%, -50%) rotate(4deg); }
    60% { transform: translate(50%, -50%) rotate(-4deg); }
    75% { transform: translate(50%, -50%) rotate(2deg); }
    85% { transform: translate(50%, -50%) rotate(-2deg); }
    92% { transform: translate(50%, -50%) rotate(1deg); }
    100% { transform: translate(50%, -50%) rotate(0); }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    body {
        padding-top: 76px; /* Adjust padding for smaller navbar */
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .logo-img {
        max-height: 40px;
    }

    .hero-section {
        margin-top: -76px; /* Match body padding */
        padding-top: 76px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-link {
        margin: 5px 0;
        padding: 10px 15px;
    }

    .nav-link:after {
        bottom: 5px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .testimonial-row {
        flex-wrap: wrap;
    }

    .testimonial-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonial-card {
        margin: 15px 0;
        padding: 25px;
    }

    .carousel-control-prev {
        left: -15px;
    }

    .carousel-control-next {
        right: -15px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .testimonial-text {
        font-size: 1rem;
        padding: 0 20px;
    }

    .testimonial-text:before,
    .testimonial-text:after {
        font-size: 2.5rem;
    }

    .project-card {
        height: 250px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 100px 0 60px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-image-container {
        margin-bottom: 30px;
    }

    .service-card {
        margin-bottom: 30px;
    }

    .project-card {
        margin-bottom: 30px;
        height: 220px;
    }

    .contact-info,
    .contact-form {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .btn-primary, .btn-outline-primary {
        padding: 8px 20px;
    }

    .footer-col {
        margin-bottom: 25px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .logo-img {
        max-height: 35px;
    }

    .hero-section {
        margin-top: -70px;
        padding-top: 70px;
        min-height: 450px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .title-underline {
        width: 50px;
        height: 3px;
        margin-bottom: 20px;
    }

    .service-card,
    .project-card,
    .testimonial-card {
        margin-bottom: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .project-card {
        height: 180px;
    }

    .project-info h4 {
        font-size: 1.2rem;
    }

    #testimonials {
        padding-bottom: 60px;
    }

    .testimonial-card {
        margin: 10px 0;
        padding: 20px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-avatar {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .testimonial-source {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        padding: 0 10px;
        text-align: center;
        margin-bottom: 20px;
    }

    .testimonial-text:before,
    .testimonial-text:after {
        font-size: 1.8rem;
    }

    .testimonial-author {
        text-align: center;
    }

    .testimonial-author:before {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-indicators {
        bottom: -45px;
    }

    .carousel-indicators button {
        width: 20px;
        height: 3px;
    }

    .carousel-indicators button.active {
        width: 30px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .footer {
        text-align: center;
    }

    .footer-col {
        margin-bottom: 25px;
    }

    .contact-form .btn {
        width: 100%;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Delay animations for children elements */
.fade-in-up-1 {
    animation-delay: 0.1s;
}

.fade-in-up-2 {
    animation-delay: 0.2s;
}

.fade-in-up-3 {
    animation-delay: 0.3s;
}
