/*
Theme Name: Apex Digital Pro
Theme URI: https://apexdigitalpro.us
Author: Your Name
Author URI: https://apexdigitalpro.us
Description: A custom interactive theme for Apex Digital Pro LLC.
Version: 1.0
License: GPLv2 or later
Text Domain: apexdigitalpro
*/

/* ---------- 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: #DC143C;
    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: #DC143C;
    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: #DC143C;
    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: #DC143C;
    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: #DC143C;
    border: 1.5px solid #DC143C;
}
.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 banner ---------- */
.hero-banner {
    position: relative;
    padding: 5rem 0 6rem;
    background-image: url("http://apex-digital-pro-llc.local/wp-content/uploads/2026/08/bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 60px 60px;
    margin-bottom: 2rem;
    overflow: hidden;
    text-align: center;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    pointer-events: none;
    z-index: 1;
}
.hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 101, 52, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}
.hero-banner .container {
    position: relative;
    z-index: 3;
}
.hero-banner h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #DC143C;
    max-width: 800px;
    margin: 0 auto 1.2rem;
    animation: fadeInUp 1s ease;
}
.hero-banner .subtitle {
    font-size: 1.15rem;
    color: #DC143C;
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.2s both;
}
.hero-banner .btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}
.hero-banner .hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}
.hero-banner .hero-stats div h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #DC143C;
}
.hero-banner .hero-stats div p {
    font-size: 0.9rem;
    color: #DC143C;
    opacity: 0.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- sections ---------- */
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: #DC143C;
    text-align: center;
}
.section-title span {
    color: #DC143C;
    opacity: 0.8;
}
.section-sub {
    color: #DC143C;
    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 {
    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: #DC143C;
}
.service-item p {
    color: #DC143C;
    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: #DC143C;
}
.why-card p {
    color: #DC143C;
    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: #DC143C;
    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: #DC143C;
    margin-bottom: 0.2rem;
}
.metric-item p {
    color: #DC143C;
    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: #DC143C;
    margin-bottom: 0.3rem;
}
.case-study-card .result-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #DC143C;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}
.case-study-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #DC143C;
}
.case-study-card p {
    color: #DC143C;
    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: #DC143C;
    box-shadow: 0 20px 30px -12px rgba(22, 101, 52, 0.12);
}
.how-item .step-number {
    display: inline-block;
    background: #DC143C;
    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: #DC143C;
}
.how-item p {
    color: #DC143C;
    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: #DC143C;
    margin-bottom: 1rem;
}
.about-content .about-text {
    color: #DC143C;
    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 #DC143C;
    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);
}

/* ---------- 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: #DC143C;
    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: #DC143C;
    line-height: 1.7;
    margin: 0.5rem 0 1rem;
    padding-right: 2rem;
}
.testimonial-card .author {
    font-weight: 600;
    color: #DC143C;
    font-size: 0.95rem;
}
.testimonial-card .author-role {
    color: #DC143C;
    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: #DC143C;
    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: #DC143C;
    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: #DC143C;
}
.blog-card p {
    color: #DC143C;
    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: #DC143C;
    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: #DC143C;
    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: #DC143C;
    margin-bottom: 0.5rem;
}
.contact-section .contact-desc {
    color: #DC143C;
    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: #DC143C;
    margin-bottom: 0.3rem;
}
.contact-card p {
    color: #DC143C;
    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 (4 columns) ---------- */
.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);
}

/* ---------- RESPONSIVE ---------- */
@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;
}

/* ---------- Back to Top Button ---------- */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #DC143C;
    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: #0f4a2c;
    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);
}

/* ---------- animations ---------- */
.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); }
}

/* ---------- responsive ---------- */
@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; }
}
@media (max-width: 800px) {
    /* ---- MOBILE NAV CENTERING ---- */
    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; }
}
@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; }
}

/* ---------- Fix WordPress Menu Bullets & Styling ---------- */
.nav-links ul,
.nav-links ul li {
    margin: 0;
    padding: 0;
    list-style: none !important; /* Removes the bullets */
}

.nav-links ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links ul li a {
    text-decoration: none;
    color: #DC143C;
    font-weight: 500;
    transition: 0.2s;
    position: relative;
    padding: 0;
}

/* Underline hover effect (matching your design) */
.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%;
}

/* Ultimate bullet remover */
.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;
}
