:root {
  --primary: #132749;
  --secondary: #ffffff;
  --accent: #1f3c74;
  --text-dark: #0e1a2b;
  --text-light: #f1f1f1;
  --card-bg: #ffffff;
  --bg-light: #f4f7fb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--secondary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding-bottom: 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* Hero Button - Modern & Unique */
.hero-btn {
  margin-top: 25px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #1f3c74, #2a57b8);
  color: var(--secondary);
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 50px; /* pill-shaped */
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(31, 60, 116, 0.3);
  transition: all 0.35s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.hero-btn:hover::after {
  left: 100%;
}

.hero-btn:hover {
  background: linear-gradient(135deg, #284d8d, #376de6);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(31, 60, 116, 0.4);
}


.hero-logo {
  width: 200px;
  height: auto;
  margin: 20px auto 10px;
  display: block;
  filter: brightness(100%) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Services Section */
.services {
  padding: 80px 20px;
  background-color: var(--secondary);
  text-align: center;
}

.services h2 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
/* Projects Section */

.projects {
  padding: 80px 20px;
  background-color: var(--bg-light);
  text-align: center;
}
.projects a {
  text-decoration: none; /* removes underline */
  color: inherit;        /* uses parent text color instead of default blue */
}

.projects h2 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: auto;
}

.project-card {
  background: var(--secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.project-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.project-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 20px 20px 10px;
}

.project-card p {
  color: #555;
  margin: 0 20px 25px;
  line-height: 1.6;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .project-card img {
    height: 180px;
  }

  .projects h2 {
    font-size: 2rem;
  }
}


.card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.card p {
  color: #444;
}

/* About Section */
.about {
  background-color: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.about h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Contact Section */
.contact {
  padding: 70px 20px;
  background-color: var(--secondary);
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
}



/* Contact Icons (lighter look) */
.socials a img {
  width: 48px;
  height: 48px;
  filter: grayscale(100%) brightness(0.9); /* was 0.3 */
  opacity: 0.9; /* makes them lighter */
  transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.socials a:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}


.socials {
  display: flex;
  justify-content: center;
  gap: 40px;
}


/* Footer */
footer {
  background: var(--primary);
  color: var(--secondary);
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
  }

  body::-webkit-scrollbar {
    display: none;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .hero-logo {
    width: 150px;
    margin-top: 20px;
  }

  .services h2,
  .about h2,
  .contact h2 {
    font-size: 2rem;
  }

  .socials {
    gap: 20px;
  }

  .socials a img {
    width: 40px;
    height: 40px;
  }
}
