* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #222;
    border-inline-end-color: #111;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Ensure full width header */
header {
  width: 100%;
  background-color: #000;
  color: white;
  padding: 0;
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Header container layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

/* Remove conflicting nested .container rules */
header .container {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo + text */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.8rem;
}

.logo img {
  height: 40px;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f0c14b;
}


.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s;
}

.btn.primary {
  background: #f0c14b;
  color: #111;
}

.btn.secondary {
  background: #232f3e;
  color: white;
}

.btn:hover {
  transform: scale(1.05);
}

/* Buttons */
.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s;
}

.btn.primary {
  background: #f0c14b;
  color: #111;
}

.btn.secondary {
  background: #232f3e;
  color: white;
}

.btn:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  position: relative;
  background: url('hero.jpg') no-repeat center center/cover;
  color: white;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}

/* Overlay: Blur + Brightness */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Darken layer */
  filter: blur(20px) brightness(60%);
  z-index: 1;
}

/* Bring content above overlay */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero .hero-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.hero .hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Paragraph inside hero */
.hero .hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
}

/* CTA Button */
.hero .btn.secondary {
  padding: 0.75rem 1.5rem;
  background-color: #0077ff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero .btn.secondary:hover {
  background-color: #005ecc;
}

/* Marquee Effect for h2 */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee h2 {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Decorative Box for Paragraphs */
.p-box {
  background: black;
  border-left: 4px solid #0077ff;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  font-weight: 500;
  color: #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* About */
.about {
  padding: 4rem 0;
  text-align: center;
  background: whitesmoke;
  display: flex;
  justify-content: center;
}

.about-box {
  background: Black;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-style: preserve-3d;
  position: relative;
  width: 80%;
  max-width: 800px;
}

.about-box:hover {
  transform: rotateY(5deg) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color:white;
}

.about-content p {
  margin: 0.5rem 0;
  color: white;
  line-height: 1.6;
}

.about-content .btn {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0077ff;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.about-content .btn:hover {
  background: #005ecc;
}

.services, .contact {
  padding: 4rem 0;
  text-align: center;
}

.about p, .services p {
  max-width: 800px;
  margin: 1rem auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: black;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin: 1rem 0 0.5rem;
  color: white;
  font-size: 1.2rem;
}

.card p {
  padding: 0 1rem 1rem;
  color: white;
  font-size: 0.95rem;
}

.contact {
  padding: 4rem 0;
  background: #f5f5f5;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.contact-left {
  flex: 1;
  min-width: 250px;
  text-align: left;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-left p {
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1rem;
  border-left: 5px solid #0077ff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 5px;
}

.contact-center {
  flex: 1.5;
  min-width: 300px;
}

.contact-form {
  background: #000;
  color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInMiddle 1s ease forwards;
}

.contact-form h2 {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
  background: #111;
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form .btn.primary {
  background-color: #0077ff;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn.primary:hover {
  background-color: #005ecc;
}

/* Animation */
@keyframes fadeInMiddle {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-left,
  .contact-center {
    width: 100%;
  }

  .contact-form {
    margin-top: 1rem;
  }
}


/* Footer */
footer {
  background:black;
  color: #fff;
  border-inline-end-color: #111;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
}

footer a:hover {
  color: #f0c14b;
}

footer h3, footer h4 {
  margin-bottom: 1rem;
}

footer .copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  header {
    flex-direction: column;
    text-align: center;
  }
}

.bi {
  margin-right: 8px;
  vertical-align: middle;
  font-size: 1.1rem;
  color: #0077ff;
}

html {
  scroll-behavior: smooth;
}
