/* Footer CSS */
.footer-menu a:hover {
    opacity: 1 !important;
    color: #199db6 !important;
}

.footer-copyright-social-icon a:hover {
    opacity: 1 !important;
    color: #199db6 !important;
}

@media (max-width: 768px) {
    .footer-menu {
        text-align: center;
    }

    .footer-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-copyright {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.footer-area-home-3 {
    padding-top: 0;
}

/* Form CSS */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Placeholder styles for form inputs */
.form-wrapper input::placeholder,
.form-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

Remove default focus outline and add custom style .form-wrapper input:focus,
.form-wrapper textarea:focus {
    border-color: #199db6 !important;
    background: rgba(25, 157, 182, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(25, 157, 182, 0.2);
}

/* Disabled button state */
#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px !important;
        margin-top: 30px;
    }

    .form-wrapper .input-item[style*="flex"] {
        flex-direction: column;
    }

    .form-wrapper h3 {
        font-size: 2rem !important;
    }

    #submitBtn {
        max-width: 100%;
    }
}

/* Hover effect for form container */
.form-wrapper:hover {
    border-color: rgba(25, 157, 182, 0.5) !important;
    box-shadow: 0 25px 50px rgba(25, 157, 182, 0.2) !important;
}

/* Responsive Map  */
.map-area {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0a0f1e;
}

.map-area .map {
    width: 100%;
    height: auto;
    position: relative;
}

.map-area iframe {
    width: 100%;
    height: 550px;
    border: 0;
    display: block;
    filter: grayscale(0.2) invert(0.05) hue-rotate(140deg);
    transition: filter 0.3s ease;
}

/* Hover effect on map */
.map-area iframe:hover {
    filter: grayscale(0) invert(0) hue-rotate(0);
}

@media screen and (max-width: 1200px) {
    .font-size-1-26 {
        font-size: 22px;
    }

    .contact-area-home-3 .form-wrapper .title h3 {
        font-size: 36px !important;
    }
}

/* Tablet Devices (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .map-area iframe {
        height: 450px;
    }

    .map-area>div[style*="absolute"] {
        bottom: 20px !important;
        left: 20px !important;
        padding: 15px 25px !important;
        max-width: 280px !important;
    }

    .font-size-1-26 {
        font-size: 22px;
    }

    .contact-area-home-3 .form-wrapper .title h3 {
        font-size: 32px !important;
    }
}

/* Mobile Landscape (568px - 768px) */
@media screen and (max-width: 768px) {
    .map-area iframe {
        height: 400px;
    }

    .map-area>div[style*="absolute"] {
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
        max-width: none !important;
        width: auto !important;
        padding: 15px 20px !important;
        background: rgba(10, 15, 30, 0.95) !important;
    }

    .map-area h4 {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }

    .map-area p {
        font-size: 0.9rem !important;
    }
}

/* Mobile Portrait (up to 568px) */
@media screen and (max-width: 568px) {
    .map-area iframe {
        height: 350px;
    }

    .map-area>div[style*="absolute"] {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 12px 15px !important;
    }

    .map-area h4 {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }

    .map-area p {
        font-size: 0.85rem !important;
    }
}

/* Small Mobile (up to 380px) */
@media screen and (max-width: 380px) {
    .map-area iframe {
        height: 300px;
    }

    .map-area>div[style*="absolute"] {
        padding: 10px 12px !important;
    }

    .map-area h4 {
        font-size: 0.95rem !important;
    }

    .map-area p {
        font-size: 0.8rem !important;
    }
}

/* High-resolution displays */
@media screen and (min-width: 1920px) {
    .map-area iframe {
        height: 650px;
    }
}

/* A subtle gradient overlay at the bottom */
.map-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #199db6, transparent);
    pointer-events: none;
    z-index: 5;
}

/* Loading state for iframe */
.map-area iframe {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.map-area iframe[loading="lazy"] {
    opacity: 0;
}

.map-area iframe[loading="lazy"][src] {
    opacity: 1;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .map-area iframe:hover {
        filter: grayscale(0.2) invert(0.05) hue-rotate(140deg);
    }

    .map-area>div[style*="absolute"] {
        background: rgba(10, 15, 30, 0.95) !important;
    }
}

/* Dark mode support (already dark, but ensuring consistency) */
@media (prefers-color-scheme: dark) {
    .map-area iframe {
        filter: grayscale(0.3) invert(0.08) hue-rotate(140deg);
    }
}

@media screen and (min-width: 1200px) {
    .map-area iframe {
        border-radius: 0;
    }
}

/* Print styles */
@media print {
    .map-area iframe {
        height: 400px;
        filter: none;
        border: 1px solid #ddd;
    }

    .map-area>div[style*="absolute"] {
        display: none !important;
    }
}