/* Global Styles */
:root {
    --primary-color: #00A19A;
    --secondary-color: #6c757d;
    --accent-color: #f8f9fa;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #008b85;
    border-color: #008b85;
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
}

.heading-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.heading-line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
#mainNav {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#mainNav .navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--primary-color);
    padding: 0;
    margin-right: 1.5rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.75rem 1rem;
    position: relative;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:focus {
    color: var(--primary-color);
}

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

#mainNav .navbar-nav .nav-item .nav-link:hover::after {
    width: 70%;
}

/* Hero Section */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
    padding: 200px 0 150px;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 161, 154, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero h1, .hero p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
#about {
    padding: 80px 0;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-img img {
    transition: transform 0.5s ease;
}

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

/* Why Choose Us Section */
.feature-box {
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.feature-icon i {
    font-size: 30px;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Services Section */
.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

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

.service-content p {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonial-item {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

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

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

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

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

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

/* Contact Section */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h5 {
    margin-bottom: 5px;
}

.social-links {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #008b85;
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: #008b85;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }
    
    #mainNav .navbar-brand img {
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 150px 0 100px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-heading h2 {
        font-size: 1.8rem;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
    
    .contact-form {
        margin-top: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* JavaScript-related styles */
.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: white;
}

/* Animation styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* FAQ Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #333;
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 161, 154, 0.1);
}

.accordion-button::after {
    background-size: 16px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 20px 25px;
    background-color: white;
    line-height: 1.8;
}

/* Add more modern spacing */
section {
    padding: 100px 0;
}