/*
Theme Name: Legion Security Group
Theme URI: https://legionsecuritygroup.com.au
Author: Legion Security Group
Author URI: https://legionsecuritygroup.com.au
Description: Professional security services theme for Legion Security Group. ASIAL member, government-approved security across Victoria. Features include responsive design, service showcase, regional coverage, leadership profiles, and contact forms.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legion-security
Tags: business, security, professional, responsive, one-page, custom-header

This theme, like WordPress, is licensed under the GPL.
*/

/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #d32f2f;
    --dark: #1a1a1a;
    --light: #f8f8f8;
    --text: #333;
    --gray: #666;
    --accent: #ffd700;
}

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

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); line-height: 1.6; }

/* ===== ANIMATIONS ===== */
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.animate-on-scroll {
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

header.scrolled { padding: 0.5rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
    text-decoration: none;
}

.logo:hover { transform: scale(1.05); }
.logo i { font-size: 2rem; }

.logo-image {
    height: 100px;
    width: auto;
    max-width: 250px;
    transition: transform 0.3s;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.header-cta {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.header-cta:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(211, 47, 47, 0.08) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover, cover, 50px 50px;
    opacity: 1;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" stroke="rgba(211,47,47,0.1)" stroke-width="1" fill="none"/><circle cx="100" cy="100" r="60" stroke="rgba(211,47,47,0.08)" stroke-width="1" fill="none"/><circle cx="100" cy="100" r="40" stroke="rgba(211,47,47,0.06)" stroke-width="1" fill="none"/></svg>') center/contain no-repeat;
    opacity: 0.3;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideDown 0.8s ease-out;
}

.hero h1 .highlight {
    color: var(--primary);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    animation: slideDown 0.8s ease-out 0.2s both;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.4s both;
}

.badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.badge:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.badge i { color: var(--accent); font-size: 1.2rem; }

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(211,47,47,0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a71616 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(211,47,47,0.6);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 40px;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(211,47,47,0.2), transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 50%, #f8f8f8 100%);
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="rgba(211,47,47,0.03)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.5;
}

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

.trust-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(211,47,47,0.1);
}

.trust-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211,47,47,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.trust-card:hover::before {
    opacity: 1;
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.trust-card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.trust-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.trust-card p {
    color: var(--gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== SERVICES SECTION ===== */
#services {
    position: relative;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 50%, #fafafa 100%);
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(0,0,0,0.02)"/></svg>');
    background-size: 80px 80px;
    opacity: 0.5;
    pointer-events: none;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211,47,47,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #b71c1c 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

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

.service-icon i {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* ===== INDIVIDUAL SERVICE COLORS ===== */

/* Service 1: Event & Crowd Control - Purple */
.services-grid .service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #7b1fa2 0%, #4a148c 100%);
}

.services-grid .service-card:nth-child(1):hover {
    border-color: #7b1fa2;
}

.services-grid .service-card:nth-child(1) .service-features li::before {
    color: #7b1fa2;
}

/* Service 2: Construction Site Security - Orange */
.services-grid .service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.services-grid .service-card:nth-child(2):hover {
    border-color: #f57c00;
}

.services-grid .service-card:nth-child(2) .service-features li::before {
    color: #f57c00;
}

/* Service 3: Industrial & Gas Plant Security - Dark Blue */
.services-grid .service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.services-grid .service-card:nth-child(3):hover {
    border-color: #1565c0;
}

.services-grid .service-card:nth-child(3) .service-features li::before {
    color: #1565c0;
}

/* Service 4: Corporate Security - Navy Blue */
.services-grid .service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #283593 0%, #1a237e 100%);
}

.services-grid .service-card:nth-child(4):hover {
    border-color: #283593;
}

.services-grid .service-card:nth-child(4) .service-features li::before {
    color: #283593;
}

/* Service 5: Mobile Patrol Services - Teal */
.services-grid .service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
}

.services-grid .service-card:nth-child(5):hover {
    border-color: #00897b;
}

.services-grid .service-card:nth-child(5) .service-features li::before {
    color: #00897b;
}

/* Service 6: Specialised Security - Deep Red */
.services-grid .service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
}

.services-grid .service-card:nth-child(6):hover {
    border-color: #c62828;
}

.services-grid .service-card:nth-child(6) .service-features li::before {
    color: #c62828;
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

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

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 20px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #d32f2f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,0.2) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover, cover, 150px 150px;
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ===== REGIONS SECTION ===== */
#regions {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    position: relative;
}

#regions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(211,47,47,0.05)"/></svg>');
    background-size: 80px 80px;
    opacity: 0.3;
}

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

.region-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(211,47,47,0.08) 0%, transparent 70%);
    transition: right 0.3s;
}

.region-card:hover::before {
    right: -50px;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-left-width: 8px;
}

.region-card h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.region-card h3 i {
    color: var(--primary);
    filter: drop-shadow(0 2px 4px rgba(211,47,47,0.3));
}

.region-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.coverage-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.coverage-list li {
    padding: 8px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.coverage-list li:hover {
    transform: translateX(5px);
}

.coverage-list li::before {
    content: '📍';
    font-size: 1.2rem;
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 50%, #f8f8f8 100%);
    position: relative;
}

.leadership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><polygon points="50,10 60,35 90,35 65,55 75,85 50,65 25,85 35,55 10,35 40,35" fill="rgba(211,47,47,0.02)"/></svg>');
    background-size: 150px 150px;
    opacity: 0.3;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), #ffd700, var(--primary));
    opacity: 0;
    transition: opacity 0.3s;
}

.leader-card:hover::before {
    opacity: 1;
}

.leader-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.leader-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.leader-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211,47,47,0.1) 0%, transparent 70%);
}

.leader-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #b71c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    border: 5px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
}
.leader-card:hover .leader-avatar {
    transform: scale(1.1) rotate(5deg);
}

.leader-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.leader-title {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.leader-content {
    padding: 30px;
}

.leader-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text);
    border: 1px solid rgba(211,47,47,0.2);
    transition: all 0.2s;
}

.tag:hover {
    background: linear-gradient(135deg, var(--primary), #b71c1c);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="50" y="70" font-size="60" fill="rgba(211,47,47,0.03)" text-anchor="middle" font-family="Georgia">"</text></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
}

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

.testimonial {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 150px;
    font-family: Georgia, serif;
    color: rgba(211,47,47,0.2);
    line-height: 1;
}

.testimonial:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(211,47,47,0.3);
}

.stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    position: relative;
    z-index: 1;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.95);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.client-info {
    position: relative;
    z-index: 1;
}

.client-info strong {
    display: block;
    margin-bottom: 5px;
    color: white;
    font-size: 1.1rem;
}

.client-info span {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light);
    color: var(--primary);
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-item-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), #b71c1c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}

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

.contact-form button {
    width: 100%;
}

/* ===== CONTACT FORM 7 STYLING ===== */

/* Form container */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form fields styling */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
    color: var(--text);
}

/* Placeholder styling */
.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-tel::placeholder,
.wpcf7-textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Focus state */
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
    transform: translateY(-2px);
}

/* Textarea specific */
.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: 'Poppins', sans-serif;
}

/* Submit button styling */
.wpcf7-submit {
    width: 100%;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 20px rgba(211,47,47,0.5);
}

.wpcf7-submit:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a71616 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(211,47,47,0.7);
}

.wpcf7-submit:active {
    transform: translateY(-1px);
}

/* Add icon to submit button */
.wpcf7-submit::before {
    content: '\f1d8';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

/* Validation messages */
.wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.wpcf7-validation-errors {
    background: #ffebee;
    border: 2px solid #d32f2f;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    color: #c62828;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(76,175,80,0.3);
}

.wpcf7-mail-sent-ng {
    background: #ffebee;
    border: 2px solid #d32f2f;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    color: #c62828;
    font-weight: 500;
}

/* Spinner/Loading */
.wpcf7-spinner {
    border: 3px solid rgba(211,47,47,0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: wpcf7-spin 1s linear infinite;
}

@keyframes wpcf7-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wpcf7 form.submitting .wpcf7-submit {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Select dropdown styling */
.wpcf7-select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* Response output positioning */
.wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
}

/* Success checkmark animation */
@keyframes checkmark {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.wpcf7-mail-sent-ok::before {
    content: '✓';
    display: inline-block;
    margin-right: 10px;
    font-size: 1.2rem;
    animation: checkmark 0.5s ease-out;
}

/* Error icon */
.wpcf7-validation-errors::before,
.wpcf7-mail-sent-ng::before {
    content: '⚠';
    display: inline-block;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Hide default Contact Form 7 styling */
div.wpcf7 .ajax-loader {
    display: none;
}

/* Multi-column form support */
.wpcf7-form .two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* ===== SCROLL TO TOP ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #b71c1c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(211,47,47,0.4);
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.scroll-to-top:hover::before {
    opacity: 1;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #b71c1c, var(--primary));
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(211,47,47,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .contact-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { padding: 0.8rem 0; }
    .header-content { padding: 0 20px; }
    
    .logo-image {
        height: 60px;
        max-width: 180px;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column !important;
        padding: 40px;
        gap: 20px;
        transition: left 0.3s;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    nav.active { left: 0; }
    
    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; }
    
    .section-title { font-size: 2rem; }
    section { padding: 60px 20px; }
    
    .services-grid,
    .regions-grid,
    .leadership-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges { gap: 15px; }
    .badge { padding: 10px 20px; font-size: 0.9rem; }
    
    .wpcf7-form .two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo { font-size: 1.5rem; }
    .logo-image {
        height: 50px;
        max-width: 150px;
    }
    .hero h1 { font-size: 2rem; }
    .stat-item h3 { font-size: 2.5rem; }
}

@media (min-width: 768px) {
    nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 40px !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }
    
    nav a {
        display: inline-block !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}