/* ================= GOOGLE FONT ================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

/* ================= ROOT ================= */

:root {
  --primary: #6c4ba3;
  --secondary: #4a2f7a;
  --green: #3fae8b;
  --light-bg: #f4f2fa;
  --text-dark: #222;
  --glass: rgba(255,255,255,0.85);
  --border-soft: rgba(0,0,0,0.06);
}

/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(13px,1vw,16px);
}

body {
  background: linear-gradient(180deg,#f7f5fc,#f1eef8);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadePage .7s ease forwards;
}

/* ================= ANIMATIONS ================= */

@keyframes fadePage {
  from {opacity:0}
  to {opacity:1}
}

@keyframes fadeUp {
  from {opacity:0;transform:translateY(40px)}
  to {opacity:1;transform:translateY(0)}
}

@keyframes pop {
  from {transform:scale(.7);opacity:0}
  to {transform:scale(1);opacity:1}
}

/* ================= CONTAINER ================= */

.container{
  max-width:1300px;
  margin:auto;
  padding:40px 20px;
}

/* ================= TOP BAR ================= */

.top-bar{
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  color:white;
  padding:7px 0;
}

.top-inner{
  max-width:1300px;
  margin:auto;
  padding:0 20px;
  display:flex;
  justify-content:space-between;
}

/* ================= HEADER ================= */

header{
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(12px);
  box-shadow:0 3px 20px rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:1000;
}

.navbar{
  max-width:1300px;
  margin:auto;
  padding:15px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo img{
  height:100px;
}

/* ================= NAV ================= */

nav{
  display:flex;
  gap:25px;
}

nav a{
  text-decoration:none;
  font-weight:600;
  color:var(--primary);
  position:relative;
}

nav a::after{
  content:"";
  height:2px;
  width:0;
  background:linear-gradient(90deg,var(--primary),var(--secondary));
  position:absolute;
  bottom:-3px;
  left:0;
  transition:.3s;
}

nav a:hover::after{
  width:100%;
}

/* ================= HAMBURGER ================= */

.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
}

.hamburger span{
  height:3px;
  width:26px;
  background:var(--primary);
  margin:4px 0;
  border-radius:6px;
}

/* ================= HERO ================= */

.hero{
  min-height:61vh;
  background:url('../images/gallery9.jpg') center/cover;
  display:flex;
  align-items:center;
  position:relative;
  padding:80px 20px;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

.hero-content { 
  max-width: 1200px;
  margin: auto;
  color: white;
  position: relative;
  z-index: 2;
  text-align: center; 
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 5px; 
}

.hero span {
  color: #00c853;
}

.hero p {
  max-width: 1000px;
  margin: 0 0 10px; 
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  line-height: 1.5;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    margin-bottom: 10px;
  }

  .hero p {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 10px;
  }
}

.btn{
  background:var(--primary);
  color:white;
  padding:12px 25px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}

/* ================= LAYOUT ================= */

.layout{
  max-width:1300px;
  margin:-140px auto 50px;
  display:grid;
  grid-template-columns:minmax(300px,380px) 1fr;
  gap:30px;
  padding:0 20px;
  position:relative;
  z-index:5;
}

/* ================= SIDEBAR ================= */
/* LIFT SIDEBAR */
.sidebar {
  margin-top: -25px;   /* adjust between -10px to -60px */
}

/* LIFT SERVICE CARDS SECTION */
.service-cards {
  margin-top: -20px;   /* adjust as needed */
}

/* LIFT ABOUT / PANEL SECTION */
.panel {
  margin-top: -20px;   /* adjust as needed */
}


.sidebar{
  background: var(--glass);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 25px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
  animation: fadeUp 1s ease forwards;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px; /* adjust if needed */
}


.sidebar p{opacity:.9}

.side-btn, .side-btn1 {
  display:block;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:white;
  padding:12px;
  border-radius:12px;
  text-align:center;
  text-decoration:none;
  margin-top:10px;
  font-weight:580;
  transition:.3s;
  transform:translateY(-6px);
}

.side-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(108,75,163,.4);
}

/* ================= MAIN ================= */

.main-content{
  display:flex;
  flex-direction:column;
  gap:2rem;
  animation:fadeUp 1.2s ease forwards;
}

/* ================= SERVICE CARDS ================= */

.service-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:15px;
}

.service-card{
  background:var(--glass);
  padding:22px 15px;
  border-radius:18px;
  text-align:center;
  border:1px solid var(--border-soft);
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  transition:.3s;
}
.service-icon {
  width: 50px;   /* Adjust size */
  height: 50px;  /* Adjust size */
  flex-shrink: 0;
}

.card-icon {
  width: 40px;    /* small size */
  height: 40px;
  object-fit: contain;
}
.sidebar-icon {
  width: 18px;     /* small icon size */
  height: 18px;
  margin-right: 8px; /* space between icon and text */
  vertical-align: middle;
  object-fit: contain; /* keeps PNG proportion */
}
.service-card:hover{
  transform:translateY(-6px);
}

.service-card span{
  display:block;
  margin-top:6px;
  font-weight:700;
  color:var(--primary);
}

/* ================= PANEL ================= */

.panel{
  background:var(--glass);
  padding:2rem;
  border-radius:20px;
  border:1px solid var(--border-soft);
  box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.panel h2{
  color:var(--primary);
  margin-bottom:15px;
}

/* ================= CARDS ================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 25px;
}
/* Make it responsive for smaller screens */
@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on medium screens */
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr; /* 1 per row on small screens */
  }
}

.card{
  background:white;
  padding:25px;
  border-radius:18px;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
  transition:.3s;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.card:hover{
  transform:translateY(-8px);
}

/* ================= FORMS ================= */

.appointment-form,
.modern-form{
  max-width:650px;
  margin:auto;
}

input,select,textarea{
  width:100%;
  padding:12px 15px;
  border-radius:12px;
  border:1px solid #ccc;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--green);
  outline:none;
  box-shadow:0 0 0 3px rgba(63,174,139,.2);
}

button,
.modern-btn{
  background:linear-gradient(45deg,var(--primary),var(--green));
  color:white;
  border:none;
  padding:14px;
  border-radius:30px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

button:hover,
.modern-btn:hover{
  transform:scale(1.05);
}

/* ================= GALLERY ================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 20px;
}

/* Medium screens: 2 per row */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens: 1 per row */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}


.gallery-card{
  background:white;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}


.gallery-card p{
  padding:10px;
  font-weight:600;
  color:var(--primary);
}

/* ================= TEAM ================= */

.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.team-card{
  background:white;
  padding:20px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.team-card img{
  width:160px;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
}

/* ================= WHATSAPP ================= */

.whatsapp-btn{
  position:fixed;
  bottom:25px;
  right:25px;
  width:60px;
  height:60px;
  z-index:1000;
}

/* ================= FOOTER ================= */

.site-footer,
footer{
  background:#f5f5f5;
  border-top:1px solid rgba(148,163,184,.35);
  padding:40px 20px;
}

.footer-inner,
footer{
  max-width:1300px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  flex-wrap:wrap;
}

.footer-left,
.footer-right{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-center{
  flex:1;
  text-align:center;
  color:#666;
}

footer a,
.site-footer a{
  text-decoration:none;
  font-weight:600;
  color:var(--primary);
}

/* ================= SPLASH ================= */

#successSplash{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.splash-box{
  background:white;
  padding:35px;
  border-radius:15px;
  animation:pop .4s ease;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

  .layout{
    grid-template-columns:1fr;
    margin-top:-80px;
  }

  nav{
    position:absolute;
    top:70px;
    right:15px;
    background:white;
    border-radius:15px;
    padding:15px;
    flex-direction:column;
    display:none;
    box-shadow:0 10px 40px rgba(0,0,0,.15);
  }

  nav.active{display:flex}

  .hamburger{display:flex}
}

@media(max-width:768px){

  .footer-inner,
  footer{
    flex-direction:column;
    text-align:center;
  }

  .footer-left,
  .footer-right{
    align-items:center;
  }

  .hero{
    padding:60px 15px;
  }
}

@media(max-width:480px){

  .hero h1{font-size:26px}

  .service-cards{
    grid-template-columns:1fr;
  }
}
.mission-section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* TOP ROW GRID */
.top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* CARD STYLE */
.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 15px;
  color: #333;
}

/* BIGGER ICONS */
.card-icon {
  width: 60px;
  margin-bottom: 15px;
}

/* BULLET LIST */
.styled-list {
  padding-left: 20px;
  line-height: 1.8;
}

.styled-list li {
  margin-bottom: 10px;
}

/* VALUES FULL WIDTH */
.values-card {
  width: 100%;
}

/* VALUES ICON LIST */
.values-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.values-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.values-list li:hover {
  transform: translateX(6px);
}

.values-list img {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.values-list li:hover img {
  transform: scale(1.15);
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .top-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.6rem;
  }

  .card {
    padding: 20px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }
}
/* ================= STORY PAGE ================= */

.story-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, #f7f5fc, #f1eef8);
}

.story-container {
  max-width: 1200px; /* narrower width for readability */
  margin: auto;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  animation: fadeUp 1s ease forwards;
}

/* ================= HEADER ================= */

.story-header {
  text-align: center;
  margin-bottom: 25px;
}

.story-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.story-header h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.story-date {
  color: #666;
  font-size: 0.9rem;
}

.story-image img {
  width: 100%;
  height: 450px;              /* fixed height for consistency */
  border-radius: 12px;
  margin-bottom: 25px;
  object-fit: cover;          /* crops the image to fit the box */
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
@media (max-width: 600px) {
  .story-image img {
    height: auto;             /* remove fixed height */
    aspect-ratio: 1 / 1;      /* perfect square for 1080x1080 */
    object-fit: contain;      /* show full image without cutting */
    background: #f2f2f2;      /* fills empty space if needed */
    border-radius: 10px;
  }
}

.story-image figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
}


/* ================= CONTENT ================= */

.story-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2a2a2a;
  font-weight: 400;
}

.story-content p {
  margin-bottom: 1.6rem;
}

/* Drop cap for first paragraph */
.story-content p:first-of-type::first-letter {
  font-size: 2.5rem;
  font-weight: 700;
  float: left;
  margin-right: 8px;
  color: var(--secondary);
}

/* Highlighted text */
.story-content strong {
  color: var(--primary);
}

/* Blockquotes */
.story-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 15px;
  margin: 20px 0;
  font-style: italic;
  color: #555;
}

/* ================= NAVIGATION ================= */

.story-back {
  text-align: center;
  margin-top: 40px;
}

.back-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background .3s ease, transform .3s ease;
}

.back-btn:hover {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transform: translateY(-3px);
}

/* Optional next/previous navigation */
.story-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.story-nav a {
  background: var(--glass);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  transition: background .3s ease;
}

.story-nav a:hover {
  background: rgba(108,75,163,0.1);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .story-container {
    padding: 25px;
  }

  .story-header h1 {
    font-size: 1.8rem;
  }

  .story-content {
    font-size: 1rem;
    line-height: 1.6;
  }
}
.like-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.comments-section textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.comments-section button {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.comment {
  background: var(--glass);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.share-section {
  margin-top: 30px;
}

.share-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.share-icons img {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.copy-btn {
  background: var(--secondary);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

