/* 
 * Kasa AI Theme Custom Styles
 * Based on the modern design for Ghanaian businesses
 */

:root {
    --primary-color: #25D366; /* WhatsApp Green */
    --secondary-color: #075E54; /* Darker WhatsApp Green */
    --text-dark: #1c1e21;
    --text-light: #606770;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1100;
}
.reading-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Scroll Reveal Navigation */
.scroll-reveal-nav {
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.scroll-reveal-nav.is-visible {
    transform: translateY(0);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
}

.section-sub {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
}

/* Features */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    background: #e8f5e9;
    padding: 15px;
    border-radius: 12px;
}

/* Testimonials Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin: 20px 0;
}

.testimonial-author {
    font-weight: 700;
}

.testimonial-business {
    color: var(--text-light);
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 10;
}

.btn-prev { left: 10px; }
.btn-next { right: 10px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.dot.active {
    background: var(--primary-color);
}

/* Pricing */
.price-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid var(--primary-color);
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.price span {
    font-size: 18px;
    color: var(--text-light);
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li i {
    color: var(--primary-color);
}

/* CTA */
.cta {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 80px 0;
    background: #111;
    color: #fff;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Variant 1: Minimalist Centered */
.footer-variant-1 {
    text-align: center;
}

.footer-menu-horizontal {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-social-simple {
    margin-bottom: 20px;
}

.footer-social-simple a {
    font-size: 20px;
    margin: 0 15px;
}

.copyright {
    font-size: 14px;
    color: #666;
}

/* Variant 2: Multi-column Grid (Balanced) */
.footer-variant-2 {
    text-align: left;
}

.footer-variant-2 .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-variant-2 .footer-about-col p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
}

.footer-cat-header {
    margin-bottom: 25px;
    color: #fff !important;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-variant-2 .footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-variant-2 .footer-col div {
    margin-bottom: 10px;
    color: #aaa;
}

.copyright-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Variant 3: Modern Professional Grid (4 columns) */
.footer-variant-3 {
    text-align: left;
}

.footer-variant-3 .footer-grid-4 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-variant-3 .footer-about-col p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.8;
}

.footer-variant-3 .footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-variant-3 h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 25px;
}

.footer-nav-col a {
    font-size: 16px;
    font-weight: 500;
}

.footer-contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #222;
    width: 100%;
}

.footer-contact-box h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 20px;
}

.footer-email-link {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: block;
    margin-bottom: 25px;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-social-icons a {
    font-size: 24px;
}

.footer-bottom-bar {
    padding-top: 30px;
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-text h1 {
        font-size: 32px;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }

    /* Footer Mobile Adjustments */
    .footer-variant-2 .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-variant-2 .footer-col ul {
        align-items: center;
    }
    .footer-variant-3 .footer-grid-4 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-variant-3 .footer-col ul {
        align-items: center;
    }
    .footer-contact-box {
        padding-top: 30px;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Spacing Polish */
section {
    padding: 100px 0;
}

.section-title {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 18px;
    margin-bottom: 60px;
}
