/* ========================
   1. Global Styles
======================== */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: #fff;
}

a {
  color: #f5f4f3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Utility Classes */
.hidden {
  display: none;
}

/* ========================
   2. Layout & Sections
======================== */
#about, #partners, #clients, #contact, footer {
  font-family: 'Exo 2', sans-serif;
  width: 100%;
  padding: 60px 20px;
  background: url('../images/brushing-finish-2.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #222;
  position: relative;
}

/* Section Headings */
section h2, section h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  display: inline-block;
  background: linear-gradient(to right, #ff9862, #b93769);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Paragraphs */
section p {
  font-size: 1.5rem;
  background: linear-gradient(to right, #ff9862, #b93769);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
footer p {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(to right, #ff9862, #b93769);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ========================
   3. Hero Section
======================== */
/* HERO CONTAINER */
/* HERO CONTAINER */
#hero {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('../images/brushing-finish-2.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

/* HERO CARD (the futuristic VISA card) */
.hero-card {
  position: relative;
  width: 90%;         /* bigger so card is obvious */
  max-width: 900px;   /* keeps it from being massive */
  min-width: 280px;
  aspect-ratio: 16 / 9;
}

/* THE CARD IMAGE */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;  /* ensures card image is always visible */
  z-index: 1;
}

/* TITLE + SUBTITLES */
.hero-title,
.hero-subtitles {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

/* HERO TITLE */
.hero-title {
  top: 7%;   /* positioned near top of card */
  font-size: clamp(2rem, 8vw, 5rem); /* scales with card size */
  font-family: 'Neuropol X', sans-serif;
  letter-spacing: 0.5em;
  color: #ff007f;
  text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, 0 0 40px #ff007f, 0 0 80px #ff007f;
  animation: flickerGlow 4s ease infinite;
}

/* HERO SUBTITLES */
.hero-subtitles {
  bottom: 15%;  /* positions subtitles near bottom of card */
  transform: translateX(-50%);
  flex-direction: column;
  gap: 0em;
}

.hero-subtitle {
  font-size: clamp(0.7rem, 2.8vw, 2rem); /* scales responsively */
  font-family: 'Exo 2', sans-serif;
  color: rgba(166,254,255,1);
  opacity: 0;
  text-shadow: 0 0 5px #bcf7f8, 0 0 10px #54cdd1, 0 0 20px #36b2b3, 0 0 40px #105f6e;
  animation: fadeInNeon 1.5s forwards;
}

/* ANIMATIONS */
.line1 { animation-delay: 2s; }
.line2 { animation-delay: 3s; }
.line3 { animation-delay: 4s; }

@keyframes flickerGlow {
  0%, 10%, 30%, 50%, 70%, 90% { opacity: 0.8; }
  15%, 35%, 55%, 75%, 95%, 100% { opacity: 1; }
}
@keyframes fadeInNeon {
  from { opacity: 0; transform: translateY(10px); text-shadow: none; }
  to { opacity: 1; transform: translateY(0); }
}


/* ========================
   4. Forms & Buttons
======================== */
.hidden-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.hidden-section input {
  width: 280px;
  padding: 12px;
  border: none;
  border-bottom: 2px solid #ff9862;
  background: transparent;
  color: #f5f5dc;
  font-size: 1rem;
  text-align: center;
}
.hidden-section input::placeholder {
  color: #f5f5dc;
  opacity: 0.7;
}

.hidden{
  display: none;
}

.input-group {
  margin-bottom: 15px;
}
.input-group input {
  width: 300px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  background: transparent;
  color: #f5f5dc;
  text-align: center;
  transition: border-color 0.3s ease;
}
.input-group input::placeholder {
  color: #f5f5dc;
  opacity: 0.7;
}
.input-group input:focus {
  border-color: #ff6b6b;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.contact-btn {
  background: linear-gradient(135deg, #ff9862, #b93769);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 20px 50px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.contact-btn:hover {
  transform: translateY(-2px) scale(1.2);
  background: linear-gradient(135deg, #b93769, #ff9862);
}

.backbtn, .submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  background: linear-gradient(135deg, #f5a623, #ff6b6b);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.backbtn:hover, .submit-btn:hover {
  transform: scale(1.2);
  background: linear-gradient(135deg, #ff6b6b, #f5a623);
}
.arrow {
  margin-left: 8px;
  font-size: 1.5rem;
}

/* ========================
   5. Logo & Client Lists
======================== */
.partners-list, 
.socials-list, 
.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.partners-list img {
  max-width: 180px;
  max-height: 150px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.socials-list img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.client-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 100px;
  text-decoration: none;
}
.client-list a img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.logo-container a img,
.partners-list a img,
.socials-list a img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-container a:hover img,
.partners-list a:hover img,
.socials-list a:hover img,
.client-list a:hover img {
  transform: scale(1.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ========================
   6. Responsive Media Queries
======================== */
@media (max-width: 768px) {
  #hero { height: 80vh; padding: 20px; }
  .hero-title { font-size: clamp(1.2rem, 8vw, 2.5rem); letter-spacing: 0.3em; top: 15%; }
  .hero-subtitle { font-size: clamp(0.7rem, 3.5vw, 1.2rem); margin: 5px 0; }
  .hero-image { max-width: 80%; margin-bottom: 20px; }
  .hero-card{width: 90%}
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; letter-spacing: 0.15em; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-image { max-width: 90%; }
}
/* ========================
   7. Thank You Page Section
======================== */
.thank-you-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: url('../images/brushing-finish-2.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}
.thank-you-container {
  background: rgba(0, 0, 0, 0.6); /* semi-transparent overlay for readability */
  padding: clamp(30px, 5vw, 60px);
  border-radius: 20px;
  max-width: 700px;
  width: 90%; /* ensures container shrinks on smaller screens */
}
.thank-you-title {
  font-family: 'Neuropol X', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: #ff007f;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  color: #ff007f;
  text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, 0 0 40px #ff007f, 0 0 80px #ff007f;
  animation: flickerGlow 4s ease infinite;
}

.thank-you-subtitle {
  font-size: clamp(1rem, 2.5vw, 2rem);
  color: #a6feff;
  margin-bottom: 40px;
  line-height: .7;
  font-family: 'Exo 2', sans-serif;
  color: rgba(166,254,255,1);
  opacity: 0;
  text-shadow: 0 0 5px #bcf7f8, 0 0 10px #54cdd1, 0 0 20px #36b2b3, 0 0 40px #105f6e;
  animation: fadeInNeon 1.5s forwards;
  margin-bottom: (10px, 2vw, 20px);
}

.back-home-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f5a623, #ff6b6b);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 15px 35px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-home-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ff6b6b, #f5a623);
}

/* ANIMATIONS */
.line1 { animation-delay: 0.5s; }
.line2 { animation-delay: 1.5s; }
.line3 { animation-delay: 2.5s; }
.line4 { animation-delay: 3.5s; }
@keyframes flickerGlow {
  0%, 10%, 30%, 50%, 70%, 90% { opacity: 0.8; }
  15%, 35%, 55%, 75%, 95%, 100% { opacity: 1; }
}
@keyframes fadeInNeon {
  from { opacity: 0; transform: translateY(10px); text-shadow: none; }
  to { opacity: 1; transform: translateY(0); }
}