/*
Theme Name: Security Certifications Pro
Description: Modern, dynamic WordPress theme for security certification services with animations and contemporary design
Author: Your Name
Version: 1.0
*/

/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
    --primary-blue: #1e40af;
    --primary-blue-light: #3b82f6;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 15px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
    --header-height: 80px;
    --header-height-mobile: 60px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
    padding-top: var(--header-height);
}

/* Home page specific body fix */
body.front-page {
    padding-top: 0 !important;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.header-container,
.site-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-section {
    padding: 5rem 0;
}

.bg-light {
    background: var(--bg-light);
}

.bg-white {
    background: var(--bg-white);
}

/* Site content overflow fix */
.site-content {
    overflow-x: hidden;
    width: 100%;
}

/* ===================================
   ENHANCED HEADER STYLES
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
}

/* Header style variations */
.header-style-gradient {
    background: var(--gradient-primary);
    border-bottom: none;
}

.header-style-gradient .site-title,
.header-style-gradient .nav-menu a,
.header-style-gradient .header-phone a {
    color: white !important;
}

.header-style-dark {
    background: #1f2937;
    border-bottom: 1px solid #374151;
}

.header-style-dark .site-title,
.header-style-dark .nav-menu a,
.header-style-dark .header-phone a {
    color: white !important;
}

.header-style-light {
    background: #f8fafc;
    border-bottom: 1px solid #14326c;
}

/* Home page specific header fixes */
.front-page .site-header {
    position: absolute;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.front-page .site-header.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    gap: 2rem;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: #10b981;
    transition: var(--transition);
    line-height: 1;
    white-space: nowrap;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border-radius: 25px;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

/* Gradient/Dark header hamburger lines */
.header-style-gradient .hamburger-line,
.header-style-dark .hamburger-line {
    background: white;
}

/* Mobile menu active state */
.mobile-menu-active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-site-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-navigation {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu a {
    display: block;
    padding: 1.25rem 0;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
}

.mobile-nav-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #10b981;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-nav-menu a:hover:before,
.mobile-nav-menu .current-menu-item a:before {
    height: 30px;
}

.mobile-nav-menu a:hover {
    color: #10b981;
    padding-left: 1.5rem;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.header-cta-button.cta-primary {
    background: var(--gradient-primary);
    color: white;
}

.header-cta-button.cta-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.mobile-menu-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-cta-button {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   BUTTON STYLES
   =================================== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, 
.cta-secondary, 
.cta-white {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.cta-white {
    background: white;
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.cta-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Hero section button overrides */
.hero .cta-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .cta-primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero .cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 0; /* No padding needed for hero */
}

.hero::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: slideUp 1s ease-out;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   TRUST BAR
   =================================== */
.trust-bar {
    background: white;
    padding: 3rem 0;
    box-shadow: var(--shadow-md);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-stat {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    transition: var(--transition);
}

.trust-stat:hover {
    transform: translateY(-5px);
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   CARD COMPONENTS
   =================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   CERTIFICATIONS SECTION
   =================================== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.certification-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cert-icon {
    font-size: 2rem;
}

.cert-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.cert-content h4 {
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 700;
}

.cert-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.cert-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.cert-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success-green);
    margin-top: 1.5rem;
}

.cert-timeline {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 0.5rem;
}

/* ===================================
   COMPARISON TABLE
   =================================== */
.comparison-table {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: var(--gradient-primary);
    color: white;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-item {
    padding: 1.5rem 1rem;
    text-align: center;
}

.comparison-row:nth-child(even) {
    background: #f9fafb;
}

.comparison-item strong {
    color: var(--text-dark);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.service-card p {
    position: relative;
    z-index: 2;
}

.service-features {
    text-align: left;
    margin: 1.5rem 0;
    list-style: none;
    position: relative;
    z-index: 2;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.service-card .cta-primary {
    position: relative;
    z-index: 2;
}

/* ===================================
   INDUSTRY SOLUTIONS
   =================================== */
.industry-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.industry-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.industry-card li {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.step h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-details {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: left;
}

.step-details h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-details ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.step-details li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ===================================
   SUCCESS STORIES
   =================================== */
.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.story-icon {
    font-size: 2rem;
}

.story-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.story-metrics {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.metric {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::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 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="100" r="50" fill="url(%23b)"/><circle cx="900" cy="200" r="80" fill="url(%23b)"/><circle cx="300" cy="800" r="60" fill="url(%23b)"/></svg>');
    animation: float 15s ease-in-out infinite reverse;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .cta-buttons {
    position: relative;
    z-index: 2;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.counter {
    animation: countUp 2s ease-out;
}

/* ===================================
   WORDPRESS SPECIFIC STYLES
   =================================== */
/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem auto;
}

/* WordPress gallery */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* WordPress blocks */
.wp-block-button__link {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   BLOG & ARCHIVE STYLES
   =================================== */

/* Main content area */
.site-main {
    padding: 5rem 0;
    min-height: 60vh;
}

/* Account for fixed header on non-front pages */
body:not(.front-page) .site-main {
    padding-top: 2rem;
}

/* Blog posts grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.blog-post-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Post thumbnail */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Post content */
.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.entry-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--primary-blue);
}

/* Single post title */
.singular .entry-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Entry content */
.entry-content {
    color: var(--text-light);
    line-height: 1.6;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

/* Breadcrumbs */
.breadcrumbs-container {
    background: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs {
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-blue-light);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

.current-page {
    color: #374151;
    font-weight: 500;
}

/* Page header */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container,
    .header-container {
        max-width: 1400px;
    }
}

/* Medium to large screens (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .container,
    .header-container {
        max-width: 1000px;
        padding: 0 30px;
    }
    
    .content-section {
        padding: 4rem 0;
    }
}

/* Tablet (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
    .container,
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .site-tagline {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Mobile and small tablets (768px and below) */
@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mobile);
    }
    
    body {
        padding-top: var(--header-height-mobile);
    }
    
    body.front-page {
        padding-top: 0 !important;
    }
    
    .container,
    .header-container {
        padding: 0 15px;
    }
    
    .site-header {
        height: var(--header-height-mobile);
    }
    
    /* Hide desktop navigation */
    .main-navigation {
        display: none;
    }
    
    /* Hide desktop CTA and phone */
    .header-cta {
        display: none;
    }
    
    .header-phone {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .custom-logo {
        max-height: 40px;
    }
    
    .header-inner {
        gap: 1rem;
    }
    
    /* Content adjustments */
    .hero {
        padding-top: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr 1fr;
        font-size: 0.9rem;
    }
    
    .comparison-item {
        padding: 1rem 0.5rem;
    }
    
    .trust-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .breadcrumbs-container {
        padding: 0.75rem 0;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .singular .entry-title {
        font-size: 2rem;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .container,
    .header-container {
        padding: 0 20px;
    }
    
    .header-inner {
        gap: 0.5rem;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid,
    .services-grid,
    .industry-solutions,
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comparison-item {
        padding: 0.75rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .story-metrics {
        justify-content: center;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-menu-header {
        margin-bottom: 2rem;
    }
    
    .mobile-nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    
    .breadcrumbs {
        font-size: 0.8rem;
    }
    
    .site-main {
        padding-top: 5rem;
    }
    
    .entry-content {
        font-size: 0.95rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .container,
    .header-container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card,
    .certification-card,
    .card {
        padding: 1.5rem;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   =================================== */

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip link */
.skip-link {
    background: var(--primary-blue);
    color: white;
    padding: 1rem 1.5rem;
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Focus indicators */
.nav-menu a:focus,
.header-cta-button:focus,
.mobile-menu-toggle:focus,
.phone-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-header {
        border-bottom: 2px solid;
    }
    
    .nav-menu a,
    .header-cta-button {
        border: 1px solid;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .mobile-menu-overlay {
        transition: none;
    }
    
    .hamburger-line {
        transition: none;
    }
}
/* Remove page header section */
.page-header {
    display: none !important;
}

.breadcrumbs-container {
    display: none !important;
}

body:not(.front-page) .site-main {
    padding-top: 1rem !important;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .site-header,
    .mobile-menu-overlay,
    .cta-section,
    .breadcrumbs-container {
        display: none;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .content-section {
        padding: 1rem 0;
    }
    
    * {
        box-shadow: none !important;
    }
}
/* Professional Breadcrumb Styling for CyBirds */
#breadcrumbs, .breadcrumbs {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    margin: 20px 0;
    border-left: 4px solid #007cba;
}

#breadcrumbs a, .breadcrumbs a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#breadcrumbs a:hover, .breadcrumbs a:hover {
    color: #005a8c;
    text-decoration: underline;
}

#breadcrumbs span, .breadcrumbs span {
    color: #333;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #breadcrumbs, .breadcrumbs {
        padding: 8px 15px;
        font-size: 13px;
        margin: 15px 0;
    }
}

/* Integration with your site */
.breadcrumb-container {
    margin-bottom: 25px;
}