* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}
/* Sticky Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 15px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header img {
  height: 60px;
  transition: transform 0.3s ease;
}

.header img:hover {
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .header img {
    height: 45px;
  }
}
.main-container {
  display: flex;
  min-height: 100vh;
}

/* Main Content */
.main-content {
  width: 100%;
  padding: 1rem;
}

/* Compact Image Section */
.compact-image-section {
  width: 90%;
  /* max-width: 900px; */
  margin: 0 auto 3rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: white;
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.compact-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.compact-image:hover {
  transform: scale(1.02);
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content-section {
  background: #6969691a;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #dc2626, #f87171);
  border-radius: 2px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  aspect-ratio: 16/9;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.video-card:hover .video-overlay {
  transform: translateY(0);
}

.brochure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.brochure-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent;
}

.brochure-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
  border-color: #dc2626;
}

.brochure-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.brochure-card:hover img {
  transform: scale(1.1);
}

.brochure-content {
  padding: 1.5rem;
  position: relative;
}

.brochure-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.brochure-content p {
  color: #6b7280;
  font-size: 0.875rem;
}

.download-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brochure-card:hover .download-overlay {
  opacity: 1;
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-shape {
  position: absolute;
  background: linear-gradient(
    45deg,
    rgba(220, 38, 38, 0.1),
    rgba(248, 113, 113, 0.1)
  );
  border-radius: 50%;
  animation: floating 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.floating-shape:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 40%;
  right: 5%;
  animation-delay: 4s;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.8),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  }
}

.see-more-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.see-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  color: white;
  text-decoration: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin: 5% auto;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  animation: modalSlideIn 0.4s ease-out;
  position: relative;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1;
}

.close:hover {
  color: #dc2626;
}

.interactive-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interactive-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateZ(50px);
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

/* Admission Box Styles */
.admission-box {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
  margin: 2rem 0;
  border: 2px solid transparent;
  animation: borderBlink 2s infinite;
}

@keyframes borderBlink {
  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: #f87171;
  }
}

.admission-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.admission-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #e7e4deff, #ffffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admission-info p {
  margin-bottom: 0.5rem;
}

.phone-number {
  font-weight: 600;
  font-size: 1.1rem;
}

.apply-btn {
  background: white;
  color: #dc2626;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  color: #dc2626;
  text-decoration: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .main-content {
    padding: 0.5rem;
  }

  .compact-image-section {
    max-width: 350px;
    margin-bottom: 2rem;
    border-radius: 12px;
  }

  .content-wrapper {
    padding: 0 0.5rem;
  }

  .content-section {
    padding: 0rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .brochure-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .video-card {
    border-radius: 12px;
  }

  .brochure-card {
    border-radius: 12px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
    margin: 10% auto;
  }

  .admission-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .compact-image-section {
    max-width: 300px;
  }

  .content-section {
    padding: 0rem;
  }

  .section-title {
    padding: 0rem 1rem;
    font-size: 1.25rem;
  }
}

/* Image loading states */
.compact-image {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.compact-image.loading {
  opacity: 0.7;
}

.compact-image.loaded {
  opacity: 1;
}
