/* Ensure about-card and footer-services lists are also white */

.about-card ul, .about-card li {
    color: #fff;
    text-align: left;
    list-style-position: outside;
}

.footer-services ul, .footer-services li {
    color: #111;
}

.footer-services ul li::marker {
    color: #111;
}


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Royal Purple Theme */
    --background: 282 60% 12%;
    --foreground: 282 60% 98%;
    --card: 282 55% 14%;
    --card-foreground: 282 60% 98%;
    --popover: 282 55% 14%;
    --popover-foreground: 282 60% 98%;
    --primary: 282 90% 50%; /* Royal Purple */
    --primary-foreground: 282 60% 98%;
    --secondary: 282 40% 20%;
    --secondary-foreground: 282 60% 98%;
    --muted: 282 30% 18%;
    --muted-foreground: 282 20% 70%;
    --accent: 282 40% 20%;
    --accent-foreground: 282 60% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 282 60% 98%;
    --border: 282 40% 20%;
    --input: 282 40% 20%;
    --ring: 282 90% 80%;
    --sidebar-background: 282 90% 10%;
    --sidebar-foreground: 282 60% 98%;
    --sidebar-primary: 282 90% 80%;
    --sidebar-primary-foreground: 282 60% 12%;
    --sidebar-accent: 282 40% 20%;
    --sidebar-accent-foreground: 282 60% 98%;
    --sidebar-border: 282 40% 20%;
    --sidebar-ring: 282 90% 50%;

    /* Gradients - Royal Purple */
    --gradient-primary: linear-gradient(135deg, #a808cf 0%, #6d1b7b 100%);
    --gradient-subtle: linear-gradient(180deg, #2d0736 0%, #6d1b7b 100%);
    --gradient-hero: linear-gradient(135deg, #a808cf 0%, #6d1b7b 50%, #2d0736 100%);

    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px rgba(168,8,207,0.3);
    --shadow-glow: 0 0 40px rgba(168,8,207,0.4);
    --shadow-card: 0 4px 6px -1px rgba(109,27,123,0.1), 0 2px 4px -1px rgba(109,27,123,0.06);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light mode colors */
@media (prefers-color-scheme: light) {
    :root {
        --background: 282 60% 98%;
        --foreground: 282 60% 12%;
        --card: 282 55% 96%;
        --card-foreground: 282 60% 12%;
        --popover: 282 55% 96%;
        --popover-foreground: 282 60% 12%;
        --primary: 282 90% 50%;
        --primary-foreground: 282 60% 98%;
        --secondary: 282 40% 90%;
        --secondary-foreground: 282 60% 12%;
        --muted: 282 30% 90%;
        --muted-foreground: 282 20% 46%;
        --accent: 282 40% 90%;
        --accent-foreground: 282 60% 12%;
        --destructive: 0 84.2% 60.2%;
        --destructive-foreground: 282 60% 98%;
        --border: 282 40% 90%;
        --input: 282 40% 90%;
        --ring: 282 90% 80%;
        --sidebar-background: 282 90% 98%;
        --sidebar-foreground: 282 60% 12%;
        --sidebar-primary: 282 90% 80%;
        --sidebar-primary-foreground: 282 60% 98%;
        --sidebar-accent: 282 40% 95%;
        --sidebar-accent-foreground: 282 60% 12%;
        --sidebar-border: 282 40% 90%;
        --sidebar-ring: 282 90% 50%;

        --gradient-primary: linear-gradient(135deg, #a808cf 0%, #e6b3f7 100%);
        --gradient-subtle: linear-gradient(180deg, #f7e6fc 0%, #e6b3f7 100%);
        --gradient-hero: linear-gradient(135deg, #a808cf 0%, #e6b3f7 50%, #f7e6fc 100%);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn, .btn-cta, .btn-outline {
    border-radius: 6px;
    padding: 0.75em 2em;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-cta {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    border: none;
    box-shadow: var(--shadow-elegant);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.btn:focus, a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #b3d4fc;
}

/* Header */
.header {
    background: linear-gradient(90deg, #ffe9b3 0%, #a678d3 100%);
    box-shadow: var(--shadow-card);
    border-bottom: 1px solid hsl(var(--border));
    position: relative;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: #111;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111 !important;
    margin: 0;
    white-space: nowrap;
}

.nav {
    display: none;
    gap: 2rem;
}

.nav a {
    color: #111 !important;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav a:hover {
    color: hsl(var(--primary));
}

.tagline {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #111 !important;
}

.header-buttons {
    display: none;
    gap: 1.5rem;
}

/* Make nav bar buttons larger */
.header-buttons .btn,
.header-buttons .btn-cta,
.header-buttons .btn-outline {
    font-size: 1.15rem;
    padding: 1em 2.2em;
    color: black !important;
    border-color: #111 !important;
}


.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: hsl(var(--foreground));
    margin: 2px 0;
    transition: var(--transition-smooth);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid hsl(var(--border));
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: hsl(var(--foreground));
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.mobile-btn {
    align-self: flex-start;
    font-size: 1.1rem;
    padding: 0.8em 2em;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .header-buttons {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .tagline {
        display: inline;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    background: none; /* Explicitly set to none */
}

.hero-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* behind text */
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 4rem 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: black;
    max-width: 600px;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* HERO WRAPPER FLEX LAYOUT */
.hero-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 420px;
    background: linear-gradient(90deg, #a678d3 0%, #ffe9b3 100%);
}

.hero-image-section,
.hero {
    background: none; /* Remove any background from children */
}

.hero-image-section {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 200px; /* optional minimum */
    /* background: var(--gradient-primary, --gradient-subtle, --gradient-hero); Match hero text background */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 2px 0 12px rgba(0,0,0,0.08); */
    z-index: 2;
    position: relative;
}

.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}

.hero-image-section img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    background: #fff;
    display: block;
    margin: 0 auto;
}

.hero {
    flex: 1;
    margin-left: 0;
    display: flex;
    align-items: center;
    background: none;
    position: relative;
}

.hero-content {
    width: 100%;
    padding: 2.5rem 2rem;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        min-height: unset;
    }
    .hero-image-section {
        width: 100%;
        min-width: 0;
        box-shadow: none;
        justify-content: center;
        background: none;
    }
    .hero-image-section img {
        width: 160px;
        height: 160px;
    }
    .hero {
        margin-left: 0;
        padding: 0;
    }
    .hero-content {
        padding: 2rem 1rem;
    }
}

/* Hero features list for better arrangement */
.hero-features {
    color: black;
    list-style: none;
    padding-left: 0;
    font-size: 1.15rem;
    margin: 1.2rem 0 1.5rem 0;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-features li span:first-child {
    color: black;
    font-size: 1.2em;
    margin-right: 0.5em;
    vertical-align: middle;
}

/* Sections */
.services, .about, .contact {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    background: hsl(var(--muted) / 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: linear-gradient(90deg, #a678d3 0%, #ffe9b3 100%);
    border: 1px solid hsl(var(--border));
    border-radius: 0.50rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    color: #111; /* Black text for contrast */
}

.service-card h3,
.service-card p,
.service-card li {
    color: #111; /* Black text for contrast */
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: black; /* Bullet color royal purple */
    font-weight: bold;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    /* color: hsl(var(--muted-foreground)); */
    margin-bottom: 1.5rem;
}

.services-cta {
    text-align: center;
}

/* About */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-stat {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: linear-gradient(90deg, #a678d3 0%, #ffe9b3 100%);
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    color: #111;
}

.about-card h3, .about-card ul, .about-card li {
    color: #111;
}

.about-card ul {
    list-style: none;
}

.about-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: black
    font-weight: bold;
}

.about-description {
    max-width: 1350px;
    margin: 0 auto 2rem auto;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    line-height: 1.8;
    /* Remove any center alignment from parent .section-header if present */
}

/* Enhanced About Image Card - remove background, zoom, and other effects */
.enhanced-about-image-card {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: none;
    border-radius: 18px;
    box-shadow: none;
    padding: 0;
    position: relative;
    min-width: 340px;
    max-width: 400px;
    transition: none;
    height: 100%;
}

.about-image-frame {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    width: 240px;
    height: 340px;
    background: linear-gradient(135deg, #f5e9f9 0%, #e6d6f3 100%);
    display: table ;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: none;
    aspect-ratio: 1 / 1;
    position: relative;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    display: block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
    transition: none;
    background-color: #fff;
    object-position: center top;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .enhanced-about-image-card {
        margin: 0 auto 1.5rem auto;
        max-width: 90vw;
        padding: 1.5rem 1rem 1rem 1rem;
        height: auto;
        min-width: 180px;
    }
    .about-image-frame {
        width: 180px;
        height: 180px;
    }
    .about-image-frame img {
        width: 100%;
        height: 100%;
    }
}

/* Contact */
.contact {
    background: hsl(var(--muted) / 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-info-card, .contact-form-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.contact-info-card h3, .contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.contact-item p {
    color: hsl(var(--muted-foreground));
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #a678d3 0%, #ffe9b3 100%);
    color: #222;
    padding: 3rem 0;
}

.footer-grid {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    justify-content: flex-start;
}

.footer-image-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    /* Make the image card the same height as the tallest sibling (services) */
    min-width: 160px;
    max-width: 220px;
    flex: 0 0 180px;
}

.footer-image-frame {
    width: 100%;
    max-width: 220px;     /* same visual size as before */
    margin: 0 auto;
}

.footer-image-frame img {
    width: 100%;
    height: auto;         /* CRITICAL */
    display: block;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
}


.footer-main,
.footer-services,
.footer-contact {
    flex: 1 1 0;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-services ul {
    padding-left: 1.2em;
}

@media (max-width: 480px) {
    .footer-image-frame {
        max-width: 180px;
        margin-bottom: 1.5rem;
    }
}



.footer-bottom {
    border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #111;
}

@media (max-width: 768px) {
    .footer-main {
        grid-column: span 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}