/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #33669b;
    --secondary-color: #7ab817;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1f24;
    --text-color: #2c3e50;
    --text-light: #64748b;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    padding-top: 90px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar-brand img {
    max-height: 70px;
    transition: transform 0.3s ease;
}

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

.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    padding: 0.7rem 1.2rem !important;
    position: relative;
    transition: all 0.3s ease;
}

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

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--dark-bg);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

.carousel-item {
    height: calc(100vh - 76px);
    min-height: 500px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.carousel-caption {
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.carousel-caption h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    font-weight: 500;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

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

.hero-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.hero-btn i {
    margin-left: 8px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(4px);
}

.hero-btn-primary {
    background: #33669b;
    border: 2px solid #33669b;
    color: white;
}

.hero-btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-btn-outline:hover {
    background: white;
    color: #33669b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 0 6px;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-item {
        height: calc(100vh - 76px);
        min-height: 500px;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .hero-btn {
        margin: 0;
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 100vh;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btn {
        margin: 0;
        width: 100%;
        max-width: 280px;
    }
}

/* Section Styles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-text {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    background: linear-gradient(to bottom, var(--light-bg), white);
    padding: 80px 0;
}

.service-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-image:hover .service-icon {
    transform: translateY(-5px) rotate(8deg);
    background: var(--secondary-color);
}

.service-content {
    padding: 2rem 0;
}

.service-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.service-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: var(--text-color);
}

.service-details i {
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-badge {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

@media (max-width: 991.98px) {
    .service-content {
        padding: 2rem 0;
        text-align: center;
    }

    .service-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .service-details p {
        justify-content: center;
    }

    .service-features {
        justify-content: center;
    }

    .service-image {
        margin-bottom: 2rem;
    }
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Gallery Section */
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

/* Contact Section */
.contact-info {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    padding: 1rem;
    transition: all 0.3s ease;
}

.contact-info p:hover i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #343a40;
}

/* Navbar */
.navbar {
    transition: var(--transition);
    padding: 0.75rem 0;
    z-index: 1030;
    background-color: #33669b !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    padding-top: 76px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    letter-spacing: -0.5px;
    padding: 0;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    -webkit-font-smoothing: antialiased;
}

.navbar-brand:hover {
    color: white !important;
}

.navbar-brand span {
    line-height: 1.2;
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    margin-right: 12px;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.nav-link {
    color: white !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1rem !important;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    -webkit-font-smoothing: antialiased;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

.nav-link:hover {
    color: white !important;
}

.nav-link.active {
    color: white !important;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-size: 1.5rem;
}

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

.contact-link {
    background: white;
    color: #33669b !important;
    border-radius: 50px;
    padding: 0.5rem 1.25rem !important;
    transition: var(--transition);
    font-weight: 600;
    margin-left: 0.5rem;
}

.contact-link:hover {
    background: var(--secondary-color);
    color: white !important;
    transform: translateY(-2px);
}

.contact-link::after {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #33669b !important;
        padding: 1rem;
        border-radius: 0 0 16px 16px;
        margin-top: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .nav-link {
        text-align: center;
        padding: 0.75rem !important;
    }

    .contact-link {
        margin: 0.5rem auto;
        max-width: 200px;
        display: block;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-link {
        padding: 0.75rem !important;
        text-align: center;
    }

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

    .contact-link {
        background: var(--primary-color);
        color: white !important;
        border-radius: 50px;
        padding: 0.6rem 1.5rem !important;
        transition: var(--transition);
        border: 2px solid var(--primary-color);
    }

    .contact-link:hover {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-2px);
    }

    .contact-link::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 50vh;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
