@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --font-size-h1: clamp(2rem, 4vw, 3.5rem);
  --font-size-h2: clamp(1.8rem, 3.5vw, 2.75rem);
  --font-size-h3: clamp(1.5rem, 3vw, 2rem);
  --font-size-h4: clamp(1.25rem, 2.5vw, 1.5rem);
  --font-size-p: clamp(1rem, 1.6vw, 1.25rem);
  --font-size-logo-main: clamp(1.5rem, 2.5vw, 2rem);
  --font-size-tagline-main: clamp(0.7rem, 1.2vw, 0.9rem);
  --font-size-button: clamp(0.9rem, 1.5vw, 1rem);

  --primary-color: #379bff;
  --secondary-color: #f8f9fa;
  --text-color: #343a40;
  --accent-color: #00d4ff;
  --gradient-primary: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  --gradient-dark: linear-gradient(135deg, #343a40 0%, #2c3e50 100%);
  --font-family: "Inter", sans-serif;
  --shadow-light: 0 10px 30px rgba(55, 155, 255, 0.1);
  --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 25px 60px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(52, 58, 64, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(52, 58, 64, 0.98);
  box-shadow: var(--shadow-medium);
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.apex-text {
  font-size: var(--font-size-logo-main);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.apex-text span {
  color: var(--secondary-color);
  margin-left: 0.2rem;
}

.tagline {
  font-size: var(--font-size-tagline-main);
  color: var(--secondary-color);
  opacity: 0.8;
  margin-top: -10px;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: var(--font-size-p);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cta-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(55, 155, 255, 0.3);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
}

.hamburger {
  position: relative;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 1075px) {
  .nav-links,
  .nav-buttons {
    display: none;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

.mobile-links {
  width: 100vw;
  background-color: rgba(52, 58, 64, 0.95);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: absolute;
  top: 70px;
  right: 0;
  z-index: 999;
}

.mobile-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-links li {
  border-bottom: 2px solid var(--accent-color);
}

.mobile-links a {
  display: block;
  width: 100%;
  padding: 15px 10px;
  font-size: calc(var(--font-size-p) * 1.2);
  color: white;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-links a:hover {
  background-color: var(--accent-color);
  color: var(--text-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23379bff;stop-opacity:0.1" /><stop offset="100%" style="stop-color:%2300d4ff;stop-opacity:0.05" /></linearGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23grad1)" /><circle cx="800" cy="150" r="80" fill="url(%23grad1)" /><circle cx="1000" cy="600" r="120" fill="url(%23grad1)" /></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: var(--font-size-h1);
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

/*Underline removed /*

/* .hero .underline {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
} */

.hero p {
  font-size: var(--font-size-p);
  color: rgba(248, 249, 250, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.learn-more-btn {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--secondary-color);
  color: var(--text-color);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 5rem 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: var(--font-size-p);
  color: rgba(52, 58, 64, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  /* ✨ ADD THIS LINE ✨ */
  align-items: start;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
  /* Changed 'overflow: none;' to 'overflow: hidden;' if you intended to hide overflow */
  /* 'none' is not a valid value for overflow */
  overflow: hidden; /* Recommended for cards to clip content if needed, though accordion will push */
  min-height: 360px;
}

.accordion {
  margin-top: 18px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  cursor: pointer;
  transition: 1s;
}

.panel {
  padding: 0 18px;
  background-color: white;
  /* Important for smooth transition */
  max-height: 0; /* Hidden by default */
  overflow: hidden; /* Hide overflow content */
  transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition */
}

.accordion.active + .panel {
  max-height: 500px;
  padding-top: 18px;
  padding-bottom: 18px;
  display: block;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.feature-icon {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: var(--font-size-h4);
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: rgba(52, 58, 64, 0.8);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* How It Works Section */
.how-it-works {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.benefit-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Coming Soon Sections */
.coming-soon {
  background: var(--gradient-dark);
  color: var(--secondary-color);
  text-align: center;
  padding: 4rem 2rem;
}

.coming-soon h2 {
  margin-bottom: 1rem;
}

.coming-soon p {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(55, 155, 255, 0.05);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.4rem;
  max-height: 500px;
}

.faq-answer ul {
  list-style: none;
  padding-left: 0;
}

.faq-answer li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.faq-answer li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Modal Styles */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-heavy);
  z-index: 1000;
}

.active {
  display: block;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
}

.form-group-privacy {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

/* Footer */
.footer {
  background: var(--text-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .hero {
    padding: 6rem 1rem 2rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

/* FAQ Section Styles */
.section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  font-weight: 700;
  color: #343a40;
}

.section-header .highlight {
  background: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(52, 58, 64, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(55, 155, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  color: #343a40;
  font-family: "Inter", sans-serif;
}

.faq-question:hover {
  background: rgba(55, 155, 255, 0.05);
}

.faq-question:focus {
  outline: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #379bff;
  font-size: 1rem;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-answer p {
  color: rgba(52, 58, 64, 0.8);
  line-height: 1.6;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.faq-answer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.faq-answer li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: rgba(52, 58, 64, 0.8);
  line-height: 1.6;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.faq-answer li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #379bff;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }

  .faq-question {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .faq-answer.active {
    padding: 1rem 1.2rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer.active {
    padding: 1rem;
  }

  .faq-answer li {
    padding-left: 1.2rem;
  }
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  font-weight: 700;
  color: #343a40;
}

.section-header .highlight {
  background: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(52, 58, 64, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Wrapper */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(55, 155, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #343a40;
}

.contact-details p {
  color: rgba(52, 58, 64, 0.8);
  margin: 0;
  font-size: 1rem;
}

/* Contact Form Container */
.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  position: relative;
}

.contact-form {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #343a40;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #379bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(55, 155, 255, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.05);
}

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

.form-group select {
  cursor: pointer;
}

.form-group input::placeholder {
  color: #495057;
}

/* Checkbox Group */
.checkbox-group {
  margin: 2rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  background: #f8f9fa;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  border-color: #379bff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.privacy-link {
  color: #379bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #00d4ff;
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  color: white;
  border: none;
  padding: 1.2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(55, 155, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(55, 155, 255, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #343a40;
}

.success-message p {
  color: rgba(52, 58, 64, 0.8);
  margin: 0;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification.show {
  transform: translateX(0);
}

.notification.error {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.notification.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    order: 2;
  }

  .contact-form-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .notification {
    right: 10px;
    left: 10px;
    transform: translateY(-100px);
  }

  .notification.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .contact-details h4 {
    margin-bottom: 0.25rem;
  }
}

/* Footer Root Variables */
:root {
  --apex-footer-primary: #379bff;
  --apex-footer-secondary: #00d4ff;
  --apex-footer-dark: #1a1a2e;
  --apex-footer-darker: #16213e;
  --apex-footer-text: #ffffff;
  --apex-footer-text-muted: rgba(255, 255, 255, 0.7);
  --apex-footer-text-dim: rgba(255, 255, 255, 0.5);
  --apex-footer-gradient: linear-gradient(135deg, #379bff 0%, #00d4ff 100%);
  --apex-footer-gradient-dark: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #16213e 100%
  );
  --apex-footer-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --apex-footer-shadow-hover: 0 15px 40px rgba(55, 155, 255, 0.2);
  --apex-footer-font: "Inter", sans-serif;
  --apex-footer-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Main Container */
.apex-footer {
  background: var(--apex-footer-gradient-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apex-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Footer Top Section */
.apex-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.apex-footer-brand {
  max-width: 400px;
}

.apex-footer-logo {
  margin-bottom: 1.5rem;
}

.apex-footer-logo-text {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--apex-footer-primary);
  font-family: var(--apex-footer-font);
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.apex-footer-logo-text span {
  color: var(--apex-footer-text);
  margin-left: 0.2rem;
}

.apex-footer-tagline {
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: var(--apex-footer-text-muted);
  font-weight: 500;
  margin-top: -8px;
}

.apex-footer-description {
  color: var(--apex-footer-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

/* Social Links */
.apex-footer-social {
  display: flex;
  gap: 1rem;
}

.apex-social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apex-footer-text-muted);
  text-decoration: none;
  transition: var(--apex-footer-transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.apex-social-link:hover {
  background: var(--apex-footer-gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--apex-footer-shadow-hover);
  border-color: transparent;
}

.apex-social-link i {
  font-size: 1.1rem;
}

/* Footer Links Sections */
.apex-footer-heading {
  color: var(--apex-footer-text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.apex-footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--apex-footer-gradient);
  border-radius: 1px;
}

.apex-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.apex-footer-nav li {
  margin-bottom: 0.75rem;
}

.apex-footer-link {
  color: var(--apex-footer-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--apex-footer-transition);
  position: relative;
  display: inline-block;
}

.apex-footer-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--apex-footer-gradient);
  transition: width 0.3s ease;
}

.apex-footer-link:hover {
  color: var(--apex-footer-text);
  transform: translateX(5px);
}

.apex-footer-link:hover::before {
  width: 100%;
}

/* Contact Section */
.apex-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--apex-footer-transition);
}

.apex-contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.apex-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--apex-footer-primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.apex-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.apex-contact-label {
  font-size: 0.8rem;
  color: var(--apex-footer-text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.apex-contact-value {
  color: var(--apex-footer-text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--apex-footer-transition);
}

a.apex-contact-value:hover {
  color: var(--apex-footer-text);
}

/* Footer Bottom */
.apex-footer-bottom {
  padding: 2rem 0;
}

.apex-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.apex-footer-copyright p {
  color: var(--apex-footer-text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.apex-footer-disclaimer {
  font-size: 0.8rem !important;
  color: var(--apex-footer-text-dim) !important;
  margin-top: 0.5rem !important;
  font-style: italic;
}

/* Footer CTA Button */
.apex-footer-cta-btn {
  background: var(--apex-footer-gradient);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--apex-footer-transition);
  box-shadow: var(--apex-footer-shadow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--apex-footer-font);
}

.apex-footer-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(55, 155, 255, 0.3);
}

.apex-footer-cta-btn i {
  font-size: 1rem;
}

/* Animated Background */
.apex-footer-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.apex-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(55, 155, 255, 0.1) 0%,
    transparent 70%
  );
  animation: apexFloatAnimation 20s ease-in-out infinite;
}

.apex-bg-circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.apex-bg-circle-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: -100px;
  animation-delay: -7s;
}

.apex-bg-circle-3 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: 30%;
  animation-delay: -14s;
}

@keyframes apexFloatAnimation {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-30px) translateX(5px) rotate(270deg);
    opacity: 0.4;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .apex-footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
  }
}

@media (max-width: 968px) {
  .apex-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
  }

  .apex-footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    margin-bottom: 1rem;
  }

  .apex-footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .apex-footer-container {
    padding: 0 1.5rem;
  }

  .apex-footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 2rem;
  }

  .apex-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }

  .apex-footer-social {
    justify-content: center;
  }

  .apex-contact-item {
    padding: 0.75rem;
  }

  .apex-footer-cta-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .apex-footer-container {
    padding: 0 1rem;
  }

  .apex-footer-top {
    padding: 2rem 0 1.5rem;
    gap: 1.5rem;
  }

  .apex-footer-bottom {
    padding: 1.5rem 0;
  }

  .apex-social-link {
    width: 40px;
    height: 40px;
  }

  .apex-social-link i {
    font-size: 1rem;
  }

  .apex-footer-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .apex-contact-item {
    flex-direction: column;

    gap: 0.5rem;
  }
}

.back-to-top-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.back-to-top-btn {
  background-color: #1f2937; /* dark gray (like Tailwind's gray-800) */
  color: white;
  border: none;
  border-radius: 9999px; /* fully rounded */
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top-btn:hover {
  background-color: #111827; /* darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
