/* Contact Page Styles */
:root {
  --primary-color: #4a90e2;
  --primary-dark: #2a5a8f;
  --text-dark: #1a1a2e;
  --text-light: #f8f9fa;
  --bg-light: #ffffff;
  --bg-dark: #0a192f;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Navigation for Contact Page */
.contact-page .main-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-page .main-header .nav-links > li > a,
.contact-page .main-header .dropdown-toggle,
.contact-page .main-header .nav-toggle span {
  color: var(--text-dark);
}

.contact-page .main-header .nav-links > li > a:hover,
.contact-page .main-header .dropdown-toggle:hover {
  color: var(--primary-color);
}

.contact-page .main-header .nav-links > li > a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-page .main-header .dropdown-arrow {
  border-top-color: var(--text-dark);
}

/* Mobile Menu Styles */
@media (max-width: 1023px) {
  .contact-page .main-header .nav-links {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    top: 100%;
    margin-top: 1rem;
  }
  
  .contact-page .main-header .nav-links > li > a,
  .contact-page .main-header .dropdown-menu a {
    color: var(--text-dark) !important;
  }
  
  .contact-page .main-header .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }
}

.contact-page .main-header .dropdown-menu {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-page .main-header .dropdown-menu a {
  color: var(--text-dark);
}

.contact-page .main-header .dropdown-menu a:hover {
  color: var(--primary-color);
  background: rgba(74, 144, 226, 0.05);
}

:root {
  --primary-color: #4a90e2;
  --primary-dark: #2a5a8f;
  --text-dark: #1a1a2e;
  --text-light: #f8f9fa;
  --bg-light: #ffffff;
  --bg-dark: #0a192f;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Hero Section - Compact */
.contact-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--text-dark);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: flex-start;
}

.hero-text {
  max-width: 100%;
  padding-right: 1rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.contact-hero h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.contact-hero p {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-methods {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(74, 144, 226, 0.2);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(74, 144, 226, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 2px;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-details a, .contact-details p {
  display: block;
  color: #4a5568;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 0.15rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.contact-details a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Contact Form */
.contact-form-container {
  position: relative;
  z-index: 2;
}

.form-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-card > p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  background-color: white;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Office Location Section */
.office-location {
  padding: 3.5rem 0;
  background-color: #f8fafc;
}

.section-header {
  text-align: left;
  max-width: 100%;
  margin: 0 0 2rem;
}

.section-header h2 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 350px;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.office-info {
  display: flex;
  flex-direction: column;
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.75rem;
}

.info-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.business-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.business-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #4b5563;
  font-size: 0.9rem;
}

.business-hours li:last-child {
  border-bottom: none;
}

.business-hours li span {
  font-weight: 600;
  color: var(--text-dark);
}

.contact-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn i {
  margin-right: 6px;
  font-size: 0.85em;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(74, 144, 226, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background: rgba(74, 144, 226, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-text {
    max-width: 100%;
    text-align: center;
  }
  
  .contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1000px;
    margin: 3rem auto 0;
  }
  
  .map-container {
    grid-template-columns: 1fr;
  }
  
  .map-wrapper {
    height: 400px;
  }
  
  .office-info {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 80px 0;
  }
  
  .contact-hero h1 {
    font-size: 2.25rem;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .contact-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.contact-icon {
  font-size: 2.5rem;
  color: #4a90e2;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.contact-card p {
  color: #a8b2d1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #e6f1ff;
}

.contact-method i {
  margin-right: 1rem;
  color: #4a90e2;
  width: 24px;
  text-align: center;
}

.contact-form-section {
  padding: 100px 0;
  background: #f8fafc;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.form-header {
  background: #0a192f;
  color: #fff;
  padding: 2rem;
  text-align: center;
}

.form-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.form-header p {
  margin: 0.5rem 0 0;
  opacity: 0.8;
  font-size: 1.1rem;
}

.contact-form {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #334155;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #4a90e2;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.btn-submit i {
  margin-left: 8px;
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.btn-submit {
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #4a90e2;
  color: #fff;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit i {
  transition: transform 0.3s ease;
}

.btn-submit:hover i {
  transform: translateX(3px);
}

/* Improved Contact Methods Visibility */
.contact-method {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  text-align: left;
  display: flex;
  align-items: flex-start;
}

.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-details h3,
.contact-details h4 {
  color: var(--text-dark);
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  width: 100%;
}

.contact-details p,
.contact-details a {
  color: #4a5568;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: left;
  display: block;
  width: 100%;
}

.contact-details a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Make contact methods more compact on mobile */
@media (max-width: 768px) {
  .contact-method {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .contact-details h3,
  .contact-details h4 {
    font-size: 1rem;
  }
  
  .contact-details p,
  .contact-details a {
    font-size: 0.9rem;
  }
}

.btn-submit:hover {
  background: #3a7bc8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Map Section */
.map-section {
  height: 500px;
  position: relative;
}

.map-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.map-overlay-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.map-overlay-content p {
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-hero h1 {
    font-size: 2.8rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-text {
    padding-right: 0;
  }
  
  .contact-methods {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 0 40px;
  }
  
  .contact-hero h1 {
    font-size: 1.75rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .contact-method {
    padding: 1.25rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row .form-group {
    width: 100%;
    margin: 0;
  }
  
  .btn-submit {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 60px 0 30px;
  }
  
  .contact-hero h1 {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.75rem;
  }
  
  .contact-method h3 {
    font-size: 1.1rem;
  }
  
  .contact-method p, 
  .contact-method a {
    font-size: 0.95rem;
  }
  
  .form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  
  .form-card p {
    margin-bottom: 1.25rem;
  }
  
  .contact-hero h1 {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .form-header {
    padding: 1.25rem;
  }
  
  .map-section {
    height: 350px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}
