/* =========================
   GLOBAL RESET & VARIABLES
========================= */
:root {
    --primary: #f97316;
    --primary-dark: #c2410c;
    --secondary: #7c2d12;
    --light: #fff7ed;
    --gray: #9ca3af;
    --bg: #ffffff;
    --radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--secondary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================
   CONTAINER & UTILITIES
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1, h2, h3 {
    font-weight: 700;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.4rem;
}

/* =========================
   HEADER & NAVBAR
========================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =========================
   HERO SECTION
========================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* =========================
   HERO ANIMATIONS
========================= */
.hero-animation {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.graph-line {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 2px;
    background: rgba(194, 65, 12, 0.2);
    animation: slideLine 6s linear infinite;
}

@keyframes slideLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.coin {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, #fde68a, #f59e0b);
    animation: floatCoin 4s ease-in-out infinite;
}

@keyframes floatCoin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =========================
   STATS SECTION
========================= */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background: var(--primary);
    color: #fff;
    padding: 4rem 10%;
    text-align: center;
}

.stat h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    opacity: 0.9;
}

/* =========================
   ABOUT SECTION
========================= */
#about {
    padding: 6rem 0;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* =========================
   WHY CHOOSE US
========================= */
#why-us {
    background: #f1f5f9;
    padding: 6rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.feature:hover {
    transform: translateY(-10px);
}

/* Tooltip hover text */
.feature::after {
    content: attr(data-hover);
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #fff;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    width: 220px;
}

.feature:hover::after {
    opacity: 1;
}

/* =========================
   SERVICES
========================= */
#services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-category {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-category:hover {
    transform: translateY(-8px);
}

.service-category h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-list li {
    padding: 0.4rem 0;
    color: var(--gray);
}

/* =========================
   ANIMATIONS (ON SCROLL)
========================= */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .core-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .features,
    .core-values {
        grid-template-columns: 1fr;
    }
}
/* =========================
   TESTIMONIALS
========================= */
#testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.testimonial-carousel {
    max-width: 800px;
    margin: auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.testimonial.active {
    display: block;
    animation: fadeSlide 0.6s ease;
}

.testimonial p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: #1e40af;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: #3b82f6;
    transform: scale(1.2);
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   FAQ SECTION
========================= */
#faq {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 1.6rem;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.6rem;
    color: #475569;
    background: #f1f5f9;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Active FAQ */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1rem 1.6rem 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* =========================
   CONTACT & NEWSLETTER FORMS
========================= */
#contact,
#newsletter {
    padding: 6rem 0;
}

#contact {
    background: #ffffff;
}

#newsletter {
    background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.form-container {
    max-width: 550px;
    margin: auto;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.checkbox-group {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-group input {
    margin-top: 0.2rem;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.footer-section a,
.footer-section p {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: #cbd5f5;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3b82f6;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #60a5fa;
}

/* =========================
   MODALS
========================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 1200px;
    width: 90%;
    position: relative;
    animation: modalIn 0.4s ease;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    color: #475569;
}

.close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #64748b;
}

.close:hover {
    color: #ef4444;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem;
    }
}

