/* :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;
}

a{
    text-decoration: none
}

/* Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* 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 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: 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;
    }
}

/* ✅ Mission & Vision Section */
.mission-vision {
    padding: 80px 20px;
    background-color: var(--background-color);
    text-align: center;
}

/* ✅ Section Title */
.mission-vision .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ✅ Grid Layout for Mission & Vision Cards */
.mission-vision-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

/* ✅ Mission & Vision Card Styling */
.card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 55%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ✅ Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ✅ Decorative Background Accent */
.card::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
}

/* ✅ Mission & Vision Icons */
.card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.card:hover i {
    color: var(--accent-color);
}

/* ✅ Mission & Vision Headings */
.card h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ✅ Mission & Vision Paragraphs */
.card p {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.6;
}

/* ✅ Responsive Design for Mobile Screens */
@media (max-width: 1024px) {
    .card {
        width: 48%;
    }

    .card h2 {
        font-size: 26px;
    }

    .card p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .mission-vision {
        padding: 60px 20px;
    }

    .mission-vision-grid {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 55%;
        padding: 30px;
    }

    .card h2 {
        font-size: 24px;
    }

    .card p {
        font-size: 16px;
    }

    .card i {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .mission-vision {
        padding: 40px 15px;
    }

    .mission-vision .section-title {
        font-size: 28px;
    }

    .card {
        width: 70%;
        padding: 25px;
    }

    .card h2 {
        font-size: 22px;
    }

    .card p {
        font-size: 15px;
    }

    .card i {
        font-size: 35px;
    }
}


/* ✅ Company History / Timeline Section */
.company-history {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

/* ✅ Title */
.company-history h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

/* ✅ Timeline Container */
.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto; /* Enables horizontal scrolling for small screens */
    padding: 20px 0;
    gap: 20px;
    scrollbar-width: thin; /* Adjust scrollbar size */
    scrollbar-color: #007BFF #f9f9f9; /* Scrollbar color */
}

/* ✅ Individual Timeline Item */
.timeline-item {
    position: relative;
    flex: 0 0 300px;
    margin: 0 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 280px; /* Ensures items don’t shrink too much */
}

/* ✅ Hover Effect */
.timeline-item:hover {
    transform: translateY(-10px);
}

/* ✅ Timeline Content */
.timeline-content {
    padding: 20px;
}

/* ✅ Year Label */
.year {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #007BFF;
    margin-bottom: 10px;
}

/* ✅ Timeline Text */
.timeline-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ✅ Mobile Compatibility */
@media (max-width: 768px) {
    .timeline {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Enables smooth scrolling */
        padding: 10px;
        gap: 10px;
        justify-content: flex-start;
    }

    .timeline-item {
        flex: 0 0 250px;
        min-width: 250px;
        scroll-snap-align: center; /* Aligns each item properly */
    }

    .company-history h2 {
        font-size: 30px;
    }

    .year {
        font-size: 20px;
    }

    .timeline-item p {
        font-size: 14px;
    }
}

/* ✅ Extra Small Screens */
@media (max-width: 480px) {
    .company-history {
        padding: 40px 10px;
    }

    .timeline {
        gap: 8px;
        justify-content: flex-start;
    }

    .timeline-item {
        flex: 0 0 220px;
        min-width: 220px;
        padding: 15px;
    }

    .company-history h2 {
        font-size: 26px;
    }

    .year {
        font-size: 18px;
    }

    .timeline-item p {
        font-size: 13px;
    }
}

/* ✅ Custom Scrollbar for Better Experience */
.timeline::-webkit-scrollbar {
    height: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: #f9f9f9;
}

.timeline::-webkit-scrollbar-thumb {
    background-color: #007BFF;
    border-radius: 10px;
}


/* ✅ CTA Section */
.cta {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    overflow: hidden;
}

/* ✅ Animated Background Effect */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-30deg);
    transition: all 0.6s ease-in-out;
    z-index: 0;
}

.cta:hover::before {
    left: 100%;
}

/* ✅ CTA Content Container */
.cta-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

/* ✅ Title */
.cta h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ✅ Description */
.cta p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ✅ CTA Button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ✅ Hover Effect */
.cta-button:hover {
    background: var(--highlight-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .cta p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 18px;
        padding: 12px 30px;
    }
}

/* ✅ Ensure button is always visible */
.cta-container {
    overflow: visible;
}

/* 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;
    }
}