/*
Theme Name: CodeEdge Technologies
Theme URI: https://codeedgetech.com
Author: CodeEdge Technologies
Author URI: https://codeedgetech.com
Description: A modern, professional WordPress theme for CodeEdge Technologies. Matches the live React website design with dark theme, Tailwind-inspired styling, and Bootstrap 5 framework.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codeedge
Tags: business, corporate, technology, bootstrap, responsive, dark-theme
*/

/* ==========================================
   FONTS - Google Fonts
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================
   LOGO STYLING - CodeEdge Brand
   ========================================== */

/* Logo Container */
.site-logo,
.navbar-brand,
.footer-logo a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem; /* 28px */
    font-weight: 700; /* Bold */
    letter-spacing: -0.02em; /* Tight spacing */
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Logo Text - "code" part (black/dark) */
.logo-code {
    color: #1a1a1a; /* Dark for light backgrounds */
    font-weight: 700;
}

/* Logo Text - "edge" part (blue) */
.logo-edge {
    color: #1e88e5; /* Blue accent - matches your logo */
    font-weight: 700;
}

/* Logo Braces - "{" and "}" */
.logo-brace {
    color: #1a1a1a; /* Dark for light backgrounds */
    font-weight: 400; /* Regular weight */
    font-size: 1.875rem; /* 30px - slightly larger */
    margin: 0 -0.05em; /* Tight spacing around braces */
}

/* Dark Background Version (for header/footer) */
.site-header .logo-code,
.site-header .logo-brace,
.site-footer .logo-code,
.site-footer .logo-brace {
    color: #ffffff; /* White on dark */
}

.site-header .logo-edge,
.site-footer .logo-edge {
    color: #3b82f6; /* Accent blue */
}

/* Hover Effect */
.navbar-brand:hover .logo-edge,
.footer-logo a:hover .logo-edge {
    color: #1e88e5; /* Slightly different blue on hover */
}

/* Size Variations */
.logo-sm {
    font-size: 1.25rem; /* 20px - Small */
}

.logo-md {
    font-size: 1.75rem; /* 28px - Default */
}

.logo-lg {
    font-size: 2.5rem; /* 40px - Large */
}

.logo-xl {
    font-size: 3rem; /* 48px - Extra Large */
}

/* Footer Logo Specific Sizing */
.footer-logo .logo-code,
.footer-logo .logo-edge,
.footer-logo .logo-brace {
    font-size: 2rem; /* 32px for footer */
}

/* Prevent text selection/highlighting */
.logo-code,
.logo-edge,
.logo-brace {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Responsive Sizing */
@media (max-width: 768px) {
    .site-logo,
    .navbar-brand {
        font-size: 1.5rem; /* 24px on mobile */
    }
    
    .logo-brace {
        font-size: 1.625rem; /* 26px on mobile */
    }
    
    .footer-logo .logo-code,
    .footer-logo .logo-edge,
    .footer-logo .logo-brace {
        font-size: 1.75rem; /* 28px for footer on mobile */
    }
}

@media (max-width: 480px) {
    .site-logo,
    .navbar-brand {
        font-size: 1.375rem; /* 22px on small mobile */
    }
    
    .logo-brace {
        font-size: 1.5rem; /* 24px on small mobile */
    }
}

/* ==========================================
   IMAGE LOGO SUPPORT
   ========================================== */

/* Custom Logo (when uploaded via Customizer) */
.custom-logo {
    height: 40px; /* Fixed height */
    width: auto;
    display: block;
}

/* Responsive Logo Sizing */
@media (max-width: 768px) {
    .custom-logo {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .custom-logo {
        height: 28px;
    }
}

/* Footer Logo Image */
.footer-logo .custom-logo {
    height: 48px;
}

@media (max-width: 768px) {
    .footer-logo .custom-logo {
        height: 36px;
    }
}

/* Light/Dark Logo Switching */
.site-header .custom-logo-dark {
    display: none; /* Hide dark version in header */
}

.site-header .custom-logo-light {
    display: block; /* Show light version in header */
}

body.light-theme .site-header .custom-logo-dark {
    display: block; /* Show dark version on light pages */
}

body.light-theme .site-header .custom-logo-light {
    display: none; /* Hide light version on light pages */
}
/* ==========================================
   ROOT VARIABLES - Matching Live Site
   ========================================== */
:root {
    /* Dark Theme Colors */
    --navy-950: #020617;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --slate-850: #172033;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --stone-50: #fafaf9;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-gold: #d4af37;
    --white: #ffffff;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing & Layout */
    --transition-speed: 0.3s;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--slate-50);
    background-color: var(--navy-950);
    overflow-x: hidden;
}

/* Light theme for inner pages */
body.light-theme {
    background-color: var(--stone-50);
    color: var(--navy-900);
}

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-950);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-500);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
    color: var(--navy-900);
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 3rem; font-weight: 600; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.875rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-gold);
}

strong, b {
    font-weight: 600;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.site-header.scrolled {
    background-color: rgba(2, 6, 23, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-blue);
    font-weight: 400;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

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

.btn-outline-primary:hover {
    background-color: var(--white);
    color: var(--navy-950);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--navy-950);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
    color: var(--white);
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section .lead {
    font-size: 1.375rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: var(--slate-300);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.hero-section .btn {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */
.content-section {
    padding: 120px 0;
}

.content-section.bg-dark {
    background-color: var(--navy-900);
}

.content-section.bg-darker {
    background-color: var(--slate-850);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-title p {
    font-size: 1.25rem;
    color: var(--slate-400);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background-color: var(--slate-850);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    height: 100%;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

body.light-theme .card {
    background-color: var(--white);
    border-color: var(--slate-200);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

body.light-theme .card-title {
    color: var(--navy-900);
}

.card-text {
    color: var(--slate-400);
    margin-bottom: 1rem;
    font-weight: 300;
}

body.light-theme .card-text {
    color: var(--slate-600);
}

/* Service Icons */
.card .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-slow {
    animation: fadeIn 1.5s ease-out forwards;
}

.scale-in {
    animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================
   BLOG & POST STYLES
   ========================================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: var(--slate-850);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.post-thumbnail {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 1rem;
    font-weight: 400;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-title a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.post-title a:hover {
    color: var(--accent-blue);
}

.post-excerpt {
    font-size: 1rem;
    color: var(--slate-400);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Single Post */
.single-post {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 3rem;
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 300;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content img {
    margin: 2.5rem 0;
    border-radius: 8px;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.site-footer {
    background-color: var(--navy-950);
    color: var(--white);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Footer Hero Section */
.footer-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 80px;
}

.footer-hero-left {
    max-width: 600px;
}

.footer-logo {
    margin-bottom: 32px;
}

.footer-logo a {
    text-decoration: none;
    display: inline-block;
}

.footer-logo .logo-text {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.5px;
}

.footer-logo .logo-accent {
    color: var(--accent-blue);
    font-weight: 400;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 40px 0;
}

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer-cta-button:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateX(4px);
    color: var(--white);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.footer-cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.footer-cta-button:hover svg {
    transform: translateX(4px);
}

.footer-hero-right {
    display: flex;
    align-items: flex-start;
}

.footer-social-icons {
    display: flex;
    gap: 24px;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--slate-400);
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
}

.footer-social-icons a:hover {
    color: var(--accent-blue);
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.footer-social-icons i {
    font-size: 22px;
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 80px;
    margin-bottom: 100px;
}

.footer-column h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 16px;
}

.footer-column ul li a {
    color: var(--slate-300);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 300;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: var(--slate-500);
    font-weight: 300;
}

.footer-legal-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.875rem;
    color: var(--slate-500);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* ==========================================
   CHAT BUTTON
   ========================================== */
.chat-button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.chat-button::before {
    content: "💬";
    font-size: 28px;
}

.chat-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.5);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

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

.bg-darker {
    background-color: var(--slate-850);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    .container-custom,
    .header-container,
    .footer-container {
        padding: 0 2rem;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
    
    .footer-tagline {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .container-custom,
    .header-container,
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .site-footer {
        padding: 80px 0 40px;
    }
    
    .footer-hero {
        flex-direction: column;
        padding-bottom: 80px;
        margin-bottom: 60px;
    }
    
    .footer-hero-left {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .footer-tagline {
        font-size: 2rem;
    }
    
    .footer-hero-right {
        width: 100%;
    }
    
    .footer-social-icons {
        justify-content: flex-start;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-legal-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.625rem;
        padding: 0.75rem 1.5rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-tagline {
        font-size: 1.75rem;
    }
    
    .footer-cta-button {
        padding: 14px 24px;
        font-size: 0.625rem;
    }
}

/* ==========================================
   WORDPRESS SPECIFIC
   ========================================== */
.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1.5rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1.5rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--slate-400);
    text-align: center;
    margin-top: 0.75rem;
    font-weight: 300;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* 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: var(--slate-100);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--navy-900);
    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;
}
