/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', 'Noto Sans Devanagari', 'Noto Sans Gujarati', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  direction: ltr;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html[lang="hi"],
html[lang="gu"] {
  direction: rtl;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #1a2a44 0%, #2c3e50 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 1s ease-out;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%232c3e50" fill-opacity="0.15" d="M0,64L48,80C96,96,192,128,288,138.7C384,149,480,139,576,128C672,117,768,107,864,101.3C960,96,1056,96,1152,101.3C1248,107,1344,117,1392,122.7L1440,128V320H1392C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320H0V64Z"%3E%3C/path%3E%3C/svg%3E');
  background-size: cover;
  opacity: 0.3;
  z-index: 0;
  animation: waveMove 10s infinite linear;
}

header > * {
  position: relative;
  z-index: 1;
}

.logo {
  max-width: 340px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.3));
  border-radius: 12px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
  transform: scale(1.1) rotate(2deg);
}

header select {
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 30px;
  background: linear-gradient(90deg, #ffffff, #f8f9fa);
  color: #1a2a44;
  border: 2px solid #e0e6ed;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header select:hover {
  background: linear-gradient(90deg, #e0e6ed, #ffffff);
  border-color: #e74c3c;
  transform: scale(1.05);
}

header h1 {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-bottom: 1.2rem;
  font-weight: 800;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 1.5px;
  animation: pulse 2s infinite alternate;
}

header p {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  max-width: 80%;
  margin: 0 auto 2rem;
  font-weight: 600;
  color: #dfe6ea;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
nav {
  background: linear-gradient(90deg, #ffffff, #f8f9fa);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #e0e6ed;
  animation: slideIn 1s ease-out;
}

nav a {
  text-decoration: none;
  color: #2c3e50;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e74c3c;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

nav a:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  transform: translateY(-2px);
}

/* Container and Section Styles */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section {
  background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
  padding: 3rem;
  margin: 2.5rem 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  animation: fadeInUp 1s ease-out;
}

section:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

h2 {
  color: #e74c3c;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.8rem;
  text-align: center;
  position: relative;
  font-weight: 800;
  text-transform: uppercase;
}

h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  margin: 1rem auto;
  border-radius: 5px;
  animation: gradientShift 3s infinite alternate;
}

section p {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  color: #7f8c8d;
  text-align: center;
  margin: 0 auto 1.8rem;
  max-width: 85%;
  line-height: 1.8;
}

/* Opportunities Section */
.opportunities ul {
  list-style: none;
  padding: 0;
}

.opportunities li {
  padding: 1.2rem 0;
  border-bottom: 2px dashed #ecf0f1;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all 0.4s ease;
  position: relative;
}

.opportunities li:hover {
  background: #f9fbfd;
  transform: translateX(10px);
}

.opportunities li:last-child {
  border-bottom: none;
}

.opportunities li i {
  color: #27ae60;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.opportunities li:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* CTA Button */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  color: #ffffff;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 35px;
  font-weight: 800;
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  transition: all 0.5s ease;
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

.cta:hover {
  background: linear-gradient(90deg, #c0392b, #a93226);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.6);
}

/* Products Section */
.products ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0;
}

.products li {
  background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
  padding: 1.8rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.5s ease;
  border: 2px solid #ecf0f1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.products li:hover {
  background: #ffffff;
  transform: scale(1.05) rotateY(10deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-container {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 15px;
  overflow: hidden;
  background: #f9fbfd;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.video-container:hover iframe {
  transform: scale(1.03) rotate(2deg);
}

/* Contact Section */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem auto;
  max-width: 700px;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e6ed;
  animation: bounceIn 1s ease-out;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 2px solid #e0e6ed;
  border-radius: 10px;
  width: 100%;
  font-family: 'Roboto', 'Noto Sans Devanagari', 'Noto Sans Gujarati', sans-serif;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  background: #ffffff;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact input:focus,
.contact textarea:focus {
  border-color: #e74c3c;
  background: #f9fbfd;
  outline: none;
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.05);
  transform: scale(1.02);
}

.contact textarea {
  resize: vertical;
  min-height: 150px;
}

.contact button {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
  color: #ffffff;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 35px;
  font-weight: 800;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
  transition: all 0.5s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

.contact button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 2s infinite;
}

.contact button:hover {
  background: linear-gradient(90deg, #c0392b, #a93226);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.6);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #1a2a44 0%, #2c3e50 100%);
  color: #ecf0f1;
  text-align: center;
  padding: 2.5rem;
  border-top: 2px solid #34495e;
  animation: fadeInUp 1s ease-out;
}

footer .social-links {
  margin-bottom: 1.5rem;
}

footer a {
  color: #ecf0f1;
  margin: 0 1.2rem;
  font-size: 1.7rem;
  transition: all 0.4s ease;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer a:hover {
  color: #e74c3c;
  transform: scale(1.2);
}

footer p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-100%); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.8); }
  50% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(100px); }
}

@keyframes gradientShift {
  0% { background: linear-gradient(90deg, #e74c3c, #c0392b); }
  100% { background: linear-gradient(90deg, #c0392b, #e74c3c); }
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  nav {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .products ul {
    grid-template-columns: 1fr;
  }

  header {
    padding: 2.5rem 1.5rem;
  }

  .logo {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1rem;
  }

  .cta,
  .contact button {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
  }

  section {
    padding: 1.8rem;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    padding: 0.4rem 1rem;
  }

  .video-container {
    padding: 0.8rem;
  }

  .contact form {
    padding: 1.5rem;
  }
}