/* Contact Hero Section */
.contact-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1f3d 0%, #16386b 100%);
    overflow: hidden;
    padding: 80px 0;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%230a1f3d"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.contact-hero-content,
.contact-hero-image {
    position: relative;
    z-index: 2;
}

.contact-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid #ff7a1a;
    border-radius: 999px;
    color: #ff7a1a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: slideInDown 0.8s ease-out;
}

.contact-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: titleSlideIn 0.8s ease-out forwards;
}

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

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 500px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.contact-hero-image {
    max-width: 100%;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(11, 31, 60, 0.55) 0%, rgba(22, 56, 107, 0.55) 100%), url('/images/container.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(43, 123, 187, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(86, 184, 232, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-section > .container {
    position: relative;
    z-index: 1;
}

.contact-form-wrapper,
.contact-info-wrapper {
    animation: slideInUp 0.8s ease-out;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 246, 250, 0.95) 100%);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(10, 31, 61, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.form-header,
.info-header {
    margin-bottom: 40px;
}

.form-icon-box,
.info-icon-main {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.15), rgba(86, 184, 232, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a1a;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.form-title,
.info-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0B2F5B;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #5b6472;
    font-size: 1rem;
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eef1f7;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f4f6fa;
    position: relative;
    z-index: 1;
}

.form-control:focus {
    outline: none;
    border-color: #ff7a1a;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.1);
}

.form-control::placeholder {
    color: #5b6472;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6472' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.btn-submit {
    padding: 16px 50px;
    background: linear-gradient(135deg, #ff7a1a 0%, #ff9142 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    margin-top: 30px;
    display: inline-block;
    opacity: 1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 122, 26, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Info - Light Version */
.contact-info-wrapper {
    background: transparent;
}

.info-header {
    margin-bottom: 40px;
}

.info-icon-main {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.15), rgba(86, 184, 232, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a1a;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0B2F5B;
    margin-bottom: 10px;
}

/* Contact Info - Dark Panel Version */
.info-panel-dark {
    background: linear-gradient(135deg, #0a1f3d 0%, #16386b 100%);
    padding: 40px;
    border-radius: 12px;
    color: white;
}

.info-header-dark {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.info-title-dark {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
}

.info-title-dark i {
    color: #ff7a1a;
    font-size: 2rem;
}

/* Contact Info Items */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-panel-dark .info-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-panel-dark .info-item:last-child {
    border-bottom: none;
}

.info-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.1), rgba(86, 184, 232, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a1a;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-panel-dark .info-icon-box {
    background: rgba(255, 122, 26, 0.2);
    color: #ff9142;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 1rem;
    font-weight: 800;
    color: #0B2F5B;
    margin-bottom: 8px;
}

.info-panel-dark .info-label {
    color: white;
    font-weight: 800;
}

.info-text {
    color: #5b6472;
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-size: 0.95rem;
}

.info-panel-dark .info-text {
    color: rgba(255, 255, 255, 0.85);
}

.info-contact {
    margin-top: 12px;
}

.info-phone,
.info-email {
    margin: 0 0 8px 0;
    color: #5b6472;
    font-size: 0.9rem;
}

.info-panel-dark .info-phone,
.info-panel-dark .info-email {
    color: rgba(255, 255, 255, 0.85);
}

.info-phone i,
.info-email i {
    color: #ff7a1a;
    margin-right: 8px;
}

.info-panel-dark .info-phone i,
.info-panel-dark .info-email i {
    color: #ff9142;
}

.info-text a,
.info-phone a,
.info-email a {
    color: #ff7a1a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-panel-dark .info-text a,
.info-panel-dark .info-phone a,
.info-panel-dark .info-email a {
    color: #ff9142;
}

.info-text a:hover,
.info-phone a:hover,
.info-email a:hover {
    color: #0B2F5B;
}

.info-panel-dark .info-text a:hover,
.info-panel-dark .info-phone a:hover,
.info-panel-dark .info-email a:hover {
    color: #ffb366;
}

/* Locations Section */
.contact-locations-section {
    padding: 80px 0;
    background: var(--paper-tint);
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid #ff7a1a;
    border-radius: 999px;
    color: #ff7a1a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #0B2F5B;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

.section-subtitle {
    color: #5b6472;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

    .location-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(10, 31, 61, 0.08);
        transition: transform .45s ease, box-shadow .45s ease;
        will-change: transform;
        flex: 0 1 calc(33.333% - 20px);
        display: inline-block;
    }

        .location-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(10,31,61,.15);
        }

.location-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

    .location-card:hover .location-image img {
        transition: transform .45s ease;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

.location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.7), rgba(86, 184, 232, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.location-card:hover .location-overlay {
    opacity: 1;
}

.location-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.location-body {
    padding: 25px;
}

.location-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0B2F5B;
    margin-bottom: 15px;
}

.location-address {
    display: flex;
    gap: 10px;
    color: #5b6472;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.location-address i {
    color: #ff7a1a;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-contact {
    display: flex;
    gap: 10px;
    color: #5b6472;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.location-contact i {
    color: #ff7a1a;
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7a1a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-phone:hover {
    color: #0B2F5B;
}

/* Map Section */
.contact-map-section {
    padding: 80px 0;
    background: white;
}

.map-header {
    margin-bottom: 50px;
}

.map-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #0B2F5B;
    margin-bottom: 10px;
}

.map-header p {
    color: #5b6472;
    font-size: 1.05rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(10, 31, 61, 0.15);
}

.map-container iframe {
    display: block;
}

/* CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1f3d 0%, #16386b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    padding: 14px 40px;
    background: #ff7a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #ff9142;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 122, 26, 0.4);
}



.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delayed {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease-out 0.3s both;
}

.animate-slide-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-slide-up-delayed {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Form Group Animations */
.form-group-animated {
    opacity: 0;
    animation: slideInLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--animation-delay, 0ms) forwards;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.form-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff7a1a, #ff9142);
    width: 0;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: left;
}

.form-control:focus ~ .form-underline,
.form-control:valid ~ .form-underline {
    animation: expandWidth 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    width: 100%;
}

.form-control:focus {
    animation: pulse 0.2s ease-out;
    will-change: box-shadow;
}

/* Button Animations */
.btn-submit-animated {
    animation: slideInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--animation-delay, 0ms) forwards;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

/* Info Item Animations */
.info-item-animated {
    opacity: 0;
    animation: slideInRight 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--animation-delay, 0ms) forwards;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.info-item {
        transition: transform .35s ease, background-color .35s ease;
}

.info-item:hover {
            transform: translateX(8px);
            background: rgba(255,122,26,.04);
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 8px;
}

.icon-box-animated {
    opacity: 0;
    animation: bounce 0.55s ease-out var(--animation-delay, 0ms) forwards;
    transform: translateZ(0);
}

.info-icon-box {
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-item:hover .info-icon-box {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.2), rgba(86, 184, 232, 0.2));
    color: #ff7a1a;
}

.info-item:hover .info-label {
    color: #ff7a1a;
}

.info-text a,
.info-phone a,
.info-email a {
    position: relative;
    transition: all 0.3s ease;
}

.info-text a::after,
.info-phone a::after,
.info-email a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff7a1a;
    transition: width 0.3s ease;
}

.info-text a:hover::after,
.info-phone a:hover::after,
.info-email a:hover::after {
    width: 100%;
}

/* Location Card Animations */
.location-card {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 122, 26, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    opacity: 0;
        transition: opacity .3s;
        z-index: 1;
}

.location-card:hover .location-image::before {
    opacity: 1;
}

.location-title {
    transition: all 0.3s ease;
}

.location-card:hover .location-title {
    color: #ff7a1a;
    transform: translateX(5px);
}

.location-phone {
    transition: all 0.3s ease;
    position: relative;
}

.location-phone::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff7a1a;
    transition: width 0.3s ease;
}

.location-phone:hover::before {
    width: 100%;
}

/* Section Animations */
.section-header {
    animation: fadeIn 0.8s ease-out 0.1s both;
}

.section-title {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.section-subtitle {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

/* Scroll Animation Classes */
    /* =========================================================
       Scroll Reveal (Optimized)
       ========================================================= */

    [data-scroll] {
        opacity: 0;
        transform: translate3d(0,24px,0);
        transition: opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
        will-change: transform,opacity;
        backface-visibility: hidden;
        perspective: 1000px;
    }

        [data-scroll].animate-in {
            opacity: 1;
            transform: translate3d(0,0,0);
        }

    /* Directions */

    [data-scroll="fade-left"] {
        transform: translate3d(-24px,0,0);
    }

    [data-scroll="fade-right"] {
        transform: translate3d(24px,0,0);
    }

    [data-scroll="fade-up"] {
        transform: translate3d(0,24px,0);
    }

    [data-scroll="fade-down"] {
        transform: translate3d(0,-24px,0);
    }

    [data-scroll="zoom-fade"] {
        transform: scale(.95);
    }

        [data-scroll="zoom-fade"].animate-in {
            transform: scale(1);
        }


/* Smooth animation rendering */
[data-scroll] {
    will-change: transform, opacity;
    contain: layout style paint;
}

/* Enhanced scroll animations */
.contact-hero-section {
    position: relative;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    will-change: auto;
}

/* GPU acceleration for smooth animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Get In Touch Section */
.get-in-touch-section {
    background: #fff;
    padding: 70px 0 80px;
}

.get-in-touch-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0a1f3d;
    margin-bottom: 55px;
    text-align: center;
    position: relative;
    display: block;
}

.get-in-touch-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #7c6fe0, #56B8E8);
    border-radius: 2px;
}

.touch-card {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.06);
    border-left: 4px solid #2B7BBB;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}

.touch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(10, 31, 61, 0.12);
}

.touch-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(43, 123, 187, 0.12);
    color: #2B7BBB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.touch-card-icon.accent {
    background: rgba(43, 123, 187, 0.12);
    color: #2B7BBB;
}

.touch-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1f3d;
    margin-bottom: 18px;
}

.touch-card-content {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.touch-card-address {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
}

.touch-phone-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.touch-phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2B7BBB;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    transition: color .3s ease, transform .3s ease;
}

.touch-phone-link:hover {
    color: #ff7a1a;
    transform: translateX(4px);
}

.touch-phone-link i {
    font-size: 0.95rem;
    color: #2B7BBB;
    transition: color .3s ease;
}

.touch-phone-link:hover i {
    color: #ff7a1a;
}

.touch-email-section {
    margin-bottom: 8px;
}

.touch-email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2B7BBB;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    transition: color .3s ease, transform .3s ease;
}

.touch-email-link:hover {
    color: #ff7a1a;
    transform: translateX(4px);
}

.touch-email-link i {
    font-size: 0.95rem;
    color: #2B7BBB;
    transition: color .3s ease;
}

.touch-email-link:hover i {
    color: #ff7a1a;
}

@media (max-width: 991.98px) {
    .get-in-touch-section .col-lg-6 {
        width: 100%;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .get-in-touch-section {
        padding: 50px 0 60px;
    }

    .get-in-touch-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        margin-bottom: 40px;
    }

    .touch-card {
        padding: 30px 22px;
    }

    .touch-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .touch-card-title {
        font-size: 1.1rem;
    }
}

/* Back to Home Section */
.back-to-home-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(11, 31, 60, 0.55) 0%, rgba(22, 56, 107, 0.55) 100%), url('/images/container.jpg') center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid rgba(255, 122, 26, 0.2);
    position: relative;
    overflow: hidden;
}

.back-to-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(43, 123, 187, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(86, 184, 232, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.back-to-home-section > .container {
    position: relative;
    z-index: 1;
}

.back-to-home-section p {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    padding: 12px 35px;
    background: linear-gradient(135deg, #0a1f3d 0%, #16386b 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
        transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.15);
}

.btn-back-home:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(10, 31, 61, 0.25);
    background: linear-gradient(135deg, #16386b 0%, #0a1f3d 100%);
}

.btn-back-home:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-hero-section {
        min-height: 50vh;
        padding: 60px 20px;
    }

    .contact-form-section {
        padding: 60px 20px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .contact-locations-section {
        padding: 60px 20px;
    }

    .locations-grid {
        gap: 25px;
    }

    .location-card {
        flex: 0 1 calc(50% - 12.5px);
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        min-height: 45vh;
        padding: 50px 20px;
    }

    .contact-hero-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: 12px;
    }

    .contact-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .contact-badge {
        font-size: 0.8rem;
        padding: 7px 16px;
        margin-bottom: 16px;
    }

    .contact-hero-image {
        max-width: 100%;
    }

    .hero-img {
        border-radius: 10px;
    }

    .contact-form-section {
        padding: 50px 20px;
        background-attachment: scroll;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
        border-radius: 14px;
    }

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

    .form-icon-box,
    .info-icon-main {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .form-title,
    .info-title {
        font-size: 1.4rem;
    }

    .form-subtitle {
        font-size: 0.95rem;
    }

    .contact-form {
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    textarea.form-control {
        min-height: 120px;
    }

    .btn-submit {
        padding: 14px 40px;
        font-size: 0.95rem;
        margin-top: 24px;
    }

    .contact-info-wrapper {
        padding: 30px 0;
    }

    .info-panel-dark {
        padding: 35px 30px;
        border-radius: 14px;
    }

    .info-item {
        gap: 16px;
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .info-icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .info-label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .info-text,
    .info-phone,
    .info-email {
        font-size: 0.9rem;
    }

    .map-container {
        border-radius: 12px;
        overflow: hidden;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .contact-locations-section {
        padding: 50px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 7px 16px;
    }

    .section-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .locations-grid {
        gap: 20px;
        flex-direction: column;
    }

    .location-card {
        flex: 0 1 100%;
    }

    .location-image {
        height: 180px;
    }

    .location-overlay h3 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .location-body {
        padding: 20px;
    }

    .location-title {
        font-size: 1.1rem;
    }

    .location-address,
    .location-contact {
        font-size: 0.85rem;
    }

    .map-header h2 {
        font-size: 1.6rem;
    }

    .map-header p {
        font-size: 0.95rem;
    }

    .contact-cta-section {
        padding: 50px 20px;
    }

    .cta-title {
        font-size: clamp(1.5rem, 3.5vw, 1.8rem);
    }

    .cta-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .btn-cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        min-height: 40vh;
        padding: 40px 15px;
    }

    .contact-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .contact-hero-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .contact-hero-subtitle {
        font-size: 0.9rem;
    }

    .contact-form-section {
        padding: 40px 15px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
        border-radius: 12px;
    }

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

    .form-icon-box {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .form-subtitle {
        font-size: 0.9rem;
    }

    .contact-form {
        gap: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-control {
        padding: 11px 13px;
        font-size: 0.9rem;
        width: 100%;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .btn-submit {
        padding: 12px 28px;
        font-size: 0.9rem;
        margin-top: 18px;
        width: 100%;
    }

    .contact-info-wrapper {
        padding: 20px 0;
    }

    .info-header {
        margin-bottom: 20px;
    }

    .info-panel-dark {
        padding: 24px 18px;
    }

    .info-icon-main {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .info-title {
        font-size: 1.1rem;
    }

    .info-title-dark {
        font-size: 1.1rem;
    }

    .info-item {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .info-icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .info-label {
        font-size: 0.9rem;
    }

    .info-text,
    .info-phone,
    .info-email {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .map-container iframe {
        min-height: 250px;
    }

    .contact-locations-section {
        padding: 40px 15px;
    }

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

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .location-card {
        flex: 0 1 100%;
    }

    .location-image {
        height: 160px;
    }

    .location-overlay h3 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }

    .location-body {
        padding: 16px;
    }

    .location-title {
        font-size: 1rem;
    }

    .location-address,
    .location-contact {
        font-size: 0.8rem;
        gap: 8px;
    }

    .map-header h2 {
        font-size: 1.4rem;
    }

    .map-header p {
        font-size: 0.9rem;
    }

    .contact-cta-section {
        padding: 40px 15px;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-text {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .btn-cta {
        padding: 11px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .back-to-home-section {
        padding: 40px 15px;
    }

    .back-to-home-section p {
        font-size: 1rem;
    }

    .btn-back-home {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
}

/* =========================================================
   Global Locations Section - Interactive Map
   ========================================================= */
.careers-locations-section {
    background: var(--paper-tint);
    padding: 80px 0;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #56B8E8 rgba(255, 255, 255, 0.1);
}

.locations-list::-webkit-scrollbar {
    width: 8px;
}

.locations-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.locations-list::-webkit-scrollbar-thumb {
    background: #56B8E8;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.locations-list::-webkit-scrollbar-thumb:hover {
    background: #2B7BBB;
}

.location-item {
    padding: 16px;
    border-radius: 8px;
    background: white;
    border-left: 4px solid rgba(255, 122, 26, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-item h4 {
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-item h5 {
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-item p {
    color: var(--ink-soft);
    font-size: 0.85rem;
    margin: 6px 0;
    word-break: break-word;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.location-item p i {
    color: #2B7BBB;
    margin-right: 0;
    flex-shrink: 0;
    margin-top: 3px;
}

.location-item:hover {
    background: var(--paper-tint);
    border-left-color: #ff7a1a;
    transform: translateX(4px);
}

.location-details {
    max-height: 500px;
    overflow-y: auto;
}

.location-item-active {
    background: linear-gradient(135deg, rgba(43, 123, 187, 0.08), rgba(86, 184, 232, 0.08));
    border-left-color: #2B7BBB;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 500px;
}

.map-container iframe {
    border-radius: 12px;
    width: 100%;
    min-height: 500px;
}

/* Responsive Locations Section */
@media (max-width: 991.98px) {
    .locations-list {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .careers-locations-section {
        padding: 50px 0;
    }

    .locations-list {
        gap: 10px;
    }

    .location-item {
        padding: 14px;
        border-radius: 8px;
    }

    .location-item h4 {
        font-size: 0.9rem;
    }

    .location-item h5 {
        font-size: 0.85rem;
    }

    .location-item p {
        font-size: 0.8rem;
    }

    .map-container {
        min-height: 350px;
        border-radius: 10px;
    }

    .map-container iframe {
        min-height: 350px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .careers-locations-section {
        padding: 40px 0;
    }

    .locations-list {
        gap: 8px;
        max-height: none;
        overflow-y: visible;
    }

    .location-item {
        padding: 12px;
    }

    .location-item h4 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .location-item h5 {
        font-size: 0.8rem;
    }

    .location-item p {
        font-size: 0.75rem;
        margin: 4px 0;
    }

    .location-details {
        word-break: break-word;
        max-height: 200px;
    }

    .map-container {
        min-height: 280px;
    }

    .map-container iframe {
        min-height: 280px;
    }
}
