/* VARIABLES based on Palette [cite: 10, 11, 12] */
:root {
    --primary-bg: #FCF9EA;      /* Background */
    --secondary-color: #8CA9FF; /* Highlights, Buttons */
    --text-color: #3B0270;      /* Main Text */
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif; /* [cite: 14] */
    --font-body: 'Inter', sans-serif;      /* [cite: 15] */
    --spacing: 8px; /* Consistent spacing system [cite: 91] */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: calc(var(--spacing) * 2);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

/* HEADER [cite: 19] */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s; /* Subtle hover effects [cite: 92] */
}

.cta-button:hover {
    transform: translateY(-2px);
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* HERO SECTION [cite: 25] */
.hero {
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
}

.btn-secondary {
    border: 2px solid var(--text-color);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
}

/* SERVICES CARDS [cite: 87] */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px); /* Subtle hover effects [cite: 92] */
}

.card-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

/* TRUST STRIP */
.trust-strip {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* PRODUCTS GRID [cite: 56] */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.product-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.product-item i {
    font-size: 30px;
    color: var(--text-color);
    display: block;
    margin-bottom: 10px;
}

/* CTA STRIP [cite: 66] */
.cta-strip {
    background-color: var(--secondary-color);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}

.cta-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-solid {
    background-color: var(--text-color);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 5px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 5px;
}

/* ABOUT SECTION */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    background-color: #ddd; /* Placeholder for image */
    height: 300px;
    border-radius: 10px;
}

/* FOOTER [cite: 80] */
footer {
    background-color: #222;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 20px;
    margin-right: 15px;
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* MOBILE RESPONSIVE [cite: 94] */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-grid, .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons, .cta-actions {
        flex-direction: column;
    }
}
/* Remove old h2 styling if you don't need it elsewhere, or just add this: */

.logo a {
    display: flex;       /* Aligns image vertically */
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;        /* Adjust this value based on your logo's shape */
    width: auto;         /* Maintains original aspect ratio */
    display: block;      /* Removes extra space below image */
    object-fit: contain; /* Ensures logo fits within the height */
}

/* Optional: Adjust header padding if the logo makes the navbar too tall */
header {
    padding: 10px 0;     /* Reduced slightly to accommodate image height */
}

/* HERO SLIDESHOW STYLES */
.hero-image {
    position: relative;
    width: 100%;
    height: 400px; /* Fixed height for the slideshow */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.8s ease-in-out; /* Smooth fade effect */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Places text at bottom */
}

.slide.active {
    opacity: 1; /* Visible when active */
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without stretching */
    z-index: 1;
}

.slide-caption {
    position: relative;
    z-index: 2;
    background: rgba(59, 2, 112, 0.8); /* Dark purple overlay (Theme Text Color) */
    color: #fff;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(2px);
}

.slide-caption h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: #8CA9FF; /* Secondary Theme Color */
}

.slide-caption p {
    font-size: 0.9rem;
    margin: 0;
}