/* Premium UI Components & Sections */

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-normal),
    border-color var(--transition-fast);
  border: 2px solid transparent;
  outline: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-blue-purple);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue), var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--text-light);
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

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

.btn-accent {
  background: var(--gradient-indigo-cyan);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal), var(--shadow-lg);
}

/* Button Ripple Effect CSS */
.btn .ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-light);
  padding-top: var(--header-height);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 850px;
  width: 100%;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-heading {
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.15;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-light-muted);
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

/* Hero Stats Section */
.hero-stats-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 26, 0) 0%,
    rgba(9, 13, 26, 0.85) 100%
  );
  padding: 40px 0;
  z-index: 3;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-indigo-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light-muted);
  font-weight: 500;
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(40px);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 15%;
  right: 10%;
  animation: float 20s infinite alternate ease-in-out;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  bottom: 20%;
  left: 5%;
  animation: float 15s infinite alternate-reverse ease-in-out;
}

/* About Section */
.about-collage {
  position: relative;
  height: 480px;
  width: 100%;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--bg-glass-light);
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.collage-img:hover {
  transform: scale(1.03) translateY(-5px);
  z-index: 10;
}

.collage-img-1 {
  width: 70%;
  height: 70%;
  top: 0;
  left: 0;
}

.collage-img-2 {
  width: 50%;
  height: 50%;
  bottom: 0;
  right: 0;
}

.collage-img-3 {
  width: 35%;
  height: 35%;
  bottom: 25%;
  left: -10%;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature-check-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.feature-check-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--text-light);
}

.feature-check-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-check-card h4 {
  font-size: 1rem;
  font-weight: 600;
}

/* Featured Speakers */
.speaker-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background-color: var(--secondary);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.speaker-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.speaker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.speaker-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 40%,
    rgba(15, 23, 42, 0.95) 100%
  );
  z-index: 1;
  transition: background var(--transition-normal);
}

.speaker-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  color: var(--text-light);
  transition: transform var(--transition-normal);
}

.speaker-name {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.speaker-designation {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.speaker-company {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.speaker-country {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  opacity: 0.8;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.speaker-bio {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-top: 12px;
  line-height: 1.5;
  transition:
    max-height var(--transition-normal),
    opacity var(--transition-normal),
    margin var(--transition-normal);
}

.speaker-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--transition-normal),
    transform var(--transition-normal);
}

.speaker-socials a {
  color: var(--text-light-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.speaker-socials a:hover {
  color: var(--text-light);
}

.speaker-btn-wrapper {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--transition-normal),
    transform var(--transition-normal);
}

.speaker-profile-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  width: 100%;
}

/* Speaker Card Hover Effects */
.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.speaker-card:hover .speaker-img {
  transform: scale(1.1);
}

.speaker-card:hover .speaker-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(15, 23, 42, 0.98) 100%
  );
}

.speaker-card:hover .speaker-info {
  transform: translateY(-10px);
}

.speaker-card:hover .speaker-bio {
  max-height: 100px;
  opacity: 1;
  margin-top: 16px;
}

.speaker-card:hover .speaker-socials,
.speaker-card:hover .speaker-btn-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* Conferences Cards */
.conf-card {
  background-color: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal);
}

.conf-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background-color: var(--text-light);
}

.conf-banner-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.conf-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.conf-card:hover .conf-banner {
  transform: scale(1.08);
}

.conf-category {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.conf-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.conf-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.conf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.conf-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.conf-meta-item i {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

.conf-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.conf-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: auto;
}

.conf-btn {
  width: 100%;
}

/* Why Attend Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background-color: var(--text-light);
}

.why-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-blue-purple);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow-blue);
  transition: transform var(--transition-normal);
}

.why-card:hover .why-icon-box {
  transform: rotateY(180deg);
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Event Timeline Section */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: var(--radius-full);
}

.timeline-block {
  position: relative;
  margin: 40px 0;
}

.timeline-block:first-child {
  margin-top: 0;
}

.timeline-block:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--text-light);
  border: 4px solid var(--primary);
  top: 24px;
  left: 50%;
  margin-left: -10px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.timeline-block:hover .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
  box-shadow: var(--shadow-glow-teal);
}

.timeline-content {
  position: relative;
  width: 45%;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--text-light);
}

.timeline-block:nth-child(even) .timeline-content {
  float: right;
}

.timeline-block:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-container::after {
  clear: both;
  display: table;
}

.timeline-time {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-blue-purple);
  color: var(--text-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
}

/* Timeline Responsive */
@media (max-width: 768px) {
  .timeline-container::after {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
    margin-left: -10px;
  }

  .timeline-content {
    width: calc(100% - 50px);
  }

  .timeline-block:nth-child(even) .timeline-content,
  .timeline-block:nth-child(odd) .timeline-content {
    float: right;
  }
}

/* Testimonials Carousel Section */
.testimonials-section {
  position: relative;
}

.testimonials-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 10px;
}

.testimonials-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 600%; /* For 6 testimonials, each 100% width */
}

.testimonial-slide {
  width: 100%;
  flex-shrink: 0;
  padding: 40px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.1);
  position: absolute;
  top: 20px;
  left: 40px;
  font-family: serif;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #fbbf24; /* Star gold */
  margin-bottom: 24px;
}

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

.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  border: 3px solid var(--primary);
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Slider Controls */
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: transparent;
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--text-light-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 24px;
  background: var(--primary);
}

/* Masonry Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.gallery-item-1 {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item-2 {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item-5 {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.8) 0%,
    rgba(139, 92, 246, 0.8) 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
  z-index: 2;
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}

.gallery-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  transform: translateY(-15px);
  transition: transform var(--transition-normal);
}

.gallery-item-overlay h4 {
  color: var(--text-light);
  font-size: 1.15rem;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin-top: 4px;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-icon,
.gallery-item:hover .gallery-item-overlay h4,
.gallery-item:hover .gallery-item-overlay p {
  transform: translateY(0);
}

/* Gallery Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 26, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item-2 {
    grid-column: span 1;
  }
  .gallery-item-5 {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item-1 {
    grid-row: span 1;
  }
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

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

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
}

.contact-map-placeholder {
  display: none; /* Enable for maps view in future*/
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  background-color: #e2e8f0;
}

.contact-map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.2); /* Sleek corporate custom dark maps */
}

/* Form Styling */
.contact-form-container {
  background: var(--text-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--background);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--text-light);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  resize: none;
  height: 120px;
}

/* Success Alert Modal */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 13, 26, 0.8);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.success-modal.active {
  opacity: 1;
  pointer-events: all;
}

.success-card {
  background: var(--text-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.success-modal.active .success-card {
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
  box-shadow: var(--shadow-glow-teal);
  animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.success-card h3 {
  margin-bottom: 12px;
}

.success-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Newsletter Section */
.newsletter-section {
  padding: 0;
  margin-bottom: -50px;
  z-index: 10;
}

.newsletter-box {
  background: var(--gradient-navy-blue);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(20, 184, 166, 0.1);
  filter: blur(50px);
  top: -50px;
  right: -50px;
  border-radius: var(--radius-full);
}

.newsletter-box .grid-2 {
  position: relative;
  z-index: 2;
}

.newsletter-content h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.newsletter-content p {
  color: var(--text-light-muted);
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  backdrop-filter: blur(5px);
}

.newsletter-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .newsletter-box {
    padding: 40px 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

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