/* ============================================================================
   ABOUT PAGE - CSS
   ============================================================================ */

/* ============================================================================
   1. GLOBAL SETTINGS & VARIABLES
   ============================================================================ */
:root {
  /* Spacing System */
  --section-gap: 80px;
  --section-gap-mobile: 60px;
  --section-gap-small: 50px;
  --content-gap: 40px;
  --content-gap-mobile: 30px;
  
  /* Typography System */
  --heading-main: 3.5rem;        /* Main page headings */
  --heading-section: 2.5rem;     /* Section titles */
  --heading-card: 1.4rem;        /* Card/Feature titles */
  --text-large: 1.1rem;          /* Body text */
  --text-regular: 1rem;          /* Regular text */
  --text-small: 0.9rem;          /* Small text */
  
  /* Colors */
  --primary-purple: #55246b;
  --gradient-start: #ab21c1;
  --gradient-end: #3f0e47;
  --text-dark: #3b185f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  background: #fff;
  color: #ab21c1 !important;
}

html {
  scroll-behavior: smooth;
}

/* ============================================================================
   2. NAVBAR SECTION
   ============================================================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
  background: var(--primary-purple) !important;
}

.navbar-brand img {
  border-radius: 50%;
}

.navbar-brand span {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-left: 0.5rem;
}

.nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #FE968E !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ============================================================================
   3. HERO BANNER SECTION
   ============================================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 92px);
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ============================================================================
   4. CONTENT WRAPPER & SECTIONS
   ============================================================================ */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-gap) 2rem;
}

#who-we-are-content {
  padding-block: var(--section-gap) !important;
}

/* Section Base Styles */
.section {
  margin-bottom: var(--section-gap);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Title Styles */
.section-title {
  font-size: var(--heading-section);
  color: #000;
  margin-bottom: var(--content-gap);
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #8a48c1, #c9b3e6);
  border-radius: 2px;
  transition: width 0.8s ease;
}

.section.visible .section-title::after {
  width: 60%;
}

/* Section Text Styles */
.section-text {
  font-size: var(--text-large);
  color: #000;
  margin-bottom: var(--content-gap-mobile);
  line-height: 1.8;
}

/* Gradient Text Elements */
#who-we-are-section,
#who-we-are-title,
#our-story-title,
#our-story-text,
#what-sets-us-title,
#our-commitment-title,
#our-commitment-text {
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* ============================================================================
   5. IMAGE GRID SECTION
   ============================================================================ */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: var(--section-gap);
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(86, 51, 130, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 400px;
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(86, 51, 130, 0.25);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}


.image-card:hover img {
  transform: scale(1.15);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(59, 24, 95, 0.9), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.image-card:hover .image-overlay {
  transform: translateY(0);
}

.image-overlay h4 {
  margin: 0;
  font-size: var(--heading-card);
  font-weight: 600;
}

/* ============================================================================
   6. FEATURES GRID SECTION
   ============================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: var(--section-gap);
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(86, 51, 130, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #8a48c1;
  box-shadow: 0 15px 50px rgba(138, 72, 193, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #8a48c1, #c9b3e6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--content-gap-mobile);
  font-size: 1.8rem;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(360deg);
}

.feature-title {
  font-size: var(--heading-card);
  margin-bottom: var(--content-gap-mobile);
  font-weight: 600;
}

.feature-text {
  font-size: var(--text-regular);
  line-height: 1.7;
}

/* ============================================================================
   7. OUR PHILOSOPHY IMAGE SECTION
   ============================================================================ */
.philosophy-section {
  margin-bottom: var(--section-gap);
}

.full-image-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(86, 51, 130, 0.2);
}

.our-philosophy-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 20s ease-in-out infinite alternate;
  background-image: url("/assets/our-philosophy-image.png");
  background-size: cover;
  background-position: center;
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* ============================================================================
   8. CTA SECTION
   ============================================================================ */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--primary-purple);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--section-gap);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 5s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: var(--heading-section);
  margin-bottom: var(--content-gap);
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--text-large);
  margin-top: var(--content-gap);
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #f0e6f8;
}

/* ============================================================================
   9. FOOTER SECTION
   ============================================================================ */
.footer {
  padding: 40px 60px 10px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInFooter 1.2s ease forwards;
}

/* Footer Icons Row */
.footer-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
  animation: slideUp 1.2s ease-out forwards;
}

.footer-item {
  flex: 1;
  min-width: 200px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 10px;
}

.footer-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(98, 28, 159, 0.1);
}

.footer-item i {
  font-size: 32px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.footer-item:hover i {
  transform: rotate(10deg) scale(1.2);
}

.footer-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #7B188B;
}

.footer-item p {
  font-size: 14px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Footer Content Grid */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  text-align: left;
  animation: fadeInFooter 1.5s ease-in;
}

.footer-about {
  flex: 1.5;
  min-width: 280px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
  width: 100%;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.social-icons a {
  text-decoration: none;
  font-size: 18px;
  margin-right: 15px;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.social-icons a:hover {
  transform: scale(1.2) rotate(10deg);
}

/* WhatsApp Section */
.wp-icon {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.whatsapp-icon {
  font-size: 40px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-decoration: none;
}

.whats-no {
  font-size: 20px !important;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin: 14px 0;
}

.whats-no a {
  text-decoration: none;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: bold;
}

/* Footer Policies */
.footer-policies {
  flex: 1;
  min-width: 180px;
}

.footer-policies h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: #7B188B;
  margin-bottom: 15px;
  position: relative;
}

.footer-policies h4::after,
.footer-contact h4::after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  background: #c19a6b;
  margin-top: 5px;
  border-radius: 2px;
}

.footer-policies ul {
  list-style: none;
  padding-left: 0;
}

.footer-policies ul li {
  margin-bottom: 8px;
}

.footer-policies ul li a {
  text-decoration: none;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 14px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-policies ul li a:hover {
  color: #c19a6b;
  transform: translateX(4px);
}

/* Footer Contact */
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-contact p {
  font-size: 14px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-contact a {
  text-decoration: none;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.footer-contact i {
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #e2d4f4;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 13px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: fadeInFooter 1.5s ease-in;
}

.footer-bottom span {
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 600;
}

/* Footer Animations */
@keyframes fadeInFooter {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   10. RESPONSIVE DESIGN - TABLET LANDSCAPE (1024px and below)
   ============================================================================ */
@media (max-width: 1024px) {
  :root {
    --heading-section: 2.2rem;
    --heading-card: 1.3rem;
  }

  .content-wrapper {
    padding: var(--section-gap-mobile) 2rem;
  }

  .section {
    margin-bottom: var(--section-gap-mobile);
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--section-gap-mobile);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: var(--section-gap-mobile);
  }
}

/* ============================================================================
   11. RESPONSIVE DESIGN - TABLET (768px and below)
   ============================================================================ */
@media (max-width: 992px) {
  .navbar-brand span {
    font-size: 1rem;
  }

  .navbar-nav {
    padding: 1rem 0;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.2rem 0;
  }

  .footer {
    padding: 40px 30px 10px;
  }

  .footer-icons {
    flex-direction: column;
    gap: 25px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-policies {
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  :root {
    --heading-section: 2rem;
    --heading-card: 1.2rem;
    --text-large: 1rem;
    --section-gap: 60px;
    --content-gap: 30px;
  }

  .hero-section {
    height: 100vh;
    min-height: 420px;
  }

  .hero-img {
    object-position: center top;
  }

  .content-wrapper {
    padding: var(--section-gap-mobile) 1.5rem;
  }

  .section {
    margin-bottom: var(--section-gap-mobile);
  }

  .section-title {
    margin-bottom: var(--content-gap);
  }

  .section-text {
    line-height: 1.7;
    margin-bottom: var(--content-gap-mobile);
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: var(--section-gap-mobile);
  }

  .image-card {
    height: 400px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: var(--section-gap-mobile);
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: var(--content-gap-mobile);
  }

  .full-image-section {
    height: 50vh;
    margin-bottom: var(--section-gap-mobile);
    border-radius: 24px;
  }

  .cta-section {
    padding: 4rem 1.5rem;
    border-radius: 24px;
    margin-bottom: var(--section-gap-mobile);
  }

  .cta-title {
    margin-bottom: var(--content-gap);
  }

  .cta-button {
    padding: 1rem 2rem;
    margin-top: var(--content-gap);
  }

  .footer {
    padding: 40px 25px 10px;
  }

  .footer-item {
    width: 100%;
    min-width: auto;
  }

  .footer-item i {
    font-size: 28px;
  }

  .footer-item h4 {
    font-size: 15px;
  }

  .footer-item p {
    font-size: 13px;
  }

  .footer-about {
    min-width: 100%;
  }

  .footer-about p {
    font-size: 16px;
  }

  .social-icons a {
    font-size: 16px;
  }

  .wp-icon {
    justify-content: center;
  }

  .whatsapp-icon {
    font-size: 35px;
  }

  .whats-no {
    font-size: 18px !important;
  }

  .footer-policies,
  .footer-contact {
    width: 100%;
    min-width: 100%;
  }

  .footer-contact p,
  .footer-policies ul li a {
    font-size: 13px;
  }
}

/* ============================================================================
   12. RESPONSIVE DESIGN - MOBILE (480px and below)
   ============================================================================ */
@media (max-width: 480px) {
  :root {
    --heading-section: 1.8rem;
    --heading-card: 1.1rem;
    --text-large: 0.95rem;
    --text-regular: 0.9rem;
    --section-gap: 50px;
    --content-gap: 25px;
    --content-gap-mobile: 20px;
  }

  .hero-section {
    height: 45vh;
    min-height: 480px;
  }

  #who-we-are-section {
    background-color: var(--gradient-end);
  }

  .content-wrapper {
    padding: var(--section-gap-small) 1rem;
  }

  .section {
    margin-bottom: var(--section-gap-small);
  }

  .section-title {
    margin-bottom: var(--content-gap);
  }

  .section-title::after {
    height: 3px;
    bottom: -8px;
  }

  .section-text {
    line-height: 1.6;
    margin-bottom: var(--content-gap);
  }

  .image-grid {
    gap: 1.2rem;
    margin-bottom: var(--section-gap-small);
  }

  .image-card {
    height: 350px;
    border-radius: 24px;
  }

  .image-overlay {
    padding: 1rem;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(59, 24, 95, 0.85), transparent);
  }

  .features-grid {
    gap: 1.2rem;
    margin-bottom: var(--section-gap-small);
  }

  .feature-card {
    padding: 1.5rem 1.2rem;
    border-radius: 24px;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
    margin-bottom: var(--content-gap);
  }

  .feature-title {
    margin-bottom: var(--content-gap-mobile);
  }

  .feature-text {
    line-height: 1.6;
  }

  .full-image-section {
    background-image: url("/assets/our-philosophy-mobile.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 220px !important;
    margin-bottom: var(--section-gap-small);
  }

  .our-philosophy-img {
    display: none;
  }

  .cta-section {
    padding: 3rem 1.2rem;
    border-radius: 24px;
    margin: 0 -0.5rem var(--section-gap-small) -0.5rem;
  }

  .cta-title {
    margin-bottom: var(--content-gap);
  }

  .cta-section p {
    font-size: 1rem !important;
  }

  .cta-button {
    padding: 0.9rem 1.8rem;
    margin-top: var(--content-gap);
  }

  /* Disable hover effects on mobile */
  .image-card:hover,
  .feature-card:hover {
    transform: none;
  }

  .feature-card:hover .feature-icon {
    transform: none;
  }

  .image-card:hover img {
    transform: scale(1);
  }

  .cta-button:hover {
    transform: none;
  }

  .footer {
    padding: 30px 15px 10px;
  }

  .footer-icons {
    gap: 20px;
  }

  .footer-item i {
    font-size: 24px;
  }

  .footer-item h4 {
    font-size: 14px;
  }

  .footer-item p {
    font-size: 12px;
  }

  .footer-about p {
    font-size: 14px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons a {
    font-size: 16px;
    margin-right: 12px;
  }

  .whatsapp-icon {
    font-size: 30px;
  }

  .whats-no {
    font-size: 16px !important;
  }

  .footer-policies h4,
  .footer-contact h4 {
    font-size: 15px;
  }

  .footer-contact p,
  .footer-policies ul li a {
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}

/* ============================================================================
   13. RESPONSIVE DESIGN - SMALL MOBILE (375px and below)
   ============================================================================ */
@media (max-width: 375px) {
  :root {
    --heading-section: 1.6rem;
    --heading-card: 1rem;
    --text-large: 0.9rem;
    --text-regular: 0.85rem;
    --section-gap-small: 40px;
    --content-gap: 20px;
    --content-gap-mobile: 15px;
  }

  .content-wrapper {
    padding: var(--section-gap-small) 0.8rem;
  }

  .section {
    margin-bottom: var(--section-gap-small);
  }

  .image-card {
    height: 350px;
  }

  .feature-card {
    padding: 1.3rem 1rem;
  }

  .full-image-section {
    background-image: url("/assets/our-philosophy-mobile.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 190px !important;
    margin-bottom: var(--section-gap-small);
  }

  .cta-section {
    padding: 2.5rem 1rem;
    margin-bottom: var(--section-gap-small);
  }
}

/* ============================================================================
   14. LANDSCAPE ORIENTATION & TOUCH DEVICE OPTIMIZATIONS
   ============================================================================ */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
  }

  .full-image-section {
    height: 80vh;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .image-card,
  .feature-card,
  .cta-button {
    transition: none;
  }

  .image-card:active {
    transform: scale(0.98);
  }

  .cta-button:active {
    transform: scale(0.95);
  }
}

/* Parallax Effect (disabled on mobile for performance) */
@media (min-width: 769px) {
  .parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}