/* ========================================
   CONTACT PAGE - TIMEZONE CLOCKS STYLES
   ======================================== */

/* Time Zones Section */
.timezone-section {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  padding: 40px 0 30px;
  position: relative;
  overflow: hidden;
}

.timezone-section .container {
  position: relative;
  z-index: 1;
}

.timezone-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.timezone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FF4500 0%, #FF6347 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.timezone-card:hover::before {
  transform: scaleX(1);
}

.timezone-card:hover {
  transform: none !important;
  box-shadow: 0 20px 50px rgba(255, 69, 0, 0.15);
  border-color: #FF4500;
}

/* Timezone Header */
.timezone-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

/* Remove timezone flag completely */
.timezone-flag {
  display: none !important;
}

.timezone-info {
  flex: 1;
}

.timezone-info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
  line-height: 1.2;
}

.timezone-info .timezone-name {
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
}

/* Digital Time Display */
.digital-time {
  text-align: center;
  margin: 35px 0 30px 0;
  padding: 25px 20px;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 99, 71, 0.02) 100%);
  border-radius: 16px;
  border: 2px solid rgba(255, 69, 0, 0.1);
}

.timezone-time {
  font-size: 2.5rem;
  font-weight: 900;
  color: #FF4500;
  margin-bottom: 12px;
  font-family: 'Courier New', monospace;
  letter-spacing: 4px;
  text-shadow: 0 2px 4px rgba(255, 69, 0, 0.1);
}

.timezone-date {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 600;
}

/* Center Globe Image */
.timezone-center-image {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

.globe-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.globe-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FF4500 0%, #FF6347 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 3;
}

.globe-container:hover::before {
  transform: scaleX(1);
}

.globe-container:hover {
  transform: none !important;
  box-shadow: 0 20px 50px rgba(255, 69, 0, 0.15);
  border-color: #FF4500;
}

.globe-image {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  display: block;
  transition: all 0.4s ease;
}

.globe-container:hover .globe-image {
  transform: scale(1.05);
}

.globe-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, 
    rgba(255, 69, 0, 0.95) 0%, 
    rgba(255, 69, 0, 0.85) 40%, 
    rgba(255, 69, 0, 0.6) 70%,
    transparent 100%);
  padding: 50px 30px 40px;
  text-align: center;
  transition: all 0.4s ease;
}

.globe-container:hover .globe-overlay {
  background: linear-gradient(to top, 
    rgba(255, 69, 0, 0.98) 0%, 
    rgba(255, 69, 0, 0.9) 50%, 
    rgba(255, 69, 0, 0.7) 80%,
    transparent 100%);
}

.globe-overlay h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.globe-overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  max-width: 280px;
  margin: 0 auto;
}

/* Timezone Details */
.timezone-details {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 2;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
  margin-top: 20px;
}

.timezone-details strong {
  color: #1f2937;
  font-weight: 700;
  display: inline-block;
  min-width: 110px;
}

/* Office Status Badge */
.office-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 15px;
}

.office-status.open {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.office-status.closed {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.office-status i {
  font-size: 0.7rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive Styles */

/* Tablet View (768px - 991px) - ONLY 2 CARDS */
@media (min-width: 768px) and (max-width: 991px) {
  .timezone-section {
    padding: 45px 0 30px !important;
  }

  .timezone-section .container {
    padding: 0 20px !important;
  }

  /* First row - show only 2 cards (New York, London) */
  .timezone-section .row.g-4.justify-content-center {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  /* Hide the 3rd timezone card (Dubai) in first row */
  .timezone-section .row.g-4.justify-content-center .col-lg-4:nth-child(3) {
    display: none !important;
  }

  /* Hide the entire second row (India, Image, Singapore) */
  .timezone-section .row.g-4.align-items-center {
    display: none !important;
  }

  .timezone-section .row.g-4 .col-lg-4,
  .timezone-section .row.g-4 .col-md-6,
  .timezone-section .row.g-4 .col-md-12 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .timezone-card {
    padding: 30px 25px !important;
  }

  .timezone-info h4 {
    font-size: 1.25rem !important;
  }

  .timezone-info .timezone-name {
    font-size: 0.82rem !important;
  }

  .digital-time {
    margin: 24px 0 22px 0 !important;
    padding: 20px 16px !important;
  }

  .timezone-time {
    font-size: 2.1rem !important;
    letter-spacing: 2px !important;
  }

  .timezone-date {
    font-size: 0.9rem !important;
  }

  .timezone-details {
    font-size: 0.88rem !important;
    line-height: 1.8 !important;
    padding-top: 20px !important;
  }

  .timezone-details strong {
    min-width: 100px !important;
  }

  .office-status {
    padding: 7px 14px !important;
    font-size: 0.82rem !important;
    margin-top: 12px !important;
  }
}

/* Mobile and smaller tablets (below 768px) */
@media (max-width: 767px) {
  .timezone-section {
    padding: 35px 0 25px !important;
  }

  .timezone-section .container {
    padding: 0 20px !important;
  }

  .timezone-section .row.text-center.mb-5 {
    margin-bottom: 2rem !important;
  }

  .timezone-section h2 {
    font-size: 1.8rem !important;
    margin-top: 12px !important;
  }

  .timezone-section p {
    font-size: 0.95rem !important;
    max-width: 100% !important;
    padding: 0 15px !important;
  }

  .timezone-card {
    padding: 28px 20px !important;
    margin-bottom: 20px !important;
  }

  .timezone-info h4 {
    font-size: 1.25rem !important;
  }

  .timezone-info .timezone-name {
    font-size: 0.8rem !important;
  }

  .digital-time {
    margin: 25px 0 20px 0 !important;
    padding: 20px 15px !important;
  }

  .timezone-time {
    font-size: 1.9rem !important;
    letter-spacing: 2px !important;
  }

  .timezone-date {
    font-size: 0.85rem !important;
  }

  .timezone-details {
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    padding-top: 20px !important;
  }

  .timezone-details strong {
    min-width: 100px !important;
  }

  .office-status {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    margin-top: 12px !important;
  }

  .timezone-center-image {
    margin: 20px 0 !important;
    order: -1 !important;
  }

  .globe-container {
    border-radius: 16px !important;
  }

  .globe-image {
    min-height: 320px !important;
  }

  .globe-overlay {
    padding: 35px 20px 25px !important;
  }

  .globe-overlay h3 {
    font-size: 1.4rem !important;
  }

  .globe-overlay p {
    font-size: 0.85rem !important;
    max-width: 100% !important;
  }

  /* Stack timezone cards properly on mobile */
  .timezone-section .row.g-4 {
    gap: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .timezone-section {
    padding: 35px 0 25px !important;
  }

  .timezone-section .container {
    padding: 0 20px !important;
  }

  .timezone-section .row.text-center.mb-5 {
    margin-bottom: 2rem !important;
  }

  .timezone-section h2 {
    font-size: 1.8rem !important;
    margin-top: 12px !important;
  }

  .timezone-section p {
    font-size: 0.95rem !important;
    max-width: 100% !important;
    padding: 0 15px !important;
  }

  .timezone-card {
    padding: 28px 20px !important;
    margin-bottom: 20px !important;
  }

  .timezone-flag {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.8rem !important;
  }

  .timezone-info h4 {
    font-size: 1.25rem !important;
  }

  .timezone-info .timezone-name {
    font-size: 0.8rem !important;
  }

  .digital-time {
    margin: 25px 0 20px 0 !important;
    padding: 20px 15px !important;
  }

  .timezone-time {
    font-size: 1.9rem !important;
    letter-spacing: 2px !important;
  }

  .timezone-date {
    font-size: 0.85rem !important;
  }

  .timezone-details {
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    padding-top: 20px !important;
  }

  .timezone-details strong {
    min-width: 100px !important;
  }

  .office-status {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    margin-top: 12px !important;
  }

  .timezone-center-image {
    margin: 20px 0 !important;
    order: -1 !important;
  }

  .globe-container {
    border-radius: 16px !important;
  }

  .globe-image {
    min-height: 320px !important;
  }

  .globe-overlay {
    padding: 35px 20px 25px !important;
  }

  .globe-overlay h3 {
    font-size: 1.4rem !important;
  }

  .globe-overlay p {
    font-size: 0.85rem !important;
    max-width: 100% !important;
  }

  /* Stack timezone cards properly on mobile */
  .timezone-section .row.g-4 {
    gap: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  .timezone-section {
    padding: 30px 0 20px !important;
  }

  .timezone-section .container {
    padding: 0 15px !important;
  }

  .timezone-section h2 {
    font-size: 1.6rem !important;
  }

  .timezone-section p {
    font-size: 0.9rem !important;
    padding: 0 10px !important;
  }

  .timezone-card {
    padding: 25px 18px !important;
  }

  .timezone-flag {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.6rem !important;
  }

  .timezone-info h4 {
    font-size: 1.15rem !important;
  }

  .timezone-info .timezone-name {
    font-size: 0.75rem !important;
  }

  .digital-time {
    margin: 22px 0 18px 0 !important;
    padding: 18px 12px !important;
  }

  .timezone-time {
    font-size: 1.7rem !important;
    letter-spacing: 2px !important;
  }

  .timezone-date {
    font-size: 0.8rem !important;
  }

  .timezone-details {
    font-size: 0.8rem !important;
  }

  .office-status {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
  }

  .globe-image {
    min-height: 280px !important;
  }

  .globe-overlay {
    padding: 30px 18px 22px !important;
  }

  .globe-overlay h3 {
    font-size: 1.25rem !important;
  }

  .globe-overlay p {
    font-size: 0.8rem !important;
  }

  .section-badge {
    font-size: 0.8rem !important;
    padding: 6px 14px !important;
  }
}


/* Additional mobile spacing reduction */
@media (max-width: 576px) {
  .timezone-section .mb-5 {
    margin-bottom: 1.5rem !important;
  }
}
