html {
  scroll-behavior: smooth;
}

:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #222222;
  --accent: #161179;
  --transition: 0.35s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.logo {
  font-weight: bold;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  padding: 10px 10px;
  border-radius: 999px;
  transition: var(--transition);
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  border: none;
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(22,17,121,0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,17,121,0.1), rgba(34,34,34,0.08));
  z-index: -1;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  text-shadow: 0px 14px 18px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 720px;
}

/* Buttons */
.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.85rem 1.8rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  transition: var(--transition);
}

.btn.secondary {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--fg);
}

.btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(22,17,121,0.6);
}

.btn.secondary:hover {
  background: var(--fg);
  color: var(--bg);
}

/* Scroll Arrow*/
.scroll-down {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  cursor: pointer;
  text-align: center;
  z-index: 5;
}

.arrow {
  animation: bounce 2s infinite;
}

.arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--fg);
  stroke-width: 2;
  fill: none;
}


/* Projects Section */
.projects-section {
  background-color: #fff;
  color: #000;
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 0px;
}

.projects-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.project-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h2 {
  font-size: 1.2rem;
  margin: 16px;
  margin-bottom: 0;
}

.project-card p {
  margin: 12px 16px;
  font-size: 0.95rem;
  color: #444;
  flex-grow: 1;
}

.project-btn {
  margin: 16px;
  padding: 10px 20px;
  background-color: #000;
  color: white;
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.project-btn:hover {
  background-color: #161179;
}

.view-more-container {
  text-align: center;
  margin-top: 50px;
}

.view-more-link {
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}

.view-more-link:hover {
  border-bottom: 1px solid #000;
  color: #161179;
}

/*Services section*/

.services-list {
  background-color: #fff;
  padding: 70px 20px;
  color: #000;
}

.services-list h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.service-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.service-row:last-child {
  border-bottom: none;
}

.service-logo {
  font-size: 4rem;
  color: #161179;
  flex-shrink: 0;
  width: 100px;
  text-align: center;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.service-content p {
  font-size: 1rem;
  color: #333;
  max-width: 1000px;
}

/*About Us Section*/

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-direction: row; /* Ensure horizontal layout */
}

.about-title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
}

.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-content h2 {
  font-size: 1.8rem;
  margin-top: 30px;
  color: #000;
}

.about-content p {
  font-size: 1rem;
  color: #333;
  margin-top: 5px;
}

.about-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.about-buttons .btn {
  background: var(--fg);
  color: var(--bg);
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.about-buttons .btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(22,17,121,0.6);
}

/* CONTACT SECTION */

.contact-section {
  background-color: #d4d4da;
  padding: 60px 20px;
  border-radius: 15px;
  font-family: sans-serif;
  scroll-margin-top: 100px; /* Prevents navbar overlap */
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.contact-title {
  color: #111;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.title-underline {
  border: none;
  height: 2px;
  background: #333;
  width: 50px;
  margin-bottom: 30px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.5rem;
}

.gmail-icon {
  color: #D44638;
}

.facebook-icon {
  color: #1877f2;
}

.linkedin-icon {
  color: #0077b5;
}

.github-icon {
  color: #333;
}

.info-label {
  font-weight: bold;
  color: #111;
  text-decoration: none;
  transition: color 0.3s;
}

.info-label:hover {
  color: #161179;
}

.info-value {
  color: #333;
  font-size: 0.95rem;
}

.contact-form-glass {
  flex: 1;
  min-width: 300px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-glass input,
.contact-form-glass textarea {
  width: 100%;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.contact-form-glass button {
  padding: 10px 20px;
  background: #000;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form-glass button:hover {
  background: #0f0c5c;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-6px); }
}

/* Sections*/  

section {
  padding: 120px 2rem 80px;
  max-width: 1080px;
  margin: 0 auto;
}

/* Footer */

.site-footer {
  background-color: #333; /* Dark grey */
  color: #fff;
  text-align: center;
  padding: 20px 15px;
  margin-top: 50px;
  font-size: 0.9rem;
}

.footer-line {
  width: 80%;
  margin: 0 auto 15px auto;
  border: none;
  border-top: 1px solid #aaa;
}

.footer-text {
  margin: 5px 0;
}


@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
