* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}
body {
    margin: 0;
    padding-top: 80px; 
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    
}
h1 , h2 , h3 {
    font-family: 'Inknut Antiqua', serif;
    }



:root {
    --text-color: #161616;
    --highlight-color :#710014;
    --primary-color: #f2e8d8;
    --secondary-color :#f2f1ed ;
   
}
/* ===== GLOBAL ANIMATION SYSTEM ===== */

:root {
  --anim-fast: 200ms ease-out;
  --anim-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --anim-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Load Fade */
body {
  animation: pageFade 600ms ease-out;
}

@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.header {
    background: var(--text-color);
    color: var(--secondary-color);
    padding: 1rem 0;
    justify-content: space-between;
    align-items: center; 
}
.section {
    padding: 3rem 0;
    box-sizing: border-box;
    background-color: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
} 

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 100%;
}
.container {
    width: 90%;
    margin: auto;
   
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--secondary-color);
}

/* Hero section  */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.hero-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-1;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}


.hero-content {
    position: relative;
    z-index: 1;
}


.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 700ms ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-content p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}


.hero-content .btn {
    margin-top: 50px;
}


.btn {
    display: inline-flex;
    padding: 0.7rem 1.4rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background: var(--highlight-color);
    color:var(--secondary-color)
}

.primary-btn {
    background: var(--highlight-color);
    color: var(--secondary-color);
}


/* ===== ABOUT SECTION ===== */



.about {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.about-card {
    width: 85%;
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-left {
    width: 50%;
}

.about-left h1 {
    font-size: 38px;
    color: var(--text-color);
    margin-bottom: 10px;
    font-family: 'Inknut Antiqua', serif;
}

.line {
    width: 60px;
    height: 4px;
    background: #710014;
    margin-bottom: 20px;
}

.about-left p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 800ms ease-out 200ms forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


.about-btn {
    display: inline-block;
    background: #710014;
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.about-right {
    width: 45%;
}

.about-right img {
    width: 100%;
}

/* practice Area  */

.practice-area {
    padding: 100px 5%;
    background: var(--secondary-color)
}
.practice-grid  {
    display: grid;
    gap: 1.4rem;
    margin-top: 1rem;
}

.practice-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

}

.practice-card  {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
}

/* contact info  */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #aaa;
    border-radius: 5px;
}
/* footer info  */
.footer {
    background: var(--highlight-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #1a1a1a;
    width: 200px;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
  }

}
/* about info  */
.about p {
    font-size: 1.1rem;
    color: #161616;
    line-height: 1.8;
    padding: 1rem;
   
  opacity: 0;
  animation: fadeIn 800ms ease-out 200ms forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* footer */
.footer {
  background-color: var(--highlight-color); /*  red */
  color: #f1f5f9;
  padding: 60px 8%;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-left {
  flex: 1;
  min-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}



.footer-logo h2 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.footer-slogan {
  margin: 15px 0;
  color: #cbd5e1;
}

.footer-address {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  color: #f1f5f9;
  margin-right: 15px;
  font-size: 18px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: var(--secondary-color); /* var(--secondary-color) hover */
}

.footer-right {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.footer-links h3 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 14px;
  transition: 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--secondary-color);
  font-size: 13px;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}


/* ===== NAVBAR ===== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #1a1a1a;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Left Side */
.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo */
.nav-logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;   /* makes it circular */
    object-fit: cover;
}

/* Brand Name */
.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f5;
    font-family: 'Georgia', serif;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: red;  /* hover */
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: 0.3s ease;
}

.logo-mark {
  width: 45px;
  height: 45px;
  transition: transform 0.4s ease;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

.logo-text span {
  font-size: 11px;
  color: #cbd5e1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hover effect */
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.05);
}

.logo:hover h1 {
  color: var(--highlight-color); /* red */
}

/* Right menu */
.nav-right a {
  margin-left: 30px;
  text-decoration: none;
  color: #e2e8f0;
  font-size: 14px;
  transition: 0.3s ease;
}

.nav-right a:hover {
  color: var(--highlight-color);
}

/* Responsive */
@media (max-width: 768px) {
  .logo-text span {
    display: none;
  }

  .nav-right {
    display: none;
  }
}
/* People section */ 




.dots {
  margin-top: 30px;
}

.dots span {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dots .active-dot {
  background: #5b4bff;
}
/* practice area section */
.practice-btn {
display: inline-block;
    background: #710014;
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    justify-content: center;
}
/* ===== FINAL CONTACT SECTION ===== */

.contact-section {
    background: #f4f1eb;
    padding: 90px 10%;
    text-align: center;
}

.contact-section h2 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: #111;
}

.contact-container {
    max-width: 750px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    text-align: left;
}

.contact-item .icon {
    font-size: 28px;
    min-width: 45px;
}

.contact-text p {
    font-size: 19px;
    color: #111;
    font-weight: 500;
    line-height: 1.7;
}
/* Prevent content hiding under fixed navbar */
body {
    padding-top: 80px;
}
/* people page */


.people-section {
  width: 90%;
  max-width: 1100px;
  padding: 80px 0;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 60px;
  text-align: left;
}

/* GRID */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

/* CARD */
.person-card {
  background: #ffffff;
  padding: 30px 20px;
  width: 240px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.person-card:hover {
  transform: translateY(-8px);
}

/* Avatar circle */
.avatar {
  width: 100px;
  height: 100px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 auto 20px;
}

/* Text */
.role {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: #333;
}

.person-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 5px 0;
}

.position {
  font-size: 13px;
  color: #666;
}

/* Center last card */
.center-card {
  grid-column: 2 / 3;
}

/* our team */
.swiper-section {
  width: 90%;
  max-width: 1200px;
  margin: 100px auto;
  position: relative;
  text-align: center;
}

.swiper {
  overflow: hidden;
}

.swiper-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* CARD */
.card {
  min-width: 33.33%;
  padding: 20px;
  box-sizing: border-box;
}

.card-top {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  height: 160px;
  border-radius: 20px 20px 0 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.card-top img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid var(--secondary-color);
  position: absolute;
  bottom: -60px;
  background: var(--secondary-color);
}

.card-content {
  background: var(--secondary-color);
  padding: 80px 20px 30px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-content h3 {
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.card-content .view-profile-btn {
  background:var(--highlight-color);
  border: none;
  padding: 10px 20px;
  color: var(--primary-color);
  border-radius: 6px;
  cursor: pointer;
}

.card-content .view-profile-btn:hover {
  background: var(--text-color);
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  border: none;
  font-size: 25px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.left { left: -20px; }
.right { right: -20px; }

/* DOTS */
.dots {
  margin-top: 30px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dots .active {
  background: var(--highlight-color);
}

/* RESPONSIVE */
@media(max-width: 900px){
  .card { min-width: 50%; }
}

@media(max-width: 600px){
  .card { min-width: 100%; }
}
/*====  profile pages =====*/
.profile {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
}

.profile-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.profile-left {
  flex: 1;
  min-width: 320px;
}

.profile-label {
  display: inline-block;
  background: #710014;
  padding: 15px 40px;
  border-radius: 40px;
  margin-bottom: 40px;
}

.profile-label h1 {
  font-family: 'Playfair Display', serif;
  color: #f2f1ed;
  font-size: 32px;
  margin: 0;
}

.profile-text p {
  margin-bottom: 18px;
  line-height: 1.7;
}



/* RIGHT SIDE IMAGE */
.profile-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  background: #f2f1ed;
  padding: 20px;
  border-radius: 40px;
  width: 320px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

/* Responsive */
@media(max-width: 900px){
  .profile-container {
    flex-direction: column;
    text-align: center;
  }

  
}
.privacy-policy , .refund-policy , .shipping-policy , .terms-condition, .data-protection {
    width: 90%;
    max-width: 800px;
    margin: 80px auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);

}
.privacy-policy , .refund-policy , .shipping-policy , .terms-condition , .data-protection  {
    font-size: 16px;
    color:var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px ;
    color:var(--secondary-color)-space, pre-line; /* preserves line breaks */
}
.NGO-info h2 ,h3 {
    font-family: 'Inknut Antiqua', serif;
    color: var(--text-color);
    margin-bottom: 15px;
}
.NGO-info {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);

}
.NGO-info  p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 20px;
  color:var(--secondary-color)-space, pre-wrap;
}
.NGO-info , .gallary {
  padding: 80px 2%;
}
.NGO-img {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.NGO-img img {
    width: 100%;
    aspect-ratio: 3 / 4; /* Perfect for portrait */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.NGO-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.about-container {
  padding: 5%;
  margin: auto;
}
