/*
Theme Name: Apex Digital Pro
Theme URI: https://apexdigitalprollc.us
Author: Your Name
Author URI: https://apexdigitalprollc.us
Description: A custom interactive theme for Apex Digital Pro LLC.
Version: 1.0
License: GPLv2 or later
Text Domain: apexdigitalpro
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* ---------- global reset & base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- scroll reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- header / nav ---------- */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(22, 101, 52, 0.08);
    transition: all 0.3s ease;
}
header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    width: 220px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.02);
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 500;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #000000;
    transition: 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #DC143C;
    transition: 0.3s;
    border-radius: 4px;
}
.nav-links a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #000000;
    transition: transform 0.3s ease;
}
.menu-toggle:hover {
    transform: rotate(90deg);
}

/* ---------- redesigned buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(22, 101, 52, 0.30);
}
.btn-primary:hover {
    transform: scale(0.97) translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 101, 52, 0.40);
}
.btn-primary:active {
    transform: scale(0.95);
}
.btn-outline {
    background: transparent;
    color: #000000;
    border: 1.5px solid #000000;
}
.btn-outline:hover {
    background: #DC143C;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 101, 52, 0.20);
}
.btn-outline:active {
    transform: scale(0.95);
}

/* ---------- Hero Slider (Full Width, No Curve) ---------- */
.hero-slider {
    position: relative;
    height: 85vh; /* Adjust height as needed */
    min-height: 600px;
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Pulls the slider out of the container to be full width */
    overflow: hidden;
    margin-bottom: 4rem; /* Space below the slider */
    background: #000;
    border-radius: 0; /* NO CURVE */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Dark Overlay for text readability */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity for desired darkness */
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.slide-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 auto 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: slideUpFade 1s ease-out both;
}

.slide-content .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    animation: slideUpFade 1s ease-out 0.2s both;
}

.slide-content .btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideUpFade 1s ease-out 0.4s both;
}

.slide-content .btn-outline {
    color: #ffffff;
    border-color: #ffffff;
}
.slide-content .btn-outline:hover {
    background: #DC143C;
    color: #ffffff;
    border-color: #DC143C;
}

.slide-content .hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    animation: slideUpFade 1s ease-out 0.6s both;
}

.slide-content .hero-stats div h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
}

.slide-content .hero-stats div p {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.8;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for slider */
@media (max-width: 1024px) {
    .slide-content h1 { font-size: 3rem; }
    .hero-slider { height: 75vh; }
}

@media (max-width: 800px) {
    .slide-content h1 { font-size: 2.4rem; }
    .slide-content .subtitle { font-size: 1rem; }
    .slide-content .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .hero-slider { height: 80vh; min-height: 500px; }
}

@media (max-width: 480px) {
    .slide-content h1 { font-size: 2rem; }
    .slide-content .subtitle { font-size: 0.95rem; }
    .slide-content .btn-group .btn { width: 100%; text-align: center; }
    .hero-slider { height: 90vh; min-height: 450px; }
}

/* ---------- sections ---------- */
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: #000000;
    text-align: center;
}
.section-title span {
    color: #000000;
    opacity: 0.8;
}
.section-sub {
    color: #000000;
    opacity: 0.7;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.services, .why-section, .about-section, .contact-section, .metrics-section, .how-section,
.case-study-section, .blog-section, .faq-section, .cta-section, .author-section {
    padding: 2.5rem 0;
}

/* Services - 3 columns, 2 rows */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-item {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 32px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all 0.25s;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.02);
    text-align: center;
    cursor: default;
}
.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #DC143C;
    box-shadow: 0 20px 30px -12px rgba(22, 101, 52, 0.12);
}
.service-item i {
    font-size: 2.4rem;
    background: rgba(22, 101, 52, 0.08);
    padding: 0.6rem;
    border-radius: 20px;
    color: #DC143C;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.service-item:hover i {
    background: #DC143C;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}
.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #000000;
}
.service-item p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Why Choose Us - 4 columns, 2 rows */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.why-card {
    background: #ffffff;
    padding: 1.8rem 1.2rem;
    border-radius: 28px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all 0.25s;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.02);
    text-align: center;
    cursor: default;
}
.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #DC143C;
    box-shadow: 0 20px 30px -12px rgba(22, 101, 52, 0.12);
}
.why-card i {
    font-size: 2rem;
    background: rgba(22, 101, 52, 0.08);
    padding: 0.6rem;
    border-radius: 20px;
    color: #DC143C;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.why-card:hover i {
    background: #DC143C;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}
.why-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: #000000;
}
.why-card p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ---------- redesigned Success Metrics ---------- */
.metrics-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 2rem 0;
    text-align: center;
}
.metrics-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.metric-item {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.metric-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: #DC143C;
    box-shadow: 0 16px 32px rgba(22, 101, 52, 0.08);
}
.metric-item h3 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.2rem;
}
.metric-item p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ---------- redesigned Case Study / Results ---------- */
.case-study-section {
    background: #f8fdf9;
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 2rem 0;
}
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.case-study-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.case-study-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: #DC143C;
    box-shadow: 0 16px 32px rgba(22, 101, 52, 0.08);
}
.case-study-card .result-highlight {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.3rem;
}
.case-study-card .result-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}
.case-study-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000000;
}
.case-study-card p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ---------- redesigned How It Works (3 columns, 2 rows) ---------- */
.how-section {
    padding: 2.5rem 0;
}
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.how-item {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 32px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all 0.25s;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.02);
    text-align: center;
    cursor: default;
}
.how-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #000000;
    box-shadow: 0 20px 30px -12px rgba(22, 101, 52, 0.12);
}
.how-item .step-number {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.how-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.30);
}
.how-item i {
    font-size: 2.2rem;
    background: rgba(22, 101, 52, 0.08);
    padding: 0.6rem;
    border-radius: 20px;
    color: #DC143C;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.how-item:hover i {
    background: #DC143C;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}
.how-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: #000000;
}
.how-item p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- redesigned about section - 2 columns, 1 row ---------- */
.about-section {
    background: #f8fdf9;
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 3rem;
}
.about-image {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 300px;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(22, 101, 52, 0.10);
    backdrop-filter: blur(4px);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.about-image:hover img {
    transform: scale(1.05);
}
.about-content {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}
.about-content .about-text {
    color: #000000;
    opacity: 0.85;
    line-height: 1.8;
}
.about-content .about-text p {
    margin-bottom: 1.2rem;
}
.about-content .highlight-box {
    background: #ffffff;
    border-left: 4px solid #000000;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    transition: all 0.3s ease;
}
.about-content .highlight-box:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ---------- Redesigned Single-Column Featured Author Section ---------- */
.author-section {
    background: #ffffff;
    border-radius: 60px;
    padding: 5rem 4rem;
    margin: 2rem 0;
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Playfair Display', Georgia, serif;
}

.author-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}
.author-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.author-header .author-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #DC143C;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Inter', sans-serif;
}

.author-single-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.author-profile-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}
.author-image-circle {
    width: 100%;
    max-width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 8px solid #f0fdf4;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.author-image-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
    pointer-events: none;
}
.author-image-circle:hover {
    transform: scale(1.03) rotate(2deg);
}
.author-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.author-image-circle:hover img {
    transform: scale(1.1);
}
.author-profile-center h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.5rem;
}
.author-bio-center {
    color: #000000;
    opacity: 0.85;
    line-height: 1.9;
    font-size: 1.15rem;
    text-align: center;
    max-width: 700px;
}

.book-section-below {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fdf9;
    padding: 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.book-section-below:hover {
    transform: translateY(-5px);
}

.book-cover-center {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}
.book-cover-center:hover {
    transform: scale(1.05) translateY(-5px) rotate(-1deg);
}
.book-cover-center img {
    width: 100%;
    height: auto;
    display: block;
}

.book-section-below h4 {
    font-size: 2rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    text-align: center;
}
.book-section-below .book-author-sub {
    font-size: 1rem;
    color: #DC143C;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}
.book-section-below p {
    font-size: 1.05rem;
    color: #000000;
    opacity: 0.85;
    line-height: 1.9;
    text-align: center;
    margin-bottom: 2rem;
}
.book-section-below .btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.book-section-below .btn {
    font-family: 'Inter', sans-serif;
    padding: 0.8rem 2.5rem;
}

.author-deco-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}
.deco-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.03) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}
.deco-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
}

/* ---------- testimonial section (2 columns, 3 rows) ---------- */
.testimonial-section {
    padding: 2.5rem 0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: #DC143C;
    box-shadow: 0 16px 32px rgba(22, 101, 52, 0.08);
}
.testimonial-card .quote-icon {
    color: #000000;
    opacity: 0.2;
    font-size: 2.5rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: all 0.3s ease;
}
.testimonial-card:hover .quote-icon {
    opacity: 0.4;
    transform: rotate(10deg) scale(1.1);
}
.testimonial-card blockquote {
    font-size: 1rem;
    font-style: italic;
    color: #000000;
    line-height: 1.7;
    margin: 0.5rem 0 1rem;
    padding-right: 2rem;
}
.testimonial-card .author {
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
}
.testimonial-card .author-role {
    color: #000000;
    opacity: 0.6;
    font-size: 0.85rem;
}
.testimonial-card .stars {
    color: #facc15;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ---------- CTA Banner ---------- */
.cta-section {
    background: #000000;
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 2rem 0;
    text-align: center;
    color: #ffffff;
    transition: all 0.3s ease;
}
.cta-section:hover {
    box-shadow: 0 12px 40px rgba(22, 101, 52, 0.20);
}
.cta-section h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cta-section p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}
.cta-section .btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.30);
}
.cta-section .btn-primary:hover {
    transform: scale(0.97) translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.40);
}
.cta-section .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}
.cta-section .btn-outline:hover {
    background: #ffffff;
    color: #DC143C;
    transform: translateY(-2px);
}

/* ---------- redesigned Blog / Resources (2 cols x 2 rows) ---------- */
.blog-section {
    padding: 2.5rem 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.blog-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    transition: all 0.3s ease;
    text-align: left;
}
.blog-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: #DC143C;
    box-shadow: 0 16px 32px rgba(22, 101, 52, 0.08);
}
.blog-card i {
    font-size: 2.2rem;
    color: #DC143C;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.blog-card:hover i {
    transform: scale(1.1) rotate(5deg);
}
.blog-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000000;
}
.blog-card p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- redesigned FAQ Section ---------- */
.faq-section {
    background: #f8fdf9;
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 2rem 0;
}
.faq-item {
    background: #ffffff;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.faq-item:hover {
    border-color: #DC143C;
    transform: translateX(4px);
}
.faq-item .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #000000;
    font-size: 1.05rem;
}
.faq-item .faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #000000;
    opacity: 0.8;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 0.8rem;
}

/* ---------- contact section ---------- */
.contact-section {
    background: #f8fdf9;
    border-radius: 60px;
    padding: 4rem 3rem;
    margin: 2rem 0;
    text-align: center;
}
.contact-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}
.contact-section .contact-desc {
    color: #000000;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.contact-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(22, 101, 52, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: center;
}
.contact-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #DC143C;
    box-shadow: 0 12px 28px rgba(22, 101, 52, 0.08);
}
.contact-card i {
    font-size: 2.5rem;
    background: rgba(22, 101, 52, 0.08);
    padding: 0.8rem;
    border-radius: 50%;
    color: #DC143C;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.contact-card:hover i {
    background: #DC143C;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}
.contact-card h4 {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.3rem;
}
.contact-card p {
    color: #000000;
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.contact-card a {
    color: #DC143C;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-block;
    transition: 0.2s;
}
.contact-card a:hover {
    text-decoration: underline;
    color: #0f4a2c;
    transform: translateX(4px);
}

/* ---------- REDESIGNED FOOTER ---------- */
footer {
    background: #1A1A1A ;
    color: #e2e8f0;
    padding: 4rem 0 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.3;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .footer-logo {
        margin: 0 auto;
    }
    .footer-col .social-icons {
        justify-content: center;
    }
    .footer-col .contact-item-small {
        justify-content: center;
    }
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #4ade80;
    border-radius: 2px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 0.6rem;
}
.footer-col ul li a {
    color: #d1fae5;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-block;
}
.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
    text-decoration: underline;
}
.footer-col p {
    color: #d1fae5;
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-col .footer-logo {
    width: 160px;
    height: auto;
    display: block;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}
.footer-col .footer-logo:hover {
    transform: scale(1.05);
}
.footer-col .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.footer-col .social-icons a {
    color: #d1fae5;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.footer-col .social-icons a:hover {
    color: #ffffff;
    background: #DC143C;
    transform: translateY(-3px) scale(1.1);
}
.footer-col .contact-item-small {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #d1fae5;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.footer-col .contact-item-small i {
    font-size: 1rem;
    color: #4ade80;
    width: 20px;
    text-align: center;
}
.footer-col .contact-item-small a {
    color: #d1fae5;
    text-decoration: none;
    transition: 0.2s;
}
.footer-col .contact-item-small a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.copyright {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #a7d0b5;
    text-align: center;
}
.copyright i.fa-heart {
    color: #f87171;
}

#backToTop {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}
#backToTop:hover {
    background: #DC143C;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(22, 101, 52, 0.35);
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
#backToTop:active {
    transform: scale(0.95);
}

.btn-click-glow {
    animation: glowPulse 0.4s ease;
}
@keyframes glowPulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 101, 52, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(22, 101, 52, 0); }
    100% { box-shadow: 0 6px 16px rgba(22, 101, 52, 0.30); }
}

@media (max-width: 1024px) {
    .hero-banner h1 { font-size: 3rem; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .case-study-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .about-image, .about-content {
        flex: 1 1 100%;
    }
    .about-image { height: 350px; }
    .author-header h2 { font-size: 2.4rem; }
    .author-section { padding: 3rem 2rem; }
    .book-section-below { padding: 2.5rem; }
}
@media (max-width: 800px) {
    nav {
        justify-content: center;
        gap: 0.5rem;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.2rem;
    }
    .logo {
        margin: 0 auto;
    }
    .logo img {
        width: 170px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        padding: 1.5rem 0;
        border-radius: 30px;
        gap: 1rem;
        text-align: center;
        border: 1px solid rgba(22, 101, 52, 0.06);
        margin-top: 0.5rem;
        transform-origin: top;
        transition: all 0.3s ease;
        transform: scaleY(0);
        opacity: 0;
        visibility: hidden;
    }
    .nav-links.show {
        display: flex;
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-banner { padding: 3rem 0 4rem; }
    .hero-banner h1 { font-size: 2.4rem; }
    .hero-banner .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .how-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .case-study-grid { grid-template-columns: 1fr; }
    .about-section {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-image { height: 300px; width: 100%; }
    .about-content h2 { font-size: 2rem; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; text-align: left; }
    .author-header h2 { font-size: 2.4rem; }
    .author-section { padding: 3rem 2rem; }
    .book-section-below { padding: 2.5rem; }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .footer-logo {
        margin: 0 auto;
    }
    .footer-col .social-icons {
        justify-content: center;
    }
    .footer-col .contact-item-small {
        justify-content: center;
    }
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    .hero-banner h1 { font-size: 2rem; }
    .hero-banner .subtitle { font-size: 0.95rem; }
    .hero-banner .btn-group .btn { width: 100%; text-align: center; }
    .service-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; gap: 1rem; }
    .how-grid { grid-template-columns: 1fr; gap: 1rem; }
    .blog-grid { grid-template-columns: 1fr; gap: 1rem; }
    .about-section { padding: 1.5rem 1rem; border-radius: 30px; }
    .about-image { height: 250px; width: 100%; }
    .about-content h2 { font-size: 1.6rem; }
    .contact-section { padding: 2rem 1.5rem; border-radius: 30px; }
    .contact-section h2 { font-size: 1.8rem; }
    .footer-grid { gap: 1.5rem; }
    .logo img { width: 150px; }
    .footer-col .footer-logo { width: 120px; }
    .author-section { padding: 2rem 1rem; border-radius: 30px; }
    .author-header h2 { font-size: 2rem; }
    .author-image-circle { width: 220px; height: 220px; }
    .author-bio-center { font-size: 1rem; }
    .book-section-below { padding: 1.5rem; }
    .book-section-below h4 { font-size: 1.5rem; }
    .book-section-below p { font-size: 0.95rem; }
}

.nav-links ul,
.nav-links ul li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.nav-links ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: 0.2s;
    position: relative;
    padding: 0;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #DC143C;
    transition: 0.3s;
    border-radius: 4px;
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.nav-links ul,
.nav-links ul li,
.nav-links li,
.nav-links .menu-item,
.nav-links .page-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links ul {
    display: flex !important;
    gap: 2.5rem;
}