/* -----------------------------------------
   Root Variables (Color Palette)
------------------------------------------ */
:root {
  --primary: #3259B3;       /* Official Slate Blue */
  --secondary: #243F7F;     /* Deep Blue */
  --accent: #CFB1EE;        /* Lavender Accent */
  --highlight: #FFEB99;     /* Optional highlight */
  --background: #F5F5F5;
  --light: #ffffff;
  --gray: #E2E2E2;
  --dark: #1e1e2f;
  --text: #333333;
}


/* -----------------------------------------
   Base Resets & Globals
------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .section-title, .section-heading {
  font-family: 'Cormorant Garamond', serif;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* -----------------------------------------
   Header & Navigation
------------------------------------------ */
.header {
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Cormorant Garamond', serif;
  font-size:1.4rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 75px; /* Try 60px for better header fit */
  display: block;
  object-fit: contain;
}



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

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  position: relative;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

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

.nav-menu a::before,
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu a::before {
  top: 0;
  transform-origin: left;
}

.nav-menu a::after {
  bottom: 0;
  transform-origin: right;
}

.nav-menu a:hover::before,
.nav-menu a:hover::after,
.nav-menu a.active::before,
.nav-menu a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--light);
    display: none;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #ddd;
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav-menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }
}

/* -----------------------------------------
   Hero Section
------------------------------------------ */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-align: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
  
}
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll !important;
  }
}


.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 47, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* -----------------------------------------
   Buttons
------------------------------------------ */
.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--light);
  transform: translateY(-2px);

}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--light);
}

/* -----------------------------------------
   Sections, Layout, Content Blocks
------------------------------------------ */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 3rem;
  color: var(--secondary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 1rem auto 0;
  border-radius: 3px;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.two-column .text {
  flex: 1 1 50%;
}

.two-column .image {
  flex: 1 1 40%;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

.section-paragraph {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 90%;
}

.about-image {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  max-width: 100%;
  transition: transform 0.4s ease;
}

.about-image:hover {
  transform: scale(1.02);
}



/* -----------------------------------------
   Testimonials & CTA – Elegant Contrast
------------------------------------------ */
#testimonials.section {
  background: linear-gradient(to bottom right, #f7f9fc, #e8ecf7);
  color: var(--text);
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

#testimonials .section-title,
#testimonials h2 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--secondary);
  position: relative;
}

.testimonial-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.testimonial-card span {
  display: block;
  font-weight: 600;
  color: var(--secondary);
}

.cta-section {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--light);
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ::before background image layer */
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/chat.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* Adjust fade strength */
  z-index: 0;
}

/* Push content above background image */
.cta-section .container {
  position: relative;
  z-index: 2;
}


.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
  color: #ffffff;
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 12px 24px;
  }
}



/* -----------------------------------------
   Footer
------------------------------------------ */
.footer {
  background-color: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 2rem 0;
}

.footer .socials {
  margin-top: 1rem;
}

.footer .socials a {
  margin: 0 0.5rem;
  display: inline-block;
}

/* -----------------------------------------
   Responsive Enhancements
------------------------------------------ */
@media (max-width: 900px) {
  .two-column {
    flex-direction: column;
    text-align: center;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* -----------------------------------------
   Animation (AOS Defaults)
------------------------------------------ */
[data-aos] {
  transition-property: opacity, transform;
  transition-timing-function: ease-in-out;
  transition-duration: 1.2s;
  will-change: opacity, transform;
}




/* -----------------------------------------
   Coaching Section (Cards) – Bright, Bold & Sleek
------------------------------------------ */
.coaching-section {
  background: linear-gradient(180deg, #fdfcfd 0%, #f0f4fb 100%);
  color: var(--text);
  padding: 6rem 0;
}

.card-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.coaching-card {
  flex: 1 1 300px;
  perspective: 1000px;
  transition: transform 0.4s ease;
  display: flex;
}

.card-inner {
  background: #ffffff;
  color: var(--text);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(106, 90, 205, 0.12);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  width: 100%;
}

.card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(161, 99, 109, 0.07) 0%, transparent 70%);
  z-index: 0;
  transform: rotate(45deg);
}

.card-inner h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--secondary);
  position: relative;
  z-index: 1;
}

.card-inner p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.coaching-card:hover .card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(161, 99, 109, 0.2);
}

@media (max-width: 900px) {
  .card-grid {
    flex-direction: column;
    gap: 2rem;
  }
}
/* -----------------------------------------
   Contact Section – Modern, Clean & Elevated
------------------------------------------ */
#contact.section {
  background: linear-gradient(to top right, #fafbff, #f0f4f8);
  padding: 6rem 0;
  color: var(--text);
}

#contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--secondary);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(161, 99, 109, 0.1);
}

.contact-form button.btn-primary {
  align-self: flex-start;
  background-color: var(--primary);
  color: var(--light);
  font-weight: bold;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form button.btn-primary:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  #contact h2 {
    font-size: 2rem;
  }
  .contact-form {
    padding: 2rem;
  }
}
