:root {
  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #2d3748;
  --text-primary: #333333;
  --text-secondary: #718096;
  --text-light: #cbd5e0;
  --border-color: #e2e8f0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #2d3748;
}

[data-theme="dark"] {
  /* Dark mode colors */
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --bg-tertiary: #4a5568;
  --text-primary: #f7fafc;
  --text-secondary: #cbd5e0;
  --text-light: #a0aec0;
  --border-color: #4a5568;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --card-bg: #2d3748;
  --header-bg: #1a202c;
  --footer-bg: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

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

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

/* Shadow on hover */
.theme-toggle:hover {
  box-shadow: 0 6px 20px var(--shadow-medium);
}

/* Icon styling */
.theme-toggle-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: none;
}

/* Show/hide correct icon depending on theme */
.theme-toggle .moon-icon {
  display: inline;
}
[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}
[data-theme="dark"] .theme-toggle .sun-icon {
  display: inline;
}


/* Header */
header {
  background: var(--header-bg);
  box-shadow: 0 2px 10px var(--shadow-light);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 45px;
  width: auto;
  
}

.logo-text {
  font-size: 1.9rem;
  font-weight: bold;
  color: #ff9500;
  letter-spacing: 0.5px;
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff9500;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  padding: 180px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #ff9500;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-button-secondary {
  display: inline-block;
  background: #ff9500;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s;
}

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

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  padding: 180px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
}

/* Services */
.services,
.services-preview {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.service-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow-light);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid #ff9500;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.service-features li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.service-features li:before {
  content: "✓";
  color: #ff9500;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #ff9500;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.1rem;
}

/* About */
.about-content {
  padding: 80px 0;
  background: var(--bg-primary);
}

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

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-light);
}

/* Values Section */
.values-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

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

.value-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s;
  border: 1px solid var(--border-color);
}

.value-card:hover {
  transform: translateY(-5px);
}

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

.value-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-secondary);
}

/* Technologies */
.technologies {
  padding: 80px 0;
  background: var(--bg-primary);
}

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

.tech-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid var(--border-color);
}

.tech-item:hover {
  transform: translateY(-5px);
  border-top: 4px solid #ff9500;
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.tech-item h4 {
  color: var(--text-primary);
  font-weight: 600;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: var(--bg-primary);
}

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

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.contact-item .icon {
  font-size: 1.5rem;
  color: #ff9500;
  width: 30px;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-secondary);
}

.contact-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff9500;
}

.submit-btn {
  background: #ff9500;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background: #e6850e;
}

/* Map Section */
.map-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.map-placeholder {
  background: var(--card-bg);
  padding: 4rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.map-placeholder p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: #ff9500;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ff9500;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  text-align: center;
  color: var(--text-light);
}

.text-center {
  text-align: center;
  margin-top: 2rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .theme-toggle {
    top: 20px;
    right: 20px;
    transform: none;
  }

  nav {
    padding: 2rem 0;
  }

  .logo img {
    height: 38px;
  }

  .logo-text {
    font-size: 1.6rem;
  }

  .hero,
  .page-header {
    padding: 160px 0 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px var(--shadow-light);
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero h1,
  .page-header h1 {
    font-size: 2.5rem;
  }

  .hero p,
  .page-header p {
    font-size: 1.1rem;
  }

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

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

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {

  .theme-toggle {
    width: 50px;
    height: 50px;
    font-size: 18px;
    top: 93%;
    right: 15px;
     z-index: 9999 !important;
  }

  .theme-toggle-icon {
    font-size: 1.2rem;
  }
  nav {
    padding: 1.8rem 0;
  }

  .logo img {
    height: 35px;
  }

  .logo-text {
    font-size: 1.4rem;
  }

  .hero,
  .page-header {
    padding: 150px 0 60px;
  }

  .container {
    padding: 0 15px;
  }

  .hero h1,
  .page-header h1 {
    font-size: 2rem;
  }

  .services,
  .about-content,
  .technologies,
  .contact,
  .values-section {
    padding: 60px 0;
  }

  .tech-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

::-webkit-scrollbar {
  display: none;
}