/* LVSoft Website Styles - Enhanced Modern Theme */

:root {
    /* Navy Blue and White Theme - Consistent */
    --navy: #1e3a8a;
    --navy-light: #3b82f6;
    --navy-medium: #2563eb;
    --navy-dark: #1e40af;
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-dark: #2563eb;
    --secondary: #3b82f6;
    --success: #3b82f6;
    --warning: #3b82f6;
    --error: #1e40af;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Additional utility colors */
    --dark: #1e3a8a;
    --light: #f8fafc;
    --border: #3b82f6;
    --text: #1e3a8a;
    --gray: #64748b;
    
    /* Gradients */
    --navy-gradient: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--white) 100%);
    --navy-gradient-reverse: linear-gradient(135deg, var(--white) 0%, var(--navy-light) 50%, var(--navy) 100%);
    --accent-gradient: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(30, 58, 138, 0.05);
    --shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.1), 0 2px 4px -1px rgba(30, 58, 138, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(30, 58, 138, 0.1), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(30, 58, 138, 0.25);
    --shadow-navy: 0 10px 25px -3px rgba(30, 58, 138, 0.3), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    --shadow-accent: 0 10px 25px -3px rgba(59, 130, 246, 0.3), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Mobile-specific variables */
    --mobile-padding: 1rem;
    --mobile-gap: 1rem;
    --touch-target: 44px;
    --mobile-font-scale: 0.9;
    --vh: 1vh; /* Will be set by JavaScript for mobile browsers */
}

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation styles moved to navigation-final.css to prevent conflicts */
/*
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-navy);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 40px rgba(30, 58, 138, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand, .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
    transition: var(--transition);
}

.navbar-brand:hover, .nav-brand:hover {
    transform: scale(1.05);
    color: var(--white);
}
*/

/* Navigation styles moved to navigation-final.css */
/*
.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
}

.brand-icon i {
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    color: var(--white);
}

.brand-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--white) !important;
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    wi

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.btn-cta {
    background: var(--navy-gradient);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 1rem;
    box-shadow: var(--shadow-navy);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--navy-gradient-reverse);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    color: var(--white);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.main-content {
    padding-top: 80px;
}

/* Enhanced Hero Section */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: var(--navy-gradient);
    color: var(--white);
}

.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="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-container, .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--accent-light);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.375rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
}

/* Enhanced Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--navy-gradient);
    color: var(--white);
    box-shadow: var(--shadow-navy);
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: var(--navy-gradient-reverse);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.5);
    color: var(--white);
}

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 30px rgba(255,255,255,0.2);
    font-size: 1.1rem;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.3);
    background: var(--gray-100);
    color: var(--navy);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    background: var(--navy-gradient);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="headerGrain" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23headerGrain)"/></svg>');
    opacity: 0.5;
}

.page-header > * {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.section-badge {
    display: inline-block;
    background: var(--navy-gradient);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title, .section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    background: var(--navy-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Enhanced Cards */
.card {
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-header {
    padding: 2rem 2rem 1rem;
    background: var(--navy-gradient);
    color: var(--white);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.card-footer {
    padding: 1rem 2rem 2rem;
    background: var(--gray-50);
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.card-title {
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--navy-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--navy-gradient);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    box-shadow: var(--shadow-navy);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gradient);
}

.service-icon i {
    color: var(--white);
    font-size: 2.25rem;
}

.service-title, .service-card h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-description, .service-card p {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--success);
    font-size: 0.875rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    background: transparent;
}

.service-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content, .testimonial-quote {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar, .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navy-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-info, .author-info h4, .author-info h5 {
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-info p, .author-info p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating .star, .testimonial-rating i {
    color: var(--warning);
    font-size: 1.1rem;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.blog-card {
    background: var(--white);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 250px;
    background: var(--navy-gradient);
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.blog-category {
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
}

.blog-title, .blog-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.blog-date, .blog-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: var(--navy-gradient);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Enhanced Footer */
.footer {
    background: var(--navy-gradient);
    color: var(--white);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrain" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="40" r="0.8" fill="rgba(6,182,212,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>');
    opacity: 0.3;
}

.footer-container, .footer > .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-brand, .footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
  



























    align-items: center;
    gap: 0.5rem;
}

.footer-brand .brand-dot {
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

.footer-description, .footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-social, .social-links {
    display: flex;
    gap: 1rem;
}

.social-link, .social-links a {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover, .social-links a:hover {
    background: var(--accent);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-accent);
    color: var(--white);
}

.footer-section h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom p, .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}
/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control.is-invalid, .form-control.error {
    border-color: var(--error);
}

.form-control.is-valid {
    border-color: var(--success);
}

.invalid-feedback, .field-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.2);
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-error, .alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.2);
    color: #991b1b;
    border-left: 4px solid var(--error);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.2);
    color: #92400e;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(6, 182, 212, 0.2);
    color: #0e7490;
    border-left: 4px solid var(--accent);
}

/* Toast Messages */
.toast-message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition);
    max-width: 400px;
    border: 1px solid var(--gray-200);
}

.toast-message.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-error {
    border-left: 4px solid var(--error);
}

.toast-info {
    border-left: 4px solid var(--primary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    margin-left: auto;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.spinner, .spinner-navy {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-navy {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(30, 58, 138, 0.2);
    border-left-color: var(--accent);
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.animate-fadeInUp, .fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: var(--navy-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Glowing Effects */
.glow-navy {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* Status Banner */
.status-banner {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    margin: 2rem auto;
    max-width: 1200px;
    text-align: center;
    color: #065f46;
}

.status-banner h3 {
    margin-bottom: 0.5rem;
    color: #047857;
}

.status-banner p {
    margin: 0;
    font-size: 0.9rem;
}

/* Additional Bootstrap-like Utilities */
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }

.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ms-2 { margin-left: 0.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

/* Form Controls */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--white);
    background-image: none;
    border: 1px solid var(--light-gray);
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--dark);
    background-color: var(--white);
    border-color: var(--primary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

/* Alerts */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

/* Cards */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    background-clip: border-box;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    box-shadow: var(--shadow-navy);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-gradient);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -3px rgba(30, 58, 138, 0.2);
    border-color: var(--accent);
}

.card-header {
    padding: 1.5rem 1.5rem 1rem;
    margin-bottom: 0;
    background: var(--navy-gradient-light);
    color: var(--white);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: var(--light);
    border-top: 1px solid var(--border);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.card-title {
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 600;
}

.card-text {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
        padding: 8px;
        border-radius: 6px;
        transition: background-color 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 1px solid rgba(59, 130, 246, 0.2);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        min-height: 44px; /* Touch target */
        display: flex;
        align-items: center;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent-light);
        border-left-color: var(--accent-light);
        background: rgba(59, 130, 246, 0.1);
        transform: translateX(5px);
    }
    
    .nav-menu .btn {
        width: 100%;
        margin-top: 1.5rem;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
        border-radius: 8px;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Close button for mobile menu */
    .nav-menu::before {
        content: '×';
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        color: var(--white);
        cursor: pointer;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-menu::before:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
    .container, .hero-container, .services-container, .testimonials-container, .blog-container, .stats-container, .footer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container, .hero-container, .services-container, .testimonials-container, .blog-container, .stats-container, .footer-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .stat-item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        backdrop-filter: blur(10px);
    }
    
    /* Sections Mobile */
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2, .section-title {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.75rem;
    }
    
    .service-title, .service-card h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-description, .service-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content, .testimonial-quote {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Blog Grid Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title, .blog-card h4 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-brand, .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-social, .social-links {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-link, .social-links a {
        width: 45px;
        height: 45px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    /* Cards Mobile */
    .card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    /* Forms Mobile */
    .form-control {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Touch-friendly */
    }
    
    /* Page Header Mobile */
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .container, .hero-container, .services-container, .testimonials-container, .blog-container, .stats-container, .footer-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Hero Section Small Mobile */
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* Sections Small Mobile */
    .section {
        padding: 3rem 0;
    }
    
    .section-header h2, .section-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Service Cards Small Mobile */
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-title, .service-card h4 {
        font-size: 1.25rem;
    }
    
    /* Stats Grid Small Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Footer Small Mobile */
    .footer-brand, .footer-brand h3 {
        font-size: 1.25rem;
    }
    
    .social-link, .social-links a {
        width: 40px;
        height: 40px;
    }
    
    /* Navigation Small Mobile */
    .nav-container {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-brand {
        font-size: 1.5rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
    }
    
    .brand-icon i {
        font-size: 1rem;
    }
    
    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
        padding: 1.5rem 0;
    }
    
    .nav-link {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Main Content Adjustment */
    .main-content {
        padding-top: 70px;
    }
    
    /* Touch-Friendly Improvements */
    .btn, .nav-link, .service-link, .blog-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Toast Messages Mobile */
    .toast-message {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2, .section-title {
        font-size: 1.625rem;
    }
    
    .service-card, .testimonial-card, .blog-card {
        margin-bottom: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .card {
        padding: 1.25rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        top: 60px;
    }
    
    .nav-container {
        height: 60px;
    }
    
    .main-content {
        padding-top: 60px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image img, .blog-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .mobile-menu-toggle,
    .floating-element {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .hero, .section {
        padding: 1rem 0;
    }
    
    .hero h1, .section-header h2 {
        color: #000;
        font-size: 18pt;
    }
    
    .card, .service-card, .testimonial-card {
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Card Styles */
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--white);
    background-clip: border-box;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    box-shadow: var(--shadow);
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.card-title {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-text {
    color: var(--gray);
}

/* List Groups */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Responsive Utilities */
@media (max-width: 575.98px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
}

@media (max-width: 767.98px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
}

@media (max-width: 991.98px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
}

/* Text Colors */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--gray) !important; }
.text-white { color: var(--white) !important; }
.text-dark { color: var(--dark) !important; }

/* Background Colors */
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-danger { background-color: var(--error) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-dark { background-color: var(--dark) !important; }

/* Border Utilities */
.border { border: 1px solid var(--border) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--border) !important; }
.border-bottom { border-bottom: 1px solid var(--border) !important; }
.border-left { border-left: 1px solid var(--border) !important; }
.border-right { border-right: 1px solid var(--border) !important; }

.rounded { border-radius: 0.375rem !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-circle { border-radius: 50% !important; }

/* Shadow Utilities */
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

/* Navy Blue Gradient Theme Enhancements */

/* Enhanced Form Styles */
.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(30, 58, 138, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
    outline: none;
}

/* Enhanced Alert Styles */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #7f1d1d;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: #78350f;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    color: #0c4a6e;
    border-left: 4px solid #06b6d4;
}

/* Product/Service Cards */
.product-card,
.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-gradient);
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -3px rgba(30, 58, 138, 0.2);
    border-color: var(--accent);
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-gradient);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -3px rgba(30, 58, 138, 0.15);
}

/* Blog Post Cards */
.blog-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-gradient);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -3px rgba(30, 58, 138, 0.2);
}

/* Stats/Counter Cards */
.stat-card {
    background: var(--navy-gradient);
    color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="statGrain" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23statGrain)"/></svg>');
    opacity: 0.3;
}

.stat-card > * {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Loading Spinner */
.spinner-navy {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(30, 58, 138, 0.2);
    border-left-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Gradient Text */
.gradient-text {
    background: var(--navy-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Glowing Effect */
.glow-navy {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.3);
}

.glow-accent {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}


/* ============================================
   Bootstrap-style Grid System
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Column classes */
.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.333333%; }
.col-2 { flex: 0 0 auto; width: 16.666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-5 { flex: 0 0 auto; width: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.col-8 { flex: 0 0 auto; width: 66.666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Medium screens (768px and up) */
@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-md-9 { flex: 0 0 auto; width: 75%; }
    .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-lg-9 { flex: 0 0 auto; width: 75%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-lg-12 { flex: 0 0 auto; width: 100%; }
}

/* Alignment utilities */
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

/* Spacing utilities */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

/* Text alignment */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Image utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Pagination */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    gap: 0.25rem;
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.page-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="headerGrain" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23headerGrain)"/></svg>');
    opacity: 0.5;
}

.page-header > * {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-title {
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-text {
    color: var(--gray);
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--navy-gradient);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-navy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--navy-gradient);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-navy);
}

.service-title {
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.service-description {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.testimonial-info h4 {
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating .star {
    color: var(--secondary);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-category {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-title {
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control.is-invalid {
    border-color: var(--error);
}

.form-control.is-valid {
    border-color: var(--success);
}

.invalid-feedback {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.alert-error,
.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
    color: #0e7490;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .section {
        padding: 3rem 0;
        margin: 2rem 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        margin: 1rem 0.5rem;
        padding: 2rem 1rem;
    }
    
    .card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0 !important;
    }
    
    .section {
        margin: 1rem 0;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .card,
    .service-card,
    .testimonial-card,
    .blog-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
    }
    
    .hero {
        background: none !important;
    }
    
    .hero::before {
        display: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.bg-white { background-color: var(--white); }

.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 1rem; }
.rounded-xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-navy { box-shadow: var(--shadow-navy); }

.border { border: 1px solid var(--border); }
.border-primary { border: 1px solid var(--primary); }
.border-accent { border: 1px solid var(--accent); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Status Banner */
.status-banner {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    margin: 2rem auto;
    max-width: 1200px;
    text-align: center;
    color: #065f46;
}

.status-banner h3 {
    margin-bottom: 0.5rem;
    color: #047857;
}

.status-banner p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   Bootstrap-style Grid System & Utilities
   ============================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Column classes */
.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.333333%; }
.col-2 { flex: 0 0 auto; width: 16.666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-5 { flex: 0 0 auto; width: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.col-8 { flex: 0 0 auto; width: 66.666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Medium screens (768px and up) */
@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-md-9 { flex: 0 0 auto; width: 75%; }
    .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
                                                    .col-lg-8 { flex: 0 0 auto; width: 100%;}  
    .col-lg-9 { flex: 0 0 auto; width: 75%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-lg-12 { flex: 0 0 auto; width: 100%; }
}

/* Utility Classes */
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }
.d-inline { display: inline !important; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }

.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

/* Spacing utilities */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* Text Colors */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger, .text-error { color: var(--error) !important; }
.text-dark { color: var(--navy) !important; }
.text-muted { color: var(--gray-500) !important; }
.text-white { color: var(--white) !important; }

/* Background Colors */
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--error) !important; }
.bg-light { background-color: var(--gray-50) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-dark { background-color: var(--navy) !important; }

/* Border Utilities */
.border { border: 1px solid var(--gray-200) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--gray-200) !important; }
.border-bottom { border-bottom: 1px solid var(--gray-200) !important; }
.border-left { border-left: 1px solid var(--gray-200) !important; }
.border-right { border-right: 1px solid var(--gray-200) !important; }

.border-primary { border-color: var(--primary) !important; }
.border-accent { border-color: var(--accent) !important; }

.rounded { border-radius: 0.75rem !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-sm { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 1rem !important; }
.rounded-xl { border-radius: 1.5rem !important; }
.rounded-circle { border-radius: 50% !important; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-navy { box-shadow: var(--shadow-navy) !important; }
.shadow-accent { box-shadow: var(--shadow-accent) !important; }
.shadow-none { box-shadow: none !important; }

/* Position Utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Overflow Utilities */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }
.overflow-visible { overflow: visible !important; }

/* Image Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    max-width: 100%;
    height: auto;
}

/* List Utilities */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Pagination */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    gap: 0.25rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.pagination-info {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.pagination-btn, .page-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.375rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    background: var(--white);
}

.pagination-btn:hover, .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-btn.active, .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.pagination-dots {
    padding: 0.5rem 0.25rem;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title, .section-header h2 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        gap: 4rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        max-width: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-header h2, .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cta-container h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .toast-message {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .section-header h2, .section-title h2 {
        font-size: 1.75rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-content {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-primary, .btn-secondary, .btn-white {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Responsive Utilities */
@media (max-width: 575.98px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}

@media (max-width: 767.98px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (max-width: 991.98px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .toast-message,
    .btn {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0 !important;
    }
    
    .section {
        margin: 1rem 0;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .card,
    .service-card,
    .testimonial-card,
    .blog-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
    }
    
    .hero {
        background: none !important;
    }
    
    .hero::before {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #0000ff;
        --navy: #000000;
        --gray-500: #666666;
        --gray-200: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none !important;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* This section is reserved for future dark mode implementation if needed */
}

/* ============================================
   MOBILE-SPECIFIC UTILITY CLASSES
   ============================================ */

/* Mobile Device Optimizations */
.mobile-device {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-device * {
    -webkit-tap-highlight-color: transparent;
}

/* Reduce Motion for Accessibility */
.reduce-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Touch-Friendly Elements */
.touch-target {
    min-height: var(--touch-target);
    min-width: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile-Only Utilities */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-visible {
        display: block !important;
    }
    
    .mobile-text-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-no-padding {
        padding: 0 !important;
    }
    
    .mobile-padding {
        padding: var(--mobile-padding) !important;
    }
    
    .mobile-margin-bottom {
        margin-bottom: var(--mobile-gap) !important;
    }
    
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-center {
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Desktop-Only Utilities */
@media (min-width: 769px) {
    .desktop-hidden {
        display: none !important;
    }
    
    .desktop-visible {
        display: block !important;
    }
}

/* Improved Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.service-link:focus,
.blog-link:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card,
    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid var(--navy);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Future Enhancement Support */
@media (prefers-color-scheme: dark) {
    /* Reserved for future dark mode implementation */
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Mobile Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .mobile-safari-fix {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0.5rem;
    }
}

/* Android Specific Fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .android-fix {
        -webkit-text-size-adjust: 100%;
    }
}

/* Horizontal Scrolling Prevention */
body, html {
    overflow-x: hidden;
    max-width: 100%;
}

/* Mobile Performance Optimizations */
.mobile-device .hero-image,
.mobile-device .blog-image,
.mobile-device .service-icon {
    will-change: transform;
    transform: translateZ(0);
}

/* Loading States for Mobile */
.mobile-loading {
    position: relative;
    overflow: hidden;
}

.mobile-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile-Optimized Grid System */
@media (max-width: 768px) {
    .mobile-grid-1 { grid-template-columns: 1fr !important; }
    .mobile-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .mobile-flex-column { flex-direction: column !important; }
    .mobile-flex-wrap { flex-wrap: wrap !important; }
}

/* Swipe Indicators */
.swipe-container {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.swipe-container::-webkit-scrollbar {
    display: none;
}

.swipe-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.swipe-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.swipe-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: background 0.3s ease;
}

.swipe-indicator.active {
    background: var(--primary);
}

/* Mobile-Friendly Tables */
@media (max-width: 768px) {
    .mobile-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .mobile-table table {
        min-width: 600px;
    }
}

/* Sticky Elements Mobile Optimization */
@media (max-width: 768px) {
    .mobile-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 80px;
        z-index: 100;
    }
}

/* ============================================
   ENHANCED MOBILE SUPPORT & TOUCH OPTIMIZATION
   ============================================ */

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover,
    .service-card:hover,
    .testimonial-card:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .btn:active,
    .nav-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Enhanced mobile navigation */
@media (max-width: 991.98px) {
    /* Ensure mobile menu is properly positioned */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        z-index: 1000 !important;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    }
    
    .nav-menu.active {
        right: 0 !important;
    }
    
    /* Mobile menu close button */
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
}

/* Hide mobile menu close button on desktop/PC view */
@media (min-width: 769px) {
    .mobile-menu-close {
        display: none !important;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden !important;
    }
    
    /* Better touch targets */
    .btn,
    .nav-link,
    .form-control,
    button,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px !important;
        min-width: 44px !important;
        touch-action: manipulation !important;
    }
    
    /* Improved form inputs */
    input,
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        border-radius: 8px !important;
        padding: 12px 16px !important;
    }
    
    /* Better spacing for mobile */
    .section {
        padding: 3rem 0 !important;
    }
    
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Mobile hero improvements */
    .hero {
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        padding: 2rem 0 !important;
    }
    
    .hero-content {
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Mobile navigation improvements */
    .navbar {
        padding: 0.75rem 0 !important;
        background: rgba(15, 23, 42, 0.95) !important;
    }
    
    .nav-container {
        padding: 0 1rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 8px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        border-radius: 6px !important;
        transition: background-color 0.3s ease !important;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-menu-toggle span {
        width: 25px !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }
    
    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .nav-menu {
        width: 100% !important;
        padding: 4rem 1rem 2rem !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0 !important;
        min-height: 100vh !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .nav-menu {
        padding: 3rem 1rem 1rem !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available !important;
    }
    
    input,
    textarea {
        -webkit-appearance: none !important;
        appearance: none !important;
        border-radius: 8px !important;
    }
}

/* Android Chrome specific fixes */
@media screen and (max-width: 768px) {
    .hero {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-brand,
    .btn,
    .service-card .icon {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
    .nav-menu {
        background: rgba(0, 0, 0, 0.95) !important;
    }
    
    .mobile-menu-overlay {
        background: rgba(0, 0, 0, 0.7) !important;
    }
}

/* Enhanced Hero Section Animations and Styles */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-10px);
    }
    70% {
        transform: translateX(-50%) translateY(-5px);
    }
    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* Hero Section Interactive Effects */
.hero-section .btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.2) !important;
}

.hero-section .btn-primary:hover .fas {
    transform: translateX(5px) !important;
}

.hero-section .btn-primary:hover > div {
    opacity: 1 !important;
}

.hero-section .btn-secondary:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(255,255,255,0.6) !important;
    background: rgba(255,255,255,0.15) !important;
}

.hero-section .btn-secondary:hover .fas {
    transform: translateX(5px) !important;
}

.hero-section .btn-secondary:hover > div {
    opacity: 1 !important;
}

.hero-section .hero-image-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02) !important;
}

.hero-section .hero-main-image:hover {
    transform: scale(1.05) !important;
}

/* Responsive Design for Enhanced Hero */
@media (max-width: 1200px) {
    .hero-section .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
        text-align: center;
    }
    
    .hero-section .hero-title {
        font-size: 3.5rem !important;
    }
    
    .hero-section .hero-subtitle {
        max-width: 700px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-section .hero-stats {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem !important;
        min-height: 90vh !important;
    }
    
    .hero-section .hero-grid {
        gap: 3rem !important;
    }
    
    .hero-section .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .hero-section .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .hero-section .btn-primary,
    .hero-section .btn-secondary {
        width: 100% !important;
        max-width: 300px !important;
        justify-content: center !important;
    }
    
    .hero-section .hero-stats {
        gap: 2rem !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-section .stat-item {
        min-width: 120px !important;
    }
    
    .hero-section .floating-card {
        display: none !important;
    }
    
    .hero-section .hero-image-container {
        transform: none !important;
    }
    
    .hero-section .hero-main-image {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 5rem 0 3rem !important;
    }
    
    .hero-section .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-section .hero-badge span {
        font-size: 0.85rem !important;
    }
    
    .hero-section .stat-item div:first-child {
        font-size: 2rem !important;
    }
    
    .hero-section .floating-element {
        display: none !important;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .hero-section * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%) !important;
    }
    
    .hero-section .hero-title,
    .hero-section .hero-subtitle {
        color: #ffffff !important;
    }
    
    .hero-section .btn-primary {
        background: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #ffffff !important;
    }
    
    .hero-section .btn-secondary {
        background: transparent !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
    }
}
/* Enhanced Combined Floating Buttons System */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.floating-btn:hover::before {
    opacity: 0.2;
    transform: scale(1.2);
}

/* Back to Top Button */
.back-to-top-btn {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top-btn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #075e54);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    animation: pulse-call 3s infinite;
}

.call-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Tooltips */
.floating-btn .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.floating-btn .tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Pulse Animations */
@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-call {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

/* Responsive Design for Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .floating-btn .tooltip {
        right: 65px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-btn .tooltip {
        display: none; /* Hide tooltips on very small screens */
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .floating-btn {
        border: 2px solid #ffffff;
    }
    
    .floating-btn .tooltip {
        background: #000000;
        border: 1px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-btn,
    .back-to-top-btn {
        animation: none !important;
        transition: none !important;
    }
    
    .floating-btn:hover {
        transform: none !important;
    }
}

/* Print styles - hide floating buttons */
@media print {
    .floating-buttons {
        display: none !important;
    }
}

/* Focus styles for accessibility */
.floating-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Loading state */
.floating-buttons.loading .floating-btn {
    opacity: 0.5;
    pointer-events: none;
}

/* Enhanced hover effects for desktop */
@media (hover: hover) and (pointer: fine) {
    .floating-btn:hover {
        animation-play-state: paused;
    }
    
    .floating-buttons:hover .floating-btn:not(:hover) {
        opacity: 0.7;
        transform: scale(0.95);
    }
}
/* Facebook Widget Styles */
.facebook-widget-section {
    min-width: 300px;
}

.footer-facebook-widget {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.footer-facebook-widget .fb-page {
    width: 100% !important;
    max-width: 350px !important;
}

.footer-facebook-widget .fb-page span {
    width: 100% !important;
    max-width: 350px !important;
}

.footer-facebook-widget .fb-page iframe {
    width: 100% !important;
    max-width: 350px !important;
    border-radius: 0.5rem;
}

/* Responsive Facebook Widget */
@media (max-width: 1200px) {
    .facebook-widget-section {
        grid-column: 1 / -1;
        margin-top: 2rem;
        text-align: center;
    }
    
    .footer-facebook-widget {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .footer-facebook-widget {
        padding: 1rem;
        max-width: 100%;
    }
    
    .footer-facebook-widget .fb-page {
        height: 350px !important;
        max-width: 100% !important;
    }
    
    .footer-facebook-widget .fb-page iframe {
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .footer-facebook-widget .fb-page {
        height: 300px !important;
    }
}