/* :root for color variables */
:root {
    --primary-color: #6C8EAD; /* Soft Blue */
    --secondary-color: #A8D8D8; /* Light Aqua */
    --accent-color: #F4A300; /* Warm Yellow */
    --highlight-color: #D63C00; /* Vibrant Red */
    --text-color: #3A3A3A; /* Dark Gray */
    --background-color: #F5F5F5; /* Light Gray Background */
    --footer-background: #2C3E50; /* Dark Footer */
    --border-color: #E0E0E0; /* Light Border Color */
    --button-hover-color: #F56C3D; /* Light Orange for Button Hover */
}


/* Global Reset and Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

a{
    text-decoration: none
}

/* Header Styles */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Updated Gradient */
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideIn 1s ease-out;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: #333; /* Dark Gray */
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: logoAnimation 1.5s ease-in-out;
}

@keyframes logoAnimation {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Styles - Keep this part unchanged */
nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333; /* Dark Gray */
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Sticky Header Animation - Keep this part unchanged */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Make the navbar items stack vertically on small screens */
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .nav-list {
        display: none; /* Hide the nav list by default */
        width: 100%;
        padding-top: 20px;
        text-align: center; /* Center align items */
    }

    .nav-list.active {
        display: block; 
    }

    .nav-list li {
        width: 100%;
        margin: 10px 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 1100;
    }

    .bar {
        width: 30px;
        height: 4px;
        background-color: #fff;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


/* Hero Section Styles */
.hero {
    position: relative;
    width: 100%;
    height: 44vh; /* Adjusted height for better view */
    background: linear-gradient(135deg, var(--secondary-color), #E5F9F9);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    overflow: hidden;
    text-align: center;
}


.hero-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.8;
}

.cta-button {
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--button-hover-color); /* New light orange for hover */
    transform: translateY(-2px);
}


/* Animation for Hero */
.hero-content h1,
.hero-content p,
.cta-button {
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-content h1[data-aos],
.hero-content p[data-aos],
.hero-content .cta-button[data-aos] {
    opacity: 1;
    transform: translateY(0);
}

/* AOS Custom Animation Styles */
[data-aos="fade-up"] {
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* Services Section */
.services {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--background-color);
}

/* Title Styling */
.services h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive layout */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Service Card */
.service {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Icons for Services */
.service i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

/* Service Headings */
.service h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Service Descriptions */
.service p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Hover Effect */
.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service:hover i {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services h2 {
        font-size: 30px;
    }

    .services-container {
        grid-template-columns: 1fr; /* Stack services in one column on mobile */
        gap: 20px;
    }

    .service {
        padding: 25px;
    }

    .service i {
        font-size: 40px;
    }

    .service h3 {
        font-size: 20px;
    }

    .service p {
        font-size: 15px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.why-choose-us h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reason i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.reason p {
    font-size: 16px;
    color: #333;
}

/* CTA Section */
.cta {
    padding: 60px 20px;
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--highlight-color);
}


/* Footer Styling */
footer {
    background-color: var(--footer-background);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer text */
footer p {
    margin-bottom: 0px;
    font-size: 18px;
}

/* Contact Information Row */
.contact-info-row {
    display: flex;
    justify-content: space-between; /* Distribute items evenly */
    align-items: center; /* Vertically center items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Space between items */
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Contact Item Styling */
.contact-item {
    text-align: center;
    flex: 1; /* Allow items to take equal space */
    min-width: 150px; /* Prevent items from becoming too small */
}

.contact-item i {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.contact-item i:hover {
    transform: scale(1.1);
}

.contact-item p {
    font-size: 16px;
    font-weight: 300;
    margin: 30px;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}


/* Mobile layout for better spacing */
@media (max-width: 768px) {
    .contact-info-row {
        flex-direction: column; /* Stack items vertically on smaller screens */
        gap: 5px; /* Smaller gap between items on mobile */
    }

    .contact-item i {
        font-size: 30px; /* Smaller icons for mobile */
    }

    .qr-code {
        width: 80px; /* Smaller QR codes on mobile */
        height: 80px;
    }
}

