/* ============================
   CVMINDS — Brand CSS
   Palette:
   --magenta: #C0165A  (brand pink/crimson)
   --navy:    #3B4499  (brand deep blue/slate)
   --white:   #FFFFFF
   --offwhite:#F8F7F5
   --charcoal:#2A2A2A
   --mid:     #5A5A6A
   Type:
   Display: Playfair Display (600,700)
   Body: Inter (300,400,500,600)
============================ */

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

:root {
  --magenta: #C0165A;
  --magenta-dark: #960f47;
  --navy: #3B4499;
  --navy-dark: #2b3277;
  --white: #FFFFFF;
  --offwhite: #F8F7F5;
  --charcoal: #2A2A2A;
  --mid: #5A5A6A;
  --light-border: #E4E2DF;
  --radius: 10px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

em { font-style: italic; color: var(--magenta); }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

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

ul { list-style: none; }

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

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  /* Keep logo visible on transparent nav over hero */
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.nav.scrolled .nav-logo-img {
  filter: none;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto 0.4rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}
.btn-primary:hover {
  background: var(--magenta-dark);
  border-color: var(--magenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,22,90,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-dark {
  color: var(--magenta);
  border-color: var(--magenta);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--magenta);
  color: var(--white);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1.2rem 0;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.8rem 0;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-cv { color: var(--magenta); }
.logo-minds { color: var(--navy); }
.nav.scrolled .logo-minds { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--magenta);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--charcoal); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}
.nav.scrolled .nav-toggle { color: var(--charcoal); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Photo sits behind everything */
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Simple dark overlay for readability */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
/* Subtle texture on top */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
}
.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.hero-headline em {
  color: rgba(255,255,255,0.85);
  font-style: italic;
}
.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: bounce 1.8s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- SECTIONS ---- */
.section { padding: 6rem 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1rem;
}
.section-label.light { color: rgba(255,255,255,0.65); }
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.section-title.light { color: var(--white); }
.section-title em { color: var(--magenta); }
.section-intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--mid);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ---- ABOUT ---- */
.about { background: var(--offwhite); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
}
.about-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-border);
}
.highlight-item { display: flex; flex-direction: column; }
.highlight-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--magenta);
  line-height: 1;
}
.highlight-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mid);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-card-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.about-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.about-card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.about-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--navy); }
.about-card p { font-size: 0.9rem; color: var(--mid); }

/* ---- SERVICES ---- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.service-card {
  background: var(--offwhite);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--magenta);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.service-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--light-border);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.service-card:hover .service-number { color: rgba(192,22,90,0.15); }
.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.92rem; color: var(--mid); margin-bottom: 1.2rem; }
.service-list { display: flex; flex-direction: column; gap: 0.4rem; }
.service-list li {
  font-size: 0.85rem;
  color: var(--mid);
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--magenta);
}

/* ---- STUDY ---- */
.study { background: var(--offwhite); }
.study-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.study-col-title {
  font-size: 1.3rem;
  color: var(--navy);
  border-bottom: 2px solid var(--magenta);
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
}
.study-col-note {
  font-size: 0.88rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
}
.study-items { display: flex; flex-direction: column; gap: 1.2rem; }
.study-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-border);
  transition: box-shadow var(--transition);
}
.study-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.study-icon { font-size: 1.4rem; flex-shrink: 0; padding-top: 2px; }
.study-item strong { display: block; font-size: 0.95rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.study-item p { font-size: 0.85rem; color: var(--mid); }

.subject-band {
  background: linear-gradient(90deg, var(--magenta) 0%, var(--navy) 100%);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.subject-band-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.subject-tags span {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

    .whatsapp-float img {
        height: 60px;
        width: 60px;
    }

/* ---- INTERNSHIPS ---- */
.intern { background: var(--white); }
.intern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.intern-box {
  background: var(--offwhite);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.intern-box h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.intern-box > p { font-size: 0.92rem; color: var(--mid); margin-bottom: 1.25rem; line-height: 1.7; }
.intern-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.intern-areas span {
  background: var(--magenta);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.intern-note { font-size: 0.8rem; color: var(--mid); font-style: italic; }

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cert-item { text-align: center; }
.cert-circle {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 0.5rem;
  line-height: 1.2;
  text-align: center;
}
.cert-circle.magenta { background: var(--magenta); }
.cert-circle.navy { background: var(--navy); }
.cert-item p { font-size: 0.78rem; color: var(--mid); }

.career-list { display: flex; flex-direction: column; gap: 0.5rem; }
.career-list li {
  font-size: 0.88rem;
  color: var(--mid);
  padding-left: 1.4rem;
  position: relative;
}
.career-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 700;
}

/* ---- WHY ---- */
.why {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}
.why-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #4a3f90 100%);
  z-index: 0;
}
.why-inner { position: relative; z-index: 1; }
.why-intro {
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3rem;
  line-height: 1.7;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background var(--transition);
}
.why-item:hover { background: rgba(255,255,255,0.12); }
.why-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.why-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.why-item p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ---- CONTACT ---- */
.contact { background: var(--offwhite); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 1.5rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.contact-card p { font-size: 0.9rem; color: var(--mid); line-height: 1.75; }
.contact-card-cta { border-color: var(--magenta); }
.contact-link {
  display: block;
  font-size: 0.92rem;
  color: var(--magenta);
  font-weight: 500;
  transition: opacity var(--transition);
  margin-bottom: 0.3rem;
}
.contact-link:hover { opacity: 0.75; }
.contact-cta-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.contact-cta-buttons .btn-outline {
  color: var(--navy);
  border-color: var(--navy);
}
.contact-cta-buttons .btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--magenta); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-copy a { color: rgba(255,255,255,0.5); }
.footer-copy a:hover { color: var(--magenta); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .about-grid,
  .services-grid,
  .study-columns,
  .intern-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid { gap: 2.5rem; }
  .about-highlights { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero { padding: 6rem 1.5rem 4rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--charcoal) !important; font-size: 1rem; }
  .nav-toggle { display: block; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .contact-cta-buttons { flex-direction: column; }
  .subject-band { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
