/* :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);
}
.nav-list {
    z-index: 1100; /* Ensure nav is above all */
}

.hamburger {
    z-index: 1200; /* Make sure the icon is always clickable */
}
/* 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: 66vh;
    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: 0;
    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: 0;
    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;
    }
}


/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 20px;
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
}

.why-choose-us .section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row on larger screens */
    gap: 40px;
    margin-top: 20px;
}

/* .reason elements styling */
.reason {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 1s ease, transform 1s ease;
}

/* Icon styling */
.reason i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Hover effect for the reasons */
.reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.reason h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reason p {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.5;
}

/* Mobile layout for 1 reason per row */
@media (max-width: 768px) {
    .reasons {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        gap: 20px; /* Reduced gap for better spacing on mobile */
    }

    .reason {
        padding: 20px; /* Adjust padding for mobile */
    }

    .reason i {
        font-size: 30px; /* Smaller icons for mobile */
    }

    .why-choose-us .section-title {
        font-size: 28px; /* Slightly smaller title on mobile */
    }
}


/* Portfolio Preview Section */
.portfolio-preview {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color);
}

.portfolio-preview h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* Flexbox for the portfolio items */
.portfolio-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row on larger screens */
    gap: 30px;
    margin-top: 20px;
}

/* Portfolio Item Styling */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item p {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.portfolio-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover p {
    transform: translateY(-5px);
}

/* Mobile Layout */
@media (max-width: 768px) {
    .portfolio-items {
        grid-template-columns: 1fr; /* Stack items vertically on smaller screens */
        gap: 20px;
    }

    .portfolio-item img {
        width: 100%;
        height: 300px; /* Set fixed height for images on mobile */
    }

    .portfolio-preview h2 {
        font-size: 28px; /* Smaller title size on mobile */
    }
}


/* Testimonials Section */
.testimonials {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

.testimonial {
    margin-bottom: 40px;
}

.testimonial p {
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial strong {
    font-size: 16px;
    color: var(--primary-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);
}

/* QR Code Styling */
.qr-code {
    width: 100px;
    height: 100px;
    margin-top: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.1);
}

/* 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;
    }
}

