@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0e467e;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

/* Base Styles */
html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: #f8f9fa;
    line-height: 1.6;
}

.animated-background {
    height: 100vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Body Padding for Fixed Navbar */
body {
    /* padding-top: 70px; */
}

/* Navbar - Fixed and Responsive */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    padding: 0.8rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Hero Carousel */
.carousel {
    /* margin-bottom: 2rem; */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    height: auto;
    min-height: 300px;
    max-height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
    width: 100%;
}

.carousel-caption {
    bottom: 20%;
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    left: 5%;
    right: 5%;
    width: 90%;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Sections */
section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Cards and Features */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    background-color: white;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Fixed Button */
.fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(15, 224, 15);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 99;
}

/* Responsive Breakpoints */
@media (max-width: 767.98px) {

    /* Mobile Styles */
    body {
        padding-top: 60px;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .carousel-caption {
        bottom: 10%;
        padding: 1rem;
    }

    .carousel-caption h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 0;
    }

    .feature-card {
        padding: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* Tablet Styles */
    .carousel-caption {
        bottom: 15%;
    }

    .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {

    /* Desktop Styles */
    .carousel-item img {
        height: 500px;
    }

    .carousel-caption {
        text-align: left;
        left: 10%;
        right: auto;
        width: 40%;
    }

    .feature-card {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Ensure content doesn't hide behind fixed navbar when scrolling to anchors */
html {
    scroll-padding-top: 70px;
}