:root {
    --primary-hue: 25;
    --primary: hsl(var(--primary-hue), 100%, 55%);
    --primary-dark: hsl(var(--primary-hue), 100%, 48%);
    --primary-light: hsl(var(--primary-hue), 100%, 95%);
    --secondary: hsl(230, 30%, 15%);
    --text-dark: hsl(230, 15%, 20%);
    --bg-light: hsl(0, 0%, 100%);
    --bg-light-secondary: hsl(230, 20%, 97%);
    --border-light: hsl(230, 15%, 90%);

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 4px 10px hsla(var(--primary-hue), 50%, 50%, 0.05);
    --shadow-md: 0 8px 30px hsla(var(--primary-hue), 50%, 50%, 0.1);
    --shadow-lg: 0 20px 50px hsla(var(--primary-hue), 50%, 50%, 0.15);

    --space-xs: 0.5rem;  /* 8px */
    --space-sm: 1rem;    /* 16px */
    --space-md: 1.5rem;  /* 24px */
    --space-lg: 2.5rem;  /* 40px */
    --space-xl: 5rem;    /* 80px */

    --container-width: 1280px;
    --header-height: 80px;
}

body.dark-mode {
    --secondary: hsl(230, 10%, 90%);
    --text-dark: hsl(230, 10%, 95%);
    --bg-light: hsl(230, 20%, 12%);
    --bg-light-secondary: hsl(230, 20%, 18%);
    --border-light: hsl(230, 15%, 30%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

section { padding: var(--space-xl) var(--space-md); }

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}
body.dark-mode .btn-secondary {
    background: var(--bg-light-secondary);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light-secondary);
    color: var(--text-dark);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.theme-toggle:hover { transform: scale(1.1); }
.theme-toggle .moon-icon { display: none; }
.dark-mode .theme-toggle .sun-icon { display: none; }
.dark-mode .theme-toggle .moon-icon { display: block; }

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
body.dark-mode .header { background: hsla(230, 20%, 12%, 0.8); }
.header.scrolled { box-shadow: var(--shadow-md); }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    /* LOGO IMAGE STYLES */
}
.logo-img {
    height: 60px; /* Adjust height for visibility in header */
    width: auto;
    object-fit: contain;
}
/* Removed .logo-icon styles as we are using an image now */

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-dark);
    padding: 0.5rem;
}
.menu-toggle .menu-close-icon { display: none; }

.hero { padding-top: var(--space-lg); }
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}
.hero-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    opacity: 0.8;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.hero-image-wrapper { 
    position: relative;
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    overflow: hidden;
}
.hero-slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.image-decoration {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), transparent);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    filter: blur(20px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}
.stat-card {
    background: var(--bg-light-secondary);
    padding: var(--space-md);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-card span {
    font-size: 1.5rem;
    color: var(--primary);
}
.stat-card p {
    font-weight: 600;
    margin-top: var(--space-xs);
    opacity: 0.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}
.service-card {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.service-image {
    height: 220px;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-image img { transform: scale(1.1); }
.service-content {
    padding: var(--space-md);
    position: relative;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: -60px;
    border: 4px solid var(--bg-light);
    margin-bottom: var(--space-sm);
    transition: background-color 0.3s ease;
}
body.dark-mode .service-icon { border-color: var(--bg-light); }
.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}
.service-content p {
    opacity: 0.7;
    margin-bottom: var(--space-md);
}
.learn-more, .read-more {
    font-family: var(--font-heading);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.learn-more:hover, .read-more:hover {
    gap: 12px;
    text-decoration: underline;
}

.about { background: var(--bg-light-secondary); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}
.about-content .section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    text-align: left;
}
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.feature-icon { color: var(--primary); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    align-items: center;
}
.pricing-card {
    background: var(--bg-light-secondary);
    border-radius: 12px;
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}
.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}
.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover { transform: translateY(-10px) scale(1.05); }
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.pricing-header h3 { font-size: 1.5rem; }
.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: var(--space-sm) 0 var(--space-md);
}
.price span {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.6;
    font-weight: 500;
}
.pricing-features {
    list-style: none;
    margin-bottom: var(--space-lg);
    text-align: left;
}
.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features i { color: var(--primary); }
.pricing-card .btn { width: 100%; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}
.blog-card {
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}
.blog-card h3 {
    font-size: 1.25rem;
    margin: var(--space-xs) 0 var(--space-sm);
}
.blog-card p {
    opacity: 0.7;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.faq { background: var(--bg-light-secondary); }
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.faq-item {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: var(--space-md);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: color 0.3s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-item.active .faq-question { color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.faq-answer p {
    padding: 0 var(--space-md) var(--space-md);
    opacity: 0.7;
}

.testimonials { background: var(--bg-light); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}
.testimonial-card {
    background: var(--bg-light-secondary);
    border-radius: 12px;
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.stars {
    color: #FFC107; /* A nice gold for stars */
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}
.testimonial-quote {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
}
.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.contact { background: var(--bg-light-secondary); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.info-icon-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
body.dark-mode .info-icon-wrapper { background: var(--bg-light-secondary); }
.info-item h4 { font-size: 1.2rem; }
.info-item p { opacity: 0.7; }
.info-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.info-item a:hover { color: var(--primary); }
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.form-group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(var(--primary-hue), 100%, 55%, 0.1);
}

.footer {
    background: var(--secondary);
    color: white;
    padding: var(--space-xl) var(--space-md) var(--space-md);
}
.footer h4, .footer a, .footer p { color: white; }
.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}
.footer-logo { text-decoration: none; }
.footer-logo .logo-img-footer {
    height: 60px; /* Consistent height */
    width: auto;
    object-fit: contain;
    filter: invert(1); /* Invert for visibility on dark footer background */
    transition: filter 0.3s ease;
}
body.dark-mode .footer-logo .logo-img-footer {
    filter: none; /* Return to original colors in dark mode (if needed) */
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}
.footer-section p { opacity: 0.8; }
.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
.social-links a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 12px; }
.footer-section ul a {
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.footer-section ul a:hover {
    color: var(--primary);
    opacity: 1;
    padding-left: 5px;
}
.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 12px; /* Adds space between icon and text */
}
.footer-icon { width: 16px; height: 16px; }
.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: var(--space-md);
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    text-align: center;
    opacity: 0.6;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: grid;
    place-items: center;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--bg-light);
        z-index: 999;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        display: flex;
    }
    .nav.active { transform: translateY(0); }
    .nav-link { font-size: 1.5rem; }
    .desktop-cta { display: none; }
    .menu-toggle { display: block; }
    .menu-toggle.active .menu-open-icon { display: none; }
    .menu-toggle.active .menu-close-icon { display: block; }
    
    .hero-content, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .hero-content { text-align: center; }
    .hero-title, .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .about-grid { grid-auto-flow: dense; }
    .about-image { grid-row: 1; }
    .about-content .section-title { text-align: center; }
}

@media (max-width: 576px) {
    .form-group-split { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-features { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-10px) scale(1); }
    .theme-toggle { right: 70px; }
}