
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(to bottom, #020617, #0f172a, #0f172a);
    padding: 180px 24px 100px;
    overflow: hidden;
    text-align: center;
}

.background-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

.glow-blue-top {
    top: 80px;
    right: 40px;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.2);
}

.glow-orange-bottom {
    bottom: 80px;
    left: 40px;
    width: 500px;
    height: 500px;
    background: rgba(249, 115, 22, 0.2);
    animation-delay: 1s;
}

.hero-title {
    color: white;
    font-size: 3.75rem;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 1.125rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

/* Gradient Text */
.gradient-text-orange {
    background: linear-gradient(to right, #fb923c, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Section */
.contact-section {
    background: #020617;
    padding: 64px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #9ca3af;
    font-size: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

/* Form Container */
.form-container {
    padding: 32px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(51, 65, 85, 1);

    animation: slideInLeft 0.6s ease forwards;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 16px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #64748b;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #0f172a;
}

.form-textarea {
    resize: none;
    min-height: 140px;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(to right, #ea580c, #f97316);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 20px 60px -15px rgba(249, 115, 22, 0.5);
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-button:hover {

    box-shadow: 0 20px 60px -15px rgba(249, 115, 22, 0.7);
}

.submit-button i {
    font-size: 1.25rem;
}

/* Map Container */
.map-container {
    display: flex;
    flex-direction: column;
    gap: 24px;

    animation: slideInRight 0.6s ease forwards;
}

.map-wrapper {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(51, 65, 85, 1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* HQ Info */
.hq-info {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hq-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.hq-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    animation: flagWave 2s ease-in-out 0.5s;transform: none !important;
}

.hq-info:hover .hq-flag {
    transform: scale(1.1) rotate(5deg);
}

.hq-details {
    flex: 1;
}

.hq-title {
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
}

.hq-title i {
    color: #fb923c;
    font-size: 1.25rem;
}

.hq-address {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
}

.contact-detail-item i {
    color: #fb923c;
    font-size: 1rem;
    width: 16px;
}

.contact-detail-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: #fb923c;
}

/* Branches Section */
.branches-section {
    background: linear-gradient(to bottom, #020617, #0f172a);
    padding: 64px 24px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.branch-card {
    position: relative;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    animation: scaleIn 0.5s ease forwards;
    overflow: hidden;
}

.branch-card:nth-child(1) { animation-delay: 0s; }
.branch-card:nth-child(2) { animation-delay: 0.05s; }
.branch-card:nth-child(3) { animation-delay: 0.1s; }
.branch-card:nth-child(4) { animation-delay: 0.15s; }
.branch-card:nth-child(5) { animation-delay: 0.2s; }
.branch-card:nth-child(6) { animation-delay: 0.25s; }
.branch-card:nth-child(7) { animation-delay: 0.3s; }
.branch-card:nth-child(8) { animation-delay: 0.35s; }
.branch-card:nth-child(9) { animation-delay: 0.4s; }
.branch-card:nth-child(10) { animation-delay: 0.45s; }

.card-blue {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-orange {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(48px);
    transition: opacity 0.3s ease;
    transform: translate(50%, -50%);
}

.card-blue::before {
    background: rgba(59, 130, 246, 1);
}

.card-orange::before {
    background: rgba(249, 115, 22, 1);
}

.branch-card:hover::before {
    opacity: 0.1;
}

.branch-card:hover {
    transform: scale(1.05);
}

.card-blue:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2);
}

.card-orange:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 10px 40px -10px rgba(249, 115, 22, 0.2);
}

/* Branch Header */
.branch-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 10;
}

.flag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-size: 2rem;
    flex-shrink: 0;
    border: 1px solid;
    transition: transform 0.3s ease;
}

.card-blue .flag-icon {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-orange .flag-icon {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
}

.branch-country-wrapper {
    flex: 1;
}

.branch-country {
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 600;
}

.card-blue .branch-country {
    color: #60a5fa;
}

.card-orange .branch-country {
    color: #fb923c;
}

/* HQ Badge */
.hq-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #f97316;
    font-size: 0.75rem;
    font-weight: 500;
}

.hq-badge i {
    font-size: 0.75rem;
}

.branch-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.branch-name {
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.5);
}

.branch-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.6;
}

.branch-detail i {
    margin-top: 2px;
    font-size: 1rem;
    flex-shrink: 0;
    width: 16px;
}

.card-blue .branch-detail i {
    color: #60a5fa;
}

.card-orange .branch-detail i {
    color: #fb923c;
}

.branch-detail a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.branch-detail a:hover {
    color: #fb923c;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes flagWave {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

.flag-icon {
    animation: flagWave 2s ease-in-out;
}

.branch-card:nth-child(1) .flag-icon { animation-delay: 0s; }
.branch-card:nth-child(2) .flag-icon { animation-delay: 0.1s; }
.branch-card:nth-child(3) .flag-icon { animation-delay: 0.2s; }
.branch-card:nth-child(4) .flag-icon { animation-delay: 0.3s; }
.branch-card:nth-child(5) .flag-icon { animation-delay: 0.4s; }
.branch-card:nth-child(6) .flag-icon { animation-delay: 0.5s; }
.branch-card:nth-child(7) .flag-icon { animation-delay: 0.6s; }
.branch-card:nth-child(8) .flag-icon { animation-delay: 0.7s; }
.branch-card:nth-child(9) .flag-icon { animation-delay: 0.8s; }
.branch-card:nth-child(10) .flag-icon { animation-delay: 0.9s; }

.error {color: red;font-size: 12px;margin-top: 3px;display: block;}
.loader {display: flex;justify-content: center;align-items: center;margin-top: 15px;}
.loader:after {content: "";width: 30px;height: 30px;border: 4px solid #ccc;border-top-color: #000;border-radius: 50%;animation: spin 0.8s linear infinite;}
@keyframes spin {to { transform: rotate(360deg); }}
#successMessage{color: green;font-size: 17px;background: #fff;padding: 4px;text-align: center;margin-top: 12px;border-radius: 8px;}

/* Responsive Styles */
@media(max-width:1366px){
	.hero-section {padding: 110px 24px 100px;}
	
}
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 64px 24px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper {
        height: 250px;
    }
    
    .flag-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .branch-country {
        font-size: 1rem;
    }
}
@media(max-width:767px){
	.contact-section {padding: 50px 0;}
	.container-wide {padding: 0;}
	.branches-section {padding: 20px 24px 50px;}
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .form-input {
        padding: 12px;
        font-size: 0.875rem;
    }
    
    .submit-button {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Focus visible for accessibility */
.form-input:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.submit-button:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}
