/* =========================================
   CONTACT PAGE STYLES - COMPLETE
   ========================================= */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

/* =========================================
   SCROLL ANIMATIONS (Matching About Page)
   ========================================= */

/* Default visible state */
.contact-hero,
.info-section,
.contact-section,
.map-section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

/* Class for elements that need animation on scroll */
.scroll-animate-contact {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: all 0.8s ease !important;
}

/* Visible states when animated */
.contact-hero.animate-in,
.info-section.animate-in,
.contact-section.animate-in,
.map-section.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Info cards staggered */
.info-card.animate-in {
    transition-delay: 0.1s;
}

.info-card:nth-child(2).animate-in {
    transition-delay: 0.2s;
}

.info-card:nth-child(3).animate-in {
    transition-delay: 0.3s;
}

.info-card:nth-child(4).animate-in {
    transition-delay: 0.4s;
}

/* Form and image staggered */
.contact-image.animate-in {
    transition-delay: 0.1s;
}

.contact-form-area.animate-in {
    transition-delay: 0.2s;
}

/* =========================================
   FIXED HEADER & NAVIGATION
   ========================================= */

.fixed-contact-bar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #cacaca;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.fixed-contact-bar.hide {
    transform: translateY(-100%);
    position: relative;
}

.container-top-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sub-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
}

.left-sub-nav,
.right-sub-nav-items,
.email {
    display: flex;
    align-items: center;
    gap: 8px;
}

.left-sub-nav span,
.right-sub-nav-items span,
.email span {
    color: #589bdd;
    font-size: 18px;
}

.left-sub-nav h1,
.right-sub-nav-items h1,
.email h2 {
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.right-sub-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Main Header */
.main-header {
    position: relative;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    z-index: 1000;
    width: 100%;
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

body.has-sticky-header {
    padding-top: 120px;
}

/* Nav Bar */
.nav-bar {
    max-width: 1400px;
    height: 75px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    max-height: 200px;
    width: auto;
    margin-top: 10%;
}

.right-nav-bar {
    display: flex;
    align-items: center;
}

.right-nav-link {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.right-nav-link a {
    text-decoration: none;
    font-size: 18px;
    color: #5c5c5c;
    transition: 0.3s;
}

.right-nav-link a:hover {
    color: #589bdd;
}

.right-nav-link .home,
.right-nav-link .services,
.right-nav-link .about,
.right-nav-link .contacts {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: #5c5c5c;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: #589bdd;
    color: #fff;
    padding-left: 25px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #5c5c5c;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =========================================
   CONTACT HERO SECTION
   ========================================= */

.contact-hero {
    background: linear-gradient(135deg, #0a2c4a 0%, #1a4a6e 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(45deg);
    pointer-events: none;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Animations for hero */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

/* =========================================
   INFO CARDS SECTION
   ========================================= */

.info-section {
    padding: 60px 20px;
    background: #ffffff;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-card {
    background: #ffffff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #589bdd;
}

.info-card .icon {
    width: 70px;
    height: 70px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-card .icon i {
    font-size: 30px;
    color: #589bdd;
}

.info-card h3 {
    font-size: 20px;
    color: #0a2c4a;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* =========================================
   CONTACT FORM SECTION - REDESIGNED
   ========================================= */

.contact-section {
    padding: 60px 20px;
    background: #f8f9fc;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-image img {
    width: 100%;
    height: 808px;
    object-fit: cover;
    transition: transform 0.5s ease;
    background-position-x: top;
}

.contact-image:hover img {
    transform: scale(1.03);
}

/* Form Area - Redesigned */
.contact-form-area {
    background: #ffffff;
    padding: 45px;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-badge {
    display: inline-block;
    background: #e8f0fe;
    color: #589bdd;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-form-area h1 {
    font-size: 32px;
    color: #0a2c4a;
    margin-bottom: 12px;
    font-weight: 800;
}

.contact-form-area p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Input Groups */
.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field {
    position: relative;
    margin-bottom: 0;
}

.input-field i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #589bdd;
    font-size: 18px;
    transition: all 0.3s;
}

.input-field.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.input-field input,
.input-field textarea {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    font-size: 15px;
    font-family: 'Urbanist', sans-serif;
    transition: all 0.3s;
    background: #ffffff;
    color: #333;
}

.input-field textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 16px;
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-color: #589bdd;
    box-shadow: 0 0 0 3px rgba(88, 155, 221, 0.1);
}

.input-field input:focus + i,
.input-field textarea:focus + i {
    color: #589bdd;
}

/* Textarea specific icon position */
.textarea-field i {
    top: 22px;
    transform: none;
}

/* Send Button */
.send-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #589bdd, #3a7bb5);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 155, 221, 0.3);
}

.send-btn i {
    font-size: 18px;
    transition: transform 0.3s;
}

.send-btn:hover i {
    transform: translateX(5px);
}

/* Chat Alternative */
.chat-alternative {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e8e8e8;
}

.chat-alternative p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.open-chat-btn {
    background: transparent;
    border: 2px solid #589bdd;
    color: #589bdd;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.open-chat-btn:hover {
    background: #589bdd;
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   MAP SECTION
   ========================================= */

.map-section {
    width: 100%;
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   CHAT WIDGET STYLES
   ========================================= */

.chat-widget {
    position: fixed;
    bottom: 80px;   /* 👈 lifted up so it doesn't overlap the Back-to-Top button */
    right: 30px;
    z-index: 10000;
}
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #589bdd, #3a7bb5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(88, 155, 221, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-toggle-btn i {
    font-size: 28px;
    color: white;
}

.chat-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, #0a2c4a, #1a4a6e);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar i {
    font-size: 24px;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 16px;
}

.chat-header-info p {
    margin: 4px 0 0;
    font-size: 11px;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #589bdd;
    border-radius: 3px;
}

.chat-welcome {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
}

.chat-welcome i {
    font-size: 40px;
    color: #589bdd;
    margin-bottom: 10px;
}

.chat-message {
    display: flex;
    margin-bottom: 8px;
}

.message-sent {
    justify-content: flex-end;
}

.message-received {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 18px;
}

.message-sent .message-bubble {
    background: linear-gradient(135deg, #589bdd, #3a7bb5);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-received .message-bubble {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.message-text {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-time {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.7;
    text-align: right;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    background: white;
    flex-shrink: 0;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
}

.chat-input-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.chat-input-wrapper input:focus {
    border-color: #589bdd;
}

.chat-input-wrapper button {
    width: 45px;
    height: 45px;
    background: #589bdd;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-input-wrapper button:hover {
    background: #3a7bb5;
    transform: scale(1.05);
}

.chat-info {
    text-align: center;
    margin-top: 8px;
}

.chat-info small {
    font-size: 10px;
    color: #999;
}

/* =========================================
   FOOTER - MATCHING STYLE.CSS (SAME AS ABOUT & SERVICE)
   ========================================= */

.footer-section {
    width: 100%;
    background: #003d73;
    position: relative;
    overflow: hidden;
    padding: 60px 6% 20px;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(45deg);
}

.footer-section::after {
    content: '';
    position: absolute;
    bottom: -250px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    transform: rotate(45deg);
}

.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

/* =========================================
   COLUMN 1 - LEFT (LOGO + NEWSLETTER)
   ========================================= */
.footer-left {
    flex: 1.2;
    min-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 28px;
    color: #589bdd;
    margin-right: 5px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    display: block;
}

.footer-text {
    color: #d8e7f4;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 350px;
}

.newsletter-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 10px;
}

.footer-form .input-box {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
}

.footer-form .input-box .mail-icon {
    color: #589bdd;
    font-size: 18px;
}

.footer-form .input-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 15px;
    color: #ffffff;
    padding: 6px 0;
}

.footer-form .input-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-form .input-box input:focus {
    outline: none;
    box-shadow: none;
}

.footer-form button {
    padding: 8px 22px;
    background: #589bdd;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-form button:hover {
    background: #3a7bb5;
    transform: translateY(-2px);
}

/* =========================================
   COLUMN 2 - SOCIÉTÉ
   ========================================= */
.footer-links {
    flex: 0.8;
    min-width: 160px;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: #589bdd;
    border-radius: 3px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #589bdd;
    padding-left: 5px;
}

/* =========================================
   COLUMN 3 - SERVICES
   ========================================= */
.footer-links:nth-child(3) {
    flex: 0.8;
}

/* =========================================
   COLUMN 4 - CONTACT
   ========================================= */
.footer-contact {
    flex: 1;
    min-width: 240px;
}

.contact-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 50%;
    background: #589bdd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-box h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   FOOTER BOTTOM
   ========================================= */
.footer-bottom {
    max-width: 1400px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom p span {
    color: #589bdd;
    font-weight: 700;
}

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

.social-icons a {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #589bdd;
    color: #fff;
    transform: translateY(-3px);
}
/* ============================================
   PRE-CHAT FORM
   ============================================ */
   .chat-window,
.chat-preform {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-window.closing,
.chat-preform.closing {
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
}
.chat-preform {
    display: none;
    flex-direction: column;
    width: 360px;
    max-width: 95vw;
    height: 520px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: chatPreformIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-preform.show {
    display: flex;
}

@keyframes chatPreformIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-preform-header {
    background: linear-gradient(135deg, #0a2c4a, #1a4a6e);
    padding: 28px 24px 22px;
    text-align: center;
    color: #fff;
}

.chat-preform-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 26px;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.chat-preform-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.chat-preform-header p {
    font-size: 12px;
    opacity: 0.85;
    margin: 0;
    line-height: 1.4;
}

.chat-preform form {
    flex: 1;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.chat-preform-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
}

.chat-preform-field:focus-within {
    border-color: #589bdd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(88, 155, 221, 0.1);
}

.chat-preform-field i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.chat-preform-field input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    outline: none;
}

.chat-preform-field input::placeholder {
    color: #94a3b8;
}

.chat-preform-submit {
    margin-top: auto;
    padding: 14px 20px;
    background: linear-gradient(135deg, #589bdd, #3a7bb5);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s;
    box-shadow: 0 6px 18px rgba(88, 155, 221, 0.35);
}

.chat-preform-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 155, 221, 0.45);
}

.chat-preform-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.chat-preform-footer {
    padding: 12px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 11px;
}

.chat-preform-footer i {
    color: #10b981;
}

@media (max-width: 480px) {
    .chat-preform {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        max-width: 100vw;
    }
}
/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* LAPTOP - 1200px and below */
@media (max-width: 1200px) {
    .info-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-container {
        gap: 40px;
    }
    
    .footer-container {
        gap: 30px;
    }
    
    .footer-left {
        flex: 1.4;
    }
    
    .footer-links {
        flex: 0.9;
    }
    
    .footer-contact {
        flex: 1.1;
    }
}

/* TABLET - 992px and below */
@media (max-width: 992px) {
    .contact-hero {
        padding: 80px 20px 60px;
    }
    
    .contact-hero-title {
        font-size: 42px;
    }
    
    .contact-hero-subtitle {
        font-size: 17px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-image {
        order: -1;
    }
    
    .contact-image img {
        height: 350px;
    }
    
    .contact-form-area {
        padding: 35px 30px;
    }
    
    .contact-form-area h1 {
        font-size: 30px;
    }
    
    .info-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .info-card {
        padding: 28px 20px;
    }
    
    .chat-window {
        width: 380px;
        height: 500px;
    }
    
    .footer-container {
        gap: 30px;
    }
    
    .footer-left {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .footer-links {
        flex: 0 1 45%;
        min-width: 180px;
    }
    
    .footer-contact {
        flex: 0 1 45%;
        min-width: 200px;
    }
    
    .footer-text {
        max-width: 100%;
    }
}

/* TABLET SMALL - 768px and below */
@media (max-width: 768px) {
    body {
        padding-top: 45px;
    }
    
    .fixed-contact-bar {
        height: auto;
        min-height: 25px;
    }
    
    .sub-nav {
        flex-direction: column;
        height: auto;
        padding: 4px 0;
    }
    
    .right-sub-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .left-sub-nav h1,
    .right-sub-nav-items h1,
    .email h2 {
        white-space: normal;
        font-size: 8px;
    }
    
    .left-sub-nav span,
    .right-sub-nav-items span,
    .email span {
        font-size: 12px;
    }
    
    .container-top-nav {
        padding: 0 10px;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .right-nav-link {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
        z-index: 1000;
    }
    
    .right-nav-link.active {
        display: flex;
    }
    
    .nav-bar {
        position: relative;
        height: 65px;
        padding: 0 15px;
    }
    
    .logo img {
        max-height: 60px;
        margin-top: 0;
    }
    
    .right-nav-link a {
        font-size: 16px;
    }
    
    .dropdown {
        width: 100%;
        position: relative;
    }
    
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f8f9fc;
        box-shadow: none;
        margin-top: 10px;
        width: 100%;
        min-width: unset;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li a {
        padding: 10px 20px 10px 35px;
        font-size: 14px;
    }
    
    .right-nav-link .home a,
    .right-nav-link .contacts a {
        display: block;
        width: 100%;
    }
    
    .language-selector {
        margin-right: 10px;
        padding: 3px 8px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .lang-flag {
        width: 16px;
        height: 12px;
    }
    
    .contact-hero {
        padding: 60px 15px 50px;
    }
    
    .contact-hero-title {
        font-size: 34px;
    }
    
    .contact-hero-subtitle {
        font-size: 15px;
    }
    
    .info-section {
        padding: 40px 15px;
    }
    
    .info-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-card .icon {
        width: 60px;
        height: 60px;
    }
    
    .info-card .icon i {
        font-size: 26px;
    }
    
    .info-card h3 {
        font-size: 18px;
    }
    
    .info-card p {
        font-size: 14px;
    }
    
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-image img {
        height: 280px;
        border-radius: 16px;
        
    }
    
    .contact-form-area {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .contact-form-area h1 {
        font-size: 26px;
    }
    
    .contact-form-area p {
        font-size: 14px;
    }
    
    .form-badge {
        font-size: 12px;
        padding: 5px 14px;
    }
    
    .input-group {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .input-field input,
    .input-field textarea {
        padding: 14px 14px 14px 42px;
        font-size: 14px;
        border-radius: 14px;
    }
    
    .input-field i {
        font-size: 16px;
        left: 14px;
    }
    
    .input-field textarea {
        min-height: 100px;
    }
    
    .send-btn {
        padding: 14px;
        font-size: 15px;
        border-radius: 14px;
    }
    
    .chat-alternative {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .chat-alternative p {
        font-size: 13px;
    }
    
    .open-chat-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .map-section {
        height: 300px;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: 450px;
        border-radius: 16px;
    }
    
    .chat-header {
        padding: 12px 16px;
    }
    
    .chat-header-info h4 {
        font-size: 15px;
    }
    
    .chat-avatar {
        width: 38px;
        height: 38px;
    }
    
    .chat-avatar i {
        font-size: 20px;
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .message-bubble {
        max-width: 80%;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .chat-input-area {
        padding: 12px;
    }
    
    .chat-input-wrapper input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .chat-input-wrapper button {
        width: 40px;
        height: 40px;
    }
    
    .chat-input-wrapper button i {
        font-size: 16px;
    }
    
    .chat-welcome {
        padding: 20px 15px;
    }
    
    .chat-welcome i {
        font-size: 32px;
    }
    
    /* FOOTER RESPONSIVE */
    .footer-section {
        padding: 40px 20px 20px;
    }
    
    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .footer-left {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .footer-links {
        flex: 0 1 45%;
        min-width: 140px;
    }
    
    .footer-links:nth-child(3) {
        flex: 0 1 45%;
    }
    
    .footer-contact {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    .footer-text {
        font-size: 14px;
        max-width: 100%;
    }
    
    .newsletter-title {
        font-size: 18px;
    }
    
    .footer-form {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-form .input-box {
        flex: 1;
        min-width: 180px;
    }
    
    .footer-form button {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .footer-links h3::after,
    .footer-contact h3::after {
        width: 25px;
        height: 3px;
        bottom: -6px;
    }
    
    .footer-links ul li {
        margin-bottom: 10px;
    }
    
    .footer-links ul li a {
        font-size: 14px;
    }
    
    .contact-box {
        gap: 12px;
        margin-bottom: 14px;
    }
    
    .contact-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .contact-box h4 {
        font-size: 15px;
    }
    
    .contact-box p {
        font-size: 13px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* MOBILE - 576px and below */
@media (max-width: 576px) {
    .contact-hero {
        padding: 50px 12px 40px;
    }
    .chat-widget {
        bottom: 89px;   /* slightly lower on mobile */
        right: 23px;
    }
    .contact-hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .contact-hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .info-card .icon {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
    }
    
    .info-card .icon i {
        font-size: 22px;
    }
    
    .info-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .info-card p {
        font-size: 13px;
    }
    
    .contact-image img {
        height: 220px;
       
    }
    
    .contact-form-area {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .contact-form-area h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .contact-form-area p {
        font-size: 13px;
    }
    
    .form-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }
    
    .input-field input,
    .input-field textarea {
        padding: 12px 12px 12px 38px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .input-field i {
        font-size: 14px;
        left: 12px;
    }
    
    .input-field textarea {
        min-height: 80px;
    }
    
    .send-btn {
        padding: 12px;
        font-size: 14px;
        border-radius: 12px;
        gap: 8px;
    }
    
    .send-btn i {
        font-size: 16px;
    }
    
    .open-chat-btn {
        padding: 8px 18px;
        font-size: 13px;
        gap: 8px;
    }
    
    .chat-window {
        height: 400px;
        width: calc(100vw - 30px);
        right: -5px;
        border-radius: 14px;
    }
    
    .chat-messages {
        padding: 12px;
        gap: 8px;
    }
    
    .message-bubble {
        max-width: 85%;
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .message-text {
        font-size: 13px;
    }
    
    .chat-input-wrapper input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .chat-input-wrapper button {
        width: 36px;
        height: 36px;
    }
    
    .chat-input-wrapper button i {
        font-size: 14px;
    }
    
    .chat-welcome {
        padding: 15px 12px;
    }
    
    .chat-welcome i {
        font-size: 28px;
    }
    
    .chat-welcome p {
        font-size: 13px;
    }
    
    .map-section {
        height: 250px;
    }
    
    .chat-toggle-btn {
        width: 50px;
        height: 50px;
    }
    
    .chat-toggle-btn i {
        font-size: 24px;
    }
    
    /* FOOTER MOBILE */
    .footer-section {
        padding: 30px 15px 16px;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-links {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .footer-links:nth-child(3) {
        flex: 1 1 100%;
    }
    
    .footer-contact {
        flex: 1 1 100%;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .logo-icon {
        font-size: 18px;
    }
    
    .footer-text {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .newsletter-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-form .input-box {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 8px;
        min-width: unset;
    }
    
    .footer-form .input-box input {
        font-size: 14px;
    }
    
    .footer-form button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 17px;
        margin-bottom: 14px;
    }
    
    .footer-links ul li {
        margin-bottom: 8px;
    }
    
    .footer-links ul li a {
        font-size: 13px;
    }
    
    .contact-box {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .contact-box h4 {
        font-size: 14px;
    }
    
    .contact-box p {
        font-size: 12px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding-top: 12px;
        gap: 10px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* VERY SMALL MOBILE - 400px and below */
@media (max-width: 400px) {
    .contact-hero {
        padding: 40px 10px 30px;
    }
    
    .contact-hero-title {
        font-size: 24px;
    }
    
    .contact-hero-subtitle {
        font-size: 13px;
    }
    
    .info-card {
        padding: 16px 12px;
    }
    
    .info-card .icon {
        width: 44px;
        height: 44px;
    }
    
    .info-card .icon i {
        font-size: 18px;
    }
    
    .info-card h3 {
        font-size: 16px;
    }
    
    .info-card p {
        font-size: 12px;
    }
    
    .contact-image img {
        height: 180px;
        border-radius: 12px;
      
    }
    
    .contact-form-area {
        padding: 16px 12px;
    }
    
    .contact-form-area h1 {
        font-size: 20px;
    }
    
    .contact-form-area p {
        font-size: 12px;
    }
    
    .input-field input,
    .input-field textarea {
        padding: 10px 10px 10px 34px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .input-field i {
        font-size: 12px;
        left: 10px;
    }
    
    .input-field textarea {
        min-height: 70px;
    }
    
    .send-btn {
        padding: 10px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .send-btn i {
        font-size: 14px;
    }
    
    .chat-window {
        height: 360px;
    }
    
    .chat-header {
        padding: 10px 14px;
    }
    
    .chat-header-info h4 {
        font-size: 14px;
    }
    
    .chat-avatar {
        width: 32px;
        height: 32px;
    }
    
    .chat-avatar i {
        font-size: 16px;
    }
    
    .chat-messages {
        padding: 10px;
    }
    
    .message-bubble {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .message-text {
        font-size: 12px;
    }
    
    .chat-input-area {
        padding: 10px;
    }
    
    .chat-input-wrapper input {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .chat-input-wrapper button {
        width: 32px;
        height: 32px;
    }
    
    .chat-input-wrapper button i {
        font-size: 12px;
    }
    
    .chat-toggle-btn {
        width: 44px;
        height: 44px;
    }
    
    .chat-toggle-btn i {
        font-size: 20px;
    }
    
    .map-section {
        height: 200px;
    }
    
    /* FOOTER VERY SMALL */
    .footer-section {
        padding: 25px 12px 14px;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-text {
        font-size: 12px;
    }
    
    .newsletter-title {
        font-size: 15px;
    }
    
    .footer-form .input-box input {
        font-size: 13px;
    }
    
    .footer-form button {
        font-size: 13px;
        padding: 8px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 16px;
    }
    
    .footer-links ul li a {
        font-size: 12px;
    }
    
    .contact-box h4 {
        font-size: 13px;
    }
    
    .contact-box p {
        font-size: 11px;
    }
    
    .contact-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* =========================================
   ADDITIONAL UTILITY CLASSES
   ========================================= */

/* Center text on mobile */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Hide on mobile */
@media (max-width: 576px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show on mobile */
@media (min-width: 577px) {
    .show-mobile {
        display: none !important;
    }
}

/* =========================================
   SMOOTH TRANSITIONS
   ========================================= */
a,
button,
.info-card,
.contact-image,
.send-btn,
.open-chat-btn,
.chat-toggle-btn,
.chat-input-wrapper button {
    transition: all 0.3s ease;
}

/* =========================================
   RESIZE ANIMATION STOPPER
   ========================================= */
.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

/* =========================================
   REDUCED MOTION PREFERENCE
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    .footer-form button:hover,
    .social-icons a:hover,
    .footer-links ul li a:hover {
        transform: none !important;
    }
    
    .info-card:hover {
        transform: none !important;
    }
    
    .contact-image:hover img {
        transform: none !important;
    }
    
    .send-btn:hover {
        transform: none !important;
    }
    
    .open-chat-btn:hover {
        transform: none !important;
    }
}