/* ===== Section 1: Hero ===== */
/* Mini Title with Border */
.contact-mini-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.contact-mini-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border-radius: 2px;
}

/* Main Title */
.contact-main-title {
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.contact-title-highlight {
  background: linear-gradient(135deg, #4ade80 0%, #5364f7 50%, #8ab4f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Description */
.contact-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 450px;
  line-height: 1.7;
}

/* Action Buttons */
.contact-btn-primary {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 60px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s;
}

.contact-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.4);
  color: #ffffff;
}

.contact-btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 60px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s;
}

.contact-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Hero Image */
.contact-hero-image {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SECTION 2: CONTACT CARDS WITH BORDER
   ======================================== */

.contact-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: rgba(10, 17, 49, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(138, 180, 248, 0.15);
}

/* Row 1: Icon with Border + Title */
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-card-icon-wrapper {
  flex-shrink: 0;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 2px solid;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.05);
}

.contact-card-title {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

/* Row 2: Details - Left Alignment */
.contact-card-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.contact-card-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.contact-card-desc strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ========================================
   RESPONSIVE - TWO ITEMS PER ROW ON MOBILE
   ======================================== */

/* Mobile: 2 columns */
@media (max-width: 767.98px) {
  .contact-card {
    padding: 1rem 0.8rem !important;
    border-radius: 12px;
  }
  
  .contact-card-header {
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .contact-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-width: 1.5px;
  }
  
  .contact-card-title {
    font-size: 0.85rem;
  }
  
  .contact-card-desc {
    font-size: 0.7rem;
    line-height: 1.5;
  }
}

/* Small Mobile: 2 columns with smaller padding */
@media (max-width: 480px) {
  .contact-card {
    padding: 0.7rem 0.5rem !important;
  }
  
  .contact-card-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  
  .contact-card-title {
    font-size: 0.75rem;
  }
  
  .contact-card-desc {
    font-size: 0.6rem;
    line-height: 1.4;
  }
  
  .contact-card-header {
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
  }
}

/* Very Small Mobile */
@media (max-width: 380px) {
  .contact-card {
    padding: 0.5rem 0.3rem !important;
  }
  
  .contact-card-icon {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
    border-width: 1px;
  }
  
  .contact-card-title {
    font-size: 0.65rem;
  }
  
  .contact-card-desc {
    font-size: 0.55rem;
  }
}

/* Tablet: 4 columns */
@media (min-width: 768px) and (max-width: 991.98px) {
  .contact-card {
    padding: 1.2rem 1rem !important;
  }
  
  .contact-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  
  .contact-card-title {
    font-size: 0.95rem;
  }
  
  .contact-card-desc {
    font-size: 0.8rem;
  }
}

/* ========================================
   SECTION 3: GET IN TOUCH - UPDATED
   ======================================== */

/* ===== Left Side: Contact Form (No Border) ===== */
.contact-form-wrapper {
  background: transparent;
  padding: 1rem 0;
}

.contact-form-header .section-title {
  font-size: 1.6rem;
}

.contact-form .form-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-form .form-control:focus {
  border-color: rgba(138, 180, 248, 0.3);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(83, 100, 247, 0.08);
}

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

/* ===== Submit Button - Three Colors ===== */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #5364f7 0%, #8ab4f8 50%, #4ade80 100%);
  background-size: 300% 300%;
  animation: gradientMove 4s ease-in-out infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 25px rgba(83, 100, 247, 0.4);
}

.submit-btn:active {
  transform: scale(0.95);
}

.submit-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.submit-btn:hover i {
  transform: translateX(4px);
}

/* ===== Right Side: Heading + Sub Heading + Image Only (No Border) ===== */
.contact-right-wrapper {
  background: transparent;
  padding: 1rem 0;
}

.contact-right-title {
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.contact-right-title .highlight {
  color: var(--accent-blue);
}

.contact-right-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Right Side Image */
.contact-right-image-wrapper {
  width: 100%;
}

.contact-right-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE - SECTION 3
   ======================================== */

@media (max-width: 991.98px) {
  .contact-right-title {
    font-size: 2rem;
  }
  
  .contact-right-image {
    height: 280px;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem 0 !important;
  }
  
  .contact-right-wrapper {
    padding: 1.5rem 0 !important;
  }
}

@media (max-width: 768px) {
  .contact-right-title {
    font-size: 1.6rem;
  }
  
  .contact-right-subtitle {
    font-size: 0.95rem;
  }
  
  .contact-right-image {
    height: 220px;
  }
  
  .contact-form .form-control {
    font-size: 16px;
    padding: 0.6rem 0.8rem;
  }
  
  .contact-form-wrapper {
    padding: 1rem 0 !important;
  }
  
  .contact-right-wrapper {
    padding: 1rem 0 !important;
  }
}

@media (max-width: 576px) {
  .contact-right-title {
    font-size: 1.3rem;
  }
  
  .contact-right-subtitle {
    font-size: 0.85rem;
  }
  
  .contact-right-image {
    height: 180px;
  }
  
  .submit-btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .contact-form-header .section-title {
    font-size: 1.2rem;
  }
  
  .contact-form-wrapper {
    padding: 0.5rem 0 !important;
  }
  
  .contact-right-wrapper {
    padding: 0.5rem 0 !important;
  }
}

@media (max-width: 380px) {
  .contact-right-title {
    font-size: 1.1rem;
  }
  
  .contact-right-subtitle {
    font-size: 0.8rem;
  }
  
  .contact-right-image {
    height: 150px;
  }
}

/* ========================================
   SECTION 4: OUR OFFICES
   ======================================== */

/* ===== Section Heading ===== */
.offices-heading {
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.offices-highlight {
  color: #4ade80;
}

.offices-underline {
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #4ade80, #8ab4f8);
  border-radius: 3px;
  margin: 0 auto;
}

/* ===== Office Cards - WITH BORDER (Same as Section 2) ===== */
.office-card {
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: rgba(10, 17, 49, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(138, 180, 248, 0.15);
}

/* Country Image with Name */
.office-country {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.office-country-flag {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  object-fit: cover;
}

.office-country-name {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* Office Details */
.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 0.3rem 0;
}

.office-detail i {
  color: var(--accent-blue);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.office-detail span {
  color: rgba(255, 255, 255, 0.6);
}

.office-detail span br {
  display: block;
}

/* Transparent Background Image (40% opacity) */
.office-bg-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.office-bg-image img {
  width: 120px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}

/* Ensure content stays above background */
.office-card > *:not(.office-bg-image) {
  position: relative;
  z-index: 1;
}

/* ===== Global Banner - WITH BORDER (Same as Section 2) ===== */
.global-banner {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: rgba(10, 17, 49, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.global-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.global-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.global-banner-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.global-banner-title .highlight {
  color: var(--accent-blue);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991.98px) {
  .offices-heading {
    font-size: 2.2rem;
  }
  
  .global-banner-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .offices-heading {
    font-size: 1.8rem;
  }
  
  .offices-underline {
    width: 60px;
  }
  
  .global-banner-title {
    font-size: 1.4rem;
  }
  
  .office-card {
    padding: 1.2rem !important;
  }
  
  .office-country-flag {
    width: 40px;
    height: 40px;
  }
  
  .office-country-name {
    font-size: 1rem;
  }
  
  .office-detail {
    font-size: 0.8rem;
  }
  
  .office-bg-image img {
    width: 80px;
  }
}

@media (max-width: 576px) {
  .offices-heading {
    font-size: 1.5rem;
  }
  
  .offices-underline {
    width: 50px;
    height: 2px;
  }
  
  .global-banner {
    padding: 2rem 1rem !important;
  }
  
  .global-banner-title {
    font-size: 1.2rem;
  }
  
  .office-card {
    padding: 1rem !important;
  }
  
  .office-country-flag {
    width: 36px;
    height: 36px;
  }
  
  .office-country-name {
    font-size: 0.9rem;
  }
  
  .office-detail {
    font-size: 0.75rem;
    padding: 0.2rem 0;
    gap: 0.6rem;
  }
  
  .office-detail i {
    font-size: 0.85rem;
    width: 18px;
  }
  
  .office-bg-image img {
    width: 60px;
  }
}

@media (max-width: 380px) {
  .offices-heading {
    font-size: 1.2rem;
  }
  
  .global-banner-title {
    font-size: 1rem;
  }
  
  .office-card {
    padding: 0.8rem !important;
  }
  
  .office-country-flag {
    width: 30px;
    height: 30px;
  }
  
  .office-country-name {
    font-size: 0.8rem;
  }
  
  .office-detail {
    font-size: 0.7rem;
  }
  
  .office-detail i {
    font-size: 0.75rem;
    width: 16px;
  }
  
  .office-bg-image img {
    width: 50px;
  }
}