* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a5f7a;
  --secondary-color: #57b894;
  --accent-color: #ffd23f;
  --dark-color: #0e2a3a;
  --light-color: #f5f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo .tagline {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: -5px;
}

/* Logo image styling */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 60px; /* increased from 42px */
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--dark-color) 100%
  );
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 10l5 15h15l-12 9 5 15-13-9-13 9 5-15-12-9h15z" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #48a07d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 1rem auto;
  border-radius: 2px;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.about-content {
  display: grid;
  gap: 3rem;
}

.about-info h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-info p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.company-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-5px);
}

.detail-item i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.detail-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.detail-item p {
  color: var(--text-light);
  margin: 0;
}

.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vm-card {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-10px);
}

.vm-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.vm-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.vm-card p,
.vm-card ul {
  opacity: 0.9;
  line-height: 1.8;
}

.vm-card ul {
  list-style: none;
  padding-left: 0;
}

.vm-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.vm-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 2px solid var(--secondary-color);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent-color);
  color: var(--dark-color);
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 0.85rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  padding: 0.7rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.6;
}

.service-card ul li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Value Proposition Section */
.value-proposition {
  padding: 5rem 0;
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

.value-item i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.value-item:hover i {
  color: var(--accent-color);
}

.value-item h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.value-item:hover h4 {
  color: var(--white);
}

.value-item p {
  color: var(--text-light);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.value-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background: var(--light-color);
  color: var(--text-dark);
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--secondary-color);
}

.filter-btn.active {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(26, 95, 122, 0.95) 0%,
    rgba(26, 95, 122, 0.7) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 2rem;
  color: var(--white);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.project-info p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose {
  padding: 5rem 0;
  background: var(--light-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.why-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary-color);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.why-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info h3,
.contact-form-wrapper h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--light-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(10px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--white);
}

.info-item:hover .info-icon {
  background: var(--accent-color);
  color: var(--dark-color);
}

.info-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.info-item:hover .info-content h4 {
  color: var(--white);
}

.info-content p {
  color: var(--text-light);
  margin: 0;
  transition: color 0.3s ease;
}

.info-item:hover .info-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-form {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(87, 184, 148, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 1rem;
  padding: 15px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--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 h3,
.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.footer-section p {
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  padding: 0.5rem 0;
  opacity: 0.8;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-section ul li i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-company-info {
  margin-top: 1rem;
}

.footer-company-info p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-company-info i {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  margin: 0;
  margin-bottom: 0.5rem;
}

.developer-credit {
  font-size: 0.9rem;
  opacity: 0.6;
}

.developer-credit a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.developer-credit a:hover {
  color: var(--white);
  opacity: 1;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1rem;
}

#lightboxImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
}

.lightbox-caption h3 {
  margin-bottom: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  color: var(--white);
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav.prev {
  left: 20px;
}
.lightbox-nav.next {
  right: 20px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95vw;
    max-height: 80vh;
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .logo h2 {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 50px; /* increased from 36px for mobile */
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
