/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
  --primary: #a855f7;
  --secondary: #d0c5e0;
  --accent: #8b5cf6;
  --pink: #ff69b4;
  --dark: #1f2937;
  --light: #faf5ff;
  --gray: #6b7280;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ==========================================
   UTILITIES
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--dark);
  color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--gray);
  margin-bottom: 50px;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 124, 153, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.fade-in-delay {
  animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease-in 0.6s both;
}

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

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(107, 159, 184, 0.3), transparent),
              radial-gradient(circle at 70% 50%, rgba(61, 100, 120, 0.3), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  color: var(--white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-quote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--white);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.hero-quote cite {
  display: block;
  margin-top: 15px;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 600;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
}

.profile-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-content h2 {
  text-align: left;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 30px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
}

.location {
  color: var(--primary);
  font-size: 1.2rem;
}

.qualifications {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--light);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.qualifications h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.qualifications ul {
  list-style: none;
}

.qualifications li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--gray);
}

.qualifications li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary);
}

.testimonial-content {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author strong {
  color: var(--secondary);
  font-size: 1.1rem;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(74, 124, 153, 0.2);
  border-color: var(--secondary);
}

.service-icon {
  margin: 0 auto 20px;
  width: 60px;
  height: 60px;
}

.service-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-preview {
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-btn {
  width: 100%;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--secondary);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: start;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--secondary);
}

.contact-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--white);
}

.contact-item a {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-item a:hover {
  color: var(--white);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
  background-color: var(--dark);
  color: var(--white);
}

/* ==========================================
   MODALS
   ========================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active {
  display: block;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  color: var(--gray);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background-color: var(--light);
  color: var(--primary);
}

.modal-content h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.modal-body {
  color: var(--gray);
  line-height: 1.7;
}

.modal-body h4 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 25px;
  margin-bottom: 15px;
}

.modal-body ul {
  list-style: none;
  margin: 20px 0;
}

.modal-body li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--gray);
}

.modal-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.5rem;
}

.modal-body p {
  margin-bottom: 15px;
}

.modal-cta {
  margin-top: 30px;
  width: 100%;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  /* Navigation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
  }

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

  .nav-link {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid var(--light);
  }

  /* Hero */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-quote {
    font-size: 1.2rem;
    padding: 20px;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    position: static;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  /* Modal */
  .modal-content {
    padding: 30px 20px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}
