/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f4f8fc;
  color: #1c1c1c;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.top-header {
  background: #ffffff;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container {
  max-width: 1440px;
  margin: auto;
  padding: 22px 80px; /* 👈 MORE LEFT & RIGHT SPACE */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo-left {
  display: flex;
  align-items: center;
  gap: 18px;           /* space between logo image & text */
  padding-right: 40px; /* 👈 breathing space before nav */
}

.logo-left img {
  width: 450px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e10600; /* red */
}

.brand-sub {
  font-size: 13px;
  font-weight: 600;
  color: #e10600;
  margin-top: 2px;
}

/* ===== NAVIGATION ===== */
.nav-right {
  display: flex;
  gap: 34px;   /* 👈 nav items breathe */
  align-items: center;
}

.nav-right a {
  color: #402195;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color 0.3s ease;
}

.nav-right a:hover{
  color: #2fd4b3;
}

.nav-right a.active {
  color: #4fd1c5;
}

.nav-right a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4fd1c5;
  transition: width 0.3s ease;
}

.nav-right a:hover::after,
.nav-right a.active::after {
  width: 100%;
}

/* ===== HERO ===== */
.hero-center {
  background: linear-gradient(180deg, #0a2540, #0e355f);
  padding: 90px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-inner {
  max-width: 1000px;
}

.hero-inner h1 {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-inner p {
  font-size: 16px;
  color: #e6edf6;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== SECTIONS ===== */
section {
  padding: 70px 10%;
  background: #ffffff;
  margin-bottom: 30px;
  border-radius: 14px;
}

section h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0a2540;
}

/* ===== HOME GRID ===== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 35px;
}

/* ===== TRAINING GRID ===== */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 35px;
}

/* ===== COMMON CARD STYLE ===== */
.home-card,
.training-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-card:hover,
.training-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.25);
}

.home-card::before,
.training-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #4fd1c5, #0a2540);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-card:hover::before,
.training-card:hover::before {
  opacity: 1;
}

.home-card h3,
.training-card h3 {
  color: #0a2540;
}

.home-card p,
.training-card p {
  color: #444;
  line-height: 1.6;
}

/* ===== INSTRUMENT GRID ===== */
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 35px;
}

.instrument-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  position: relative;
  cursor: pointer;
  transition: all 0.35s ease;
}

.instrument-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(10, 37, 64, 0.25);
}

.instrument-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.instrument-card:hover img {
  transform: scale(1.08);
}

.instrument-card h4 {
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  background: #f4f8fc;
  color: #0a2540;
}

/* ===== FORM ===== */
.form-container {
  background: #f9fbff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

textarea {
  grid-column: 1 / -1;
  height: 120px;
}

/* ===== BUTTON ===== */
button {
  grid-column: 1 / -1;
  background: #25d366;
  color: white;
  padding: 14px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

button:hover {
  background: #1fa855;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a2540;
  color: white;
  padding: 50px 10% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer ul li a {
  color: #cfdfff;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #4fd1c5;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.8;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  animation: whatsappGlow 2s infinite;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

@keyframes whatsappGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== HEADER WRAPPER ===== */
.top-header {
  background: #ffffff;
  border-bottom: 2px solid #e6ecf5;
}

/* ===== MAIN CONTAINER ===== */
.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 90px; /* breathing space */
  display: flex;
  align-items: center;
  justify-content: space-between; /* LEFT logo, RIGHT nav */
}

/* ===== LOGO LEFT ===== */
.logo-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0; /* prevents logo from squeezing */
}

.logo-left img {
  width: 400px;
  height: auto;
}

/* Brand text */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e10600;
}

.brand-sub {
  font-size: 13px;
  font-weight: 600;
  color: #e10600;
  margin-top: 2px;
}

/* ===== NAVIGATION RIGHT ===== */
/* ===== NAVIGATION RIGHT (FINAL FIX) ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;              /* 👈 balanced spacing */
  white-space: nowrap;   /* 👈 PREVENT LINE BREAK */
}

/* Nav links */
.nav-right a {
  color: #3a2ca0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;   /* 👈 keeps text in ONE LINE */
  transition: color 0.25s ease;
}

/* Hover color */
.nav-right a:hover {
  color: #2fd4b3;
}

/* Underline animation */
.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #2fd4b3;
  transition: width 0.3s ease;
}

.nav-right a:hover::after,
.nav-right a.active::after {
  width: 100%;
}

.nav-right a.active {
  color: #2fd4b3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .header-container {
    padding: 18px 24px;
    flex-direction: column;
    gap: 16px;
  }

  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .top-header {
    flex-direction: column;
    gap: 15px;
  }

  .logo-left img {
    width: 0px;
  }

  .home-grid,
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container {
    padding: 18px 24px;
    flex-direction: column;
    gap: 16px;
  }

  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .home-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner h1 {
    font-size: 24px;
  }

  .hero-inner p {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}
