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

:root {
  --primary-color: #1e1ef6;
  --text-color: rgba(0, 0, 0, 0.6);
  --text-color-dark: rgba(0, 0, 0, 0.8);
  --background-color: #ffffff;
  --hero-gradient: linear-gradient(
    135deg,
    #1e1ef6 0%,
    #4a90e2 50%,
    #7b68ee 100%
  );
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

h1 {
  font-family: "Century Gothic", Arial, sans-serif;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "ASAP", sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color);
  overflow-x: hidden;
}

/* Header Styles */
header,
footer,
.nav {
  background: var(--background-color);
  box-shadow: var(--shadow);
}

header,
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 10;
  box-shadow: none;
}

.navbar {
  color: #fff;
}

.navbar-nav .nav-link,
.navbar-brand,
.navbar-toggler {
  color: #1e1ef6 !important;
  text-shadow: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: rgba(30, 30, 246, 0.7) !important;
}

.navbar-toggler-icon {
  filter: brightness(10);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/assets/img/header_background.webp") no-repeat center center;
  background-size: cover;
  overflow: hidden;
  margin-bottom: 1rem;
  margin-top: 0;
  padding-top: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.55); */
  z-index: 1;
  pointer-events: none;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 2rem;
  color: #1e1ef6;
}

.hero-title {
  font-family: "Century Gothic", "Arial Black", Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.1;
  white-space: nowrap;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Partners Section */
.partners-section {
  padding: 2rem 4rem 0 4rem;
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color-dark);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.partner-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-card img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.partner-card:hover img {
  transform: scale(1.05);
}

.partner-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.partner-card p {
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
  transition: color 0.3s ease;
}

.partner-card:hover p {
  color: #1515d4;
}

/* Footer */
.footer {
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f7f7f9;
  color: #222;
  padding: 2rem 2vw 1rem 2vw;
  margin: 0;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  max-width: 100vw;
  box-sizing: border-box;
}

.footer a {
  color: #222;
  opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
  text-decoration: none;
}

.footer a:hover {
  color: #1e1ef6;
  opacity: 1;
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page-content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    padding-top: 0;
  }
  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .partner-card {
    padding: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #1e1ef6 0%, #4a90e2 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: none;
  letter-spacing: 0.02em;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(90deg, #1515d4 0%, #1e1ef6 100%);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(30, 30, 246, 0.1);
}

.btn-primary {
  background: linear-gradient(90deg, #1e1ef6 0%, #4a90e2 100%);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #1515d4 0%, #1e1ef6 100%);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: end;
}

.align-items-center {
  align-items: center;
}

/* Legacy Support */
.ourname {
  display: none; /* Hidden as it's now in hero section */
}

.img-bg {
  display: none; /* Replaced with new partner cards */
}

.partners {
  display: none; /* Replaced with new partners grid */
}

/* Hamburger always white */
.navbar-toggler {
  display: none;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block !important;
    border: none;
    background: transparent;
    color: #fff !important;
    z-index: 30;
    position: relative;
  }
  .navbar-toggler-icon {
    background-image: none;
    width: 2rem;
    height: 2rem;
    position: relative;
    display: inline-block;
  }
  .navbar-toggler-icon:before,
  .navbar-toggler-icon:after,
  .navbar-toggler-icon div {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.6) !important;
    margin: 6px 0;
    border-radius: 2px;
  }
  .navbar-collapse {
    background: #fff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 1.5rem 1rem;
    border-radius: 0 0 18px 18px;
    z-index: 25;
  }
  .navbar-nav .nav-link,
  .navbar-brand,
  .navbar-toggler {
    color: #444 !important;
    text-shadow: none;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: #1e1ef6 !important;
    text-decoration: underline;
  }
}

.hero-section--small {
  min-height: 50vh;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-section--small {
    min-height: 28vh;
    padding-top: 2.5rem;
    padding-bottom: 1rem;
  }
}

.breadcrumbs {
  font-size: 0.97rem;
  color: #888;
  margin: 0 0 1.5rem 0;
  padding: 1.2rem 0 0.2rem 0;
  letter-spacing: 0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em;
}
.breadcrumbs a {
  color: #1e1ef6;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: #1515d4;
  text-decoration: underline;
}
.breadcrumbs .separator {
  color: #bbb;
  margin: 0 0.2em;
  user-select: none;
}

@media (max-width: 768px) {
  .navbar-brand img {
    max-width: 60px;
    height: auto;
  }
}

