/*
=================================================================
ACE PROFESSIONAL COMPLETE TEMPLATE - COMPREHENSIVE CSS
Modern, responsive, professional design
Auto-fills with theme colors from CRM
=================================================================
*/

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color, #1a202c);
    background-color: var(--background-color, #ffffff);
    overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container h2 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.container p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.125rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color, #2563eb);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color, #2563eb);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-color, #f59e0b), var(--secondary-color, #8b5cf6));
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.4);
}

.btn-block {
    width: 100%;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.1), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.1));
    color: var(--primary-color, #2563eb);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* ===== HERO SECTION ===== */
.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    overflow: hidden;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll span {
    width: 2px;
    height: 20px;
    background: white;
    animation: scrollDown 2s ease-in-out infinite;
}

.hero-scroll span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-scroll span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--background-color, #0a0a0a);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.1), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.05));
    border-radius: 16px;
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color, #2563eb);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.1), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.1));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.image-placeholder svg {
    width: 50%;
    height: 50%;
    color: var(--primary-color, #2563eb);
    opacity: 0.3;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.02), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.02));
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(var(--primary-color-rgb, 37, 99, 235), 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color, #2563eb);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: #0a0a0a;
}

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

.feature-item {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.1), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.05));
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.feature-item:hover {
    border-color: var(--primary-color, #2563eb);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(var(--primary-color-rgb, 37, 99, 235), 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
}

/* Feature Card (alternative class name) */
.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.1), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.05));
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--primary-color, #2563eb);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 1rem 0 0.75rem 0;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card .material-icons {
    font-size: 3rem;
    color: var(--primary-color, #2563eb);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.02), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.02));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(var(--primary-color-rgb, 37, 99, 235), 0.15);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.team-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color, #1a202c);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.875rem;
    color: var(--primary-color, #2563eb);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: white;
}

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

.testimonial-card {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.05), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.02));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: var(--accent-color, #f59e0b);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color, #1a202c);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: #64748b;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20%, 20%); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.02), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.02));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color, #1a202c);
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color, #2563eb);
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color, #1a202c);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* ===== ANIMATIONS (AOS Integration) ===== */
[data-aos] {
    pointer-events: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ===== SMOOTH SCROLLING ===== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ================================================
   ACE ENHANCEMENTS - ALL OPTIONS IMPLEMENTATION
   Modern effects while maintaining CRM control
   ================================================ */

/* Particle Animation for Hero */
.hero-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    animation: particleFloat 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
}

/* Enhanced Glassmorphism */
.service-card,
.team-card,
.testimonial-card,
.feature-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Gradient Text Animation */
.section-title {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating Animation for Service Icons */
.service-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Shimmer Effect on Card Hover */
.service-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

.service-card:hover::before,
.team-card:hover::before {
    transform: rotate(45deg) translateX(100%);
}

/* Pulse Animation for CTA */
.btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ctaPulse 2s infinite;
    pointer-events: none;
}

@keyframes ctaPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Enhanced Scroll Indicator */
.hero-scroll {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Stats Section Styles (NEW!) */
.stats-section {
    background: linear-gradient(135deg, 
        rgba(var(--primary-color-rgb, 37, 99, 235), 0.05), 
        rgba(var(--secondary-color-rgb, 139, 92, 246), 0.05));
    padding: 6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(var(--primary-color-rgb, 37, 99, 235), 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon .material-icons {
    font-size: 3rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color, #2563eb);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Social Links */
.team-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--primary-color, #2563eb);
}

.team-social a:hover {
    background: var(--primary-color, #2563eb);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
}

/* Image Hover Effects */
.team-image img,
.testimonial-author img {
    transition: transform 0.4s ease;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card:hover .team-image img,
.testimonial-card:hover .testimonial-author img {
    transform: scale(1.1);
}

/* Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
    .service-card:active,
    .team-card:active,
    .testimonial-card:active,
    .btn:active {
        transform: scale(0.98);
    }
}

/* High Performance Mode - Respect user preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================
   TEXT-BASED IMAGE FALLBACKS
   Elegant placeholders when images aren't uploaded
   ================================================ */

/* Image Placeholder Container */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: placeholderPulse 3s ease-in-out infinite;
}

@keyframes placeholderPulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(10px, 10px) scale(1.1); opacity: 0.8; }
}

/* Icon in Placeholder */
.image-placeholder .material-icons {
    font-size: 4rem;
    color: white;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: white;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Text in Placeholder */
.image-placeholder-text {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.image-placeholder-initials {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 900;
    font-size: 3rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

/* Team Image Placeholder */
.team-image .image-placeholder {
    border-radius: 50%;
}

/* About Image Placeholder */
.about-image .image-placeholder {
    border-radius: 16px;
}

/* Service Image Placeholder */
.service-image .image-placeholder {
    border-radius: 12px;
    min-height: 200px;
}

/* Blog/Portfolio Image Placeholder */
.blog-image .image-placeholder,
.portfolio-image .image-placeholder {
    border-radius: 16px;
    min-height: 250px;
}

/* Testimonial Image Placeholder */
.testimonial-author img,
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Small Icon Placeholder */
.image-placeholder.small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.image-placeholder.small .material-icons {
    font-size: 2rem;
}

/* Medium Icon Placeholder */
.image-placeholder.medium {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.image-placeholder.medium .material-icons {
    font-size: 3rem;
}

/* Large Icon Placeholder */
.image-placeholder.large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.image-placeholder.large .material-icons {
    font-size: 4rem;
}

/* Add subtle border to placeholders */
.image-placeholder {
    border: 2px solid rgba(255,255,255,0.2);
}

/* Hover effect for interactive placeholders */
.image-placeholder-interactive {
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-placeholder-interactive:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.4);
}

.image-placeholder-interactive:hover .material-icons,
.image-placeholder-interactive:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

/* ================================================
   MODERN TOPBAR WITH SOCIAL LINKS (CRM)
   ================================================ */

.topbar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
    font-size: 0.8125rem;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.topbar-link:hover {
    color: var(--primary-color, #2563eb);
}

.topbar-link svg {
    flex-shrink: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-social-link:hover {
    background: var(--primary-color, #2563eb);
    color: white;
    border-color: var(--primary-color, #2563eb);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* ================================================
   MODERN PROFESSIONAL NAVIGATION (CRM)
   ================================================ */

.navbar-modern {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-brand-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
    transition: all 0.3s ease;
}

.nav-brand-modern:hover .brand-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 16px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-modern {
    position: relative;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link-modern span {
    position: relative;
    z-index: 2;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link-modern:hover {
    color: #ffffff;
}

.nav-link-modern:hover::before {
    opacity: 1;
}

.nav-link-modern.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.2), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.2));
    box-shadow: inset 0 0 0 1px rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
}

.btn-contact-nav {
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6)) !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
    margin-left: 0.5rem;
}

.btn-contact-nav::before {
    display: none;
}

.btn-contact-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .nav-menu-modern {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        max-width: 350px;
        height: calc(100vh - 73px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }
    
    .nav-menu-modern.active {
        left: 0;
    }
    
    .nav-link-modern {
        padding: 1rem 2rem;
        border-radius: 0;
        border-left: 3px solid transparent;
    }
    
    .nav-link-modern.active {
        border-left-color: var(--primary-color, #2563eb);
        background: rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
    }
    
    .btn-contact-nav {
        margin: 1rem 2rem 0;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ================================================
   ENHANCED NAVIGATION IMPROVEMENTS (LEGACY SUPPORT)
   ================================================ */

/* Navigation Container */
.navbar .container {
    position: relative;
}

/* Navigation Brand Enhancement */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
}

.nav-brand .material-icons {
    font-size: 2rem;
    color: var(--primary-color, #2563eb);
    filter: drop-shadow(0 2px 4px rgba(var(--primary-color-rgb, 37, 99, 235), 0.3));
}

.nav-brand:hover {
    transform: translateY(-2px);
}

/* Navigation Menu Enhancement */
.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Navigation Links Enhancement */
.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.2), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.2));
    position: relative;
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
    pointer-events: none;
}

/* Mobile Navigation Enhancement */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.125rem;
    }
}

/* ================================================
   ENHANCED CONTACT SECTION DESIGN
   ================================================ */

/* Contact Section Layout */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Contact Info Grid - 4 Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.05), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.03));
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(var(--primary-color-rgb, 37, 99, 235), 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.contact-info-card:hover::after {
    opacity: 1;
}

.contact-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(var(--primary-color-rgb, 37, 99, 235), 0.25);
    border-color: rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb, 37, 99, 235), 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
}

.contact-info-card:hover .contact-icon::before {
    opacity: 0.6;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.contact-info-card:hover .contact-icon svg {
    transform: scale(1.1);
}

.contact-info-card h4 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.contact-info-card p {
    font-size: 1.125rem !important;
    color: #ffffff !important;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    font-weight: 500 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color, #2563eb);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(var(--primary-color-rgb, 37, 99, 235), 0.1);
}

.contact-link::after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    gap: 0.75rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    transform: translateX(5px);
}

.contact-link:hover::after {
    transform: translateX(5px);
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.2);
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 700;
    border: 2px solid rgba(16, 185, 129, 0.4);
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6), 0 0 16px rgba(16, 185, 129, 0.4);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Enhanced Form Wrapper - Modern Glassmorphism */
.contact-form-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 37, 99, 235), 0.12), rgba(var(--secondary-color-rgb, 139, 92, 246), 0.08));
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(var(--primary-color-rgb, 37, 99, 235), 0.2);
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb, 37, 99, 235), 0.15) 0%, transparent 70%);
    animation: formGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes formGlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    50% { transform: translate(-20px, -20px) rotate(180deg); opacity: 0.8; }
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.form-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
}

.form-header h3 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9) !important;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Form Styles */
.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-form .form-group {
    margin-bottom: 0;
}

.modern-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
}

.modern-form label .material-icons {
    font-size: 1.25rem;
    color: var(--primary-color, #2563eb);
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(var(--primary-color-rgb, 37, 99, 235), 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}

.modern-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.modern-form select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.75rem;
}

.modern-form input::placeholder,
.modern-form textarea::placeholder,
.modern-form select::placeholder {
    color: rgba(255,255,255,0.4);
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline: none;
    border-color: var(--primary-color, #2563eb);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb, 37, 99, 235), 0.15);
}

.modern-form textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500;
}

.form-privacy .material-icons {
    font-size: 1.25rem;
    color: #10b981;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .modern-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.75rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .modern-form label {
        font-size: 0.875rem;
    }
    
    .modern-form label .material-icons {
        font-size: 1.125rem;
    }
    
    .contact-info-card h4 {
        font-size: 1.25rem !important;
    }
    
    .contact-info-card p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .form-header {
        margin-bottom: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ================================================
   ENHANCED SERVICES SECTION - THEME COMPATIBLE
   ================================================ */

.services-section {
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(var(--primary-color-rgb, 37, 99, 235), 0.03), 
        rgba(var(--secondary-color-rgb, 139, 92, 246), 0.03));
    pointer-events: none;
}

.services-grid {
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    overflow: visible;
}

/* Service card number badge */
.service-card::after {
    content: attr(data-number);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced service link */
.service-link {
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color, #2563eb);
    transition: width 0.3s ease;
}

.service-link:hover::before {
    width: 100%;
}

/* ================================================
   ENHANCED CTA SECTION - THEME COMPATIBLE
   ================================================ */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: ctaGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    position: relative;
    display: inline-block;
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color, #f59e0b), var(--primary-color, #2563eb));
    border-radius: 2px;
}

/* ================================================
   ENHANCED FOOTER - THEME COMPATIBLE
   ================================================ */

.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color, #2563eb), 
        var(--secondary-color, #8b5cf6),
        transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    color: var(--primary-color, #2563eb);
    transform: translateX(5px);
}

.footer-section a .material-icons {
    font-size: 1.125rem;
    color: var(--primary-color, #2563eb);
}

/* Footer Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.newsletter-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.newsletter-info .material-icons {
    font-size: 3rem;
    color: var(--primary-color, #2563eb);
}

.newsletter-info h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color, #2563eb);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb, 37, 99, 235), 0.4);
}

/* ================================================
   PAGE HEADERS - THEME COMPATIBLE
   ================================================ */

.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #8b5cf6));
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: headerFloat 15s ease-in-out infinite;
}

@keyframes headerFloat {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

/* ================================================
   RESPONSIVE ENHANCEMENTS
   ================================================ */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}
