/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Header and Navigation */
header {
  background-color: var(--nav-bg);
  padding: clamp(0.5rem, 2vw, 1rem);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px var(--card-shadow);
  transition: all 0.2s ease;
  height: 90px;
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: min(1200px, 90vw);
  margin: 0 auto;
  padding: 0 max(1rem, 2vw);
  gap: 2rem;
  width: 100%;
  position: relative;
}

.logo {
  position: relative;
  z-index: 1001;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo i {
  color: var(--accent-primary);
}

.menu-toggle {
  display: none;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  color: var(--nav-text);
  cursor: pointer;
  padding: clamp(0.3rem, 1vw, 0.5rem);
  z-index: 1002;
  margin-left: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(0.5rem, 2vw, 1rem);
  align-items: center;
  margin-left: 1rem;
}

.nav-links a {
  color: var(--nav-text);
  text-decoration: none;
  padding: clamp(0.3rem, 1vw, 0.5rem) clamp(0.5rem, 2vw, 1rem);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--accent-secondary);
  border-radius: 4px;
  transform: translateY(-2px);
}

.nav-links a i {
  font-size: 0.9em;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("images/hero.webp") no-repeat center top;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 20px;
}

.hero-content h1,
.hero-content p {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

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

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    padding: 0.5rem 0.8rem;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--nav-bg);
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    padding: 1rem;
    box-shadow: 0 2px 5px var(--card-shadow);
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.6rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  header {
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
  }

  header {
    width: 100vw;
  }

  nav {
    padding: 0 1rem;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    padding: 0.5rem;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--nav-bg);
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
    z-index: 1001;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
  }

  .theme-toggle {
    margin: 0.5rem 0;
  }

  main {
    width: 100%;
    overflow-x: hidden;
  }

  section {
    padding: 3rem 1rem;
    width: 100%;
  }

  .service-card,
  .project-card {
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }

  .contact-container {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }

  .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url("images/hero.webp") no-repeat 70% center;
    background-size: cover;
    min-height: 100vh;
    height: auto;
    padding: 80px 20px;
  }

  .hero-content {
    padding: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding: 0 15px;
    line-height: 1.5;
  }

  .scroll-indicator {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    background-position: 80% center;
  }

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

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .logo {
    font-size: 1.2rem;
  }

  nav {
    padding: 0 0.5rem;
  }

  .menu-toggle {
    padding: 0.5rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 48em) {
  .nav-links {
    position: fixed;
    top: max(60px, 10vh);
    padding: max(1rem, 3vh);
    gap: max(1rem, 3vh);
    height: calc(100vh - max(60px, 10vh));
  }

  .theme-toggle {
    position: fixed;
    bottom: max(1rem, 3vh);
    right: max(1rem, 3vw);
    padding: clamp(0.8rem, 2vw, 1rem);
  }
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: #ff6b00;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #ff8533;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

/* Services Section */
section {
  padding: 5rem 2rem;
  background-color: var(--bg-primary);
}

.services,
.about,
.contact {
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent-secondary);
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #ff6b00;
  margin: 1rem auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-primary);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--card-shadow);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Specific styling for solar panel image */
img[src*="solar.webp"] {
  object-position: center;
}

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

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease;
  font-weight: 500;
}

.service-link:hover {
  background: var(--primary-color-dark);
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .service-image {
    height: 180px;
  }
}

/* About Section */
.about {
  background-color: var(--bg-secondary);
}

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

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

.about-item {
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 6px var(--card-shadow);
  transition: all 0.2s ease;
}

.about-item:hover {
  transform: translateY(-5px);
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-item i {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.counter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-secondary);
  margin: 1rem 0;
}

.counter {
  display: inline-block;
}

.plus {
  display: inline-block;
  margin-left: 2px;
}

/* Contact Section */
.contact {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.contact-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 6px var(--card-shadow);
  transition: transform 0.3s ease;
}

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

.contact-icon {
  background: var(--accent-primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details {
  flex-grow: 1;
}

.contact-details h3 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
}

.contact-details a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  word-break: break-word;
}

.contact-details a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

.contact-info,
.contact-form {
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 6px var(--card-shadow);
}

.contact-info h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  margin: 1.5rem 0 0.5rem;
}

.contact-info p {
  color: var(--text-primary);
}

.contact-info h3:first-child {
  margin-top: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  color: var(--accent-secondary);
  font-size: 1.5rem;
  transition: all 0.2s ease;
}

.social-icon:hover {
  color: var(--accent-primary);
  transform: translateY(-3px);
}

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

.form-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
  padding-top: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

/* Form Status Messages */
.form-status {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--modal-overlay);
  z-index: 1100;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  position: relative;
  background-color: var(--modal-bg);
  margin: 20px auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease-out;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.close-modal {
  position: absolute;
  right: -15px;
  top: -15px;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 3;
  font-size: 1.2rem;
  border: 2px solid #f8f8f8;
}

.close-modal:hover {
  background-color: #ff6b00;
  color: white;
  transform: rotate(90deg);
  border-color: #ff6b00;
}

.modal-header {
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  backdrop-filter: blur(5px);
}

.modal-header h2 {
  margin: 0;
  color: #003366;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 10px;
}

.modal-header h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b00 0%, #ff9d4d 100%);
  border-radius: 2px;
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
  color: var(--text-primary);
}

.modal-body img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.modal-body img:hover {
  transform: scale(1.02);
}

.modal-body h3 {
  color: #003366;
  font-size: 1.5rem;
  margin: 25px 0 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.modal-body p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.modal-body ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.modal-body ul li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  color: #444;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.modal-body ul li:hover {
  padding-left: 5px;
  color: #003366;
  border-bottom-color: #ff6b00;
}

.modal-body ul li:before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 12px;
  color: #ff6b00;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.modal-body ul li:hover:before {
  transform: scale(1.2);
}

.project-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 25px 0;
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  padding: 25px;
  border-radius: 8px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-item h4 {
  color: #003366;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-item p {
  margin: 0;
  color: #ff6b00;
  font-size: 1.3rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body h3 {
    font-size: 1.3rem;
  }

  .modal-body p {
    font-size: 1rem;
  }

  .project-info-grid {
    gap: 15px;
    padding: 15px;
  }

  .info-item {
    padding: 15px;
  }

  .info-item h4 {
    font-size: 1rem;
  }

  .info-item p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .modal {
    padding: 10px;
  }

  .modal-content {
    margin: 10px auto;
    width: 95%;
    max-height: calc(100vh - 20px);
  }

  .close-modal {
    right: -10px;
    top: -10px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .modal-header {
    padding: 15px;
  }

  .modal-body {
    padding: 15px;
  }

  .modal-body img {
    max-height: 300px;
  }
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px auto;
    width: 95%;
  }

  .modal-body {
    padding: 20px;
  }

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

@media (max-width: 480px) {
  .project-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  padding: 0 1rem;
}

.slide {
  display: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 1rem;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: 0.3s ease;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  height: 3.5rem;
  width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.dots-container {
  text-align: center;
  padding: 1rem 0;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--accent-primary);
}

.fade {
  animation: fade 0.5s ease-in-out;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .slide img {
    height: 400px;
  }

  .prev,
  .next {
    padding: 0.8rem;
    font-size: 1.2rem;
    height: 3rem;
    width: 3rem;
  }
}

/* Footer */
footer {
  background-color: var(--nav-bg);
  color: var(--nav-text);
  padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.footer-section p {
  color: var(--nav-text);
}

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

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

.footer-section a {
  color: var(--nav-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--accent-primary);
}

.footer-section i {
  color: var(--accent-primary);
  margin-right: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--nav-text);
  opacity: 0.8;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--nav-bg);
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

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

  .hero p {
    font-size: 1.2rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .service-card {
    margin: 0 auto;
    max-width: 400px;
  }

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

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

.fadeIn {
  animation: fadeIn 1s ease forwards;
}

/* Add/update these styles in your dark theme section */
[data-theme="dark"] .modal-header {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #ffffff;
  border-bottom: 1px solid #333;
}

[data-theme="dark"] .modal-content {
  background-color: #242424;
  color: #e0e0e0;
}

[data-theme="dark"] .modal-header h2 {
  color: #ffffff;
}

[data-theme="dark"] .modal-body h3 {
  color: #ffffff;
}

[data-theme="dark"] .info-item {
  background-color: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .info-item h4 {
  color: #ffffff;
}

[data-theme="dark"] .project-info-grid {
  background: #1a1a1a;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .modal-body ul li {
  border-bottom-color: #333;
  color: #d1d1d1;
}

[data-theme="dark"] .modal-body ul li:hover {
  color: #ffffff;
  border-bottom-color: #ff6b00;
}

[data-theme="dark"] .close-modal {
  background-color: #333;
  color: #ffffff;
  border-color: #444;
}

[data-theme="dark"] .close-modal:hover {
  background-color: #ff6b00;
  color: #ffffff;
}
