/* Global Responsive Image Rule */
img {
  max-width: 100%;
  height: auto;
  display: block; /* Prevents extra space below images */
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: var(--text-light);
}
.loader-logo {
  width: 300px;
  height: 300px;
  display: block;
  margin: 0 auto 0.5rem auto;
  animation: pulse 2s infinite;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 199, 200, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  position: relative;
  top: -70px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  margin-top: 20px;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,107,53,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

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

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

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

.btn-primary {
  background: var(--gradient);
  color: var(--text-light);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 199, 200, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-logo-image {
  width: 100%;
  height: auto;
  max-width: 350px;
  filter: drop-shadow(0 10px 30px rgba(0, 199, 200, 0.3));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Services Section */
.services {
  padding: 5rem 5%;
  background: var(--bg-section);
  transition: background-color 0.3s ease;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.section-header .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  transition: color 0.3s ease;
}

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

.service-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transition: var(--transition);
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.3s ease;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  padding: 5rem 5%;
  background: var(--bg-dark);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-content .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Form */
.contact {
  padding: 5rem 5%;
  background: var(--bg-section);
  transition: background-color 0.3s ease;
}

        .contact-form h3 {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.contact-details li::before {
  content: "📧";
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .contact-form {
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  background: var(--bg-light);
  color: var(--text-dark);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-info-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-info-card h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: #666;
  font-size: 1rem;
}

.contact-info-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-card a:hover {
  color: var(--accent-color);
}
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
  color: #00a8a9; /* Change to your preferred color */
}
/* === Mobile & Tablet Responsive Enhancements === */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 4rem 2rem;
    text-align: center;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .hero-graphic {
    width: 300px;
    height: 300px;
  }
  .hero-logo-image {
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  .hero {
    padding: 3rem 1.5rem;
  }
  .hero-logo-image {
    max-width: 200px;
  }
}
.hero {
  padding-top: 80px; /* Navbar jitna height ho */
}
@media (max-width: 640px) {
  .hero-text {
    padding-top: 2rem;
  }
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
