/* ==========================================================================
   Dr. Estelle Jean - Main Stylesheet
   Designed by HEDAR Technology LLC
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #e91e63;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ad1457;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  margin-bottom: 0.6em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: #1a1a1a;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.top-bar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: #e91e63;
}

.main-header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  color: #222;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  position: relative;
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: #e91e63;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #e91e63;
  transition: width 0.3s ease;
}

/* Submenu */
.main-nav .has-submenu {
  position: relative;
}

.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 220px;
  padding: 10px 0;
  display: none;
  flex-direction: column;
  gap: 0;
}

.main-nav .has-submenu:hover .submenu {
  display: flex;
}

.main-nav .submenu li {
  display: block;
}

.main-nav .submenu a {
  display: block;
  padding: 10px 20px;
  text-transform: none;
  font-size: 14px;
}

.main-nav .submenu a::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #222;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #0d2d5e 0%, #1e4a8a 50%, #0d2d5e 100%);
  color: #fff;
  padding: 100px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  background-image: url('../images/L2A5853scaled.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,45,94,0.85) 0%, rgba(30,74,138,0.75) 50%, rgba(13,45,94,0.85) 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0.4em;
  font-weight: 800;
}

.hero h1 .accent {
  color: #e91e63;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 400;
  color: #e0eaf5;
  margin-bottom: 1em;
}

.hero p.intro {
  font-size: 1.1rem;
  max-width: 600px;
  color: #f0f4fa;
  margin-bottom: 2em;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #e91e63;
  color: #fff;
  border: 2px solid #e91e63;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: transparent;
  color: #e91e63;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: #1a1a1a;
}

/* ==========================================================================
   Sections
   ========================================================================== */
section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title .subtitle {
  color: #888;
  font-size: 1rem;
}

.section-title h2 .accent {
  color: #e91e63;
}

/* ==========================================================================
   About Preview / Two Column
   ========================================================================== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-column h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: #e91e63;
}

.two-column p {
  margin-bottom: 18px;
  color: #555;
}

.two-column img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
  background-color: #f7f7f7;
  padding: 60px 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat .number {
  font-size: 3rem;
  font-weight: 800;
  color: #e91e63;
  line-height: 1;
  margin-bottom: 10px;
}

.stat .label {
  color: #555;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-title a {
  color: #222;
}

.blog-card-title a:hover {
  color: #e91e63;
}

.blog-card-excerpt {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex: 1;
}

.read-more {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #e91e63;
  align-self: flex-start;
}

.read-more::after {
  content: ' →';
  transition: transform 0.3s ease;
  display: inline-block;
}

.read-more:hover::after {
  transform: translateX(5px);
}

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

.mt-4 {
  margin-top: 40px;
}

/* ==========================================================================
   Features (Logos)
   ========================================================================== */
.features-section {
  background-color: #fafafa;
  padding: 60px 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.features-grid img {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.features-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, #0d2d5e 0%, #1e4a8a 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 10px;
}

.page-header .breadcrumb {
  color: #d0dded;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-header .breadcrumb a {
  color: #fff;
}

/* ==========================================================================
   About Page Timeline
   ========================================================================== */
.timeline-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.timeline-tabs button {
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid #e91e63;
  color: #e91e63;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.timeline-tabs button.active,
.timeline-tabs button:hover {
  background-color: #e91e63;
  color: #fff;
}

.timeline-content {
  background-color: #fafafa;
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid #e91e63;
}

.timeline-pane {
  display: none;
}

.timeline-pane.active {
  display: block;
}

.timeline-pane h3 {
  color: #e91e63;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.timeline-pane p {
  color: #444;
  margin-bottom: 16px;
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post {
  max-width: 900px;
  margin: 0 auto;
}

.single-post .post-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.single-post h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.post-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-meta a {
  color: #e91e63;
  margin-right: 12px;
}

.single-post .post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.single-post .post-content p {
  margin-bottom: 1.2em;
}

.single-post .external-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #e91e63;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.single-post .external-link:hover {
  background-color: #ad1457;
  color: #fff;
}

.related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.related-posts h3 {
  margin-bottom: 30px;
  text-align: center;
}

/* ==========================================================================
   Forms (Book / Contact)
   ========================================================================== */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e91e63;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  display: none;
  padding: 14px;
  margin-top: 16px;
  border-radius: 4px;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  background-color: #f7f7f7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #e91e63;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonial p.quote {
  font-style: italic;
  color: #444;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.testimonial .author {
  font-weight: 700;
  color: #222;
}

.testimonial .author-role {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #aaa;
  font-size: 14px;
}

.footer-grid a:hover {
  color: #e91e63;
}

.footer-grid p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: #2a2a2a;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #e91e63;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  font-size: 13px;
  color: #888;
}

.footer-bottom a {
  color: #e91e63;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 14px 20px;
    width: 100%;
  }

  .main-nav .submenu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    display: block;
    background-color: #fafafa;
  }

  .hero { padding: 70px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.3rem; }

  section { padding: 60px 20px; }

  .two-column {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .top-bar {
    display: none;
  }

  .page-header h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 24px 16px;
  }
}
