/*
Theme Name: ACES Limited Theme
Description: Professional renewable energy theme inspired by green.com.pg
Author: ACES Limited
Version: 1.0.0
*/

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding-top: 120px;
}

/* ===== UPDATED ACES BRAND COLORS (From Logo) ===== */
:root {
    /* Primary Colors from ACES Logo */
    --aces-primary-green: #4CAF50;
    --aces-accent-blue: #2196F3;
    --aces-accent-gold: #FFC107;
    
    /* Supporting Colors */
    --aces-dark-green: #2c5530;
    --aces-light-green: #81C784;
    --aces-dark-blue: #1976D2;
    --aces-light-blue: #64B5F6;
    --aces-dark-gold: #F57C00;
    --aces-light-gold: #FFD54F;
    
    /* Neutral Colors */
    --aces-black: #1a1a1a;
    --aces-gray: #666;
    --aces-light-gray: #f8f9fa;
    --aces-white: #ffffff;
    
    /* Updated Gradients with Logo Colors */
    --aces-gradient-primary: linear-gradient(135deg, var(--aces-primary-green), var(--aces-accent-blue));
    --aces-gradient-hero: linear-gradient(135deg, var(--aces-dark-green) 0%, var(--aces-primary-green) 50%, var(--aces-accent-blue) 100%);
    --aces-gradient-accent: linear-gradient(135deg, var(--aces-accent-blue), var(--aces-accent-gold));
    --aces-gradient-services: linear-gradient(135deg, var(--aces-accent-gold), var(--aces-primary-green));
    
    /* Shadows with Color Variations */
    --aces-shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --aces-shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --aces-shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
    --aces-shadow-green: 0 5px 20px rgba(76, 175, 80, 0.3);
    --aces-shadow-blue: 0 5px 20px rgba(33, 150, 243, 0.3);
    --aces-shadow-gold: 0 5px 20px rgba(255, 193, 7, 0.3);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--aces-dark-green);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--aces-gray);
}

a {
    color: var(--aces-primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--aces-dark-green);
}

/* ===== LAYOUT HELPERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== BUTTONS ===== */
.cta-button, .cta-button-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    background: var(--aces-gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.cta-button:hover, .cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--aces-shadow-green);
    color: white;
}

.cta-button::before, .cta-button-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s;
}

.cta-button:hover::before, .cta-button-small:hover::before {
    left: 100%;
}

.cta-secondary {
    background: transparent;
    color: var(--aces-primary-green);
    border: 2px solid var(--aces-primary-green);
}

.cta-secondary:hover {
    background: var(--aces-primary-green);
    color: white;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(44, 85, 48, 0.95);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
}

.header.scrolled {
    background: rgba(44, 85, 48, 0.98);
    box-shadow: var(--aces-shadow-medium);
}

.header-top {
    background: var(--aces-dark-green);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 2rem;
}

.header-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-contact a:hover {
    color: var(--aces-light-green);
}

.header-main {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.logo-text h1 a {
    color: white;
    text-decoration: none;
}

.logo-text p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--aces-light-green);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--aces-light-green);
    border-bottom-color: var(--aces-primary-green);
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--aces-dark-green);
    padding: 2rem;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1rem;
}

.mobile-nav-menu a {
    color: white;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--aces-gradient-hero);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Floating elements */
.hero-float {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.hero-float:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-float:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-float:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--aces-light-gray);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--aces-dark-green);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--aces-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--aces-shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--aces-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--aces-shadow-heavy);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--aces-gradient-primary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--aces-dark-green);
}

.service-card p {
    color: var(--aces-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-link {
    color: var(--aces-primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 100px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--aces-shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--aces-shadow-heavy);
}

.project-image {
    height: 250px;
    background: var(--aces-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--aces-dark-green);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-value {
    background: var(--aces-primary-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-in_progress,
.status-ongoing {
    background: #fff3cd;
    color: #856404;
}

.status-planning {
    background: #d1ecf1;
    color: #0c5460;
}

.status-on_hold {
    background: #f8d7da;
    color: #721c24;
}

.project-client,
.project-location {
    font-size: 0.9rem;
    color: var(--aces-gray);
    margin-bottom: 0.5rem;
}

.project-location i {
    color: var(--aces-primary-green);
    margin-right: 0.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--aces-primary-green);
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    margin-top: 1rem;
}

.project-link:hover {
    color: var(--aces-dark-green);
    transform: translateX(5px);
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 100px 0;
    background: var(--aces-light-gray);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--aces-shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--aces-primary-green);
    box-shadow: var(--aces-shadow-green);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: var(--aces-primary-green);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.partner-card h3 {
    color: var(--aces-dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.partner-type {
    color: var(--aces-primary-green);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.partner-card p {
    color: var(--aces-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.partners-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== STATS SECTION ===== */
.stats {
    background: var(--aces-gradient-primary);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 80,100 0,100" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: var(--aces-dark-green);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--aces-gradient-primary);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
    transition: transform 0.1s;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--aces-gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--aces-shadow-green);
}

/* ===== FLOATING CONTACT ===== */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

.floating-contact-toggle {
    width: 60px;
    height: 60px;
    background: var(--aces-gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--aces-shadow-medium);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-contact-toggle:hover {
    transform: scale(1.1);
}

.floating-contact-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: var(--aces-shadow-heavy);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.floating-contact-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--aces-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.floating-contact-item:hover {
    background: var(--aces-primary-green);
    color: white;
    transform: translateX(-10px);
}

.floating-contact-item i {
    width: 20px;
    text-align: center;
    color: var(--aces-primary-green);
}

.floating-contact-item:hover i {
    color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animation classes */
.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeInUp { animation-name: fadeInUp; }
.slideInLeft { animation-name: slideInLeft; }
.slideInRight { animation-name: slideInRight; }
.scaleIn { animation-name: scaleIn; }

/* Stagger animation delays */
.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation:nth-child(6) { animation-delay: 0.6s; }

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PAGE TEMPLATES ===== */
.page-header {
    background: var(--aces-gradient-primary);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
}

.page-content {
    padding: 80px 0;
}

.page-article {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--aces-dark-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content img {
    border-radius: 10px;
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs-wrapper {
    background: var(--aces-light-gray);
    padding: 1rem 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--aces-gray);
}

.breadcrumbs a {
    color: var(--aces-primary-green);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--aces-dark-green);
}

.breadcrumbs .separator {
    color: var(--aces-gray);
    font-size: 0.8rem;
}

.breadcrumbs .current {
    color: var(--aces-dark-green);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    width: 100%;
    clear: both;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: block;
    color: #ffffff;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--aces-gradient-accent);
    border-radius: 2px;
}

.footer-tagline {
    color: var(--aces-accent-gold);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-details {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.company-details p {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.company-details strong {
    color: var(--aces-accent-gold);
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.8rem;
    display: block;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.footer-menu a::before {
    content: '▶';
    color: var(--aces-accent-blue);
    font-size: 0.7rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--aces-accent-gold);
    padding-left: 0.5rem;
}

.footer-menu a:hover::before {
    color: var(--aces-accent-gold);
}

.contact-info {
    margin-bottom: 2rem;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-contact:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.footer-contact i {
    color: var(--aces-accent-blue);
    width: 20px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.footer-contact div {
    color: #ffffff;
}

.footer-contact strong {
    color: var(--aces-accent-blue);
    display: block;
    margin-bottom: 0.3rem;
}

.footer-contact a {
    color: var(--aces-accent-gold);
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--aces-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:nth-child(2) {
    background: var(--aces-gradient-accent);
}

.social-link:nth-child(3) {
    background: var(--aces-gradient-services);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--aces-shadow-medium);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-copyright {
    text-align: left;
}

.footer-copyright p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.powering-png {
    color: var(--aces-accent-gold);
    font-weight: 500;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--aces-accent-blue);
}

.certifications {
    text-align: right;
}

.certifications small {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ===== ABOUT SECTION STYLES ===== */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    max-width: none;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text .section-subtitle {
    text-align: left;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--aces-primary-green);
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-cta {
    margin-top: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    background: var(--aces-light-gray);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--aces-shadow-medium);
    border-left-color: var(--aces-primary-green);
}

.feature-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    background: var(--aces-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--aces-dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--aces-gray);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Hero Stats Styling */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat {
    text-align: center;
    min-width: 120px;
}

.hero-stat .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Status Overlay */
.project-status-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.project-icon {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Service Card Enhancements */
.service-card .service-icon {
    background: var(--aces-gradient-primary);
    box-shadow: var(--aces-shadow-light);
}

.service-card:hover .service-icon {
    animation: pulse 1s ease-in-out;
    box-shadow: var(--aces-shadow-green);
}

/* Status Colors for Projects */
.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-proposal_submitted {
    background: #d1ecf1;
    color: #0c5460;
}

/* ===== SERVICES SECTION - BLUE ACCENTS ===== */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
}

.service-card:nth-child(2n) .service-icon {
    background: var(--aces-gradient-accent);
}

.service-card:nth-child(3n) .service-icon {
    background: var(--aces-gradient-services);
}

.service-card:nth-child(2n):hover {
    border-top: 4px solid var(--aces-accent-blue);
}

.service-card:nth-child(3n):hover {
    border-top: 4px solid var(--aces-accent-gold);
}

/* ===== PROJECTS SECTION - BLUE THEME ===== */
.projects {
    background: linear-gradient(135deg, #fff 0%, #e8f5e8 50%, #e3f2fd 100%);
}

.project-value {
    background: var(--aces-gradient-accent);
}

.project-card:hover {
    box-shadow: var(--aces-shadow-blue);
}

/* ===== PARTNERS SECTION - GOLD ACCENTS ===== */
.partners {
    background: linear-gradient(135deg, #fff8e1 0%, #f8f9fa 100%);
}

.partner-logo {
    background: var(--aces-gradient-services);
}

.partner-card:hover {
    border-color: var(--aces-accent-gold);
    box-shadow: var(--aces-shadow-gold);
}

.partner-type {
    color: var(--aces-dark-blue);
}

/* ===== STATS SECTION - MULTI-COLOR GRADIENT ===== */
.stats {
    background: linear-gradient(135deg, var(--aces-dark-green) 0%, var(--aces-accent-blue) 50%, var(--aces-primary-green) 100%);
}

/* ===== CTA SECTION - BLUE THEME ===== */
.cta-section {
    background: linear-gradient(135deg, var(--aces-dark-blue) 0%, var(--aces-accent-blue) 100%);
}

.cta-secondary {
    background: transparent;
    color: var(--aces-accent-gold);
    border: 2px solid var(--aces-accent-gold);
}

.cta-secondary:hover {
    background: var(--aces-accent-gold);
    color: var(--aces-dark-blue);
}

/* ===== ABOUT SECTION - GOLD HIGHLIGHTS ===== */
.about .section-subtitle {
    color: var(--aces-accent-blue);
}

.feature-item:hover {
    border-left-color: var(--aces-accent-gold);
}

.feature-icon {
    background: var(--aces-gradient-services);
}

/* ===== HEADER - BLUE ACCENTS ===== */
.header-top {
    background: var(--aces-dark-blue);
}

.header-contact a:hover {
    color: var(--aces-accent-gold);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--aces-accent-gold);
    border-bottom-color: var(--aces-accent-blue);
}

/* ===== BUTTONS - COLOR VARIATIONS ===== */
.cta-button.blue-accent {
    background: var(--aces-gradient-accent);
}

.cta-button.gold-accent {
    background: var(--aces-gradient-services);
}

.cta-button.blue-accent:hover {
    box-shadow: var(--aces-shadow-blue);
}

.cta-button.gold-accent:hover {
    box-shadow: var(--aces-shadow-gold);
}

/* ===== HERO SECTION - MULTI-COLOR ELEMENTS ===== */
.hero::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
}

.hero-float:nth-child(1) { color: var(--aces-accent-gold); }
.hero-float:nth-child(2) { color: var(--aces-accent-blue); }
.hero-float:nth-child(3) { color: var(--aces-light-green); }

/* ===== PROJECT STATUS COLORS ===== */
.status-completed {
    background: var(--aces-light-green);
    color: var(--aces-dark-green);
}

.status-in_progress {
    background: var(--aces-light-blue);
    color: var(--aces-dark-blue);
}

.status-planning {
    background: var(--aces-light-gold);
    color: var(--aces-dark-gold);
}

/* ===== FLOATING CONTACT - BLUE THEME ===== */
.floating-contact-toggle {
    background: var(--aces-gradient-accent);
}

.floating-contact-item:hover {
    background: var(--aces-accent-blue);
}

.floating-contact-item i {
    color: var(--aces-accent-blue);
}

.floating-contact-item:hover i {
    color: white;
}

/* ===== BACK TO TOP - GOLD THEME ===== */
.back-to-top {
    background: var(--aces-gradient-services);
}

.back-to-top:hover {
    box-shadow: var(--aces-shadow-gold);
}

/* ===== ALTERNATING COLOR SCHEME FOR CARDS ===== */
.service-card:nth-child(6n+1) .service-icon { background: var(--aces-gradient-primary); }
.service-card:nth-child(6n+2) .service-icon { background: var(--aces-gradient-accent); }
.service-card:nth-child(6n+3) .service-icon { background: var(--aces-gradient-services); }
.service-card:nth-child(6n+4) .service-icon { background: var(--aces-gradient-primary); }
.service-card:nth-child(6n+5) .service-icon { background: var(--aces-gradient-accent); }
.service-card:nth-child(6n+6) .service-icon { background: var(--aces-gradient-services); }

.project-card:nth-child(6n+1):hover { box-shadow: var(--aces-shadow-green); }
.project-card:nth-child(6n+2):hover { box-shadow: var(--aces-shadow-blue); }
.project-card:nth-child(6n+3):hover { box-shadow: var(--aces-shadow-gold); }
.project-card:nth-child(6n+4):hover { box-shadow: var(--aces-shadow-green); }
.project-card:nth-child(6n+5):hover { box-shadow: var(--aces-shadow-blue); }
.project-card:nth-child(6n+6):hover { box-shadow: var(--aces-shadow-gold); }

/* ===== SCROLL PROGRESS - MULTI-COLOR ===== */
.scroll-progress {
    background: var(--aces-gradient-accent);
}

/* ===== BREADCRUMBS - BLUE ACCENTS ===== */
.breadcrumbs a {
    color: var(--aces-accent-blue);
}

.breadcrumbs a:hover {
    color: var(--aces-accent-gold);
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-features {
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        align-self: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-stat {
        min-width: auto;
    }
    
    .hero-stat .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}

/* ===== ENHANCED HEADER STYLES ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--aces-gradient-services);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Mobile Toggle Animation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Enhanced */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--aces-dark-green);
    padding: 2rem 0;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateY(0);
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0;
}

.mobile-nav-menu a {
    color: white;
    font-size: 1.1rem;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--aces-accent-gold);
    padding-left: 1rem;
}

.mobile-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-phone,
.mobile-email {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-phone a,
.mobile-email a {
    color: white;
    text-decoration: none;
}

.mobile-phone i,
.mobile-email i {
    color: var(--aces-accent-gold);
    width: 20px;
}

.mobile-cta {
    margin-top: 1.5rem;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .services-grid,
    .projects-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-contact {
        bottom: 80px;
        right: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-copyright,
    .certifications {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services,
    .projects,
    .partners,
    .stats,
    .cta-section {
        padding: 60px 0;
    }
    
    .service-card,
    .project-card,
    .partner-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-top {
        display: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .mobile-nav {
        top: 60px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-contact {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced focus styles */
*:focus {
    outline: 2px solid var(--aces-primary-green);
    outline-offset: 2px;
}

.cta-button:focus,
.cta-button-small:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .back-to-top,
    .floating-contact,
    .scroll-progress {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ===== UTILITY CLASSES ===== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }

/* Ensure WordPress admin bar doesn't interfere */
body.admin-bar .header {
    top: 32px;
}

body.admin-bar {
    padding-top: 152px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
    
    body.admin-bar {
        padding-top: 166px;
    }
}