/*
Theme Name: UniWell
Description: A modern WordPress theme for IT consulting and software development companies. Built with Tailwind CSS and featuring a clean, professional design.
Version: 1.0
Author: UniWell Technologies
Text Domain: uniwell
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Font Awesome and Tailwind CSS are loaded via functions.php */

/* Essential Tailwind-like utilities as fallback */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.leading-tight { line-height: 1.25; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg\:flex { display: flex; }
.lg\:hidden { display: none; }
.hidden { display: none; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.h-\[44rem\] { height: 44rem; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.opacity-5 { opacity: 0.05; }
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.hover\:text-brand-primary:hover { color: #00A9E0; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.cursor-pointer { cursor: pointer; }
.no-underline { text-decoration: none; }

/* ========================================
   RESPONSIVE BREAKPOINTS FOR ALL DEVICES
   ======================================== */

/* Extra Small devices (phones, 320px and up) */
@media (min-width: 320px) {
    .xs\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .xs\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .xs\:px-4 { padding-left: 1rem; padding-right: 1rem; }
    .xs\:py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .xs\:block { display: block; }
    .xs\:hidden { display: none; }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex { display: flex; }
    .sm\:block { display: block; }
    .sm\:hidden { display: none; }
    .sm\:space-x-4 > * + * { margin-left: 1rem; }
    .sm\:space-y-4 > * + * { margin-top: 1rem; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:p-12 { padding: 3rem; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:space-x-6 > * + * { margin-left: 1.5rem; }
    .md\:space-y-6 > * + * { margin-top: 1.5rem; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-12 { gap: 3rem; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:inline-block { display: inline-block; }
    .lg\:order-1 { order: 1; }
    .lg\:order-2 { order: 2; }
    .lg\:space-x-8 > * + * { margin-left: 2rem; }
    .lg\:space-y-8 > * + * { margin-top: 2rem; }
    .lg\:gap-16 { gap: 4rem; }
    .lg\:gap-20 { gap: 5rem; }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .xl\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .xl\:text-5xl { font-size: 3rem; line-height: 1; }
    .xl\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .xl\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .xl\:px-16 { padding-left: 4rem; padding-right: 4rem; }
    .xl\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .xl\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .xl\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .xl\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .xl\:flex { display: flex; }
    .xl\:hidden { display: none; }
    .xl\:block { display: block; }
    .xl\:space-x-12 > * + * { margin-left: 3rem; }
    .xl\:space-y-12 > * + * { margin-top: 3rem; }
    .xl\:gap-24 { gap: 6rem; }
    .xl\:gap-32 { gap: 8rem; }
}

/* 2XL devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .2xl\:text-5xl { font-size: 3rem; line-height: 1; }
    .2xl\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .2xl\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .2xl\:text-8xl { font-size: 6rem; line-height: 1; }
    .2xl\:px-20 { padding-left: 5rem; padding-right: 5rem; }
    .2xl\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .2xl\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .2xl\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .2xl\:py-40 { padding-top: 10rem; padding-bottom: 10rem; }
    .2xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .2xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .2xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .2xl\:flex { display: flex; }
    .2xl\:hidden { display: none; }
    .2xl\:block { display: block; }
    .2xl\:space-x-16 > * + * { margin-left: 4rem; }
    .2xl\:space-y-16 > * + * { margin-top: 4rem; }
    .2xl\:gap-32 { gap: 8rem; }
    .2xl\:gap-40 { gap: 10rem; }
}

/* Additional essential utilities */
.bg-white { background-color: #ffffff; }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-700 { border-color: #374151; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-8 { padding-top: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-6 { margin-right: 1.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.h-3 { height: 0.75rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.justify-end { justify-content: flex-end; }
.space-x-5 > * + * { margin-left: 1.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-medium { font-weight: 500; }
.font-extrabold { font-weight: 800; }
.leading-relaxed { line-height: 1.625; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-sm { border-radius: 0.125rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.border { border-width: 1px; }
.focus\:ring-brand-primary:focus { --tw-ring-color: #00A9E0; }
.focus\:border-brand-primary:focus { border-color: #00A9E0; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-0:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.hover\:bg-brand-secondary:hover { background-color: #0077B6; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:text-brand-secondary:hover { color: #0077B6; }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.duration-300 { transition-duration: 300ms; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.required::after { content: " *"; color: #ef4444; }

/* Gradient utilities */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-brand-primary { --tw-gradient-from: #00A9E0 var(--tw-gradient-from-position); --tw-gradient-to: rgba(0, 169, 224, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-brand-secondary { --tw-gradient-to: #0077B6 var(--tw-gradient-to-position); }
.to-gray-800 { --tw-gradient-to: #1f2937 var(--tw-gradient-to-position); }

/* Additional specific utilities for the theme */
.aspect-w-16 { position: relative; padding-bottom: 56.25%; }
.aspect-h-9 { position: relative; padding-bottom: 56.25%; }
.aspect-w-16 > * { position: absolute; height: 100%; width: 100%; top: 0; right: 0; bottom: 0; left: 0; }
.aspect-h-9 > * { position: absolute; height: 100%; width: 100%; top: 0; right: 0; bottom: 0; left: 0; }

/* Mobile menu utilities */
.mobile-menu { display: none; }
.mobile-menu.hidden { display: none !important; }
.mobile-menu:not(.hidden) { display: block !important; }

/* Form utilities */
.form-message { margin-bottom: 1rem; }
.page-link { display: inline-block; margin-right: 0.5rem; }

/* Prose styles for content */
.prose { color: #4B5563; max-width: 65ch; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: #1F2937; font-weight: 600; }
.prose h1 { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 1rem; }
.prose h2 { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 0.75rem; }
.prose h3 { font-size: 1.5rem; line-height: 2rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; }
.prose a { color: #00A9E0; text-decoration: underline; }
.prose a:hover { color: #0077B6; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.25rem; }
.prose blockquote { border-left: 4px solid #00A9E0; padding-left: 1rem; margin: 1rem 0; font-style: italic; }
.prose img { border-radius: 0.5rem; margin: 1rem 0; }
.prose code { background-color: #F9FAFB; padding: 0.125rem 0.25rem; border-radius: 0.25rem; font-size: 0.875rem; }
.prose pre { background-color: #1F2937; color: #ffffff; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin: 1rem 0; }
.prose pre code { background-color: transparent; padding: 0; }

/* Contact section text visibility */
#contact-info-section {
    color: #ffffff !important;
}

#contact-info-section span,
#contact-info-section a {
    color: #ffffff !important;
}

#contact-info-section a:hover {
    color: #00A9E0 !important;
}

/* Ensure proper text contrast */
.text-white {
    color: #ffffff !important;
}

/* Dark background text improvements */
.bg-gradient-to-br.from-brand-dark.to-gray-800 {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%) !important;
}

.bg-gradient-to-br.from-brand-dark.to-gray-800 * {
    color: #ffffff !important;
}

.bg-gradient-to-br.from-brand-dark.to-gray-800 a:hover {
    color: #00A9E0 !important;
}

/* Footer text visibility */
#footer {
    background-color: #1F2937 !important;
    color: #9ca3af !important;
}

#footer h3,
#footer .text-white {
    color: #ffffff !important;
}

#footer .text-gray-400 {
    color: #9ca3af !important;
}

#footer a {
    color: #9ca3af !important;
}

#footer a:hover {
    color: #ffffff !important;
}

/* Ensure all dark background sections have proper text contrast */
.bg-brand-dark {
    background-color: #1F2937 !important;
}

.bg-brand-dark * {
    color: #ffffff !important;
}

.bg-brand-dark .text-gray-400 {
    color: #9ca3af !important;
}

.bg-brand-dark a {
    color: #9ca3af !important;
}

.bg-brand-dark a:hover {
    color: #ffffff !important;
}

/* Custom Styles */
body {
    font-family: 'Inter', sans-serif !important;
}

/* Logo and site title styling */
.custom-logo {
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
}

/* Ensure logo and text are properly aligned */
.header-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Footer logo styling */
.custom-logo-footer {
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    filter: brightness(0) invert(1); /* Make logo white for dark footer */
}

/* ========================================
   MOBILE-FIRST RESPONSIVE STYLES
   ======================================== */

/* Mobile devices (up to 767px) */
@media (max-width: 767px) {
    /* Header adjustments */
    .custom-logo {
        max-height: 32px !important;
    }
    
    .custom-logo-footer {
        max-height: 32px !important;
    }
    
    .header-logo-container a {
        font-size: 1.25rem !important;
    }
    
    /* Navigation */
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 50;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }
    
    .mobile-menu:not(.hidden) {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: none;
        background: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
    }
    
    .mobile-menu-toggle i {
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-toggle.active i {
        transform: rotate(90deg);
    }
    
    /* Mobile menu items */
    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu li {
        border-bottom: 1px solid #f3f4f6;
    }
    
    .mobile-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu a {
        display: block;
        padding: 0.75rem 1rem;
        color: #374151;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .mobile-menu a:hover {
        background-color: #f9fafb;
        color: #00A9E0;
        border-left-color: #00A9E0;
        padding-left: 1.5rem;
    }
    
    /* Compact mobile menu */
    .mobile-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    /* Remove CTA button styles from mobile menu */
    .mobile-menu .bg-gradient-to-r {
        display: none !important;
    }
    
    /* Extra small screens */
    @media (max-width: 480px) {
        .mobile-menu a {
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
        }
        
        .mobile-menu {
            max-height: 60vh;
        }
        
        .mobile-menu-toggle {
            width: 40px;
            height: 40px;
        }
        
        .mobile-menu-toggle i {
            font-size: 1.25rem;
        }
    }
    
    /* Very small screens */
    @media (max-width: 360px) {
        .mobile-menu a {
            padding: 0.4rem 0.6rem;
            font-size: 0.85rem;
        }
        
        .mobile-menu {
            max-height: 50vh;
        }
    }
    
    /* Hero section mobile */
    .hero-mobile {
        height: 60vh !important;
        min-height: 400px;
    }
    
    .hero-mobile h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-mobile p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-mobile .flex {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-mobile .flex > * {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Sections mobile spacing */
    .section-mobile {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Grid adjustments */
    .grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Cards mobile */
    .card-mobile {
        padding: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Contact form mobile */
    .contact-form-mobile {
        padding: 1.5rem !important;
    }
    
    .contact-form-mobile .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Text sizes mobile */
    .text-mobile-sm {
        font-size: 0.875rem !important;
    }
    
    .text-mobile-base {
        font-size: 1rem !important;
    }
    
    .text-mobile-lg {
        font-size: 1.125rem !important;
    }
    
    .text-mobile-xl {
        font-size: 1.25rem !important;
    }
    
    .text-mobile-2xl {
        font-size: 1.5rem !important;
    }
    
    .text-mobile-3xl {
        font-size: 1.875rem !important;
    }
}

/* Tablet devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero section tablet */
    .hero-tablet {
        height: 50vh !important;
        min-height: 500px;
    }
    
    .hero-tablet h1 {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }
    
    .hero-tablet p {
        font-size: 1.125rem !important;
    }
    
    /* Grid tablet */
    .grid-tablet-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid-tablet-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Sections tablet */
    .section-tablet {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    /* Cards tablet */
    .card-tablet {
        padding: 2rem !important;
    }
}

/* Desktop adjustments */
@media (min-width: 992px) {
    /* Hero section desktop */
    .hero-desktop {
        height: 44rem !important;
    }
    
    .hero-desktop h1 {
        font-size: 3.75rem !important;
        line-height: 1 !important;
    }
    
    .hero-desktop p {
        font-size: 1.25rem !important;
    }
    
    /* Grid desktop */
    .grid-desktop-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .grid-desktop-5 {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    
    /* Sections desktop */
    .section-desktop {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* ========================================
   RESPONSIVE IMAGES AND MEDIA
   ======================================== */

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Hero background image responsive */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Service card icons responsive */
.service-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 640px) {
    .service-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .service-icon {
        width: 4rem;
        height: 4rem;
    }
}

/* About section cards responsive */
.about-card {
    padding: 1rem;
}

@media (min-width: 640px) {
    .about-card {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .about-card {
        padding: 2rem;
    }
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

/* Container responsive */
.container-responsive {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-responsive {
        max-width: 640px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container-responsive {
        max-width: 768px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .container-responsive {
        max-width: 1024px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .container-responsive {
        max-width: 1280px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1536px) {
    .container-responsive {
        max-width: 1536px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */

/* Responsive text scaling */
.text-responsive-xs { font-size: 0.75rem; line-height: 1rem; }
.text-responsive-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-responsive-base { font-size: 1rem; line-height: 1.5rem; }
.text-responsive-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-responsive-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-responsive-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-responsive-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-responsive-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-responsive-5xl { font-size: 3rem; line-height: 1; }
.text-responsive-6xl { font-size: 3.75rem; line-height: 1; }

@media (min-width: 640px) {
    .text-responsive-xs { font-size: 0.875rem; line-height: 1.25rem; }
    .text-responsive-sm { font-size: 1rem; line-height: 1.5rem; }
    .text-responsive-base { font-size: 1.125rem; line-height: 1.75rem; }
    .text-responsive-lg { font-size: 1.25rem; line-height: 1.75rem; }
    .text-responsive-xl { font-size: 1.5rem; line-height: 2rem; }
    .text-responsive-2xl { font-size: 1.875rem; line-height: 2.25rem; }
    .text-responsive-3xl { font-size: 2.25rem; line-height: 2.5rem; }
    .text-responsive-4xl { font-size: 3rem; line-height: 1; }
    .text-responsive-5xl { font-size: 3.75rem; line-height: 1; }
    .text-responsive-6xl { font-size: 4.5rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .text-responsive-xs { font-size: 1rem; line-height: 1.5rem; }
    .text-responsive-sm { font-size: 1.125rem; line-height: 1.75rem; }
    .text-responsive-base { font-size: 1.25rem; line-height: 1.75rem; }
    .text-responsive-lg { font-size: 1.5rem; line-height: 2rem; }
    .text-responsive-xl { font-size: 1.875rem; line-height: 2.25rem; }
    .text-responsive-2xl { font-size: 2.25rem; line-height: 2.5rem; }
    .text-responsive-3xl { font-size: 3rem; line-height: 1; }
    .text-responsive-4xl { font-size: 3.75rem; line-height: 1; }
    .text-responsive-5xl { font-size: 4.5rem; line-height: 1; }
    .text-responsive-6xl { font-size: 6rem; line-height: 1; }
}

/* Preserve Font Awesome icons */
.fa, .fas, .far, .fal, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    display: none;
}

html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom brand colors */
:root {
    --brand-primary: #00A9E0;
    --brand-secondary: #0077B6;
    --brand-dark: #1F2937;
    --brand-gray: #4B5563;
    --brand-light-gray: #F9FAFB;
}

/* Fallback classes for brand colors */
.text-brand-primary { color: #00A9E0 !important; }
.text-brand-secondary { color: #0077B6 !important; }
.text-brand-dark { color: #1F2937 !important; }
.text-brand-gray { color: #4B5563 !important; }
.bg-brand-primary { background-color: #00A9E0 !important; }
.bg-brand-secondary { background-color: #0077B6 !important; }
.bg-brand-dark { background-color: #1F2937 !important; }
.bg-brand-light-gray { background-color: #F9FAFB !important; }
.border-brand-primary { border-color: #00A9E0 !important; }
.border-brand-secondary { border-color: #0077B6 !important; }

/* Highlighted section for editing */
.highlighted-section {
    outline: 2px solid #3F20FB;
    background-color: rgba(63, 32, 251, 0.1);
}

.edit-button {
    position: absolute;
    z-index: 1000;
}

/* WordPress specific styles */
.wp-block-image {
    margin: 0;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
