/* ------------------------------------
    Base & Global Styles
   ------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.6;
    background-color: #f7f9fc;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

 /* This is the code for the main page scrollbar */
        ::-webkit-scrollbar {
            width: 8px; /* The width of the scrollbar */
        }
        
        /* This targets the scrollable part you drag */
        ::-webkit-scrollbar-thumb {
            background-color: #3b82f6; /* The blue color */
            border-radius: 9999px;
        }
        
        /* This is the track behind the thumb */
        ::-webkit-scrollbar-track {
            background-color: #e2e8f0;
        }

        /* Style for the carousel scrollbar */
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padded {
    padding: 4rem 0;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

a {
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

/* ------------------------------------
    Header & Navigation
   ------------------------------------ */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #4f46e5;
}

.logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: #4f46e5;
    animation: rotateLogo 4s infinite linear;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Desktop Navigation */
.main-nav .nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2rem;
}

.nav-link {
    color: #4b5563;
    font-weight: 500;
    position: relative;
}

.nav-link.active, .nav-link:hover {
    color: #4f46e5;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #4f46e5;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button {
    background-color: #4f46e5;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
    cursor: pointer;
}

.cta-button:hover {
    background-color: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(79, 70, 229, 0.6);
}

/* Mobile Toggle and Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #4f46e5; /* New: Added color to the button */
}

.hamburger-icon {
    width: 2rem;
    height: 2rem;
    stroke: currentColor; /* New: Ensures the SVG inherits the button color */
}

/* ------------------------------------
    Hero Section (Homepage)
   ------------------------------------ */
.hero-section .about-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

.hero-slide.active-slide {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.6);
    z-index: 1;
}

.hero-content .about-hero{
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content{
    justify-content: center;
    justify-items: center;
}

/* ------------------------------------
    Other sections (shared)
   ------------------------------------ */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #1e293b;
    animation: slideInUp 1s ease-out;
}

.value-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-out;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    font-size: 1.25rem;
    color: #4f46e5;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* ------------------------------------
    Newsletter Faucet Section
   ------------------------------------ */
#newsletter-faucet {
    padding: 4rem 1.5rem;
    border-radius: 1.5rem;
    transform: translateY(3rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: 0 1.5rem 3rem;
}

#newsletter-form input {
    border: none;
}

#newsletter-form button {
    white-space: nowrap;
}

/* ------------------------------------
    Footer
   ------------------------------------ */
.main-footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-links li, .footer-contact li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-contact a {
    color: #9ca3af;
}

.footer-links a:hover, .footer-contact a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #9ca3af;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover .icon {
    color: #4f46e5;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-animate] {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

.subscribe{
    padding: 0.75rem 1.5rem;
    margin-right: 12px;
    font: 600;
    border-color: black;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
    background-color: #ffffff; 
}