/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #0b0b0b;
    --secondary: #1f1f1f;
    --accent: #d4af37;
    --light: #f5f5f5;
    --dark: #000000;
    --text-gray: #8c8c8c;
    --shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    --hover-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0b0b0b;
    transform: translateY(-2px);
}

/* Glowing CTA Animation */
.btn-glow {
    background-color: var(--secondary);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary);
}

.btn-card {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.9rem;
    padding: 8px 20px;
    margin-top: 15px;
}

.btn-card:hover {
    background-color: var(--primary);
    color: #fff;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

header.sticky {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
}

/* Hover Animations on Menu Items */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    background: linear-gradient(135deg, #0b0b0b 0%, #0b0b0b 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    animation: slideRight 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

/* Animated Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item span {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.8;
}

/* Hero Animation / Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-circle {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-circle::before {
    content: '📈 💰 👤';
    font-size: 4rem;
    position: absolute;
    animation: spinWords 15s linear infinite;
}

/* --- ABOUT PREVIEW --- */
#about {
    background-color: #fff;
}

.about-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Core Values Cards (Fade-in Animation) */
.about-values {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border-bottom: 3px solid var(--secondary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.value-card h4 {
    font-size: 1.1rem;
}

/* --- WHY CHOOSE US --- */
#why-choose {
    background-color: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.why-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.why-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Hover Reveal Effect */
.why-card .details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 0;
}

.why-card:hover .details {
    max-height: 150px;
    opacity: 1;
    margin-top: 15px;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* --- SERVICES --- */
#services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.service-category {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

/* Animation Trigger Class */
.service-category.animate-card {
    transform: translateY(0);
    opacity: 1;
}

.service-header {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    position: relative;
}

.service-header h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
}

.service-list {
    padding: 20px;
}

.service-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.service-footer {
    text-align: center;
    padding-bottom: 20px;
}

/* --- TESTIMONIALS (CAROUSEL) --- */
#testimonials {
    background-color: var(--light);
    text-align: center;
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    padding: 20px;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.client-name {
    font-weight: 700;
    color: var(--primary);
}

/* --- FAQ (ACCORDION) --- */
#faq {
    background-color: #fff;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: var(--light);
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    border-radius: var(--radius);
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #fff;
}

.accordion-body p {
    padding: 20px;
    color: var(--text-gray);
    border-left: 3px solid var(--secondary);
    margin: 10px 0;
}

/* --- GET IN TOUCH (FORM) --- */
#contact {
    background: linear-gradient(135deg, #0b0b0b 0%, #0b0b0b 100%);
    color: #fff;
}

#contact .section-title h2,
#contact .section-title p {
    color: #fff;
}

.contact-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    max-width: 700px;
    margin: 0 auto;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
    color: var(--dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-wrapper.visible {
    transform: translateY(0);
    opacity: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.contact-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: var(--radius);
    text-align: center;
    display: none;
    font-weight: 600;
}

/* --- NEWSLETTER --- */
#newsletter {
    background-color: var(--light);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.newsletter-form .full-width {
    grid-column: 1 / -1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: left;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: var(--radius);
    text-align: center;
    display: none;
    font-weight: 600;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    margin-top: 5px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
    /* Bounce Effect */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* --- ANIMATIONS --- */
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-55%) translateX(10px);
    }
}

@keyframes spinWords {
    0% {
        transform: rotate(0deg);
        opacity: 0.2;
    }

    25% {
        opacity: 0.8;
    }

    50% {
        transform: rotate(180deg);
        opacity: 0.2;
    }

    75% {
        opacity: 0.8;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.2;
    }
}

/* Scroll Reveal Utility Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-content {
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-cta {
        justify-content: center;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-form .full-width {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hidden for simplicity in this snippet */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}