﻿/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
  /* Updated Color Variables for Social Work + Medical */
  --primary-color: #1E90FF;     /* Compassionate Blue */
  --secondary-color: #FF8C00;   /* Warm Orange */
  --accent-color: #90EE90;      /* Soft Green - health */
  --dark-blue: #0047AB;         /* Deep Trust Blue */
  --light-blue: #E6F3FF;
  --dark-orange: #E67E22;
  --light-orange: #FFF2EC;
  --light-green: #E8F5E8;
  --text-dark: #333333;
  --text-light: #666666;
  --text-white: #FFFFFF;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #212529;
  --bg-gradient: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  --shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

html, body {
  min-height: 100vh;
  width: 100vw;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-white);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--dark-orange);
  border-color: var(--dark-orange);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Navigation styles */
#navbar {
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.logo {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

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

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.brand-title {
  font-size: 0.9rem;
  color: var(--text-light);
  display: block;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Adjust main content for left navbar */
body {
  background: var(--bg-white);
  margin-left: 280px;
}

.container {
  max-width: calc(1200px - 280px);
  padding: 2rem;
}

/* Hero section adjustments */
.hero-slider-section {
  margin-left: 0;
  width: 100%;
}

/* Mobile Menu Overlay - Only visible on mobile */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #212529, #343a40);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-brand .logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.mobile-menu-brand-text {
  color: white;
}

.mobile-menu-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
  line-height: 1.2;
}

.mobile-menu-brand-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  line-height: 1.2;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  padding: 20px 0;
}

.mobile-menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-nav li {
  margin: 0;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  background: rgba(255, 140, 0, 0.1);
  color: white;
  border-left-color: var(--secondary-color);
  transform: translateX(5px);
}

.mobile-menu-nav a i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  font-size: 1rem;
  color: var(--secondary-color);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.mobile-menu-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.mobile-menu-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.mobile-menu-contact {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar {
    width: 100%;
    height: auto;
    position: fixed;
    padding: 1rem;
  }

  body {
    margin-left: 0;
    padding-top: 80px;
  }

  .container {
    max-width: 100%;
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .navbar-brand {
    flex-direction: row;
    margin-bottom: 0;
  }

  .logo {
    width: 60px;
    margin-bottom: 0;
    margin-right: 1rem;
  }

  /* Show mobile menu elements only on mobile */
  .mobile-menu-overlay,
  .mobile-menu {
    display: block;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .hamburger span {
    background: white; /* White color for mobile */
  }
}

/* Hero Section */
.hero-slider-section {
  position: relative;
  height: 100vh;
  background: var(--bg-white);
  overflow: hidden;
}

.hero-slider {
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}

.hero-slide-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-slide-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-slide-content h1 {
    font-size: 2.5rem;
  }

  .hero-slide-content p {
    font-size: 1rem;
  }

  .hero-slide {
    padding: 1rem;
  }
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23ffffff" opacity="0.05"/></svg>');
  background-size: 150px;
  opacity: 0.3;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
  position: relative;
  z-index: 2;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 80%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 5px solid var(--text-white);
}

.hero-image::after {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background-color: var(--secondary-color);
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* About Section */
.about {
  background: #ffffff;
  padding: 4rem 1rem; /* Added 1rem left/right padding */
}

.about .container {
  max-width: 1400px; /* Increased from default to use more width */
  padding: 0 1rem; /* Added 1rem padding to match Aarogya section */
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* Reduced from 4rem */
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reduced from 2rem */
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reduced from 2rem */
}

.about-right h3 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-right p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.8;
  font-weight: 400;
}

.credentials {
  background: #ffffff;
  padding: 1.2rem; /* Slightly reduced for smaller cards */
  border-radius: 12px; /* Slightly smaller radius */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* Enhanced shadow */
  border: 1px solid #f0f0f0;
  max-width: 90%; /* Make cards smaller width-wise */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credentials:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.credentials h4 {
  color: #000000;
  font-size: 1.2rem; /* Slightly smaller */
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.credentials ul {
  list-style: none;
  padding: 0;
}

.credentials li {
  color: #333333;
  margin-bottom: 0.6rem; /* Reduced spacing */
  padding-left: 1.2rem;
  position: relative;
  font-weight: 400;
  font-size: 0.95rem; /* Slightly smaller font */
}

.credentials li:before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

.specializations {
  background: #ffffff;
  padding: 1.2rem; /* Slightly reduced for smaller cards */
  border-radius: 12px; /* Slightly smaller radius */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* Enhanced shadow */
  border: 1px solid #f0f0f0;
  max-width: 90%; /* Make cards smaller width-wise */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specializations:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.specializations h4 {
  color: #000000;
  font-size: 1.2rem; /* Slightly smaller */
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.specializations ul {
  list-style: none;
  padding: 0;
}

.specializations li {
  color: #333333;
  margin-bottom: 0.6rem; /* Reduced spacing */
  padding-left: 1.2rem;
  position: relative;
  font-weight: 400;
  font-size: 0.95rem; /* Slightly smaller font */
}

.specializations li:before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

.quote {
  background: #ffffff;
  padding: 1.2rem; /* Slightly reduced for smaller cards */
  border-radius: 12px; /* Slightly smaller radius */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* Enhanced shadow */
  border: 1px solid #f0f0f0;
  text-align: center;
  max-width: 90%; /* Make cards smaller width-wise */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.quote p {
  font-size: 1.1rem; /* Slightly smaller */
  color: #333333;
  line-height: 1.6;
  font-weight: 400;
}

.quote span {
  display: block;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about {
    padding: 3rem 0.5rem; /* Reduced mobile padding */
  }
  
  .about .container {
    padding: 0 0.5rem; /* Reduced mobile padding */
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced from 2rem */
  }

  .about-left, .about-right {
    gap: 1rem; /* Reduced from 1.5rem */
  }

  .about-right h3 {
    font-size: 1.8rem;
  }

  .credentials, .specializations, .quote {
    padding: 1rem; /* Reduced from 1.5rem */
    max-width: 100%; /* Full width on mobile */
  }
  
  .credentials h4, .specializations h4 {
    font-size: 1.1rem;
  }
  
  .credentials li, .specializations li {
    font-size: 0.9rem;
  }
}

/* Mission Section */
.mission {
  background-image: none !important;
  background-color: var(--bg-white) !important;
  padding: 80px 1rem; /* Reduced side padding */
}

.mission::before {
  content: '';
  background: none !important;
}

.mission .container {
  max-width: 1200px;
  padding: 0 1rem; /* Reduced container padding */
}

.mission .section-title {
  color: var(--primary-color) !important;
}

.mission-text p {
  color: var(--text-dark) !important;
  font-weight: 400;
}

.mission-text .quotes-container p {
  color: var(--text-dark) !important;
  font-weight: 500;
}

.mission-text .quotes-container .hindi-quote {
  color: var(--text-light) !important;
  font-weight: 300;
}

.mission-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.mission-text {
  flex: 1;
}

.mission-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Enhanced Quote Cards Design */
.quotes-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.quote-card {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(255, 140, 0, 0.05));
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

.quote-card::after {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: serif;
  font-weight: bold;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 144, 255, 0.15);
  border-color: var(--primary-color);
}

.quote-card p {
  margin: 0;
  position: relative;
  z-index: 2;
}

.quote-card p:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.quote-card .hindi-quote {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.5;
  font-style: normal;
  direction: ltr;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #1a1a1a, #000000);
}

.scroll-to-top.show {
  display: flex;
}

/* Connect with Me Icon */
.connect-with-me {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.connect-with-me:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.connect-with-me.show {
  display: flex;
}

/* Connect Message */
.connect-message {
  position: fixed;
  bottom: 90px;
  right: 90px;
  background: rgba(30, 144, 255, 0.95);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.connect-message::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid rgba(30, 144, 255, 0.95);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.connect-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Pulse animation for connect icon */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(30, 144, 255, 0.6), 0 0 0 10px rgba(30, 144, 255, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  }
}

/* Hide QR code on mobile */
@media (max-width: 768px) {
  .home-qr-connect {
    display: none !important;
  }
  
  .connect-with-me {
    bottom: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .connect-message {
    bottom: 80px;
    right: 75px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .mission {
    padding: 60px 0.5rem; /* Further reduced mobile padding */
  }
  
  .mission .container {
    padding: 0 0.5rem;
  }
  
  .mission-content {
    flex-direction: column;
  }
  
  .quotes-container {
    gap: 20px;
    margin-top: 25px;
  }
  
  .quote-card {
    padding: 20px;
  }
  
  .quote-card p:first-child {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .quote-card .hindi-quote {
    font-size: 0.9rem;
  }
}

/* Impact Section */
.impact {
  background-color: white;
  position: relative;
  z-index: 1;
}

.impact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--light-blue) 25%, transparent 25%, transparent 75%, var(--light-blue) 75%, var(--light-blue)),
  linear-gradient(45deg, var(--light-blue) 25%, transparent 25%, transparent 75%, var(--light-blue) 75%, var(--light-blue));
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.05;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.impact-card {
  background: linear-gradient(145deg, white, var(--light-blue));
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.impact-card {
  opacity: 1;
  transform: none;
}

.impact-card:hover {
  transform: translateY(-10px);
}

.impact-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  background-color: rgba(255, 140, 0, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 15px;
  position: relative;
  z-index: 2;
}

.impact-icon i {
  color: var(--secondary-color);
  font-size: 30px;
}

.impact-card h3 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.impact-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* Gallery Section */
.gallery {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.gallery .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sliding Gallery Styles */
.sliding-gallery {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.gallery-row {
  width: 100%;
}

.gallery-row-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.gallery-row-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.gallery-slider-container {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: white;
  padding: 20px;
}

.gallery-slider {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.gallery-slide-track {
  display: flex;
  height: 100%;
  width: calc(215px * 28); /* Increased width for more images */
  animation: slideLeft 40s linear infinite;
}

.gallery-slide-track:hover {
  animation-play-state: paused;
}

.gallery-slide-item {
  flex: 0 0 200px;
  height: 100%;
  margin-right: 15px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.gallery-slide-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.gallery-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-slide-item:hover img {
  transform: scale(1.1);
}

/* Different animation speeds for top and bottom rows */
#topSlider .gallery-slide-track {
  animation: slideLeft 45s linear infinite;
}

#bottomSlider .gallery-slide-track {
  animation: slideRight 50s linear infinite;
}

/* Keyframe animations for seamless loop */
@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-215px * 14)); /* Move exactly half the width */
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(calc(-215px * 14)); /* Start from half position */
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive adjustments for gallery */
@media (max-width: 1200px) {
  .gallery-slide-item {
    flex: 0 0 180px;
  }
  
  .gallery-slide-track {
    width: calc(180px * 25);
  }
}

@media (max-width: 768px) {
  .sliding-gallery {
    gap: 40px;
  }
  
  .gallery-slider {
    height: 150px;
  }
  
  .gallery-slide-item {
    flex: 0 0 150px;
    margin-right: 10px;
  }
  
  .gallery-slide-track {
    width: calc(150px * 25);
  }
  
  .gallery-row-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .gallery-slider-container {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .gallery-slider {
    height: 120px;
  }
  
  .gallery-slide-item {
    flex: 0 0 120px;
    margin-right: 8px;
  }
  
  .gallery-slide-track {
    width: calc(120px * 25);
  }
  
  .gallery-row-title {
    font-size: 1.3rem;
  }
  
  .sliding-gallery {
    gap: 30px;
  }
}

/* Remove old gallery styles that are no longer needed */
.gallery-section,
.gallery-section-title,
.gallery-grid,
.gallery-item,
.gallery-overlay,
.gallery-content {
  display: none;
}

.gallery::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--accent-color);
  opacity: 0.05;
}

/* Media Section */
.media {
  background-color: #f8f9fa;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  padding: 80px 0;
}

.media::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.video-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover iframe {
  opacity: 1;
}

.video-container:hover .video-placeholder {
  opacity: 0;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  transition: opacity 0.3s ease;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.video-placeholder.has-thumb::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.video-placeholder > * {
  position: relative;
  z-index: 2;
}

.video-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #FF0000;
  z-index: 2;
}

.video-placeholder p {
  z-index: 2;
}

.social-links {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.social-links h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.social-links h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons .social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.social-icon.twitter {
  background-color: rgba(29, 161, 242, 0.8);
}

.social-icon.instagram {
  background: linear-gradient(45deg, rgba(64, 93, 230, 0.8), rgba(88, 81, 219, 0.8), rgba(131, 58, 180, 0.8), rgba(193, 53, 132, 0.8), rgba(225, 48, 108, 0.8), rgba(253, 29, 29, 0.8));
}

.social-icon.facebook {
  background-color: rgba(66, 103, 178, 0.8);
}

.social-icon.youtube {
  background-color: rgba(255, 0, 0, 0.8);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.free-services-section {
  background: #2c2c2c;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.free-services-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  min-height: 600px;
}

.services-vertical-text {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 600px;
}

.services-vertical-text span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 4rem;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 8px;
  text-transform: uppercase;
  opacity: 0.8;
  transform: rotate(180deg);
}

.services-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  gap: 15px;
}

.service-item:hover {
  padding-left: 20px;
  border-bottom-color: #d4af37;
}

.service-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 0;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more-btn {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 110px;
  flex-shrink: 0;
}

.read-more-btn:hover {
  background: #d4af37;
  color: #2c2c2c;
  transform: translateX(5px);
}

/* Service Popup Styles */
.service-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

.popup-content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 600px;
  margin: 5vh auto;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  min-height: 80vh;
  max-height: 90vh;
  overflow-y: auto;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1001;
}

.close-popup:hover {
  color: #d4af37;
}

.popup-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 700;
}

.popup-content p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
}

.popup-content ul {
  color: #333;
  margin: 15px 0;
  padding-left: 20px;
}

.popup-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-layout {
    flex-direction: column;
    gap: 40px;
  }
  
  .services-vertical-text {
    flex: none;
    min-height: auto;
    height: auto;
  }
  
  .services-vertical-text span {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    font-size: 3rem;
    letter-spacing: 4px;
  }
  
  .services-list {
    padding: 20px 0;
  }
}

@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 25px 0;
  }
  
  .service-item h3 {
    font-size: 1.2rem;
  }
  
  .read-more-btn {
    align-self: flex-end;
    min-width: 100px;
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .services-vertical-text span {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .popup-content {
    width: 95%;
    margin: 20px auto;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .service-item h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .services-vertical-text span {
    font-size: 2rem;
  }
  
  .popup-content {
    padding: 25px 15px;
  }
  
  .popup-content h2 {
    font-size: 1.5rem;
  }
}

/* --- FADE-IN ANIMATIONS --- */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(.77,0,.18,1), transform 0.8s cubic-bezier(.77,0,.18,1); }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-left.visible { opacity: 1; transform: none; }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-right.visible { opacity: 1; transform: none; }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.fade-in-up.visible { opacity: 1; transform: none; }
.fade-in-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.8s, transform 0.8s; }
.fade-in-scale.visible { opacity: 1; transform: scale(1); }

/* --- REDESIGNED AAROGYA FOUNDATION SECTION --- */
.aarogya-foundation {
  box-shadow: 0 8px 40px 0 rgba(30, 144, 255, 0.10), 0 1.5px 0 0 var(--secondary-color);
  padding: 100px 1rem 90px 1rem;
  margin: 0px 0 0px 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
  
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%) !important; /* Same as home section */
}

.aarogya-foundation::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: none !important;
  z-index: 1;
  pointer-events: none;
}

.aarogya-foundation .container, 
.aarogya-foundation .section-title, 
.aarogya-foundation .foundation-content, 
.aarogya-foundation .foundation-intro-text, 
.aarogya-foundation .initiatives-grid, 
.aarogya-foundation .impact-stats {
  position: relative;
  z-index: 2;
}

.aarogya-foundation h3,
.aarogya-foundation p,
.aarogya-foundation h4,
.aarogya-foundation .floating-icon,
.aarogya-badge {
  color: var(--text-dark);
}

.aarogya-foundation .section-title {
  color: var(--text-dark);
  text-align: left;
}

.aarogya-foundation .section-title::after {
  display: none;
}

/* New Design Layout */
.foundation-content {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
  min-height: 500px;
}

.foundation-left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 2rem;
}

.foundation-right-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.foundation-header {
  margin-bottom: 30px;
  width: 100%;
}

.foundation-logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 0 20px 0;
}

.foundation-header .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.2;
  font-size: 2.2rem;
  text-align: left;
}

.foundation-intro-text {
  width: 100%;
}

.foundation-intro-text h3 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-align: left;
}

.foundation-intro-text p {
  color: var(--text-dark);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
}

/* New Service Display Area */
.service-display-area {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item-display {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.service-item-display.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.service-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
  border: 3px solid white;
}

.service-icon-large i {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.service-title-large {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-description-large {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 400px;
}

/* Navigation Arrows */
.service-nav-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.service-arrow {
  width: 50px;
  height: 50px;
  background: rgba(30, 144, 255, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.service-arrow:hover {
  background: var(--dark-blue);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.service-arrow.prev {
  left: 20px;
}

.service-arrow.next {
  right: 20px;
}

/* Progress Indicators */
.service-progress-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.service-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.service-dot:hover {
  transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .aarogya-foundation {
    padding: 80px 0.5rem 70px 0.5rem;
  }
  
  .foundation-content {
    flex-direction: column;
    gap: 40px;
    min-height: auto;
  }

  .foundation-left-column,
  .foundation-right-column {
    flex: none;
    width: 100%;
    padding-right: 0;
  }

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

  .foundation-logo {
    width: 120px;
    margin: 0 auto 15px auto;
  }

  .foundation-header .section-title {
    text-align: center;
    font-size: 1.8rem;
  }
  
  .foundation-intro-text {
    text-align: center;
  }
  
  .foundation-intro-text h3 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .foundation-intro-text p {
    font-size: 1rem;
    text-align: center;
  }
  
  .service-display-area {
    max-width: 100%;
    height: 350px;
  }
  
  .service-item-display {
    padding: 30px 20px;
  }
  
  .service-icon-large {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .service-icon-large i {
    font-size: 1.8rem;
  }
  
  .service-title-large {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .service-description-large {
    font-size: 0.95rem;
  }
  
  .service-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .service-nav-arrows {
    padding: 0 15px;
  }
}

.aarogya-foundation .container {
  max-width: none;
  width: 100%;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .aarogya-foundation .container {
    padding: 0 0.5rem;
  }
  
  .foundation-content {
    gap: 30px;
  }
  
  .service-display-area {
    height: 320px;
  }
  
  .service-item-display {
    padding: 25px 15px;
  }
  
  .service-icon-large {
    width: 60px;
    height: 60px;
  }
  
  .service-icon-large i {
    font-size: 1.6rem;
  }
  
  .service-title-large {
    font-size: 1.3rem;
  }
  
  .service-description-large {
    font-size: 0.9rem;
  }
  
  .service-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Additional styles from HTML file */

/* Body and Layout Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--bg-light);
}

.main-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.left-sidebar {
  width: 300px;
  min-width: 300px;
  background-color: #212529;
  color: white;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.main-content-area {
  flex-grow: 1;
  width: calc(100% - 250px);
  overflow-x: hidden;
}

/* Navbar adjustments for left sidebar */
.home-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background-color: #212529;
  color: white;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  transition: transform 0.3s ease;
  transform: translateX(-100%);
}

.home-navbar .navbar-brand {
  flex-direction: row;
  text-align: left;
  margin-bottom: 30px;
  padding-top: 20px;
  gap: 15px;
  margin-left: 0 !important;
}

.home-navbar .navbar-brand .logo {
  width: 100px;
  height: auto;
  margin-left: 0 !important;
}

.home-navbar .navbar-brand .brand-name {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--secondary-color);
}

.home-navbar .navbar-brand .brand-title {
  font-size: 0.8em;
  color: rgba(255,255,255,0.7);
}

.home-navbar .hamburger {
  display: none;
}

.home-navbar .nav-links {
  flex-direction: column;
  width: 100%;
  text-align: left;
  gap: 15px;
  padding: 0;
  display: flex;
}

.home-navbar .nav-links a {
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
  width: 100%;
}

.home-navbar .nav-links a:hover,
.home-navbar .nav-links a.active {
  background-color: var(--secondary-color);
  color: white;
}

/* Home Section Styles */
.home-main-section {
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  box-sizing: border-box;
}

.home-container {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.home-text-content {
  flex: 1.5;
  min-width: 300px;
}

.home-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.home-intro-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.home-qr-connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.qr-code-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.home-qr-connect p {
  font-size: 0.9em;
  color: #666;
}

.home-image-content {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.main-profile-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Stats Section Styles */
.impact-stats-section {
  background: #232323;
  padding: 70px 0 70px 0;
  position: relative;
  width: 100%;
  min-height: 320px;
  z-index: 1;
}

.stats-bg {
  background: none;
  width: 100%;
  height: 100%;
  position: static;
  z-index: 2;
}

.stats-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.stat-card {
  background: #232323;
  border: 2px solid #ff5900;
  border-radius: 18px;
  padding: 40px 32px 32px 32px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(255, 89, 0, 0.2);
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: none;
}

.stat-label {
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: none;
}

/* Gallery Section Styles */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery-item {
  flex: 0 0 33.333%;
  padding: 10px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 1.1em;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.gallery-nav button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  color: #333;
  transition: all 0.3s ease;
}

.gallery-nav button:hover {
  background: var(--secondary-color);
  color: white;
}

/* Footer Styles */
.footer {
  background: #000000;
  color: white;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo .tagline {
  margin-top: 15px;
  padding-left: 10px;
  border-left: 3px solid var(--secondary-color);
  font-style: italic;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: white;
}

.footer-links h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a::before {
  content: '→';
  margin-right: 5px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-social .social-icons {
  justify-content: flex-start;
}

.footer-social .social-icons a {
  color: var(--text-white);
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Hamburger Menu Styles */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  order: 2;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .stat-card {
    min-width: 70vw;
  }
  .gallery-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }
  .left-sidebar {
    width: 100%;
    height: auto;
    position: static;
    padding: 15px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .home-navbar {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #212529;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  .home-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    order: 1;
  }
  .home-navbar .navbar-brand .logo {
    width: 60px;
  }
  .home-navbar .navbar-brand .brand-name {
    font-size: 1.2em;
  }
  .home-navbar .navbar-brand .brand-text {
    text-align: left;
  }
  .home-navbar .navbar-brand .brand-title {
    font-size: 0.8em;
  }
  .home-navbar .hamburger {
    display: flex;
  }
  .home-navbar .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    width: 250px;
    background-color: #212529;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
  }
  .home-navbar .nav-links.active {
    display: flex;
  }
  .home-navbar .nav-links a {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .home-navbar .nav-links a:last-child {
    border-bottom: none;
  }
  .main-content-area {
    width: 100%;
    padding-left: 0 !important;
    padding-top: 60px;
  }
  .home-main-section {
    padding: 15px 20px;
    min-height: auto;
  }
  .home-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .home-text-content, .home-image-content {
    min-width: unset;
    width: 100%;
  }
  .home-title {
    font-size: 2em;
  }
  .home-intro-text {
    font-size: 1em;
  }
  .home-qr-connect {
    align-items: center;
  }
  .gallery-item {
    flex: 0 0 100%;
  }
  .gallery-caption {
    font-size: 1em;
  }
  .footer-content {
    gap: 30px;
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero h2 {
    font-size: 1.4rem;
  }
  
  .impact-cards {
    grid-template-columns: 1fr;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 10px;
  }
  
  section {
    padding: 40px 0;
  }
  
  .footer-content {
    gap: 20px;
    padding: 0 10px;
  }
}

@media (max-width: 600px) {
  .impact-stats-section {
    padding: 60px 0 60px 0;
  }
  .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 8px;
  }
  .stat-card {
    min-width: unset;
    width: 100%;
    padding: 22px 6px 18px 6px;
    margin: 0;
  }
  .stat-number {
    font-size: 2.1em;
    margin-bottom: 8px;
  }
  .stat-label {
    font-size: 1em;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}

/* Desktop specific styles */
@media (min-width: 769px) {
  .home-main-section {
    padding: 40px 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  .home-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .home-text-content {
    padding-right: 40px;
    flex: 1.5;
  }
  .home-image-content {
    padding-left: 40px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-profile-img {
    max-height: 80vh;
    width: auto;
    object-fit: contain;
  }
  .navbar .logo {
    width: 140px;
  }
  
  .home-navbar .navbar-brand .logo {
    width: 100px;
  }
}

/* Main layout adjustments */
.main-layout {
  width: 100%;
  min-height: 100vh;
}

.main-content-area {
  width: 100%;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

/* Add padding to main content only when home section is active */
#home:target ~ .main-layout .main-content-area {
  padding-left: 300px;
}

/* Reviews Section */
.reviews-section {
  background: #f8f9fa;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.reviews-section .designer-bg {
  display: none;
}

.reviews-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-section .section-title {
  color: var(--primary-color);
  margin-bottom: 50px;
}

.reviews-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 300px;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.review-card {
  flex: 0 0 33.333%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  width: 100%;
  position: relative;
}

.review-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: serif;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.stars i {
  color: #ffd700;
  font-size: 1.2rem;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-style: italic;
}

.reviewer-info h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.reviewer-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.prev-review,
.next-review {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.prev-review:hover,
.next-review:hover {
  background: var(--dark-blue);
  transform: scale(1.1);
}

.review-dots {
  display: flex;
  gap: 10px;
}

.review-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Articles Section */
.articles-section {
  background: #f0f0f0;
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.articles-section .designer-bg-articles {
  background: none;
}

.articles-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.articles-hero {
  margin-bottom: 50px;
}

.articles-hero h1 {
  font-size: 4rem;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 8px;
  margin-bottom: 0;
  line-height: 1;
}

.articles-hero h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: -20px 0 30px 0;
  line-height: 1;
}

.articles-cta {
  margin-top: 40px;
}

.read-articles-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.read-articles-btn:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Articles Gallery Popup */
.articles-gallery-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow: hidden;
}

.articles-gallery-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Articles Gallery Image Container */
.articles-gallery-image-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.articles-gallery-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Close Button - Articles Gallery Specific */
.articles-gallery-popup .close-articles-gallery {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  background: rgba(30, 144, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
}

.articles-gallery-popup .close-articles-gallery:hover {
  color: white;
  background: var(--primary-color);
  transform: scale(1.1);
}

/* Navigation Arrows - Articles Gallery Specific */
.articles-gallery-popup .articles-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 144, 255, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.articles-gallery-popup .articles-gallery-nav:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.articles-gallery-popup .articles-gallery-nav.prev {
  left: 30px;
}

.articles-gallery-popup .articles-gallery-nav.next {
  right: 30px;
}

/* Counter - Articles Gallery Specific */
.articles-gallery-popup .articles-gallery-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.1rem;
  background: rgba(30, 144, 255, 0.8);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Mobile Responsive for Articles Gallery */
@media (max-width: 768px) {
  .articles-gallery-popup .close-articles-gallery {
    top: 15px;
    right: 20px;
    font-size: 2rem;
    width: 45px;
    height: 45px;
  }
  
  .articles-gallery-popup .articles-gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .articles-gallery-popup .articles-gallery-nav.prev {
    left: 15px;
  }
  
  .articles-gallery-popup .articles-gallery-nav.next {
    right: 15px;
  }
  
  .articles-gallery-popup .articles-gallery-counter {
    bottom: 20px;
    font-size: 1rem;
    padding: 8px 16px;
  }
  
  .articles-gallery-image-container {
    max-width: 95%;
    max-height: 85%;
  }
}

@media (max-width: 480px) {
  .articles-gallery-popup .close-articles-gallery {
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }
  
  .articles-gallery-popup .articles-gallery-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .articles-gallery-popup .articles-gallery-nav.prev {
    left: 10px;
  }
  
  .articles-gallery-popup .articles-gallery-nav.next {
    right: 10px;
  }
  
  .articles-gallery-popup .articles-gallery-counter {
    bottom: 15px;
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  
  .articles-gallery-image-container {
    max-width: 98%;
    max-height: 80%;
  }
}

/* Remove the old generic responsive rules that were affecting other sections */
/* These old rules are now replaced with specific articles gallery rules above */

/* Mobile Gallery Image Size Increase */
@media (max-width: 768px) {
  .gallery-slider {
    height: 200px;
  }
  
  .gallery-slide-item {
    flex: 0 0 180px;
    margin-right: 10px;
  }
  
  .gallery-slide-track {
    width: calc(195px * 28);
  }
}

@media (max-width: 480px) {
  .gallery-slider {
    height: 160px;
  }
  
  .gallery-slide-item {
    flex: 0 0 150px;
    margin-right: 8px;
  }
  
  .gallery-slide-track {
    width: calc(158px * 28);
  }
}

/* Responsive Design for Reviews and Articles */
@media (max-width: 768px) {
  .reviews-slider {
    height: 350px;
  }
  
  .review-content {
    padding: 30px 20px;
  }
  
  .review-text {
    font-size: 1rem;
  }
  
  .articles-hero h1 {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }
  
  .articles-hero h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin: -10px 0 20px 0;
  }
  
  .read-articles-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .reviews-slider {
    height: 400px;
  }
  
  .review-content {
    padding: 25px 15px;
  }
  
  .articles-hero h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  
  .articles-hero h2 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .read-articles-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Contact Section - Complete Styles */
.contact {
  background: #2c2c2c;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.contact::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: none;
}

.contact .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  min-height: 600px;
}

.contact-vertical-text {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 600px;
}

.contact-vertical-text span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: 8px;
  text-transform: uppercase;
  transform: rotate(180deg);
}

.contact-content {
  flex: 1;
  display: flex;
  gap: 60px;
  padding: 40px 0;
}

.contact-form-section {
  flex: 1;
}

.contact-form-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-section {
  flex: 0 0 300px;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.contact-item.visit-us h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-item.visit-us p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

/* Contact Links Styling - Enhanced for Clickability */
a.contact-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  padding: 12px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 999 !important;
  background: transparent;
}

a.contact-link:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateX(5px) !important;
  text-decoration: none !important;
}

a.contact-link:visited {
  color: rgba(255, 255, 255, 0.8) !important;
}

a.contact-link:active {
  color: white !important;
  transform: translateX(3px) !important;
}

a.contact-link:focus {
  outline: 2px solid white !important;
  outline-offset: 2px !important;
}

a.contact-link i {
  font-size: 1.1rem !important;
  width: 20px !important;
  text-align: center !important;
  pointer-events: none !important;
  flex-shrink: 0;
}

a.phone-link:hover {
  border-color: #2ecc71 !important;
  background: rgba(46, 204, 113, 0.1) !important;
}

a.email-link:hover {
  border-color: #3498db !important;
  background: rgba(52, 152, 219, 0.1) !important;
}

/* Footer Contact Links - Enhanced for Clickability */
a.footer-contact-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: all 0.3s ease !important;
  padding: 12px 8px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 999 !important;
  border-radius: 6px;
  margin: 4px 0;
  background: transparent;
  border: 1px solid transparent;
}

a.footer-contact-link:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px) !important;
  text-decoration: none !important;
  background: rgba(255, 140, 0, 0.1) !important;
  border-color: rgba(255, 140, 0, 0.3) !important;
}

a.footer-contact-link:visited {
  color: rgba(255, 255, 255, 0.7) !important;
}

a.footer-contact-link:active {
  color: var(--secondary-color) !important;
  transform: translateX(3px) !important;
}

a.footer-contact-link:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px !important;
}

a.footer-contact-link i {
  font-size: 1rem !important;
  width: 18px !important;
  text-align: center !important;
  color: var(--secondary-color) !important;
  pointer-events: none !important;
  flex-shrink: 0;
}

/* Ensure all footer elements are properly clickable */
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-details * {
  pointer-events: auto !important;
}

/* Remove any conflicting styles that might block clicks */
.footer,
.footer *,
.contact,
.contact * {
  pointer-events: auto !important;
}

/* Specific override for footer links */
.footer-links a {
  pointer-events: auto !important;
  cursor: pointer !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center;
  padding: 8px 0;
  position: relative;
  z-index: 999;
}

.footer-links a:hover {
  color: white !important;
  transform: translateX(5px) !important;
  text-decoration: none !important;
}

.footer-links a:visited {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links a:active {
  color: white !important;
}

.footer-links a:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px !important;
}

.footer-links a::before {
  content: '→';
  margin-right: 8px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  font-weight: bold;
}

.footer-links a:hover::before {
  transform: translateX(3px);
  color: white;
}

/* Footer Contact Styling */
.footer-contact {
  margin-top: 20px;
}

.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: white;
}

.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 8px 0;
}

.footer-address i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
  color: var(--secondary-color);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Form Status Message */
.form-status {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 20px;
}

/* Modern Contact Form Styles */
.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-row {
  width: 100%;
  margin-bottom: 0;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  transform: none;
}

.form-row input:hover,
.form-row textarea:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

.contact-submit-btn {
  background: linear-gradient(135deg, white, #f0f0f0);
  color: #2c2c2c;
  border: none;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  width: auto;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Remove any conflicting styles */
.contact input,
.contact textarea,
.contact button,
.contact a {
  pointer-events: auto !important;
  user-select: auto !important;
}

/* Responsive Design for Contact Section */
@media (max-width: 992px) {
  .contact-layout {
    flex-direction: column;
    gap: 40px;
  }
  
  .contact-vertical-text {
    flex: none;
    min-height: auto;
    height: auto;
  }
  
  .contact-vertical-text span {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    font-size: 3rem;
    letter-spacing: 4px;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
  }
  
  .contact-info-section {
    flex: none;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
  }
}

@media (max-width: 768px) {
  .contact-content {
    gap: 30px;
  }
  
  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.5rem;
  }
  
  .contact-vertical-text span {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .form-row input,
  .form-row textarea {
    padding: 12px 15px;
  }
  
  .contact-submit-btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  a.contact-link {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contact-vertical-text span {
    font-size: 2rem;
  }
  
  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.3rem;
  }
  
  .contact-layout {
    gap: 30px;
  }
  
  .contact-content {
    gap: 25px;
  }
}