/* Contact Us Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap');

/* Override text colors for better readability */
:root {
    --color-text-dark: #333333;
    --color-text-light: #666666;
}

/* Override any width constraints from homepage.css */
body {
    max-width: none !important;
    width: 100% !important;
}

.container {
    max-width: none !important;
    width: 100% !important;
}

/* Force all text to be black for better readability */
h1, h2, h3, h4, h5, h6, p, label, span, div, a {
    color: #333333 !important;
}

.contact-header h1 {
    color: #333333 !important;
}

.contact-header p {
    color: #666666 !important;
}

.contact-form h2 {
    color: #333333 !important;
}

.form-group label {
    color: #333333 !important;
}

input, select, textarea {
    color: #333333 !important;
}

.submit-btn {
    color: white !important;
}

/* Theme Variables */
:root {
  --color-primary: #050704;
  --color-primary-light: #684bff;
  --color-primary-dark: #050704;
  --color-gold: #684bff;
  --color-gold-light: #acfef8;
  --color-gold-dark: #684bff;
  --color-bg-dark: #ebfafd;
  --color-bg-dark-light: #f8f9fa;
  --color-bg-dark-dark: #e9ecef;
  --color-surface-light: #ebfafd;
  --color-surface-light-light: #ebfafd;
  --color-surface-light-dark: #f8f9fa;
  --color-text-dark: #050704;
  --color-text-dark-light: #684bff;
  --color-text-dark-dark: #050704;
  --color-text-light: #ffffff;
  --color-text-light-light: #acfef8;
  --color-text-light-dark: #6c757d;
  --color-muted: #acfef8;
  --color-muted-light: #ebfafd;
  --color-muted-dark: #684bff;
  --color-success: #28a745;
  --color-error: #dc3545;
  --color-warning: #684bff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Cairo', sans-serif;
  font-weight: 400;
  background: linear-gradient(135deg, rgba(104, 75, 255, 0.1) 0%, rgba(172, 254, 248, 0.08) 50%, rgba(104, 75, 255, 0.1) 100%);
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  color: var(--color-text-dark);
  line-height: 1.6;
}

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

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(104, 75, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

.login-btn {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(104, 75, 255, 0.3);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 3rem 2rem;
  max-width: none !important;
  width: 100% !important;
}

.contact-container {
  max-width: 1600px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-header p {
  font-size: 1.1rem;
  color: var(--color-text-dark-light);
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  justify-content: center;
  max-width: 1600px !important;
  margin: 0 auto;
  width: 100% !important;
}

/* Contact Form */
.contact-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(104, 75, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(104, 75, 255, 0.1);
  width: 100% !important;
  max-width: 1500px !important;
  min-width: 800px;
}

.contact-form-container h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 1.75rem;
  font-weight: 600;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(104, 75, 255, 0.2);
  border-radius: 12px;
  font-size: 1.1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(104, 75, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: white;
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(104, 75, 255, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: inline;
}


/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

.modal-content.error {
  border-left: 5px solid var(--color-error);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-header h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-dark-light);
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.modal-close:hover {
  background: rgba(104, 75, 255, 0.1);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body p {
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.modal-footer {
  text-align: center;
}

.modal-btn {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  font-family: inherit;
}

.modal-btn:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .main-content {
    padding: 2rem 1rem;
  }
  
  
  
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
}

/* Wide Monitor Support (1920px and above) */
@media (min-width: 1920px) {
  .contact-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 4rem 3rem;
    gap: 4rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .contact-form h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
  }
  
  .form-group {
    margin-bottom: 2rem;
  }
  
  .form-group label {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1.25rem;
    font-size: 1.1rem;
  }
  
  .submit-btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
  }
  
  
  .contact-item {
    margin-bottom: 2rem;
  }
  
  .contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-item p {
    font-size: 1.1rem;
  }
}

/* 2K Monitor Support (2560px and above) */
@media (min-width: 2560px) {
  .contact-container {
    max-width: 2400px;
    margin: 0 auto;
    padding: 5rem 4rem;
    gap: 5rem;
  }
  
  .contact-form {
    padding: 4rem;
  }
  
  .contact-form h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
  }
  
  .form-group {
    margin-bottom: 2.5rem;
  }
  
  .form-group label {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1.5rem;
    font-size: 1.2rem;
  }
  
  .submit-btn {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
  }
  
  
  .contact-item {
    margin-bottom: 2.5rem;
  }
  
  .contact-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .contact-item p {
    font-size: 1.2rem;
  }
}

/* Ultra-Wide Monitor Support (3440px and above) */
@media (min-width: 3440px) {
  .contact-container {
    max-width: 3200px;
    margin: 0 auto;
    padding: 6rem 5rem;
    gap: 6rem;
  }
  
  .contact-form {
    padding: 5rem;
  }
  
  .contact-form h2 {
    font-size: 4rem;
    margin-bottom: 3.5rem;
  }
  
  .form-group {
    margin-bottom: 3rem;
  }
  
  .form-group label {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 1.75rem;
    font-size: 1.3rem;
  }
  
  .submit-btn {
    padding: 1.75rem 3.5rem;
    font-size: 1.4rem;
  }
  
  
  .contact-item {
    margin-bottom: 3rem;
  }
  
  .contact-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
  }
  
  .contact-item p {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem;
  }
  
  .logo img {
    height: 35px;
  }
  
  .main-content {
    padding: 1.5rem 0.75rem;
  }
  
  .contact-header h1 {
    font-size: 1.8rem;
  }
  
  .contact-form-container {
    padding: 1rem;
  }
  
  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}
