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

:root {
  --primary-purple: #6b4d7a;
  --dark-purple: #4a3352;
  --light-purple: #8b7094;
  --cream: #f5f1ed;
  --dark-text: #2c2c2c;
  --gray-text: #666;
  --light-gray: #f8f8f8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 1px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

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

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid var(--light-gray);
  border-top: 4px solid var(--primary-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

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

.scroll-fade {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Top Banner */
.top-banner {
  background: var(--primary-purple);
  color: white;
  padding: 15px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Header/Navigation */
.main-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  transition: transform 0.3s ease;
}

.logo-container:hover .logo-icon {
  transform: rotate(180deg);
}

.logo-text h1 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: 2px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.logo-container:hover .logo-text h1 {
  color: var(--primary-purple);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray-text);
  letter-spacing: 3px;
  font-weight: 400;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--dark-text);
  transition: 0.3s;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--dark-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s;
  position: relative;
}

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

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

.nav-menu li a:hover {
  color: var(--primary-purple);
}

.nav-menu li a.nav-cta {
  background: var(--primary-purple);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-menu li a.nav-cta::after {
  display: none;
}

.nav-menu li a.nav-cta:hover {
  background: var(--dark-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 77, 122, 0.3);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(rgba(107, 77, 122, 0.4), rgba(107, 77, 122, 0.4)),
              url('https://images.unsplash.com/photo-1545205597-3d9d02c29597?w=1600&h=900&fit=crop') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 77, 122, 0.3) 0%, rgba(74, 51, 82, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 25px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 10px;
  background: white;
  border-radius: 3px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 0;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 35px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 3px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-hero {
  background: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
}

.btn-hero:hover {
  background: white;
  color: var(--primary-purple);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-primary {
  background: var(--primary-purple);
  color: white;
  border: none;
  width: 100%;
}

.btn-primary:hover {
  background: var(--dark-purple);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 77, 122, 0.3);
}

.btn-secondary {
  background: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
}

.btn-secondary:hover {
  background: var(--dark-purple);
  border-color: var(--dark-purple);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 77, 122, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-purple);
  transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.badge-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.badge-item:hover {
  background: var(--light-gray);
  transform: translateY(-5px);
}

.badge-item svg {
  color: var(--primary-purple);
  margin-bottom: 15px;
}

.badge-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.badge-item p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* About Preview */
.about-preview {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.about-preview h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 1.3;
}

.about-preview p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.9;
}

/* Services Preview */
.services-preview {
  padding: 100px 0;
  background: var(--light-gray);
}

.services-preview h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-bottom: 60px;
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.service-preview-card {
  background: white;
  padding: 50px 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(50px);
}

.service-preview-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-preview-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(107, 77, 122, 0.2);
}

.service-preview-icon {
  color: var(--primary-purple);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-preview-card:hover .service-preview-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-preview-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.service-preview-card p {
  color: var(--gray-text);
  line-height: 1.8;
}

/* Specialized CTA */
.specialized-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.specialized-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.8;
  }
}

.specialized-cta h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

.testimonials-section h2 {
  font-size: 3rem;
  margin-bottom: 60px;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
  min-height: 250px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.stars {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-text);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-purple);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-purple);
  transform: scale(1.3);
}

.dot:hover {
  background: var(--light-purple);
}

/* Help Section */
.help-section {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.help-section h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 1.3;
}

.help-section p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.9;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.faq-section h2 {
  font-size: 3rem;
  margin-bottom: 60px;
  text-align: center;
  line-height: 1.3;
}

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--dark-text);
  font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
  background: var(--light-gray);
  color: var(--primary-purple);
}

.faq-icon {
  font-size: 1.8rem;
  color: var(--primary-purple);
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

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

.faq-item.active .faq-question {
  color: var(--primary-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.faq-answer p {
  color: var(--gray-text);
  line-height: 1.8;
  font-size: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  margin-top: 30px;
  letter-spacing: 2px;
}

.contact-info h2:first-child {
  margin-top: 0;
}

.contact-info p {
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact-link {
  color: var(--primary-purple);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-purple);
  transition: width 0.3s ease;
}

.contact-link:hover::after {
  width: 100%;
}

.contact-link:hover {
  color: var(--dark-purple);
}

.contact-form-container {
  background: var(--light-gray);
  padding: 50px 40px;
  border-radius: 8px;
}

.contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 15px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(107, 77, 122, 0.1);
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-purple);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(107, 77, 122, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark-purple);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(107, 77, 122, 0.4);
}

/* Notification System */
.notification {
  position: fixed;
  top: 100px;
  right: -400px;
  max-width: 350px;
  padding: 20px 25px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  z-index: 10000;
  transition: right 0.3s ease;
}

.notification.show {
  right: 30px;
}

.notification-success {
  border-left: 4px solid #4CAF50;
}

.notification-error {
  border-left: 4px solid #f44336;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-purple);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.main-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-section h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-section h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.8;
}

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

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

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  position: relative;
}

.footer-section ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover::before {
  width: 100%;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #888;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 968px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: white;
    width: 100%;
    height: calc(100vh - 80px);
    text-align: center;
    transition: left 0.3s ease-in-out;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 30px 0;
    gap: 20px;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    padding: 5px 0;
  }

  .nav-menu li a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
  }

  .nav-menu li a.nav-cta {
    margin: 20px 20px 0;
    display: inline-block;
    width: auto;
  }

  .hero-content h2 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .about-preview h2,
  .help-section h2,
  .faq-section h2,
  .specialized-cta h2,
  .services-preview h2,
  .testimonials-section h2 {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 20px;
  }

  .navbar {
    padding: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .notification.show {
    right: 20px;
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-preview h2,
  .help-section h2,
  .faq-section h2,
  .specialized-cta h2,
  .services-preview h2,
  .testimonials-section h2 {
    font-size: 1.8rem;
  }

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

  .contact-form-container {
    padding: 30px 20px;
  }
}