/* Reset and Base Styles */
:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary: #f97316;
    --secondary-hover: #ea580c;
    --accent: #db2777;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 16px;
}

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

.m-top {
    margin-top: 50px;
}

/* Buttons & Badges */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.badge {
    display: inline-block;
    background-color: #e0f2fe;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-logo {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

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

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

.hero-content h1 {
    font-size: 3.5rem;
}

.hero-actions {
    margin-top: 30px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.03);
}

/* Section Common Styling */
section {
    padding: 90px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto;
}

.heading-line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 12px auto 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark);
    font-weight: 600;
}

.stat-label {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Services Section */
.services-section {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #bae6fd;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: #fff7ed;
    color: var(--secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background-color: var(--secondary);
    color: var(--white);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.premium {
    border: 2px solid var(--secondary);
    padding: 50px 30px;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
}

.popular-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.pricing-price span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.pricing-features li i.fa-check {
    color: #22c55e;
}

.pricing-features li i.fa-xmark {
    color: #ef4444;
}

.pricing-features li.disabled {
    color: var(--gray);
    text-decoration: line-through;
    opacity: 0.6;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: #e2e8f0;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* FAQ Accordion Section */
.faq-accordion-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-toggle {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-toggle:hover {
    background-color: #fafafa;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fdfdfd;
}

.faq-content p {
    padding: 0 28px 24px 28px;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--gray);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    max-height: 200px; /* Adjust if content is longer */
}

/* Contact Section */
.contact-section {
    background-color: var(--dark);
    color: var(--white);
}

.contact-section h2, .contact-section h3, .contact-section h4 {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info p {
    color: #94a3b8;
}

.contact-details {
    margin: 35px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.detail-item i {
    font-size: 1.3rem;
    color: var(--secondary);
    width: 24px;
}

.detail-item p {
    margin-bottom: 0;
    color: #cbd5e1;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background-color: #334155;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background-color: #0f172a;
    border: 1px solid #334155;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-color: var(--primary);
}

.form-success-msg {
    display: none;
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #4ade80;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: #0f172a;
    padding: 30px 0;
    border-top: 1px solid #1e293b;
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #64748b;
}

/* Scroll Reveal Base Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    width: 48px;
    height: 48px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99;
    transition: all 0.3s ease;
}

.back-to-top.show {
    right: 30px;
}

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

/* Responsive Breakdown */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-grid, .about-grid, .services-grid, .pricing-grid, .testimonials-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .pricing-card.premium {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid var(--border);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .btn-nav {
        width: 100%;
        text-align: center;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 12px;
        display: block;
        text-align: center;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}
