/* CSS Variables & Theme */
:root {
    /* Colors */
    --primary-color: #10B981;
    /* Emerald Green - Modernized Brand Color */
    --primary-dark: #059669;
    --secondary-color: #3B82F6;
    /* Blue */
    --dark-bg: #0F172A;
    /* Slate 900 */
    --darker-bg: #020617;
    /* Slate 950 */
    --card-bg: #1E293B;
    /* Slate 800 */
    --text-main: #F8FAFC;
    /* Slate 50 */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --accent-glow: rgba(16, 185, 129, 0.3);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px var(--accent-glow);
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.logo-text .dot {
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-footer .logo-img {
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--primary-color);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.15), transparent 40%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.highlight {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-btns {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    animation: fadeInUp 0.8s ease-out backwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background glow effect behind the image */
.visual-circle-bg {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    position: absolute;
    filter: blur(40px);
    z-index: 0;
}

.hero-img {
    width: 100%;
    max-width: 550px;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.3));
    animation: float 8s ease-in-out infinite;
}

/* About Image Styles */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    z-index: 0;
}

.hero-card {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    position: absolute;
    width: 240px;
    z-index: 2;
}

.hero-card i {
    font-size: 1.5rem;
    padding: 12px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-color);
    border-radius: 12px;
}

.hero-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: white;
}

.hero-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.float-1 {
    top: 20%;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    bottom: 20%;
    left: 0;
    animation: float 6s ease-in-out infinite 1s;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto;
    border-radius: 2px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(16, 185, 129, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.learn-more i {
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* Testimonials */
.testimonials {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05), transparent 60%);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    overflow: hidden;
    padding: 20px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    opacity: 0.3;
    transform: scale(0.9);
    transition: all 0.5s ease;
    padding: 0 10px;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.7;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.client-details h5 {
    margin-bottom: 4px;
    font-size: 1.1rem;
    color: white;
}

.client-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: #2d3748;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-list li i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.brand-col p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a,
.footer-col ul li {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--card-bg), var(--primary-dark));
    padding: 80px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2), transparent 50%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
}

.faq-container {
    max-width: 800px;
}

.faq-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.faq-question span {
    padding-right: 20px;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Active State */
.faq-item.active {
    background: rgba(30, 41, 59, 0.8);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    /* Turns plus to x */
    color: #ef4444;
    /* Red for close action */
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}


/* Results Section */
.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.divider-left {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px 0 40px;
    border-radius: 2px;
}

.result-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.icon-box-small {
    min-width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.result-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.result-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.results-image img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.2));
}

@media (max-width: 968px) {
    .results-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .results-content {
        order: 2;
    }

    .results-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .divider-left {
        margin: 20px auto 40px;
    }

    .results-content h2 {
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 968px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .social-links,
    .brand-col p {
        justify-content: center;
        margin: 20px auto;
    }

    .footer-col ul li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add mobile menu logic in JS later */
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        background: var(--darker-bg);
        padding-top: 100px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: var(--transition);
    }

    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

/* Mobile Toggle Animation */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .slider-controls {
        gap: 10px;
    }

    .prev-btn,
    .next-btn {
        width: 35px;
        height: 35px;
    }

    .results-image {
        max-width: 100%;
    }
}

/* Tools Section */
.tools-section {
    padding: 40px 0;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tools-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 600;
}

.tools-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 60px;
}

.tool-logo {
    height: 35px;
    /* Fixed height for consistency */
    width: auto;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.tool-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .tools-grid {
        gap: 30px 40px;
    }

    .tool-logo {
        height: 25px;
    }
}