@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --color-primary: #1A237E;
  --color-background: #dde1fa;
  --color-card: #5C6BC0;
  --color-secondary: #7986CB;
  --color-accent: #fa7c55;
  --color-white: #ffffff;
  --color-light: #F5F5F9;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Jost', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  
  --shadow-sm: 0 1px 3px rgba(26, 35, 126, 0.12);
  --shadow-md: 0 4px 12px rgba(26, 35, 126, 0.15);
  --shadow-lg: 0 10px 25px rgba(26, 35, 126, 0.2);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-background);
  font-size: 0.95rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
}

h2 {
  font-size: 1.85rem;
}

h3 {
  font-size: 1.45rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: var(--space-sm);
}

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

a:hover {
  color: var(--color-primary);
}

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

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--color-card) 0%, var(--color-secondary) 100%);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.header-wrapper.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo span{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    font-size: 1.5rem;
    gap: 7px;
    font-weight: 700;
    color: var(--primary-color);
}
.logo>img{
    width: 60px;
  border-radius: 90px;
}
.logo:hover {
  opacity: 0.85;
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.15rem;
  background-color: var(--color-white);
  margin: 0.35rem 0;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.45rem, 0.45rem);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.45rem, -0.45rem);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.main-nav a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.hero {
  background: linear-gradient(to bottom, rgba(92, 107, 192, 0.3), rgba(232, 234, 246, 0.5)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%235C6BC0" width="1200" height="600"/><circle fill="%237986CB" opacity="0.1" cx="200" cy="150" r="120"/><circle fill="%23FF8A65" opacity="0.1" cx="900" cy="400" r="180"/></svg>');
  background-size: cover;
  background-position: center;
  padding: var(--space-xl) 0;
  text-align: center;
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--color-accent);
  max-width: 38rem;
  margin: 0 auto var(--space-lg);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-white);
}

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

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

.section {
  padding: var(--space-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.section-description {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto var(--space-lg);
  color: var(--color-accent);
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.card-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--color-accent);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.product-image {
  width: 100%;
  height: 12rem;
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-white);
}

.product-info {
  padding: var(--space-md);
}

.product-info h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

.product-info p {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent);
  font-family: var(--font-display);
}

.contact-section {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  max-width: 50rem;
  margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-top: 0.2rem;
}

.contact-info-content h4 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin: 0;
}

.contact-info-content a {
  color: var(--color-accent);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
  background-color: var(--color-light);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--color-accent);
  cursor: pointer;
}

.map-container {
  width: 100%;
  height: 20rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background-color: var(--color-card);
  color: var(--color-white);
  padding: var(--space-md) 0 var(--space-sm);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.footer-nav {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--color-white);
  font-size: 0.85rem;
  transition: opacity var(--transition-fast);
}

.footer-nav a:hover {
  opacity: 0.7;
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 35rem;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-accent);
  line-height: 1;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.popup-close:hover {
  color: var(--color-primary);
}

.popup-content h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-right: var(--space-lg);
}

.popup-content p {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content h1 {
  font-size: 6rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.error-content h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.error-content p {
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 35rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

/* Image Showcase Section */
.image-showcase-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-card) 0%, var(--color-secondary) 100%);
}

.image-showcase-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.image-showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.image-showcase-text {
  padding: var(--space-lg) 0;
}

.image-showcase-image {
  height: 28rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Gallery Grid Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.3));
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-image-wrapper:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text-content {
  background-color: var(--color-white);
  padding: var(--space-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-card) 100%);
}

.testimonials-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: center;
}

.testimonials-image-wrapper {
  height: 32rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.testimonials-content {
  padding: var(--space-lg) 0;
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Stats Section */
.stats-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-card) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

/* CTA Section */
.cta-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, #FF7043 100%);
}

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

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Features Section */
.contact-features-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-card) 100%);
}

.contact-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.contact-feature-card {
  text-align: center;
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.contact-feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.contact-feature-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #FF7043 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.contact-info-card {
  padding: var(--space-lg);
  background-color: var(--color-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

/* Consultation Benefits Section */
.consultation-benefits-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.consultation-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.benefit-item {
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all var(--transition-base);
}

.benefit-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.benefit-number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}

/* Consultation Timeline */
.consultation-timeline {
  margin-top: var(--space-lg);
}

.timeline-container {
  max-width: 50rem;
  margin: var(--space-xl) auto 0;
  position: relative;
  padding-left: var(--space-lg);
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-xl);
}

.timeline-marker {
  position: absolute;
  left: -1.75rem;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.timeline-content {
  background-color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
  transition: all var(--transition-base);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

/* Success Metrics Section */
.success-metrics-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--color-card) 0%, var(--color-primary) 100%);
}

.success-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.metric-card {
  text-align: center;
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
}

.metric-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.metric-icon-wrapper {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.metric-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

/* Event Types Grid */
.event-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.event-type-card {
  padding: var(--space-lg);
  background-color: var(--color-light);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--color-accent);
  transition: all var(--transition-base);
}

.event-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background-color: var(--color-white);
}

.event-type-header {
  text-align: center;
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-secondary);
  margin-bottom: var(--space-md);
}

@media (max-width: 62rem) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  h1 {
    font-size: 1.9rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero {
    padding: var(--space-lg) 0;
    min-height: 22rem;
  }

  .image-showcase-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .image-showcase-image {
    height: 20rem;
  }

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

  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .testimonials-image-wrapper {
    height: 20rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }
}
@media (max-width: 837px) {
  .logo span{
    font-size: 20px;
  }
  .main-nav ul{
    gap: 0.8rem;
  }

}
@media (max-width: 48rem) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 16rem;
    height: 100vh;
    background-color: var(--color-card);
    padding: 5rem var(--space-md) var(--space-md);
    transition: right var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }
  
  .main-nav.active {
    display: flex;
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav a {
    display: block;
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    justify-content: center;
  }

  .image-showcase-content {
    grid-template-columns: 1fr;
  }

  .image-showcase-text {
    padding: var(--space-md) 0;
  }

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

  .testimonials-container {
    grid-template-columns: 1fr;
  }

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

  .success-metrics-grid {
    grid-template-columns: 1fr;
  }
}

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 20rem;
  }

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-container {
    padding-left: var(--space-md);
  }

  .timeline-item {
    padding-left: var(--space-lg);
  }

  .timeline-marker {
    left: -1.25rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

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

  .event-types-grid {
    grid-template-columns: 1fr;
  }



@media (max-width: 36rem) {
  body {
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.15rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .hero {
    min-height: 18rem;
    padding: var(--space-md) 0;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
  }
  
  .section {
    padding: var(--space-md) 0;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .card {
    padding: var(--space-sm);
  }
  
  .contact-section {
    padding: var(--space-md);
  }
  
  .map-container {
    height: 15rem;
  }
  
  .error-content h1 {
    font-size: 4rem;
  }
}
@media (max-width: 30rem){
  .success-metrics-grid {
    grid-template-columns: repeat(1, 1fr);
}
  .grid{
    display: flex;
    flex-direction: column;
  }
.logo span{
  display: none;
}
}
@media (max-width: 20rem) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .header-container {
    padding: 0 var(--space-sm);
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  .popup-content {
    padding: var(--space-md);
  }
}
