.contact-main {
    min-height: 100vh;
}

.contact-header-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 80px);
}

.contact-form-side {
    background: #000;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.form-container {
    width: 100%;
    max-width: 500px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #9ca3af;
    margin-bottom: 2.5rem;
}

.form-heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    background: #1f2937;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.country-select {
    padding: 0.75rem;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    background: #1f2937;
    cursor: pointer;
    min-width: 80px;
}

.country-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-input {
    flex: 1;
}

.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    background: #1f2937;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s;
}

.form-textarea::placeholder {
    color: #6b7280;
}

.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
    border: none;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 5px 20px;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    box-shadow:
    0 8px 0 #9333ea,
    0 15px 25px rgba(0,0,0,0.4);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.2s ease;
}

.btn-submit:hover {
    filter: brightness(1.1);
    box-shadow:
    0 12px 0 #9333ea,
    0 25px 35px rgba(0,0,0,0.5);
}
}

.contact-map-side {
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.globe {
    position: relative;
    width: 600px;
    height: 600px;
    transform-style: preserve-3d;
}

.globe-rotate {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

@keyframes rotateGlobe {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.globe-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
   animation: slowZoom 2s ease-in-out; /* SLOW SMOOTH SCALING */
}



@keyframes slowZoom{
0%{ transform: scale(1); }
100%{ transform: scale(1.1); }
}

.point {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.bangalore,
.delhi {
    background: #ff9800;
    box-shadow: 0 0 15px #ff9800, 0 0 30px rgba(255, 152, 0, 0.5);
}

.joburg,
.durban {
    background: #00c853;
    box-shadow: 0 0 15px #00c853, 0 0 30px rgba(0, 200, 83, 0.5);
}

.bangalore {
    top: 58%;
    left: 62%;
}

.delhi {
    top: 47%;
    left: 64%;
}

.joburg {
    top: 78%;
    left: 36%;
}

.durban {
    top: 80%;
    left: 40%;
}

.label {
    position: absolute;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 11;
    pointer-events: none;
    animation: tagFloat 2s ease-in-out infinite;
    white-space: nowrap;
}

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

.bangalore-l,
.delhi-l {
    background: #ff9800;
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.joburg-l,
.durban-l {
    background: #00c853;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
}

.bangalore-l {
    top: 50%;
    left: 62%;
}

.delhi-l {
    top: 40%;
    left: 65%;
}

.joburg-l {
    top: 70%;
    left: 16%;
}

.durban-l {
    top: 79%;
    left: 42%;
}

.locations-section {
    background: #000;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.locations-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.locations-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.locations-header {
    text-align: center;
}

.locations-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.locations-description {
    font-size: 1.125rem;
    color: #9ca3af;
}

.world-map-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(10px);
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.world-map-image {
    width: 100%;
    height: auto;
    display: block;
}

.nav-link.active {
    color: #60a5fa;
}

    .hamburger {
        display: none;
    }

    



    .contact-form-side {
        padding: 3rem 2rem;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            border-radius: 1rem;
    }

    .contact-map-side {
        height: 500px;
    }

    .globe {
        width: 450px;
        height: 450px;
    }

    .locations-title {
        font-size: 2.5rem;
    }

    .locations-description {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .hamburger {
        display: flex;
    }

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

    .contact-title {
        font-size: 2rem;
    }

    .contact-map-side {
        height: 400px;
    }

    .globe {
        width: 350px;
        height: 350px;
    }

    .label {
        font-size: 11px;
        padding: 6px 12px;
    }

    .point {
        width: 12px;
        height: 12px;
    }

    .locations-section {
        padding: 4rem 1.5rem;
    }

    .locations-title {
        font-size: 2rem;
    }

    .locations-description {
        font-size: 0.9375rem;
    }

    .world-map-container {
        border-radius: 1rem;
    }
}


.contact-row{
display:flex;
align-items:center;
justify-content:space-between;
background:#ffffff;
padding:20px 30px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,0.08);
max-width:1000px;
margin:auto;
}


.contact-item{
display:flex;
align-items:center;
gap:12px;
color:#2c3e50;
}


.contact-item i{
font-size:22px;
    background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
color:#fff;
padding:14px;
border-radius:50%;
}


.contact-text{
line-height:1.4;
}


.contact-text strong{
display:block;
font-size:15px;
color:#000;
}

.contact-sec{
    margin-top: 5rem;
}

@media(max-width:768px){
    .hamburger {
        display: flex;
    }


.contact-row{
flex-direction:column;
gap:20px;
align-items:flex-start;
}
 /* Add spacing around the white contact box */
    .contact-sec {
        padding: 0 1.5rem;   /* adds left + right margin */
    }

    .contact-row {
        width: 100%;
        margin: 0 auto;
    }

    .contact-sec{
    margin-top: 1rem;
}

}



/* ---------------------------------------------------------
   FULL MOBILE RESPONSIVE FIXES
   (Does NOT affect desktop view)
----------------------------------------------------------*/
@media (max-width: 900px) {

.hamburger {
        display: flex;
    }

    /* MAIN SPLIT STACKS */
    .contact-split {
        grid-template-columns: 1fr;
        height: auto;
    }

    .contact-form-side,
    .contact-map-side {
        height: auto;
        padding: 2rem 1.5rem;
    }

    /* FORM SIDE */
    .form-container {
        max-width: 100%;
    }

    .form-heading {
        text-align: center;
    }

    /* MAP SIDE */
    .scene {
        height: 420px;
    }

    .globe {
        width: 380px;
        height: 380px;
    }

    /* REPOSITION LABELS FOR SMALLER GLOBE */
    .label {
        font-size: 11px;
        padding: 6px 12px;
    }

    .point {
        width: 12px;
        height: 12px;
    }

    /* Contact header spacing */
    .contact-header-section {
        padding: 0rem;
    }
}

@media (max-width: 600px) {

    /* Page titles */
    .contact-title {
        font-size: 1.9rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Globe shrink more */
    .scene {
        height: 320px;
    }

    .globe {
        width: 260px;
        height: 260px;
    }

    /* Labels reposition for tiny screens */
    .label {
        font-size: 10px;
        padding: 5px 10px;
    }

    .point {
        width: 10px;
        height: 10px;
    }

    /* Contact information row */
    .contact-row {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        padding: 20px;
    }

    .contact-item i {
        padding: 10px;
        font-size: 18px;
    }

    .contact-text strong {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    /* Inputs */
    .form-input,
    .form-textarea,
    select.form-input {
        font-size: 0.9rem;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
        font-size: 18px;
        padding: 10px;
    }

    /* Footer grid stacks */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links li {
        margin: 4px 0;
    }

    /* Globe extra shrink for very small screens */
    .scene {
        height: 260px;
    }

    .globe {
        width: 220px;
        height: 220px;
    }

    .label {
        font-size: 9px;
    }

    .point {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 900px) {

    /* Make form area full width */
    .contact-form-side {
        width: 100%;
        padding: 2rem 1.5rem;   /* adjust padding */
    }

    .form-container {
        width: 100%;
        max-width: 100%;        /* force full width */
        padding: 0 10px;        /* slight inner padding */
    }

    .contact-form {
        width: 100%;
    }

    .form-input,
    .form-textarea,
    select.form-input {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-form-side {
        padding: 2rem 1rem;     /* tighter padding for small screens */
    }

    .form-container {
        padding: 0 5px;
    }
}

