@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@300;400;500;600;700&display=swap");

:root {
  --orange: #f2a95c; /* From your logo */
  --silver: #b5b5b5; /* From your logo */
  --dark: #1a1a1a;
  --bg-light: #fdfdfd;
  --text-main: #2d3436;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 52px;
  color: var(--dark);
  font-weight: 800;
}
h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.accent {
  color: var(--orange);
}
.line {
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: 10px 0 20px 0;
}

/* Header */
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 80px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#header .logo {
  height: 60px;
}

#navbar {
  display: flex;
  list-style: none;
}
#navbar li {
  padding: 0 25px;
}
#navbar li a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
  letter-spacing: 1px;
}

#navbar li a:hover,
#navbar li a.active {
  color: var(--orange);
}

/* Hero */
#hero {
  height: 85vh;
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1920");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.hero-content {
  max-width: 700px;
  color: #fff;
}
.hero-content h4 {
  color: var(--silver);
  margin-bottom: 10px;
  font-weight: 400;
}
.hero-content p {
  font-size: 18px;
  margin: 20px 0 30px 0;
  line-height: 1.6;
  color: #eee;
}

button.normal {
  padding: 16px 35px;
  background-color: var(--orange);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
  text-transform: uppercase;
}

button.normal:hover {
  background-color: #d18d45;
  transform: scale(1.05);
}

/* Solutions Grid */
.section-p1 {
  padding: 80px 80px;
}
.section-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pro-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pro-card {
  height: 400px;
  border-radius: 15px;
  width: 90%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pro-card .des {
  padding: 30px;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  width: 100%;
  color: #fff;
}

.pro-card .des i {
  font-size: 30px;
  color: var(--orange);
  margin-bottom: 15px;
}
.pro-card .des h5 {
  font-size: 22px;
  margin-bottom: 10px;
}
.pro-card .des p {
  font-size: 14px;
  color: #ccc;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 80px;
}
.about-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.about-text {
  flex: 1;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.feat {
  font-weight: 600;
  color: var(--dark);
}
.feat i {
  color: var(--orange);
  margin-right: 10px;
}

/* Contact Section */
.contact-box {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.contact-box .details {
  padding: 50px;
  flex: 1;
}
.contact-box .details span {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--orange);
}
.contact-box .details p {
  margin: 15px 0;
}
.contact-box .details i {
  color: var(--orange);
  margin-right: 15px;
}
.contact-box .map {
  flex: 1;
}

/* Footer */
footer {
  background: #1a1a1a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 80px;
}
footer .logo {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(1.2);
}
footer .col {
  color: #fff;
  flex: 1;
  min-width: 250px;
}
footer a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 10px;
}
footer .icons i {
  font-size: 20px;
  margin-right: 15px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
footer .icons i:hover {
  color: var(--orange);
}
footer .copyright {
  width: 100%;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #333;
  margin-top: 40px;
  color: #777;
}

/* Mobile Menu */
#mobile {
  display: none;
}
#close {
  display: none;
}

@media (max-width: 799px) {
  body {
    overflow-x: hidden;
  }

  #header {
    padding: 15px 30px;
  }
  #navbar {
    /* 1. Hide it completely */
    display: none;

    /* 2. Positioning */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    background: #1a1a1a;
    padding: 80px 0 0 40px;
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  #navbar.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }
  #navbar li {
    margin-bottom: 25px;
    list-style: none;
  }
  #mobile {
    display: flex;
    align-items: center;
  }
  #mobile i {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }
  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: var(--orange);
    font-size: 24px;
    cursor: pointer;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  #hero {
    padding: 0 30px;
  }
  h1 {
    font-size: 38px;
  }
  .section-p1 {
    padding: 40px 30px;
  }
  .about-container {
    flex-direction: column;
  }
  .contact-box {
    flex-direction: column;
  }
}

footer {
  background-color: #1a1a1a;
  padding-top: 80px;
}

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

footer .logo {
  margin-bottom: 25px;
  height: 50px;
}

footer h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 25px;
  font-weight: 700;
}

footer p {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

footer a {
  font-size: 14px;
  text-decoration: none;
  color: #999;
  margin-bottom: 12px;
  display: block;
  transition: 0.3s ease;
}

footer a:hover {
  color: var(--orange); /* Your logo orange */
  padding-left: 5px;
}

/* Social Icons Styling */
footer .icons a {
  display: inline-block;
  margin-right: 15px;
}

footer .icons i {
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
  background: #333;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
}

footer .icons i:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

/* Newsletter Input */
.footer-newsletter input {
  padding: 12px;
  width: 70%;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  outline: none;
  border-radius: 4px 0 0 4px;
}

.footer-newsletter button {
  padding: 12px 20px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 600;
}

.copyright {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding: 30px 0;
  color: #666;
  font-size: 13px;
}

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 477px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-newsletter input {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 4px;
  }
  .footer-newsletter button {
    width: 100%;
    border-radius: 4px;
  }
}

#hero {
  /* Use a darker overlay to make the silver and orange text pop */
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1920");
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.company-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Accent lines next to the company name */
.line-decor {
  width: 30px;
  height: 2px;
  background-color: var(--silver);
  display: inline-block;
}

#hero h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 15px;
}

#hero h1 {
  margin-bottom: 25px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Secondary Button Style */
button.white {
  padding: 16px 35px;
  background-color: transparent;
  color: #fff;
  border: 2px solid var(--silver);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}

button.white:hover {
  background-color: var(--silver);
  color: #1a1a1a;
}
