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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  font-size: 16px;
  background-color: white;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-img:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #007bff;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #007bff;
  transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
}

/* Hero Section - Professional Layout */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="300" fill="rgba(255,255,255,0.02)"/><circle cx="800" cy="600" r="200" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: cover;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: white;
  animation: fadeInLeft 1s ease-out;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-content .subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: #79d559;
  color: white;
  padding: 0.9rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #5cb83f;
  transform: translateY(-2px);
}

.cta-button-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  padding: 0.9rem 2rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 600;
  color: #79d559;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: white;
}

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

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #007bff;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 2px;
  background: #79d559;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.service-icon {
  font-size: 2.2rem;
  color: #007bff;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #79d559;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #007bff;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #007bff;
}

.about-text p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.6;
}

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

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.founder-info h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 0.5rem;
}

.founder-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 0;
}

/* Marquee Carousel Sections */
.marquee-section {
  padding: 4rem 0;
  background: white;
  overflow: hidden;
}

.marquee-section:nth-of-type(even) {
  background: #f8f9fa;
}

.marquee-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #007bff;
  position: relative;
}

.marquee-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background: #79d559;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.marquee-container {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: fit-content;
  transition: transform 0.1s linear;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  min-width: 180px;
  height: 100px;
  cursor: pointer;
}

.logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
}

.logo-item img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.testimonial-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-item:hover img {
  transform: scale(1.05);
}

.testimonial-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgb(0, 0, 0));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.testimonial-item:hover .testimonial-overlay {
  transform: translateY(0);
}

.testimonial-overlay h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  animation: zoomIn 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: -10px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  color: #79d559;
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Founder Modal Styles - Full Page Layout */
.founder-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.founder-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-modal-content {
  position: relative;
  background: white;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: slideUp 0.4s ease;
  overflow: hidden;
}

.founder-modal-text-section {
  padding: 4rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.founder-modal-text-section::-webkit-scrollbar {
  display: none;
}

.founder-modal-image-section {
  position: relative;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.founder-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-modal-close {
  position: absolute;
  top: 3rem;
  left: 3rem;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 2px solid #ddd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.founder-modal-close:hover {
  background: #79d559;
  color: white;
  border-color: #79d559;
  transform: scale(1.1);
}

.founder-modal-title {
  font-size: 3rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.founder-modal-subtitle {
  font-size: 1.4rem;
  color: #79d559;
  font-weight: 500;
  margin-bottom: 2rem;
}

.founder-modal-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.founder-credentials {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.founder-credentials h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 1.5rem;
}

.credentials-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.credentials-list li {
  padding: 1rem;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.credentials-list li i {
  color: #79d559;
  margin-right: 1rem;
  font-size: 1.2rem;
  min-width: 20px;
}

.founder-contact {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.founder-contact h4 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.founder-contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.founder-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.founder-contact-item i {
  color: #79d559;
  font-size: 1.2rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: #007bff;
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  font-size: 1rem;
  margin-right: 1rem;
  color: #79d559;
}

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

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.submit-btn {
  background: #79d559;
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #5cb83f;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #0056b3;
  color: white;
  padding: 3rem 0 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.social-link.linkedin:hover {
  background: #0077b5;
}

.social-link.twitter:hover {
  background: #000000c5;
}

.footer-text {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

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

  .testimonial-item img {
    height: 200px;
  }

  .logo-item {
    min-width: 140px;
    height: 80px;
  }

  .logo-item img {
    max-width: 100px;
    max-height: 50px;
  }

  .marquee-content {
    gap: 2rem;
  }

  .marquee-title {
    font-size: 1.6rem;
  }

  .logo-img {
    height: 50px;
  }

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

  .social-links {
    gap: 1rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .modal-content {
    max-width: 95%;
    max-height: 85%;
  }

  .modal-close {
    top: -35px;
    font-size: 1.8rem;
  }

  .founder-modal-content {
    max-width: 95%;
    margin: 1rem;
  }

  .founder-modal-image {
    height: 250px;
    object-position: center 20%;
  }

  .founder-modal-body {
    padding: 0 1.5rem 1.5rem;
  }

  .founder-modal-title {
    font-size: 1.6rem;
  }

  .founder-modal-body {
    padding: 0 1rem 1rem;
  }
}

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

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

  .cta-button,
  .cta-button-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .marquee-title {
    font-size: 1.4rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .logo-img {
    height: 45px;
  }

  .logo-item {
    min-width: 120px;
    height: 70px;
  }

  .logo-item img {
    max-width: 80px;
    max-height: 40px;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .testimonial-item img {
    height: 180px;
  }

  .founder-modal-title {
    font-size: 1.8rem;
  }

  .founder-modal-body {
    padding: 0 1rem 1rem;
  }
}

/* Mobile Responsive - Update the founder modal section */
@media (max-width: 768px) {
  .founder-modal-content {
    grid-template-columns: 1fr;
    grid-template-rows: 40% 60%;
  }

  .founder-modal-text-section {
    padding: 2rem;
    order: 2;
  }

  .founder-modal-image-section {
    order: 1;
  }

  .founder-modal-close {
    top: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .founder-modal-title {
    font-size: 2.2rem;
  }

  .founder-modal-subtitle {
    font-size: 1.2rem;
  }

  .founder-modal-text {
    font-size: 1rem;
  }

  .logo-img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .founder-modal-text-section {
    padding: 1.5rem;
  }

  .founder-modal-close {
    top: 1rem;
    left: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .founder-modal-title {
    font-size: 1.8rem;
  }

  .founder-modal-subtitle {
    font-size: 1.1rem;
  }

  .founder-credentials {
    padding: 1.5rem;
  }

  .founder-contact {
    padding: 1.5rem;
  }

  .founder-contact-info {
    flex-direction: column;
    gap: 1rem;
  }

  .logo-img {
    height: 55px;
  }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal.active {
    padding: 1rem;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 85vh;
  }

  .modal-close {
    top: -45px;
    right: -5px;
    font-size: 2rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .modal.active {
    padding: 0.5rem;
  }

  .modal-content {
    max-width: 98vw;
    max-height: 80vh;
  }

  .modal-close {
    top: -40px;
    right: 0;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }
}
