:root {
  --primary: #4361ee;
  --secondary: #3f37c9;
  --accent: #4cc9f0;
  --accent-light: #7dd3f7;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #4bb543;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 10px 15px rgba(67, 97, 238, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f7fa;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Add this new style */
main {
  padding-top: 80px; /* Adds space for the fixed header */
}

body.menu-open #mainContent {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@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 float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  position: relative;
  animation: fadeIn 1s ease-out;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 80px;
  background: var(--accent);
  border-radius: var(--border-radius);
  animation: pulse 2s infinite;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.page-header p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  animation: slideInLeft 0.8s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-title svg {
  fill: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #ced4da;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: #f8f9fa;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
  background-color: white;
}

.form-group {
  position: relative;
}

.form-group label {
  position: relative;
  padding-left: 5px;
  transition: all 0.3s ease;
}

.form-group label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.form-group:focus-within label::after {
  width: 100%;
}

.form-control.textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(67, 97, 238, 0.3);
}

.btn:hover::before {
  width: 100%;
}

.contact-info {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  animation: slideInRight 0.8s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    var(--accent-light) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.6;
  z-index: 0;
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.info-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-title svg {
  fill: var(--primary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
  min-width: 24px;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-details p {
  color: #6c757d;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border-radius: 50%;
  color: var(--primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.3s ease;
  z-index: -1;
}

.social-link:hover {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.social-link:hover::before {
  transform: scale(1);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a:nth-child(1) {
  animation: float 6s ease-in-out infinite;
}
.social-links a:nth-child(2) {
  animation: float 6s ease-in-out infinite 0.5s;
}
.social-links a:nth-child(3) {
  animation: float 6s ease-in-out infinite 1s;
}
.social-links a:nth-child(4) {
  animation: float 6s ease-in-out infinite 1.5s;
}
.social-links a:nth-child(5) {
  animation: float 6s ease-in-out infinite 2s;
}

.map-container {
  margin-top: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  animation: fadeIn 1.5s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0.2;
  z-index: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.map-container:hover::before {
  opacity: 0;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.faq-section {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 3rem;
  animation: fadeIn 1.2s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.faq-section:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.faq-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.faq-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.5rem;
  transition: all 0.3s ease;
}

.faq-question::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::before {
  transform: rotate(45deg);
}

.faq-answer {
  color: #6c757d;
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding-left: 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 0.5rem;
}

.faq-item:hover {
  padding-left: 0.5rem;
}

.faq-item:hover .faq-question {
  color: var(--primary);
}

.notification {
  display: none;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  color: white;
  background-color: var(--success);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.5s ease;
  text-align: center;
  font-weight: 500;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification::before {
  content: "✓ ";
  font-weight: bold;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Additional elements */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  background-color: var(--accent);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 5%;
  animation-duration: 35s;
}

.shape:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 7%;
  animation-duration: 25s;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 15%;
  animation-duration: 30s;
  animation-delay: 4s;
}

.shape:nth-child(4) {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 30%;
  animation-duration: 40s;
  animation-delay: 6s;
}

/* Additional styles for responsiveness */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .contact-form,
  .contact-info,
  .faq-section {
    padding: 1.5rem;
  }
}

.map-section {
  margin: 4rem 0;
  padding: 2rem 0;
}

.map-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.map-container {
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .map-section {
    margin: 2rem 0;
    padding: 1rem 0;
  }
}
