/* Author: Teja C. */
/* March 2026    */


/* Color variables — dark mode is default */
:root {
  --bg:          #0d1117;
  --bg-alt:      #0b0f1a;
  --bg-card:     #111827;
  --navbar-bg:   rgba(10, 17, 30, 0.96);

  --text:        #e2e8f0;
  --text-soft:   #94a3b8;
  --heading:     #ffffff;

  --blue:        #00b4d8;
  --blue-dark:   #0090b0;
  --blue-faint:  rgba(0, 180, 216, 0.08);

  --border:      rgba(0, 180, 216, 0.12);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

  --radius-card:   12px;
  --radius-button: 8px;
}

/* Light mode */
body.light {
  --bg:          #f4f6f9;
  --bg-alt:      #eaecf0;
  --bg-card:     #ffffff;
  --navbar-bg:   rgba(255, 255, 255, 0.96);

  --text:        #1e2330;
  --text-soft:   #4b5563;
  --heading:     #0d1117;

  --blue:        #0090b0;
  --blue-dark:   #006d8a;
  --blue-faint:  rgba(0, 144, 176, 0.08);

  --border:      rgba(0, 0, 0, 0.08);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}


/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}


/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--blue);
  color: #000000;
  padding: 12px 28px;
  border-radius: var(--radius-button);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.btn-primary:hover {
  background-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.4);
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(0, 180, 216, 0.5);
  color: var(--blue);
  padding: 12px 28px;
  border-radius: var(--radius-button);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--blue-faint);
  border-color: var(--blue);
  transform: translateY(-2px);
}


/* Theme toggle */
#theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

#theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background-color: var(--blue-faint);
}


/* Navbar */
#main-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 68px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#main-navbar.nav-hidden {
  transform: translateY(-100%);
}

#main-navbar.nav-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--blue);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu li:last-child a {
  background-color: var(--blue);
  color: #000000;
  padding: 8px 18px;
  border-radius: var(--radius-button);
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-menu li:last-child a:hover {
  background-color: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-menu li:last-child a::after {
  display: none;
}

#hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

#hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* Hero */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-image: url('../images/homePageBackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(10, 17, 30, 0.88);
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: nowrap;
}

.hero-logo {
  height: 120px;
  width: auto;
  flex-shrink: 0;
}

.hero-brand h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.hero-subheading {
  font-size: 0.95rem;
  font-weight: 600;
  color: #00b4d8;
  margin-bottom: 1.2rem;
}

.hero-description {
  font-size: 0.93rem;
  color: #94a3b8;
  line-height: 1.85;
  margin-bottom: 1rem;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-buttons .btn-outline {
  border-color: rgba(0, 180, 216, 0.5);
  color: #00b4d8;
}


/* Why choose us */
#why-us {
  padding: 80px 6%;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.why-us-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-us-text {
  flex: 1;
}

.why-us-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 2rem;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-us-list li {
  font-size: 0.92rem;
  color: var(--text);
  padding: 14px 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-us-list li:hover {
  transform: translateX(5px);
  box-shadow: var(--card-shadow);
}

.why-us-image {
  flex: 1;
  max-width: 460px;
}

.why-us-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}


/* Mission */
#mission {
  padding: 100px 6%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-image: url('../images/ourMission.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(10, 17, 30, 0.82);
  z-index: 0;
}

.mission-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
}

.mission-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
}

.mission-text {
  flex: 1;
}

.mission-image {
  flex: 1;
  max-width: 420px;
}

.mission-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 180, 216, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#mission h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

#mission p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.85;
  max-width: 620px;
}


/* Footer */
#main-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.5rem 6% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-about p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-images {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  transform: translateX(-3.3%);
}

.footer-img {
  height: 150px;
  width: auto;
  opacity: 0.9;
  border-radius: 8px;
  border: 1px solid rgba(0, 180, 216, 0.35);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.15);
  padding: 6px;
  background-color: rgba(255, 255, 255, 0.04);
  transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-img:hover {
  opacity: 1;
  border-color: rgba(0, 180, 216, 0.7);
  box-shadow: 0 0 16px rgba(0, 180, 216, 0.3);
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}


/* Mobile */
@media (max-width: 768px) {

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    padding: 1.5rem 6%;
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-menu.open {
    display: flex;
  }

  #hamburger-btn {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #hero {
    padding: 100px 6% 60px;
  }

  .hero-brand {
    flex-direction: column;
    text-align: center;
  }

  .hero-logo {
    height: 80px;
  }

  .hero-brand h1 {
    font-size: 1.4rem;
    white-space: normal;
    text-align: center;
  }

  .hero-description {
    text-align: center;
  }

  .why-us-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .why-us-image {
    max-width: 100%;
  }

  .why-us-image img {
    height: 260px;
  }

  #mission {
    background-attachment: scroll;
  }

  .mission-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .mission-image {
    max-width: 100%;
  }

  .mission-image img {
    height: 200px;
  }

}