body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f4c75;
  --highlight: #3282b8;
  --light: #ffffff;
  --transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.95);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--highlight);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  transition: var(--transition);
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 25px;
}

.nav-links a:hover {
  color: var(--highlight);
  background: rgba(50, 130, 184, 0.1);
}

.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--light);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1513151233558-d860c5398176?ixlib=rb-4.0.3")
    no-repeat center center/cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--highlight);
}

.btn {
  display: inline-block;
  background: var(--highlight);
  color: var(--light);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: 2px solid var(--highlight);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
}

.btn:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(50, 130, 184, 0.3);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
  color: var(--highlight);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--highlight);
  border-radius: 2px;
}

/* Projects Grid */
.projects-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card,
.portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  cursor: pointer;
}

.project-card:hover,
.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(50, 130, 184, 0.2);
}

.project-card img,
.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img,
.portfolio-item:hover img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--highlight);
}

.project-content p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(87, 87, 148, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--highlight);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  animation: zoomIn 0.3s ease;
}

.lightbox img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--highlight);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: #ff4757;
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(50, 130, 184, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--highlight);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* Business Card */
.business-card {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  max-width: 800px;
  margin: 50px auto;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: var(--transition);
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(50, 130, 184, 0.2);
}

.business-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--highlight);
}

.card-details {
  margin: 30px 0;
  text-align: left;
  max-width: 500px;
  margin: 30px auto;
}

.detail {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.detail i {
  color: var(--highlight);
  font-size: 1.2rem;
  width: 30px;
  margin-right: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  color: var(--highlight);
  font-size: 24px;
  transition: var(--transition);
  padding: 10px;
  border-radius: 50%;
  background: rgba(50, 130, 184, 0.1);
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--highlight);
  color: white;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--highlight);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0 15px;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--highlight);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(26, 26, 46, 0.95);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 50px;
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .projects-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }
}
