:root {
    --primary-blue: #1a4b8c;
    --light-blue: #e8f1ff;
    --accent-orange: #ff6b00;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
}

body {
    font-family: 'Ruda', sans-serif;
    color: var(--dark-text);
    background-color: #f8f9fa;
}

#navbar-header {
    background: linear-gradient(to right, #0f1c2d, #1e2f47);
}

/* Navbar styling */
.navbar {
    background: linear-gradient(to right, #0f1c2d, #1e2f47);
    padding: 15px 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    margin: 0 10px;
}

.navbar-dark .navbar-toggler {
    border-color: var(--dark-text);
}

/* Hero section styling */
.hero-section {
    color: var(--light-text);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.btn-quote {
    background-color: #fff;
    color: #14B8A6;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    margin: 10px 15px;
    transition: all 0.3s;
}

.hero-buttons .active, .cta-section .active{
    background-color: #14b8a6;
}

.btn-quote:hover {
    background-color: #14B8A6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features section */
.features-section {
    padding: 80px 0;
    background-color: white;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    height: 250px;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.feature-description {
    font-size: 1.1rem;
    color: #666;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 20px auto;
}

/* Full service section */
.service-section {
    padding: 80px 0;
    background-color: var(--light-blue);
}

.service-section img {
    width: 420px;
    max-width: 100%;
    border-radius: 10px;
    height: auto;
}

.service-list {
    list-style-type: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* ---------- Testimonial carousel indicator positioning ---------- */
.testimonial-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-height: 300px;
    height: 100%;
}

.testimonial-card p:first-child {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    margin-top: 15px;
    color: var(--primary-blue);
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
    background-color: #14B8A6;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}
.testimonial-section .carousel {
    position: relative;            /* enable absolute positioning of indicators */
    padding-bottom: 40px;         /* room for indicators so they don't overlap cards */
}

/* constrain the slide content so centering is predictable */
.testimonial-section .carousel .row {
    max-width: 1200px;
    margin: 0 auto;
}

/* place indicators centered under the cards (absolute on desktop) */
.testimonial-section .carousel-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;                  /* tweak this value to move dots up/down */
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    z-index: 5;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* style the indicator buttons */
.testimonial-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #e9ecef;    /* inactive dot */
    opacity: 1;                   /* keep consistent look */
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s;
}

/* active dot */
.testimonial-section .carousel-indicators .active {
    background-color: #14B8A6;    /* your teal */
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(20,184,166,0.22);
}

.carousel .row {
    max-width: 1200px;
    margin: 0 auto;
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background-color: #17d8c1;
    color: var(--light-text);
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #0f1c2d, #1e2f47);
    color: white;
    padding: 60px 0 30px;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.footer-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.newsletter-form {
    max-width: 600px;
    margin: 20px auto;
}

.newsletter-form h4 {
    font-weight: 600;
    margin: 20px auto;
}

.newsletter-form button {
    background-color: #14b8a6;
    color: #fff;
    height: 50px;
}

/* Contact Us Section */
.contact-section {
    background: #fff;
}

.contact-section .btn-contact {
    background-color: #14B8A6;
    height: 50px;
}

.contactForm .form-control {
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contactForm .form-control:focus {
    border-color: #14B8A6;
    box-shadow: 0 0 6px rgba(20, 184, 166, 0.3);
}

/* Login Us Section */
.login-section {
    background: #fff;
}

.login-section .btn-login {
    background-color: #14B8A6;
    height: 50px;
}

.loginForm .form-control {
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.loginForm .form-control:focus {
    border-color: #14B8A6;
    box-shadow: 0 0 6px rgba(20, 184, 166, 0.3);
}

/* Forgot Password Section */
.forgot-password-section {
    background: #fff;
}

.forgot-password-section .btn-forgot-password {
    background-color: #14B8A6;
    height: 50px;
}

.forgot-passwordForm .form-control {
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.forgot-passwordForm .form-control:focus {
    border-color: #14B8A6;
    box-shadow: 0 0 6px rgba(20, 184, 166, 0.3);
}

/* Reset Password Section */
.reset-password-section {
    background: #fff;
}

.reset-password-section .btn-reset-password {
    background-color: #14B8A6;
    height: 50px;
}

.reset-passwordForm .form-control {
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reset-passwordForm .form-control:focus {
    border-color: #14B8A6;
    box-shadow: 0 0 6px rgba(20, 184, 166, 0.3);
}
        
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .btn-quote {
        display: block;
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
    }
    
    .footer-links li {
        display: block;
        margin-bottom: 10px;
    }
    
    .service-section img {
        width: 100% !important;
    }
    
    .testimonial-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .testimonial-section .carousel {
        padding-bottom: 0;
    }

    .testimonial-section .carousel-indicators {
        position: static;
        transform: none;
        margin-top: 18px;
        justify-content: center;
    }
}