* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #03151A;
  color: #ffffff;
  overflow-x: hidden;

}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
}

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

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;

}

.nav-links a:hover {
  color: #3498db;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
}
.mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  padding: 1rem 0;
}
.mobile-dropdown.active {
  display: flex;
}
.mobile-dropdown a {
  padding: 1rem 2rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}
.mobile-dropdown a:hover {
  background: rgba(52, 152, 219, 0.1);
  border-left: 4px solid #3498db;
  color: #3498db;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("images/HeroSection_background.gif")
    center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease;
}
.hero h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero h2 {
  font-size: 2rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

/* Sections */
section {
  padding: 80px 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #3498db;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #f8f9fa;
}
.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}
.skill-tag {
  background: #3498db;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Horizon Section */
.horizon-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.horizon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.horizon-card {
  background: #1E2D31;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.horizon-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.horizon-icon {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 1rem;
}
.horizon-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.portfolio-item:hover {
  transform: scale(1.05);
}
.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(52, 152, 219, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-content {
  text-align: center;
  color: white;
}
.portfolio-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.keep-format {
  color: inherit;
  text-decoration: inherit;
}

/* Contact Section */
.contact {
  color: white;
}
.contact .section-title {
  color: white;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.contact-item i {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: #3498db;
  width: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3498db;
  background: rgba(255, 255, 255, 0.15);
}
.contact-form button {
  padding: 15px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #000000;
  color: white;
  text-align: center;
  padding: 2rem 0;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: #2980b9;
  transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  nav {
    position: relative;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav {
    padding: 0 1rem;
  }
  .container {
    padding: 0 1rem;
  }
}

/* Sticky header scroll effect purely in CSS */
header {
  background: #000000;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);

}
