* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8f9ff;
  color: #111827;
  overflow-x: hidden;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #4f46ff;
  color: white;
  padding: 8px 16px;
  z-index: 1001;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  font-weight: 500;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

/* ========== NAVBAR STYLES ========== */
.navbar {
  height: 90px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  border-bottom: 1px solid #ececf8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1002;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.logo h2 {
  font-size: 24px;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  padding: 10px 18px;
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}

/* Hover effect */
.nav-menu li a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Active state */
.nav-menu li.active a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* CSS Only Hamburger */
.nav-toggle {
  display: none;
}

.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ececf8;
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 8px 20px rgba(79, 70, 255, 0.08);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #4f46ff;
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* Focus styles for accessibility */
.nav-menu li a:focus-visible,
.bottom-row button:focus-visible,
.faq-btn:focus-visible,
.faq-question:focus-visible,
.info-item a:focus-visible,
.social-links a:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid #4f46ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========== HERO SECTION ========== */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.badge {
  background: #ede9ff;
  color: #4f46ff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.hero h1 {
  font-size: 62px;
  margin-top: 20px;
  color: #081028;
}

.hero p {
  color: #667085;
  font-size: 20px;
  line-height: 1.7;
  max-width: 800px;
  margin: 15px auto;
}

.wave {
  width: 70px;
  height: 4px;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  margin: 25px auto;
  border-radius: 20px;
}

/* ========== CONTACT WRAPPER ========== */
.contact-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 30px;
}

/* Contact Form Card */
.contact-form-card,
.contact-info {
  background: white;
  border: 1px solid #ececf8;
  border-radius: 25px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-form-card:hover,
.contact-info:hover {
  transform: translateY(-5px);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.icon-box {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #efeeff, #e8e6ff);
  color: #4f46ff;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.card-title h2 {
  font-size: 24px;
  color: #081028;
}

/* Form Styles */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 18px;
  top: 18px;
  color: #94a3b8;
  font-size: 16px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  border: 1px solid #dbe0ea;
  border-radius: 12px;
  padding: 16px 16px 16px 50px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafbff;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #4f46ff;
  box-shadow: 0 0 0 3px rgba(79, 70, 255, 0.1);
}

/* Form validation styles */
.input-group input:invalid:not(:placeholder-shown),
.input-group textarea:invalid:not(:placeholder-shown) {
  border-color: #fecaca;
}

.input-group input:valid:not(:placeholder-shown),
.input-group textarea:valid:not(:placeholder-shown) {
  border-color: #bbf7d0;
}

.textarea textarea {
  height: 150px;
  resize: none;
  padding-top: 16px;
}

.bottom-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.bottom-row button {
  border: none;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bottom-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 92, 255, 0.3);
}

.bottom-row span {
  color: #667085;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Contact Info */
.contact-info h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #081028;
}

.info-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #edf0f7;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
}

.info-item:last-child {
  border-bottom: none;
}

.circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efeeff, #e8e6ff);
  color: #4f46ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #081028;
}

.info-item .link {
  color: #4f46ff;
  margin: 5px 0;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.info-item .link:hover {
  color: #4338ff;
  transform: translateX(3px);
}

.info-item span {
  color: #667085;
  font-size: 14px;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  width: 90%;
  max-width: 1400px;
  margin: 30px auto 80px;
  background: white;
  border: 1px solid #ececf8;
  border-radius: 25px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-left {
  display: flex;
  gap: 25px;
  background: linear-gradient(135deg, #f8f9ff, #fafbff);
  padding: 25px;
  border-radius: 20px;
}

.faq-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: bold;
}

.faq-left h2 {
  font-size: 28px;
  color: #081028;
  margin-bottom: 15px;
}

.faq-left p {
  color: #667085;
  margin: 15px 0;
  line-height: 1.8;
}

.faq-btn {
  border: 2px solid #4f46ff;
  background: transparent;
  color: #4f46ff;
  padding: 12px 25px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.faq-btn:hover {
  background: linear-gradient(135deg, #6b5cff, #4338ff);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 92, 255, 0.3);
}

.faq-right h2 {
  font-size: 28px;
  color: #081028;
  margin-bottom: 25px;
}

.faq-item {
  border-bottom: 1px solid #edf0f7;
}

.faq-question {
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 16px;
  color: #081028;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #4f46ff;
}

.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 18px;
  color: #667085;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SUCCESS/ERROR MESSAGES ========== */
.success-message {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 15px 20px;
  margin-top: 20px;
  text-align: center;
  animation: slideIn 0.3s ease;
  color: #166534;
}

.success-message i {
  color: #16a34a;
  margin-right: 8px;
}

.error-message {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 15px 20px;
  margin-top: 20px;
  text-align: center;
  animation: slideIn 0.3s ease;
  color: #991b1b;
}

.error-message i {
  color: #dc2626;
  margin-right: 8px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.submitting {
  opacity: 0.7;
  pointer-events: none;
}

.submitting button i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== FOOTER ========== */
.footer {
  background: #1a1a2e;
  color: #cbd5e1;
  margin-top: 80px;
  padding: 50px 5% 30px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo i {
  font-size: 28px;
  color: #4f46ff;
}

.footer-logo h3 {
  color: white;
  font-size: 22px;
  margin: 0;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #4f46ff;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: #cbd5e1;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #4f46ff;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #334155;
  font-size: 13px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .navbar {
    padding: 0 28px;
  }

  .nav-menu {
    gap: 10px;
  }

  .nav-menu li a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .navbar {
    height: 76px;
    padding: 0 20px;
    flex-direction: row;
  }

  .logo h2 {
    font-size: 21px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    padding: 0 20px;
    border-bottom: 1px solid #ececf8;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    transition: all 0.35s ease;
  }

  .nav-toggle:checked ~ .nav-menu {
    max-height: 80vh;
    visibility: visible;
    opacity: 1;
    padding: 16px 20px 22px;
  }

  .nav-menu li a {
    text-align: center;
    padding: 13px 15px;
    border-radius: 12px;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .contact-wrapper,
  .faq-section {
    grid-template-columns: 1fr;
  }
  
  .row {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .contact-wrapper {
    width: 95%;
  }
  
  .contact-form-card,
  .contact-info {
    padding: 25px;
  }
  
  .card-title h2,
  .contact-info h2 {
    font-size: 20px;
  }
  
  .faq-section {
    width: 95%;
    padding: 25px;
    gap: 30px;
  }
  
  .faq-left {
    flex-direction: column;
    text-align: center;
  }
  
  .faq-icon {
    margin: 0 auto;
  }
  
  .faq-left h2,
  .faq-right h2 {
    font-size: 24px;
  }
  
  .bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-section a:hover {
    padding-left: 0;
  }
}

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

  .logo {
    gap: 10px;
  }

  .logo h2 {
    font-size: 19px;
  }

  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .circle {
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .badge {
    font-size: 11px;
  }
  
  .card-title {
    flex-direction: column;
    text-align: center;
  }
  
  .faq-question {
    font-size: 14px;
  }
  
  .bottom-row button {
    width: 100%;
    justify-content: center;
  }
}

/* ========== PRINT STYLES ========== */
@media print {
  .navbar,
  .footer,
  .faq-section,
  .bottom-row span {
    display: none;
  }
  
  .contact-form-card,
  .contact-info {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  
  body {
    background: white;
  }
  
  .hero {
    padding: 20px;
  }
}

/* ========== SELECTION COLOR ========== */
::selection {
  background: #4f46ff;
  color: white;
}

::-moz-selection {
  background: #4f46ff;
  color: white;
}

/* ========== LOADING STATES ========== */
.input-group input:disabled,
.input-group textarea:disabled {
  background: #f1f5f9;
  cursor: not-allowed;
}

/* ========== TOOLTIP STYLES ========== */
.info-item .link[title] {
  position: relative;
}

.info-item .link[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -25px;
  left: 0;
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  z-index: 100;
}