/* Custom Styles for NaviGo Tech Solutions */

/* Page Loader Styles - Gentler Version */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.95) 0%, rgba(65, 105, 225, 0.95) 50%, rgba(30, 144, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
}

.loader-content {
    text-align: center;
    color: white;
    max-width: 350px;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.loader-logo {
    margin-bottom: 1.5rem;
}

.loader-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    animation: gentlePulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes gentlePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
    }
}

.loader-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

.loader-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-weight: 300;
}

.loader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: gentleSpin 2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border-top-color: rgba(255, 255, 255, 0.4);
    animation-delay: 0.3s;
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-top-color: rgba(255, 255, 255, 0.3);
    animation-delay: 0.6s;
}

@keyframes gentleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-progress {
    width: 100%;
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    border-radius: 2px;
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

.progress-text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

body.loading {
    overflow: hidden;
}

/* Enhanced Service Cards */
.my-lifted-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 144, 255, 0.1);
}

.my-lifted-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.my-lifted-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.15);
}

.my-lifted-card:hover::before {
    transform: scaleX(1);
}

/* Advanced Service Items */
.advanced-service-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.advanced-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, rgba(65, 105, 225, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 18px;
    z-index: 1;
}

.advanced-service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.12);
    border-color: rgba(30, 144, 255, 0.2);
}

.advanced-service-item:hover::before {
    opacity: 1;
}

.advanced-service-item:hover .service-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #1E90FF;
}

.service-icon {
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 3rem;
    color: #1E90FF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility and Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page-loader,
    .my-lifted-card,
    .advanced-service-item {
        animation: none !important;
        transition: none !important;
    }
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #1E90FF;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .my-lifted-card,
    .advanced-service-item {
        border: 2px solid #000000;
    }
    
    .loader-title {
        color: #000000;
        text-shadow: none;
    }
}

@media (max-width: 768px) {
    .loader-title {
        font-size: 1.5rem;
    }
    
    .loader-subtitle {
        font-size: 0.9rem;
    }
    
    .loader-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .my-lifted-card,
    .advanced-service-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Statistics Animation */
.stat-number {
    font-weight: 700;
    color: #1E90FF;
    transition: all 0.3s ease;
}

.stat-number.animating {
    animation: statPulse 0.6s ease-in-out;
}

.stat-number.completed {
    color: #4169E1;
}

@keyframes statPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1E90FF;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced Service Items with Better Hover Effects */
.advanced-service-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.advanced-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, rgba(65, 105, 225, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 18px;
    z-index: 1;
}

.advanced-service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 144, 255, 0.12);
    border-color: rgba(30, 144, 255, 0.2);
}

.advanced-service-item:hover::before {
    opacity: 1;
}

.advanced-service-item .service-icon {
    position: relative;
    z-index: 2;
}

.advanced-service-item h3,
.advanced-service-item p {
    position: relative;
    z-index: 2;
}

.advanced-service-item:hover .service-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #1E90FF;
}

.advanced-service-item .service-icon i {
    font-size: 3rem;
    color: #1E90FF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E90FF, #4169E1);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.advanced-service-item:hover::after {
    width: 80%;
}

@media (max-width: 768px) {
    .advanced-service-item {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .advanced-service-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Enhanced Lifted Cards */
.my-lifted-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 144, 255, 0.1);
}

.my-lifted-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.my-lifted-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.15);
}

.my-lifted-card:hover::before {
    transform: scaleX(1);
}

.my-lifted-card h2,
.my-lifted-card h3,
.my-lifted-card h4,
.my-lifted-card h5 {
    color: #1C2035;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.my-lifted-card:hover h2,
.my-lifted-card:hover h3,
.my-lifted-card:hover h4,
.my-lifted-card:hover h5 {
    color: #1E90FF;
}

.my-lifted-card:hover i {
    transform: scale(1.1);
}

.my-lifted-card i {
    color: #1E90FF;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.my-lifted-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1E90FF, #4169E1);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.my-lifted-card:hover::after {
    width: 80%;
}

@media (max-width: 768px) {
    .my-lifted-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .my-lifted-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Grid Layout Optimizations */
.row.g-5 > [class*="col-"] {
    margin-bottom: 2rem;
}

@media (min-width: 1200px) {
    .row.g-5 > [class*="col-xl-3"] {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .row.g-5 > [class*="col-lg-6"] {
        margin-bottom: 0;
    }
}

/* Skeleton Loading Animation */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-loader.hidden {
    display: none;
}

.skeleton-header {
    height: 60px;
    margin-bottom: 1rem;
}

.skeleton-top-bar {
    height: 40px;
    margin-bottom: 0.5rem;
}

.skeleton-navbar {
    height: 80px;
    margin-bottom: 1rem;
}

.skeleton-hero {
    height: 400px;
    margin-bottom: 2rem;
}

.skeleton-content {
    height: 200px;
    margin-bottom: 1rem;
}

.skeleton-section {
    height: 300px;
}

.skeleton-title {
    height: 32px;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-subtitle {
    height: 20px;
    width: 80%;
    margin-bottom: 0.5rem;
}

.skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    width: 70%;
}

.skeleton-card {
    height: 250px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skeleton-card-image {
    height: 120px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0.5rem;
}

.skeleton-card-title {
    height: 24px;
    width: 80%;
    margin-bottom: 0.5rem;
}

.skeleton-card-text {
    height: 16px;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skeleton-card-text:last-child {
    width: 60%;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    border-radius: 20px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 768px) {
    .skeleton-hero {
        height: 300px;
    }
    
    .skeleton-title {
        height: 28px;
    }
    
    .skeleton-subtitle {
        height: 18px;
    }
    
    .skeleton-grid {
        grid-template-columns: 1fr;
    }
    
    .skeleton-card-image {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .skeleton-hero {
        height: 250px;
    }
    
    .skeleton-navbar {
        height: 60px;
    }
    
    .skeleton-top-bar {
        height: 30px;
    }
}

/* Content Visibility Control */
.content-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.content-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
} 

/* NaviGo Tech Solutions - Custom Styles */

/* Favicon Optimization for Desktop */
@media (min-width: 992px) {
    /* Ensure proper favicon display on desktop */
    link[rel="icon"][sizes="32x32"],
    link[rel="icon"][sizes="16x16"] {
        display: block;
    }
    
    /* Optimize favicon for high-DPI displays */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        link[rel="icon"][sizes="32x32"] {
            /* Use higher resolution favicon for retina displays */
        }
    }
}

/* Mobile Favicon Optimization */
@media (max-width: 991px) {
    /* Ensure mobile favicon displays correctly */
    link[rel="apple-touch-icon"] {
        display: block;
    }
} 

/* Mobile Navbar Styles */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    min-height: 70px;
    transition: all 0.3s ease;
}

.mobile-navbar.show {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-navbar .mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-navbar .mobile-logo img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-navbar .mobile-brand {
    color: #1E90FF;
    text-decoration: none;
}

.mobile-navbar .mobile-brand h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #1E90FF;
}

.mobile-navbar .mobile-brand span {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    display: block;
    color: #666666;
}

.mobile-navbar .mobile-menu-toggle {
    background: rgba(30, 144, 255, 0.2);
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    color: #1E90FF;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-navbar .mobile-menu-toggle:hover,
.mobile-navbar .mobile-menu-toggle:focus {
    background: rgba(30, 144, 255, 0.3);
    border-color: rgba(30, 144, 255, 0.5);
    transform: scale(1.05);
    color: #1E90FF;
}

.mobile-navbar .mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 1050;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu-panel.show {
    right: 0;
}

.mobile-menu-header {
    background: #ffffff;
    padding: 1.5rem;
    color: #1E90FF;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-header .mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(30, 144, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: #1E90FF;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-header .mobile-menu-close:hover {
    background: rgba(30, 144, 255, 0.3);
    transform: rotate(90deg);
    color: #1E90FF;
}

.mobile-menu-header .mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-menu-header .mobile-menu-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-menu-header .mobile-menu-brand h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #1E90FF;
}

.mobile-menu-header .mobile-menu-brand span {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    color: #666666;
}

.mobile-menu-header .mobile-contact-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #1E90FF;
}

.mobile-menu-header .mobile-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-menu-header .mobile-contact-info .contact-item i {
    width: 16px;
    text-align: center;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    padding: 1.5rem;
}

.mobile-menu-nav .mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-menu-nav .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: #333;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid transparent;
}

.mobile-menu-nav .mobile-nav-link:hover {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(65, 105, 225, 0.1) 100%);
    color: #1E90FF;
    border-color: rgba(30, 144, 255, 0.2);
    transform: translateX(5px);
}

.mobile-menu-nav .mobile-nav-link.active {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.mobile-menu-nav .mobile-nav-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.mobile-menu-footer .mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-menu-footer .mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.mobile-menu-footer .mobile-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
    color: white;
}

.mobile-menu-footer .mobile-call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.mobile-menu-footer .mobile-call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

/* Hide Desktop Navbar on Mobile */
@media (max-width: 991px) {
    .navbar.navbar-expand-lg {
        display: none !important;
    }
    
    .mobile-navbar {
        display: flex;
    }
    
    /* Adjust content padding for mobile navbar */
    .container-xxl {
        padding-top: 80px;
    }
    
    .hero-header {
        margin-top: 70px;
    }
}

/* Show Desktop Navbar on Desktop */
@media (min-width: 992px) {
    .mobile-navbar {
        display: none !important;
    }
    
    .navbar.navbar-expand-lg {
        display: flex !important;
    }
}

/* Mobile Menu Animation Enhancements */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.mobile-menu-panel.show {
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-panel.hide {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Scrollbar Styling */
.mobile-menu-panel::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-menu-panel::-webkit-scrollbar-thumb {
    background: #1E90FF;
    border-radius: 2px;
}

.mobile-menu-panel::-webkit-scrollbar-thumb:hover {
    background: #4169E1;
}

/* Mobile Menu Focus States */
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.mobile-nav-link:focus,
.mobile-social-link:focus,
.mobile-call-button:focus {
    outline: 2px solid #1E90FF;
    outline-offset: 2px;
}

/* Mobile Menu Loading States */
.mobile-nav-link.loading {
    opacity: 0.7;
    pointer-events: none;
}

.mobile-nav-link.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Menu Responsive Adjustments */
@media (max-width: 576px) {
    .mobile-navbar {
        padding: 0.4rem 0.75rem;
        min-height: 65px;
    }
    
    .mobile-navbar .mobile-logo img {
        width: 40px;
        height: 40px;
    }
    
    .mobile-navbar .mobile-brand h2 {
        font-size: 1.1rem;
    }
    
    .mobile-navbar .mobile-brand span {
        font-size: 0.75rem;
    }
    
    .mobile-menu-panel {
        width: 90%;
        max-width: 320px;
    }
    
    .mobile-menu-nav .mobile-nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu-nav .mobile-nav-link i {
        font-size: 1.1rem;
        width: 20px;
    }
}

/* Mobile Menu Accessibility */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu-panel,
    .mobile-menu-overlay,
    .mobile-nav-link,
    .mobile-social-link,
    .mobile-call-button {
        transition: none;
    }
}

/* Mobile Menu High Contrast Mode */
@media (prefers-contrast: high) {
    .mobile-navbar {
        border-bottom: 2px solid #000;
    }
    
    .mobile-menu-nav .mobile-nav-link {
        border: 1px solid #000;
    }
    
    .mobile-menu-nav .mobile-nav-link.active {
        border: 2px solid #000;
    }
}

/* ========================================
   ADVANCED SERVICES SECTION - RESPONSIVE DESIGN
   ======================================== */

/* Advanced Services Section Base Styles */
.advanced-services-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.advanced-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(30,144,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Services Header */
.services-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.services-header .badge {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 144, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Service Icon */
.service-icon-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(65, 105, 225, 0.1) 100%);
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: #1E90FF;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2) 0%, rgba(65, 105, 225, 0.2) 100%);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Service Content */
.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1C2035;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.95rem;
}

.service-features li i {
    color: #1E90FF;
    font-size: 0.9rem;
    width: 16px;
}

/* Service CTA */
.service-cta {
    margin-top: auto;
}

.service-cta .btn {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
    width: 100%;
    justify-content: center;
}

.service-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
    color: white;
}

/* Services CTA Section */
.services-cta {
    margin-top: 3rem;
    text-align: center;
}

.services-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.services-cta .btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.services-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .advanced-services-section {
        padding: 5rem 0;
    }
    
    .services-header h2 {
        font-size: 3rem;
    }
    
    .services-header p {
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 90px;
        height: 90px;
    }
    
    .service-icon i {
        font-size: 2.2rem;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .advanced-services-section {
        padding: 4.5rem 0;
    }
    
    .services-header h2 {
        font-size: 2.8rem;
    }
    
    .service-card {
        padding: 2.25rem;
    }
    
    .service-icon {
        width: 85px;
        height: 85px;
    }
    
    .service-icon i {
        font-size: 2.1rem;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .advanced-services-section {
        padding: 4rem 0;
    }
    
    .services-header h2 {
        font-size: 2.3rem;
    }
    
    .services-header p {
        font-size: 1.05rem;
    }
    
    .service-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-icon {
        width: 75px;
        height: 75px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .services-cta p {
        font-size: 1.1rem;
    }
}

/* Tablet Portrait (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .advanced-services-section {
        padding: 3.5rem 0;
    }
    
    .services-header {
        margin-bottom: 2.5rem;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
    
    .services-header p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
    
    .service-cta .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .services-cta {
        margin-top: 2.5rem;
    }
    
    .services-cta p {
        font-size: 1rem;
    }
    
    .services-cta .btn {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }
}

/* Mobile Large (480px to 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .advanced-services-section {
        padding: 3rem 0;
    }
    
    .services-header {
        margin-bottom: 2rem;
    }
    
    .services-header .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.9rem;
    }
    
    .services-header h2 {
        font-size: 1.8rem;
    }
    
    .services-header p {
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .service-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 0.75rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-features {
        margin-bottom: 1.25rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .service-cta .btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.9rem;
    }
    
    .services-cta {
        margin-top: 2rem;
    }
    
    .services-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .services-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Mobile Medium (375px to 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .advanced-services-section {
        padding: 2.5rem 0;
    }
    
    .services-header {
        margin-bottom: 1.75rem;
    }
    
    .services-header .badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.8rem;
    }
    
    .services-header h2 {
        font-size: 1.6rem;
    }
    
    .services-header p {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }
    
    .service-icon i {
        font-size: 1.4rem;
    }
    
    .service-features {
        margin-bottom: 1rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }
    
    .service-cta .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .services-cta {
        margin-top: 1.75rem;
    }
    
    .services-cta p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .services-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Mobile Small (320px to 374px) */
@media (min-width: 320px) and (max-width: 374px) {
    .advanced-services-section {
        padding: 2rem 0;
    }
    
    .services-header {
        margin-bottom: 1.5rem;
    }
    
    .services-header .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    
    .services-header h2 {
        font-size: 1.4rem;
    }
    
    .services-header p {
        font-size: 0.85rem;
    }
    
    .service-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.5rem;
    }
    
    .service-icon i {
        font-size: 1.3rem;
    }
    
    .service-features {
        margin-bottom: 0.75rem;
    }
    
    .service-features li {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .service-cta .btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .services-cta {
        margin-top: 1.5rem;
    }
    
    .services-cta p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .services-cta .btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .advanced-services-section {
        padding: 1.5rem 0;
    }
    
    .services-header {
        margin-bottom: 1.25rem;
    }
    
    .services-header .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .services-header h2 {
        font-size: 1.2rem;
    }
    
    .services-header p {
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .service-title {
        font-size: 0.95rem;
    }
    
    .service-description {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
    
    .service-features {
        margin-bottom: 0.5rem;
    }
    
    .service-features li {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }
    
    .service-cta .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .services-cta {
        margin-top: 1.25rem;
    }
    
    .services-cta p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .services-cta .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .advanced-services-section {
        padding: 2rem 0;
    }
    
    .services-header {
        margin-bottom: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.4rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
    
    .service-card:hover {
        box-shadow: 0 20px 40px rgba(30, 144, 255, 0.12);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-icon,
    .service-cta .btn,
    .services-cta .btn {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .service-card:hover .service-icon {
        transform: none;
    }
    
    .service-card:hover .service-icon i {
        transform: none;
    }
    
    .service-cta .btn:hover,
    .services-cta .btn:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    
    .service-card::before {
        background: #000;
    }
    
    .service-cta .btn,
    .services-cta .btn {
        border: 2px solid #000;
    }
}

/* Print Styles */
@media print {
    .advanced-services-section {
        background: white !important;
        box-shadow: none !important;
    }
    
    .service-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    .service-cta .btn,
    .services-cta .btn {
        background: #000 !important;
        color: white !important;
        box-shadow: none !important;
    }
} 

/* ========================================
   CONTACT SECTION - RESPONSIVE DESIGN
   ======================================== */

/* Contact Section Base Styles */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

/* Modern Form Styles */
.modern-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

/* Bootstrap Form Floating Overrides */
.form-floating {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.form-floating .form-control {
    background: #ffffff;
    border: 2px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: auto;
    min-height: 60px;
}

.form-floating .form-control:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.2);
    outline: none;
}

.form-floating label {
    color: #666;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #1E90FF;
    transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
    background: #ffffff;
    padding: 0 0.5rem;
    border-radius: 4px;
}

.form-floating label i {
    margin-right: 0.5rem;
    color: #1E90FF;
}

/* Textarea Specific Styles */
.form-floating textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
    background: linear-gradient(135deg, #176fcc 0%, #3557b8 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Loading State */
.btn-primary .spinner-border {
    margin-left: 0.5rem;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.notification-toast.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
}

/* Map Section Styles */
.map-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.map-heading {
    color: #1C2035;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.map-heading i {
    color: #1E90FF;
}

.map-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.map-section iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.1);
    transition: all 0.3s ease;
}

.map-section iframe:hover {
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.2);
}

/* Section Title Styles */
.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E90FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title span {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #1E90FF, #4169E1);
    border-radius: 1px;
}

/* ========================================
   CONTACT RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .contact-form-wrapper {
        max-width: 800px;
    }
    
    .modern-form {
        padding: 3rem 4rem !important;
    }
    
    .form-floating .form-control {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
        min-height: 70px;
    }
    
    .form-floating label {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
    
    .btn-primary {
        padding: 1.25rem 3rem;
        font-size: 1.2rem;
    }
    
    .map-section {
        padding: 3rem;
        margin-top: 4rem;
    }
    
    .map-heading {
        font-size: 2.2rem;
    }
    
    .map-subtitle {
        font-size: 1.2rem;
    }
    
    .map-section iframe {
        height: 400px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .contact-form-wrapper {
        max-width: 750px;
    }
    
    .modern-form {
        padding: 2.5rem 3.5rem !important;
    }
    
    .form-floating .form-control {
        padding: 1.1rem 1.35rem;
        font-size: 1.05rem;
        min-height: 65px;
    }
    
    .form-floating label {
        font-size: 1.05rem;
        padding: 1.1rem;
    }
    
    .btn-primary {
        padding: 1.1rem 2.75rem;
        font-size: 1.15rem;
    }
    
    .map-section {
        padding: 2.5rem;
        margin-top: 3.5rem;
    }
    
    .map-heading {
        font-size: 2rem;
    }
    
    .map-subtitle {
        font-size: 1.1rem;
    }
    
    .map-section iframe {
        height: 350px;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .contact-form-wrapper {
        max-width: 700px;
    }
    
    .modern-form {
        padding: 2rem 3rem !important;
    }
    
    .form-floating .form-control {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 60px;
    }
    
    .form-floating label {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .map-section {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .map-heading {
        font-size: 1.8rem;
    }
    
    .map-subtitle {
        font-size: 1rem;
    }
    
    .map-section iframe {
        height: 300px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}

/* Tablet Portrait (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .contact-form-wrapper {
        margin: 0 1rem;
    }
    
    .modern-form {
        padding: 1.75rem 2rem !important;
    }
    
    .form-floating .form-control {
        padding: 0.9rem 1.1rem;
        font-size: 0.95rem;
        min-height: 55px;
    }
    
    .form-floating label {
        font-size: 0.95rem;
        padding: 0.9rem;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.8) translateY(-0.9rem) translateX(0.15rem);
    }
    
    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .map-section {
        padding: 1.75rem;
        margin-top: 2.5rem;
    }
    
    .map-heading {
        font-size: 1.6rem;
    }
    
    .map-subtitle {
        font-size: 0.95rem;
    }
    
    .map-section iframe {
        height: 280px;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .section-title span {
        width: 40px;
    }
}

/* Mobile Large (480px to 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .contact-form-wrapper {
        margin: 0 0.75rem;
    }
    
    .modern-form {
        padding: 1.5rem 1.75rem !important;
    }
    
    .form-floating .form-control {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-height: 50px;
    }
    
    .form-floating label {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.75) translateY(-0.8rem) translateX(0.15rem);
    }
    
    .btn-primary {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .map-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .map-heading {
        font-size: 1.4rem;
    }
    
    .map-subtitle {
        font-size: 0.9rem;
    }
    
    .map-section iframe {
        height: 250px;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .section-title span {
        width: 35px;
    }
}

/* Mobile Medium (375px to 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .contact-form-wrapper {
        margin: 0 0.5rem;
    }
    
    .modern-form {
        padding: 1.25rem 1.5rem !important;
    }
    
    .form-floating .form-control {
        padding: 0.75rem 0.9rem;
        font-size: 0.85rem;
        min-height: 45px;
    }
    
    .form-floating label {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.7) translateY(-0.7rem) translateX(0.15rem);
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .map-section {
        padding: 1.25rem;
        margin-top: 1.75rem;
    }
    
    .map-heading {
        font-size: 1.2rem;
    }
    
    .map-subtitle {
        font-size: 0.85rem;
    }
    
    .map-section iframe {
        height: 220px;
    }
    
    .section-title {
        font-size: 0.85rem;
    }
    
    .section-title span {
        width: 30px;
    }
}

/* Mobile Small (320px to 374px) */
@media (min-width: 320px) and (max-width: 374px) {
    .contact-form-wrapper {
        margin: 0 0.25rem;
    }
    
    .modern-form {
        padding: 1rem 1.25rem !important;
    }
    
    .form-floating .form-control {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    .form-floating label {
        font-size: 0.8rem;
        padding: 0.7rem;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.65) translateY(-0.6rem) translateX(0.15rem);
    }
    
    .btn-primary {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .map-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .map-heading {
        font-size: 1.1rem;
    }
    
    .map-subtitle {
        font-size: 0.8rem;
    }
    
    .map-section iframe {
        height: 200px;
    }
    
    .section-title {
        font-size: 0.8rem;
    }
    
    .section-title span {
        width: 25px;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .contact-form-wrapper {
        margin: 0 0.125rem;
    }
    
    .modern-form {
        padding: 0.75rem 1rem !important;
    }
    
    .form-floating .form-control {
        padding: 0.6rem 0.7rem;
        font-size: 0.75rem;
        min-height: 35px;
    }
    
    .form-floating label {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.6) translateY(-0.5rem) translateX(0.15rem);
    }
    
    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .map-section {
        padding: 0.75rem;
        margin-top: 1.25rem;
    }
    
    .map-heading {
        font-size: 1rem;
    }
    
    .map-subtitle {
        font-size: 0.75rem;
    }
    
    .map-section iframe {
        height: 180px;
    }
    
    .section-title {
        font-size: 0.75rem;
    }
    
    .section-title span {
        width: 20px;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .contact-form-wrapper {
        margin: 0 1rem;
    }
    
    .modern-form {
        padding: 1.5rem 2rem !important;
    }
    
    .map-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .map-section iframe {
        height: 200px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .contact-form-wrapper {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }
    
    .map-section {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .form-floating .form-control,
    .btn-primary,
    .notification-toast {
        transition: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .contact-form-wrapper,
    .map-section {
        border: 2px solid #000;
    }
    
    .form-floating .form-control {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
}

/* Print Styles */
@media print {
    .contact-form-wrapper,
    .map-section {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .btn-primary {
        background: #000 !important;
        color: white !important;
        box-shadow: none !important;
    }
    
    .map-section iframe {
        border: 1px solid #ccc !important;
    }
}

/* Focus States for Accessibility */
.form-floating .form-control:focus {
    outline: 2px solid #1E90FF;
    outline-offset: 2px;
}

.btn-primary:focus {
    outline: 2px solid #1E90FF;
    outline-offset: 2px;
}

/* Loading States */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

/* Form Validation Styles */
.form-floating .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
}

.form-floating .form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Enhanced Form Styling for Cleaner Look */
.form-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.form-container h2 {
    color: #1C2035;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1E90FF, #4169E1);
    border-radius: 2px;
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.2);
    outline: none;
    background: #ffffff;
}

.form-control::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Enhanced Form Labels */
.form-label {
    color: #1C2035;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label .required {
    color: #dc3545;
    font-weight: 700;
}

/* Enhanced Form Text */
.form-text {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.8;
}

/* Enhanced Select Styling */
.form-select {
    border: 2px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.form-select:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.2);
    outline: none;
}

/* Enhanced Textarea Styling */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Enhanced Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
    background: linear-gradient(135deg, #176fcc 0%, #3557b8 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

/* Loading State */
.btn-primary .spinner-border {
    margin-left: 0.5rem;
}

/* Enhanced Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.notification-toast.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
}

/* Enhanced Form Container Responsive Styles */
@media (max-width: 1200px) {
    .form-container {
        padding: 2rem;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .form-container {
        padding: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .form-container h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .form-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .form-container h2 {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .col-md-6 {
        width: 100% !important;
    }

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

@media (max-width: 575px) {
    .form-container {
        padding: 1.25rem;
        margin: 0 0.5rem 1.5rem 0.5rem;
        border-radius: 12px;
    }
    
    .form-container h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .form-text {
        font-size: 0.8rem;
    }
    
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .container.px-lg-5 {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 374px) {
    .form-container {
        padding: 1rem;
        margin: 0 0.25rem 1.25rem 0.25rem;
    }
    
    .form-container h2 {
        font-size: 1.2rem;
    }
    
    .form-control,
    .form-select {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .btn-primary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .container.px-lg-5 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}



/* Ensure proper spacing on all devices */
.contact-form-wrapper .row {
    margin: 0;
}

.contact-form-wrapper .col-12,
.contact-form-wrapper .col-md-6 {
    padding: 0;
}

/* Fix for Bootstrap form-floating on mobile */
@media (max-width: 767px) {
    .form-floating {
        margin-bottom: 1.5rem;
    }
    
    .form-floating .form-control {
        min-height: 50px;
    }
    
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label {
        transform: scale(0.75) translateY(-0.8rem) translateX(0.15rem);
    }
}

/* Ensure iframe is responsive */
.map-section iframe {
    width: 100%;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.1);
    transition: all 0.3s ease;
}

.map-section iframe:hover {
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.2);
} 

/* Contact Page Responsive Styles */
/* Hero Header Section Responsive */
.hero-header {
    background: linear-gradient(135deg, #1e90ff, #0066cc);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}

/* Modern hero section enhancements */
.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Wave Bottom Background */


.hero-header .container {
    position: relative;
    z-index: 2;
}

.hero-header h1 {
    font-size: 2.7rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-header p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-header .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.hero-header .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-header .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-quick-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.contact-quick-info .d-flex {
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-quick-info .d-flex:last-child {
    margin-bottom: 0;
}

.contact-quick-info i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-quick-info span {
    font-size: 1rem;
    line-height: 1.5;
}

/* Contact Forms Section Responsive */
.form-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.form-container h2 {
    color: #1C2035;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.form-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1E90FF, #4169E1);
    border-radius: 2px;
}

/* Map Section Responsive */
.map-section {
    margin-top: 3rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1E90FF, #4169E1, #1E90FF);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.map-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1E90FF;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1E90FF, #4169E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.map-heading i {
    color: #1E90FF;
    -webkit-text-fill-color: #1E90FF;
}

.map-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #1C2035;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.map-section iframe {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-section iframe:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 144, 255, 0.25);
}

/* Footer Section Responsive */
.footer {
    background: linear-gradient(135deg, #1E90FF 0%, #4169E1 100%);
    color: white;
    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="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>');
    opacity: 0.3;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
    opacity: 0.9;
}

.contact-item span {
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-circle i {
    color: white;
    font-size: 1rem;
}

.social-btn:hover .social-circle {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Breakpoints for Contact Page */
@media (max-width: 1200px) {
    .hero-header {
        padding: 80px 0 100px 0;
    }
    
    .hero-header h1 {
        font-size: 2.4rem;
    }
    
    .hero-header .lead {
        font-size: 1.2rem;
    }
    
    .contact-quick-info {
        padding: 1.75rem;
    }
    
    .form-container,
    .map-section {
        padding: 2rem;
    }
    
    .form-container h2,
    .map-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .hero-header {
        padding: 60px 0 80px 0;
    }
    
    .hero-header h1 {
        font-size: 2rem;
    }
    
    .hero-header .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .contact-quick-info {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-quick-info .d-flex {
        margin-bottom: 0.75rem;
    }
    
    .form-container,
    .map-section {
        padding: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .form-container h2,
    .map-heading {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .map-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 767px) {
    .hero-header {
        padding: 50px 0 70px 0;
    }
    
    .hero-header h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-header .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-quick-info {
        padding: 1.25rem;
        margin-top: 1.25rem;
        border-radius: 12px;
    }
    
    .contact-quick-info .d-flex {
        margin-bottom: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-quick-info i {
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }
    
    .contact-quick-info span {
        font-size: 0.9rem;
    }
    
    .form-container,
    .map-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 15px;
    }
    
    .form-container h2,
    .map-heading {
        font-size: 1.4rem;
        margin-bottom: 1.25rem;
    }
    
    .map-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .map-section iframe {
        height: 250px;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        margin-bottom: 0.75rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .social-circle {
        width: 35px;
        height: 35px;
    }
    
    .social-circle i {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .hero-header {
        padding: 40px 0 60px 0;
    }
    
    .hero-header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-header .lead {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-quick-info {
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    .contact-quick-info .d-flex {
        margin-bottom: 0.5rem;
    }
    
    .contact-quick-info span {
        font-size: 0.85rem;
    }
    
    .form-container,
    .map-section {
        padding: 1.25rem;
        margin: 0 0.5rem 1.5rem 0.5rem;
        border-radius: 12px;
    }
    
    .form-container h2,
    .map-heading {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .map-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .map-section iframe {
        height: 200px;
        border-radius: 8px;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-item {
        margin-bottom: 0.5rem;
        gap: 0.75rem;
    }
    
    .contact-item i {
        font-size: 1rem;
        min-width: 16px;
    }
    
    .contact-item span {
        font-size: 0.85rem;
    }
    
    .social-circle {
        width: 32px;
        height: 32px;
    }
    
    .social-circle i {
        font-size: 0.85rem;
    }
}

@media (max-width: 374px) {
    .hero-header {
        padding: 35px 0 50px 0;
    }
    
    .hero-header h1 {
        font-size: 1.4rem;
    }
    
    .hero-header .lead {
        font-size: 0.9rem;
    }
    
    .contact-quick-info {
        padding: 0.875rem;
    }
    
    .contact-quick-info span {
        font-size: 0.8rem;
    }
    
    .form-container,
    .map-section {
        padding: 1rem;
        margin: 0 0.25rem 1.25rem 0.25rem;
    }
    
    .form-container h2,
    .map-heading {
        font-size: 1.2rem;
    }
    
    .map-subtitle {
        font-size: 0.8rem;
    }
    
    .map-section iframe {
        height: 180px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .contact-item span {
        font-size: 0.8rem;
    }
    
    .social-circle {
        width: 30px;
        height: 30px;
    }
    
    .social-circle i {
        font-size: 0.8rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-header {
        padding: 30px 0;
    }
    
    .hero-header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-header .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .contact-quick-info {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .form-container,
    .map-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-header::before,
    .footer::before {
        background-size: 50px 50px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-header::before,
    .footer::before,
    .form-container::before,
    .map-section::before {
        animation: none;
    }
    
    .contact-quick-info,
    .form-container,
    .map-section,
    .social-btn {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-header {
        background: #1e90ff;
    }
    
    .footer {
        background: #1E90FF;
    }
    
    .form-container,
    .map-section {
        border: 2px solid #1E90FF;
    }
}

/* Print Styles */
@media print {
    .hero-header {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .hero-header::before,
    .footer::before {
        display: none;
    }
    
    .form-container,
    .map-section {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .map-section iframe {
        display: none;
    }
    
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .social-icons {
        display: none;
    }
}

/* Animation for gradient shift */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}