/*
Theme Name: AMR Builder
Theme URI: https://amrbuilder.com/
Author: AMR Builder Team
Author URI: https://amrbuilder.com/
Description: A modern, animated WordPress theme for AMR Builder - a leading construction and real estate company in Bahria Town Karachi. Features red and blue color scheme with smooth animations, Elementor compatibility, and responsive design.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mand-empires
Tags: one-column, two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-width-template, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog, e-commerce, portfolio
*/

/* ===== CSS CUSTOM PROPERTIES - RED & BLUE THEME ===== */
:root {
    /* Primary Colors - Professional Red */
    --color-primary: #C41E3A;
    --color-primary-light: #E63950;
    --color-primary-dark: #9E1830;
    --color-secondary: #1a1a2e;

    /* Secondary Colors - Navy Blue */
    --color-trust: #1e3a5f;
    --color-trust-light: #2c5282;
    --color-trust-dark: #1a365d;

    /* Background Colors - Glass Light Theme */
    --bg-dark: rgba(248, 249, 250, 0.85);
    --bg-darker: rgba(255, 255, 255, 0.9);
    --bg-section: rgba(240, 242, 245, 0.7);
    --bg-section-alt: rgba(250, 250, 252, 0.9);
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.25);
    --bg-hero: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);

    /* Text Colors - Light Mode */
    --text-primary: #1a1a1a;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    --text-gold: #C41E3A;
    --text-white: #ffffff;
    --text-on-dark: rgba(255, 255, 255, 0.9);

    /* Gradients - Red & Blue */
    --gradient-gold: linear-gradient(135deg, #C41E3A 0%, #E63950 50%, #9E1830 100%);
    --gradient-trust: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    --gradient-dark: linear-gradient(180deg, #1e3a5f 0%, #2c5282 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.7) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(44, 82, 130, 0.85) 100%);

    /* Borders */
    --border-gold: 1px solid rgba(196, 30, 58, 0.3);
    --border-light: 1px solid rgba(0, 0, 0, 0.08);
    --border-card: 1px solid rgba(0, 0, 0, 0.06);

    /* Shadows - Red accent */
    --shadow-gold: 0 4px 30px rgba(196, 30, 58, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-button: 0 4px 16px rgba(196, 30, 58, 0.3);

    /* Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-padding: 120px 0;
    --section-padding-sm: 80px 0;
    --container-width: 1200px;
    --container-narrow: 900px;

    /* Typography Scale */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* ===== DARK MODE THEME ===== */


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    background-image: url('assets/images/bg-main.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Remove light override (it's default now) */

/* Glass Utility */
.glass-effect,
.service-card,
.blog-card,
.feature-box,
.contact-card,
.about-text,
.video-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
}

/* WordPress specific resets */
.wp-block-post-content,
.entry-content {
    max-width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gold-text {
    color: var(--color-primary) !important;
}

.gradient-gold-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(196, 30, 58, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(196, 30, 58, 0.6);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-logo img,
.custom-logo-link img {
    max-height: 50px;
    /* Adjusted slightly up for visibility, but constrained */
    width: auto;
    max-width: 200px;
}

.main-navigation {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    list-style: none;
}

.main-navigation a {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===== BUTTONS ===== */
.btn-primary,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: #000;
}

.btn-outline {
    padding: 14px 32px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #000;
    transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 span {
    display: block;
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--section-padding);
    background: var(--bg-section);
}

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

.service-card {
    background: var(--bg-glass);
    border: var(--border-light);
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(196, 30, 58, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: 25px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.learn-more:hover {
    gap: 15px;
    color: var(--color-primary-light);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-glass);
    border: var(--border-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-medium);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.feature-card h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* ===== CORE VALUES SECTION ===== */
.values-section {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.value-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-glass);
    border: var(--border-light);
    border-radius: 8px;
    transition: var(--transition-medium);
}

.value-card:hover {
    background: rgba(196, 30, 58, 0.05);
    border-color: rgba(196, 30, 58, 0.3);
    transform: translateX(10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.value-content h4 {
    margin-bottom: 10px;
    color: var(--color-primary);
}

.value-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 30px;
    color: var(--color-primary);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    z-index: -1;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-glass);
    border: var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.blog-image {
    height: 200px;
    background: var(--gradient-gold);
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.blog-content h4 {
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 150px;
    height: 80px;
    background: var(--bg-glass);
    border: var(--border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.partner-logo:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('assets/images/bg-city.png');
    background-size: cover;
    background-position: center;
}

.cta-box {
    background: var(--gradient-gold);
    border-radius: 8px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-box .btn-primary {
    background: #ffffff;
    color: var(--color-primary);
}

.cta-box .btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(196, 30, 58, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .site-logo {
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-glass);
    border: var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--text-secondary);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ELEMENTOR COMPATIBILITY ===== */
.elementor-section {
    background: var(--bg-dark);
}

.elementor-widget-heading .elementor-heading-title {
    color: var(--text-primary);
}

.elementor-widget-text-editor {
    color: var(--text-secondary);
}

.elementor-button {
    background: var(--gradient-gold) !important;
    color: #000 !important;
    border: none !important;
    font-weight: 600 !important;
}

.elementor-button:hover {
    box-shadow: var(--shadow-gold) !important;
}

/* Elementor dark section */
.elementor-section.elementor-section-dark,
.elementor-section[data-settings*="dark"] {
    background: var(--bg-section);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-medium);
    }

    .main-navigation.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .services-grid,
    .features-grid,
    .values-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline,
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ===== WORDPRESS BLOCK EDITOR STYLES ===== */
.wp-block-button__link {
    background: var(--gradient-gold);
    color: #000;
    border-radius: 4px;
    padding: 14px 32px;
    font-weight: 600;
}

.wp-block-button__link:hover {
    box-shadow: var(--shadow-gold);
}

.has-gold-background-color {
    background-color: var(--color-primary);
}

.has-gold-color {
    color: var(--color-primary);
}

.has-dark-background-color {
    background-color: var(--bg-dark);
}

/* ===== LIGHT MODE - ADDITIONAL BLOCK STYLES ===== */
[data-theme="light"] .wp-block-quote {
    border-left-color: var(--color-primary);
    background: rgba(196, 30, 58, 0.05);
}

[data-theme="light"] .wp-block-code {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .wp-block-table {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .wp-block-table td,
[data-theme="light"] .wp-block-table th {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===== REDESIGNED HERO SECTION ===== */
.hero-section.hero-fullwidth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 100px;
    position: relative;
    background: var(--bg-hero);
    overflow: hidden;
}

.hero-section.hero-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 30, 58, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(30, 58, 95, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(196, 30, 58, 0.15);
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section.hero-fullwidth h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-section.hero-fullwidth h1 span {
    color: var(--color-primary);
    display: block;
}

.hero-section.hero-fullwidth p {
    font-size: var(--font-size-xl);
    color: var(--text-on-dark);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-section.hero-fullwidth .hero-buttons {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* ===== TRUST BAR SECTION ===== */
.trust-bar {
    background: var(--bg-darker);
    padding: 40px 0;
    border-bottom: var(--border-light);
}

.trust-bar .trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-bar .stat {
    text-align: center;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-bar .stat span {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
}

.trust-bar .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== STATISTICS COUNTER SECTION ===== */
.stats-section {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-card .stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .stat-icon svg {
    width: 36px;
    height: 36px;
    fill: #000;
}

.stat-card .stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: var(--font-size-base);
    color: var(--text-on-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-section);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: var(--border-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: var(--transition-medium);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(196, 30, 58, 0.15);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

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

.testimonial-author-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: #000;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author-info h5 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-author-info span {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: var(--section-padding);
    background: var(--bg-section-alt);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-choose-card {
    background: var(--bg-card);
    border: var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-medium);
}

.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(196, 30, 58, 0.3);
}

.why-choose-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-icon svg {
    width: 28px;
    height: 28px;
    fill: #000;
}

.why-choose-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.why-choose-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===== ENHANCED SERVICE CARDS ===== */
.service-card .service-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-medium);
}

.service-card .service-icon svg {
    width: 32px;
    height: 32px;
    fill: #000;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== SECTION TAG/LABEL ===== */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

/* ===== ENHANCED CTA SECTION ===== */
.cta-section.cta-enhanced {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section.cta-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-enhanced .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-enhanced h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-enhanced p {
    font-size: var(--font-size-lg);
    color: var(--text-on-dark);
    margin-bottom: 32px;
}

/* ===== PARTNER LOGOS ENHANCED ===== */
.partner-logo {
    width: 160px;
    height: 90px;
    background: var(--bg-card);
    border: var(--border-card);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: var(--transition-medium);
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-bar .trust-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section.hero-fullwidth {
        padding: 120px 20px 80px;
    }

    .hero-section.hero-fullwidth h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .stat-card {
        padding: 24px 16px;
    }

    .stat-card .stat-number {
        font-size: var(--font-size-4xl);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar .trust-stats {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: var(--font-size-xs);
        padding: 6px 14px;
    }

    .stat-card .stat-icon {
        width: 60px;
        height: 60px;
    }

    .testimonial-card {
        padding: 28px;
    }

    .why-choose-card {
        flex-direction: column;
        text-align: center;
    }

    .why-choose-icon {
        margin: 0 auto;
    }
}