@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Urbanist', sans-serif;
}

body {
  background: #F5F7F8;
  color: none;
}
/* end */

:root {
  --primary:#42697A;
  --secondary:#668491;
  --bg:#ffffff;
  --panel:#F5F7F8;
  --text:#171717;
  --muted:#444;
  --shadow:rgba(0,0,0,0.08);
}
body.dark {
  --primary:#82b4c4;
  --secondary:#39535e;
  --bg:#0b0b10;
  --panel:#1a1a25;
  --text:#f5f5f5;
  --muted:#aaa;
  --shadow:rgba(255,255,255,0.05);
}
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:"Poppins",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
  transition:background .6s,color .6s;
}

.navbar{
  display:flex;justify-content:space-between;align-items:center;
  width:100%;padding:1.2rem 2rem;
  background:var(--bg);
  border-bottom:1px solid var(--shadow);
  position:relative;top:0;z-index:999;
}
.logo img{max-height:200px;width:auto;position: absolute;top: -50%;left:-1%;}
.nav-links{
  display:flex;gap:2rem;align-items:center;
  list-style:none;border:2px solid var(--primary);
  border-radius:30px;padding:10px 24px;background:var(--secondary);
  transition:all .3s ease;
}
.nav-links li a{
  color:#fff;text-decoration:none;font-weight:500;
  transition:color .3s,transform .3s;
}
.nav-links li a:hover{color:var(--primary);transform:scale(1.08);}
.hamburger{display:none;flex-direction:column;justify-content:space-between;
  width:25px;height:18px;cursor:pointer;}
.hamburger span{height:3px;width:100%;background:var(--primary);
  border-radius:3px;transition:all .3s ease;}
  
@media(max-width:1024px){
  .nav-links{gap:1.2rem;padding:8px 18px;}
}
@media(max-width:768px){
  .nav-links{
    position:absolute;top:70px;right:20px;
    flex-direction:column;gap:1rem;background:var(--primary);
    border:none;border-radius:12px;padding:1rem 1.5rem;
    display:none;width:200px;text-align:center;
  }
  .logo img{
    position: absolute;
    top: -100%;
    left: -20%;
  }
  .nav-links li a{font-size:1rem;font-weight:600;color:#fff;}
  .nav-links.active{display:flex;animation:slideDown .3s ease forwards;}
  @keyframes slideDown{from{opacity:0;transform:translateY(-15px);}to{opacity:1;transform:translateY(0);}}
  .hamburger{display:flex;}
  .hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
  .hamburger.active span:nth-child(2){opacity:0;}
  .hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}
  .footer-col{width:50%;margin-bottom:30px;}
  .footer-writer p{font-size:90px;}
}

/* Hero Heading */
.herop {
  font-size: 3.5rem;
  text-align: center;
  color: #171717;
  font-weight: normal;
  margin: 40px 20px;
  line-height: 1.2;
}

.highlight {
  color: #668491;
  font-weight: normal;
}

/* Hero Subtext */
.herop2 {
  font-size: 1.5rem;
  text-align: center;
  color: #171717;
  font-weight: normal;
  margin:   10px 20px 20px;
  line-height: 1.6;
}

/* ================= Floating Energy Orb CTA ================= */
.orb-cta {
  position: absolute;
  right: 8%;
  top: 55%;
  transform: translateY(-50%);
  z-index: 10;
  animation: floatOrb 5s ease-in-out infinite;
}

.orb-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #668491 0%, #42697A 80%);
  box-shadow:
    0 0 25px rgba(102,132,145,0.4),
    inset 0 0 15px rgba(255,255,255,0.15);
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.orb-cta a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: 1;
}

.orb-cta span {
  position: relative;
  z-index: 2;
}

.orb-cta a:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 40px rgba(102,132,145,0.7),
    inset 0 0 20px rgba(255,255,255,0.2);
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ================= Responsiveness ================= */

/* Tablet */
@media (max-width: 1024px) {
  .orb-cta {
    right: 6%;
    top: 60%;
  }
  .orb-cta a {
    width: 85px;
    height: 85px;
    font-size: 0.85rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .orb-cta {
    position: relative;
    right: auto;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-10%);
    margin-top: 20px; /* creates spacing below hero text */
    animation: none; /* disables float on mobile for better stability */
  }

  .orb-cta a {
    width: 80px;
    height: 80px;
    font-size: 0.8rem;
    box-shadow: 0 0 20px rgba(102,132,145,0.4);
  }
}


/* Semi Circle Container */
.semi-circle {
  width: 450px;
  height: 250px;
  background: #42697A;
  border-top-left-radius: 300px;
  border-top-right-radius: 300px;
  margin: 15px auto; /* centered */
  position: relative;
}

/* Book Image */
.book {
  height: 280px;
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translate(-50%, -15%);
}

/* Pencil Image */
.pencil {
  height: 230px;
  position: absolute;
  top: 68%;
  left: 27%;
  transform: translate(-50%, 0%);
}

/* Slide Animations */
.slide-left, .slide-right, .slide-fade {
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.slide-left { transform: translateX(300px); }
.slide-right { transform: translateX(-300px); }
.slide-fade { transform: translateY(50px); }

.slide-left.show { opacity: 1; transform: translateX(0); }
.slide-right.show { opacity: 1; transform: translateX(0); }
.slide-fade.show { opacity: 1; transform: translateY(0); }

/* ================== RESPONSIVE ================== */

/* Tablet */
@media (max-width: 1024px) {
  .herop { font-size: 2.5rem; }
  .herop2 { font-size: 1.2rem; }
  .semi-circle { width: 350px; height: 200px; }
  .book { height: 220px; }
  .pencil { height: 180px; left: 35%; }
}

/* Mobile */
@media (max-width: 768px) {
  .herop { font-size: 2rem; }
  .herop2 { font-size: 1rem; margin-bottom: 60px; }
  .semi-circle { width: 250px; height: 150px; margin: 15px auto; }
  .book { height: 160px; top: 60%; }
  .pencil { height: 130px; top: 65%; left: 30%; }
}
/* end */

/* ================== Card Layout ================== */
.card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
  border: 2px solid #42697A;
  border-radius: 12px;
  background: #F5F7F8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Top cell */
.top {
  grid-column: 1 / -1;
  text-align: center;
}
.top h2 {
  margin: 0;
  color: #42697A;
  font-size: 2rem;
}
.top p {
  margin: 8px 0 0;
  color: #668491;
  font-size: 1rem;
}

/* Bottom left */
.bottom-left {
  grid-column: 1;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  padding: 10px;
  text-align: justify;
}

/* Bottom right */
.bottom-right {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bottom-right img {
  max-width: 50%;
  border-radius: 300px;
  object-fit: cover;
}

/* ================== Animations ================== */
.slide-left, .slide-right, .slide-fade {
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.slide-left { transform: translateX(-150px); }
.slide-right { transform: translateX(150px); }
.slide-fade { transform: translateY(40px); }

.slide-left.show { opacity: 1; transform: translateX(0); }
.slide-right.show { opacity: 1; transform: translateX(0); }
.slide-fade.show { opacity: 1; transform: translateY(0); }

/* ================== Responsive ================== */

/* Tablets */
@media (max-width: 1024px) {
  .card {
    max-width: 90%;
    padding: 16px;
  }
  .top h2 { font-size: 1.8rem; }
  .top p { font-size: 0.95rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
  }

  .bottom-left, .bottom-right {
    grid-column: 1 / -1;
  }

  .bottom-right img {
    max-width: 80%;
    margin-top: 20px;
  }

  .top h2 { font-size: 1.5rem; }
  .top p, .bottom-left { font-size: 0.9rem; }
}


/* =========================
   BLOG SECTION
========================= */
.blog-section {
  background: #F5F7F8;
  padding: 70px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #42697A;
  font-weight: 600;
  margin-bottom: 50px;
}

/* Blog Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 420px;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Image Box */
.blog-img {
  background: #eaeaea;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* shows image like your example */
}

/* Blog Content */
.blog-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #171717;
  line-height: 1.4;
  margin-bottom: 10px;
}

.date {
  font-size: 0.9rem;
  color: #42697A;
  margin-bottom: 18px;
}

/* Read More Button */
.read-more {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 18px;
  background: #42697A;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: #2C4A55;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-img {
    height: 160px;
  }

  .blog-card {
    min-height: 400px;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .blog-img {
    height: 150px;
  }

  .blog-content {
    padding: 16px;
  }

  .blog-content h3 {
    font-size: 1rem;
  }

  .read-more {
    font-size: 0.8rem;
    padding: 7px 14px;
  }
}


/* Section Wrapper */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F5F7F8;
  padding: 50px 20px;
}

/* Container */
.contact-container {
  display: flex;
  max-width: 1100px;
  width: 100%;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Left Column */
.contact-info {
  flex: 1;
  background: #42697A;
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px 0 0 10px;
  position: relative;
  overflow: hidden;
}

.contact-info::before,
.contact-info::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.contact-info::before {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -50px;
}

.contact-info::after {
  width: 120px;
  height: 120px;
  bottom: 40px;
  right: 80px;
}

.contact-info * {
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 25px;
  font-size: 14px;
  opacity: 0.9;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.info-item i {
  margin-right: 12px;
  font-size: 18px;
}

.social-icons {
  margin-top: auto;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: white;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #F5F7F8;
}

/* Right Column */
.contact-form {
  flex: 2;
  padding: 40px;
}

form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 12px;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}

.form-group textarea {
  resize: none;
  height: 100px;
}

.full {
  width: 100%;
}

.btn-submit {
  align-self: flex-start;
  background: #42697A;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #2C4A55;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-info {
    border-radius: 10px 10px 0 0;
  }
  .contact-form {
    padding: 30px 20px;
  }
}

/* Smooth Entrance Animations */
.fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1s ease;
}

.fade-in-left {
  transform: translateX(-60px);
}

.show {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.border {
  height: 80px;
  background-color: #42697A;
}
/* footer */
.container{
	max-width: 1170px;
	margin:auto; 
  display: flexbox;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer {
  background-color: #F5F7F8;
  padding: 70px 0 40px; /* extra bottom padding for writer name */
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4 {
  font-size: 18px;
  color: #171717;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #42697A; /* accent underline */
  height: 2px;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  color: #171717;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #42697A; /* hover accent */
  padding-left: 8px;
}

.footer-col .social-icons1 a {
  display: inline-block;
  height: 50px;
  width: 50px;
  background-color: #42697A; /* accent */
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 60px;
  border-radius: 50%;
  color: #ffffff; /* white icons */
  transition: all 0.3s ease;
  font-size: 18px;
}

.footer-col .social-icons1 a:hover {
  color: #42697A;
  background-color: #000;
  border: 1px solid #42697A;
}

/* === Animations === */
.fade-in-up, .fade-in-down {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.fade-in-down {
  transform: translateY(-40px);
}

.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Writer Name Grid */
.footer-writer {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.footer-writer p {
  font-family: 'playfair display', medium italic;
  font-size: 120px;
  color: #42697A;
  text-align: center;
  margin: 0;
  line-height: 1;
}

/* responsive */
@media (max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
  .footer-writer p {
    font-size: 90px; /* scale down on small screens */
  }
}

@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
  .footer-writer p {
    font-size: 60px;
  }
}
/* ===== Hero ===== */
.achievement-hero {
  background: linear-gradient(
      rgba(0,0,0,0.4),
      rgba(0,0,0,0.4)
    ),
    url('images/hero.jpg') center/cover no-repeat;
  height: 70vh;
  position: relative;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.achievement-hero .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(66,105,122,0.25), rgba(0,0,0,0.6));
}
.hero-content {
  position: relative;
  z-index: 2;
  animation: floatText 6s ease-in-out infinite;
}
.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
}
@keyframes floatText {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Main Content ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 20px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}
.content-grid .image {
  display: flex;
  justify-content: center;
}
.content-grid .image img {
  width: 85%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.content-grid .text h2 {
  color: #42697A;
  margin-bottom: 20px;
}
.content-grid .text p {
  line-height: 1.8;
  color: #444;
}
.content-grid blockquote {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #42697A;
  font-style: italic;
  border-left: 4px solid #42697A;
  padding-left: 15px;
}

/* ===== Felicitations ===== */
.felicitations {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 60px 20px;
  background: #F5F7F8;
}
.felicitation-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  width: 280px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.felicitation-card:hover { transform: translateY(-8px); }
.felicitation-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ===== Legacy & Closing ===== */
.legacy {
  background: #42697A;
  color: white;
  text-align: center;
  padding: 70px 20px;
  font-size: 1.3rem;
  line-height: 1.8;
}
.closing {
  text-align: center;
  padding: 70px 20px;
}
.closing h2 {
  color: #42697A;
  margin-bottom: 15px;
}
.closing p { color: #444; }

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .content-grid .image img {
    width: 70%;
  }
}
@media (max-width: 600px) {
  .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
}

/* Post Hero */
.post-hero {
  background: url('images/post-hero.jpg') center/cover no-repeat;
  height: 40vh;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.post-hero .overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.6);
}
.post-hero h1, .post-hero p {
  position: relative;
  z-index: 2;
}

/* Post Content */
.post-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}
.post-content img {
  width: 50%;
  border-radius: 12px;
  margin-bottom: 20px;
  height: 50%;
  align-content: center;
  margin-left: 30%;
}
.post-content h2 {
  margin: 30px 0 15px;
  color: #42697A;
  text-align: justify;
}
.post-content blockquote {
  margin: 30px 0;
  padding: 15px 20px;
  background: #F5F7F8;
  border-left: 5px solid #42697A;
  font-style: italic;
  color: #555;
}
.justify-blog {
    text-align: justify;
  }
/* Hero */
/* ---------- Hero Section ---------- */
.about-hero {
  position: relative;
  background: linear-gradient(135deg,#42697A 0%,#2C4A55 100%), 
              url('images/about-hero.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.about-hero h1,
.about-hero p {
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(40px);
}

/* Floating decorative shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  background: #F5F7F8;
  z-index: 0;
  animation: float 8s ease-in-out infinite alternate;
}
.shape1 { width: 180px; height: 180px; top: 15%; left: 10%; background:#fff; }
.shape2 { width: 220px; height: 220px; bottom: 20%; right: 12%; background:#9fbac4; animation-delay:1s;}
.shape3 { width: 130px; height:130px; bottom: 35%; left: 65%; background:#ffffff; animation-delay:2s;}

@keyframes float {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(45deg); }
}

/* ---------- Bio Section ---------- */
.about-bio {
  padding: 80px 20px;
}
.bio-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}
.bio-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateX(-40px);
}
.bio-text {
  opacity: 0;
  transform: translateX(40px);
}
.bio-text h2 {
  color: #42697A;
  margin-bottom: 20px;
}
.bio-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
}

/* ---------- Achievements ---------- */
.about-achievements {
  background: #F5F7F8;
  padding: 80px 20px;
  text-align: center;
}
.about-achievements h2 {
  margin-bottom: 40px;
  color: #42697A;
  opacity: 0;
  transform: translateY(40px);
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.ach-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(40px);
}
.ach-card:hover { transform: translateY(-10px); }
.ach-card h3 { margin-bottom: 15px; color: #222; }

/* ---------- Vision ---------- */
.about-vision {
  padding: 80px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.about-vision h2 {
  margin-bottom: 20px;
  color: #42697A;
  opacity: 0;
  transform: translateY(40px);
}
.about-vision p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  opacity: 0;
  transform: translateY(40px);
}

/* ---------- Entrance Animation Keyframes ---------- */
@keyframes fadeUp {
  to { opacity:1; transform: translateY(0); }
}
@keyframes fadeLeft {
  to { opacity:1; transform: translateX(0); }
}
@keyframes fadeRight {
  to { opacity:1; transform: translateX(0); }
}

/* Activated classes */
.visible.fade-up    { animation: fadeUp 0.8s ease forwards; }
.visible.fade-left  { animation: fadeLeft 0.8s ease forwards; }
.visible.fade-right { animation: fadeRight 0.8s ease forwards; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .bio-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bio-text {
    padding-top: 30px;
  }
}
/* ===== Get the Book Section ===== */
.get-book {
  padding: 80px 20px;
  background: #F5F7F8;              /* same soft gray as other sections */
  text-align: center;
}

.get-book-header h2 {
  font-size: 2.2rem;
  color: #42697A;                   /* theme accent */
  margin-bottom: 10px;
  font-weight: 600;
}

.get-book-header p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* Grid Layout */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Book Card */
.book-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;                       /* for animation */
  transform: translateY(40px);
}

.book-card img {
  width: 30%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.book-card h3 {
  color: #222;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.book-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Button */
.btn-book {
  display: inline-block;
  padding: 10px 20px;
  background: #42697A;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-book:hover {
  background: #2C4A55;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .get-book-header h2 {
    font-size: 1.8rem;
  }
  .get-book-header p {
    font-size: 1rem;
  }
}

/* Smooth Entrance Animation */
.book-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Hero Section */
    .blog_page_hero {
      position: relative;
      min-height: 60vh;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 20px;
      overflow: hidden;
    }

    canvas#bgCanvas {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .blog_page_hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      padding: 20px;
    }

    .blog_page_hero h1 {
      font-size: 3rem;
      opacity: 0;
      transform: translateY(50px);
      line-height: 1.2;
      color: white;
    }

    .blog_page_hero p {
      margin-top: 15px;
      font-size: 1.2rem;
      opacity: 0;
      transform: translateY(50px);
      color: white;
    }








.gm-wrap {
    --primary: #2e5d73;
    --accent: #ffffff;
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 40px 25px;
  }

  .gm-hero {
    text-align: center;
    margin-bottom: 30px;
  }

  .gm-hero h1 {
    font-size: 36px;
    margin: 0;
    color: var(--primary);
  }

  .gm-hero h2 {
    font-size: 42px;
    margin: 5px 0 15px;
    color: var(--primary);
  }

  .gm-hero p {
    color: #8393a0;
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
  }

  /* ===== SECTION LAYOUT ===== */
  .gm-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }

  .gm-text {
    flex: 1;
    min-width: 300px;
    order: 1; /* text first */
  }

  .gm-photo-col {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2; /* photo second */
  }

  .gm-p {
    font-size: 17px;
    line-height: 1.9;
    color: #303b42;
    text-align: justify;
    margin-bottom: 14px;
  }
   .gm-p1 {
    font-size: 17px;
    line-height: 1.9;
    color: #ffffff;
    text-align: justify;
    margin-bottom: 14px;
  }

  /* ===== CARD & ANIMATION ===== */
  .gm-card {
    background: var(--primary);
    border-radius: 12px;
    padding: 18px 18px 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .gm-content {
    height: 90px;
    overflow: hidden;
    transition: height 1.5s cubic-bezier(.35,0,.25,1);
  }

  .gm-card.open .gm-content {
    height: var(--expanded, auto);
  }

  .btn-toggle {
    display: block;
    margin: 12px auto 6px;
    background: transparent;
    border: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
  }

  .btn-toggle:hover {
    text-decoration: underline;
  }

  /* ===== PHOTO STYLING ===== */
  .gm-photo-wrap {
    position: relative;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gm-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%; /* ✅ Adjusted for perfect face visibility */
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .gm-section {
      flex-direction: column;
      text-align: center;
    }

    .gm-photo-col {
      order: 1; /* photo comes first on mobile */
    }

    .gm-text {
      order: 2; /* text below photo */
      max-width: 700px;
      margin: 0 auto;
    }

    .gm-photo-wrap {
      width: 300px;
      height: 300px;
      margin-bottom: 25px;
    }

    .gm-hero h1 {
      font-size: 32px;
    }

    .gm-hero h2 {
      font-size: 36px;
    }
  }

  @media (max-width: 600px) {
    .gm-wrap {
      padding: 25px 15px;
    }

    .gm-photo-wrap {
      width: 240px;
      height: 240px;
    }

    .gm-hero h1 {
      font-size: 26px;
    }

    .gm-hero h2 {
      font-size: 28px;
    }

    .gm-p {
      font-size: 15px;
    }

    .btn-toggle {
      font-size: 15px;
    }
  }
  
  
