/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Optional: smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

/* Ensure content isn't hidden behind the fixed header */
body { padding-top: var(--header-h, 80px); }

header.sticky {
  top: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #5B2C75;
}

.logo-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: #7c3ea6;
  margin-left: 10px;
  display: inline-block;
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.6rem;
  }

  .logo-sub {
    display: block;
    margin-left: 0;
    font-size: 1rem;
    margin-top: 4px;
    font-weight: 600;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #7c3ea6;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  /* Mobile: make nav a fullscreen overlay */
  .nav-links {
    position: fixed;
    top: var(--header-h, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(242,229,247,0.98), #ffffff);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vh - var(--header-h, 64px));
    padding: 28px 20px;
    display: none;
    box-shadow: none;
    z-index: 10050;
    gap: 18px;
  }
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links li a {
    font-size: 1.25rem;
    padding: 12px 18px;
    display: inline-block;
    color: #3b1a45;
  }

  .menu-toggle {
    display: block;
    color: #5B2C75;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1.6rem;
    z-index: 10100;
  }

  /* Prevent background scroll when menu open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  padding: 40px 5%;
  gap: 20px;

  /* gradient overlay + background image */
  background:
    linear-gradient(135deg, rgba(230,214,242,0.85), rgba(255,255,255,0.85)),
    url("client images/background.jpeg") center/cover no-repeat;

  color: #333;
}

/* Left Content */
.hero-content {
  flex: 1 1 380px;
  max-width: 680px;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: #5B2C75;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #444;
}

/* Button */
.hero-content .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #5B2C75;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.hero-content .btn:hover {
  background: #7c3ea6;
}

/* Right Image */
.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto; /* allow natural scaling */
  max-height: 70vh;
  object-fit: cover;
  /* keep the top of the image visible when cropping occurs */
  object-position: top center;
  border-radius: 10px;
}



/* Booking Modal Styles */
.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow-y: auto;
}

.booking-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-dialog {
  background: white;
  border-radius: 14px;
  padding: 28px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.28s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Custom Scrollbar for Modal */
.modal-dialog::-webkit-scrollbar {
  width: 6px;
}

.modal-dialog::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-dialog::-webkit-scrollbar-thumb {
  background: #6a1b9a;
  border-radius: 10px;
}

/* Close Button */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.modal-close-btn:hover {
  background: #6a1b9a;
  transform: rotate(90deg);
}

.modal-close-btn:hover svg {
  stroke: white;
}

/* Modal Header */
.modal-header {
  margin-bottom: 30px;
  text-align: center;
}

.modal-header h2 {
  color: #1a202c;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.modal-header p {
  color: #718096;
  font-size: 0.95rem;
}

/* Form Styling */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-field label {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #2d3748;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #6a1b9a;
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
}

/* Phone Input with Country Code */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
  border-color: #6a1b9a;
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.1);
}

.country-code {
  background: #f7fafc;
  padding: 12px 14px;
  color: #4a5568;
  font-weight: 600;
  border-right: 2px solid #e2e8f0;
}

.phone-input-wrapper input {
  border: none !important;
  flex: 1;
  padding: 12px 14px;
}

.phone-input-wrapper input:focus {
  box-shadow: none !important;
}

/* Error States */
.form-field input.error,
.form-field select.error,
.form-field textarea.error,
.phone-input-wrapper.error {
  border-color: #fc8181 !important;
  animation: shake 0.3s ease;
}

.field-error {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.field-error.show {
  display: block;
}

/* Valid State */
.form-field input.valid,
.form-field select.valid {
  border-color: #48bb78 !important;
}

/* Character Counter */
.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: #a0aec0;
  margin-top: 4px;
}

/* Submit Button */
.modal-submit-btn {
  background: linear-gradient(135deg, #6a1b9a 0%, #5B2C75 100%);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(106, 27, 154, 0.3);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading .spinner {
  animation: spin 1s linear infinite;
}

/* Terms */
.form-terms {
  text-align: center;
  font-size: 0.8rem;
  color: #718096;
  margin-top: 10px;
}

.form-terms .link {
  color: #6a1b9a;
  text-decoration: underline;
}

/* Success Message */
.booking-success {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.booking-success svg {
  margin-bottom: 20px;
}

.booking-success h3 {
  color: #2d3748;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.booking-success p {
  color: #718096;
  margin-bottom: 25px;
}

.another-booking-btn {
  background: #6a1b9a;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.another-booking-btn:hover {
  background: #5B2C75;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    transform: translateY(30px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 640px) {
  .modal-dialog {
    padding: 30px 20px;
    margin: 20px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
  
  .modal-close-btn {
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
  }
}
/* About section */
.about-section {
  padding: 60px 20px;
  background: #fff;
  color: #222;
}

.about-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Photo column */
.about-photo {
  flex: 0 0 320px;
  height: 430px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #f3f3f3;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text column */
.about-text {
  flex: 1;
  min-width: 0;
}

.about-text h2 {
  color: #5B2C75;
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.about-text .lead {
  font-weight: 600;
  margin-bottom: 14px;
  color: #333;
}

.about-text p {
  margin-bottom: 14px;
  color: #444;
  line-height: 1.6;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: 8px;
}

.about-highlights li {
  position: relative;
  padding-left: 22px;
  color: #333;
  font-weight: 600;
}

.about-highlights li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #5B2C75;
}

/* CTA buttons */
.about-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #5B2C75;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
}

.btn-ghost {
  background: transparent;
  color: #5B2C75;
  border: 2px solid #E6D6F2;
  padding: 8px 16px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 880px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-photo {
    width: 70%;
    height: 420px;
  }

  .about-text {
    padding-top: 18px;
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .about-photo {
    width: 90%;
    height: 360px;
  }

  .about-highlights {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Clients Section */
.clients {
  padding: 40px 16px;
  text-align: center;
}

.clients h2 {
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

/* Layout the logos in rows, wrap on small screens */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px; /* row gap / column gap */
}

/* Consistent logo sizing (mobile-first) */
.client-logos img {
  height: clamp(36px, 9vw, 72px); /* scales with viewport, caps at 72px */
  width: auto;
  max-width: 45vw;               /* prevents super-wide logos on small screens */
  object-fit: contain;
  background: transparent;
  padding: 6px 10px;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

/* Optional per-logo tweaks (adjust as needed) */
.client-logos img.logo-ksv { height: clamp(40px, 10vw, 80px); }

/* Hover (desktop only) */
@media (hover: hover) {
  .client-logos img:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
}
/* Event Section */
.events h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Fixed frame for the slider */
.mySwiper, .swiper {
  width: 100%;
  max-width: 900px;
  height: 360px; /* desktop frame */
  margin: auto;
}

@media (max-width: 768px) {
  .mySwiper, .swiper {
    height: 240px; /* smaller frame on mobile */
  }
}

/* Slide styling */
.mySwiper .swiper-slide, .swiper .swiper-slide {
  border-radius: 12px;
  overflow: hidden;
  background: transparent; /* match your page bg if needed */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Force image to fit inside the frame (no crop) */
.mySwiper .swiper-slide img, .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;     /* show entire image */
  object-position: center; /* center it */
}

/* Keep your hero rule if you have one */
@media (max-width: 768px) {
  .hero-image img {
    object-fit: contain;
    object-position: top center;
    max-height: 50vh;
  }
}


/* Blog Section */
.blog {
  padding: 40px 12px;
  background: #f9f9f9;
}

.blog-posts {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-posts article {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  width: clamp(240px, 32%, 320px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.blog-posts h3 {
  color: #5B2C75;
}

/* Contact Section */
.contact {
  padding: 50px;
  text-align: center;
  background: #5B2C75;
  color: white;
}

/* BLOG PAGE STYLES */
.blog-hero {
  text-align: left;
  padding: 50px 10%;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.blog-hero h1 {
  font-size: clamp(1.6rem, 5.5vw, 42px);
  font-weight: 800;
  margin: 0;
  color: #000;
}

/* Category Buttons */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  padding: 20px 10%;
}

.blog-categories button {
  border: 1.5px solid #6a1b9a;
  background: #fff;
  color: #6a1b9a;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-categories button.active,
.blog-categories button:hover {
  background: #6a1b9a;
  color: #fff;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding: 16px 6%;
  align-items: start;
  transition: filter 0.3s ease;
}

/* Blur effect for background when modal is open */
.blog-grid.blurred {
  filter: blur(5px);
}

/* Blog Card */
.blog-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 18px 18px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* Blog Image */
.blog-card img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Tags and Date */
.blog-card .tag {
  background: #f2e5f7;
  color: #6a1b9a;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 15px;
  display: inline-block;
}

.blog-card .date {
  float: right;
  color: #777;
  font-size: 13px;
}

/* Blog Content */
.blog-card h2 {
  font-size: 20px;
  margin: 12px 0;
  color: #000;
}

.blog-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

/* Read More / Close Buttons */
.read-more,
.close-article {
  background-color: #6a1b9a;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.read-more:hover,
.close-article:hover {
  background-color: #4a116f;
}/* SERVICES SECTION */
.services {
  padding: 80px 20px;
  background: #faf9ff;
  text-align: center;
}

.services h2 {
  color: #5B2C75;
  font-size: 2.4rem;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Category Titles */
.service-category-title {
  color: #5B2C75;
  font-size: 1.6rem;
  margin: 40px auto 20px;
  font-weight: 600;
  text-align: center;
}

/* Card Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual Cards */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(91, 44, 117, 0.15);
}

/* Icons */
.service-card i {
  font-size: 36px;
  color: #5B2C75;
  margin-bottom: 15px;
}

/* Titles and Text */
.service-card h3 {
  color: #5B2C75;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}



/* HIGHLIGHTS SECTION */
.highlights {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.highlights h2 {
  color: #5B2C75;
  font-size: 2rem;
  margin-bottom: 40px;
}

.highlight-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.highlight-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.highlight-card h3 {
  color: #5B2C75;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.highlight-card p {
  color: #333;
  font-weight: 600;
}

/* MODAL STYLES */

/* Modal Overlay */
.article-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.article-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container */
.article-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 950px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-modal-overlay.active .article-modal {
  transform: translateY(0) scale(1);
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10020; /* ensure it's above article images */
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: #6a1b9a;
  transform: rotate(90deg);
}

.modal-close:hover svg {
  color: #fff;
}

.modal-close svg {
  color: #333;
  transition: color 0.3s ease;
}

/* Modal Content */
.modal-content {
  /* Add extra top padding so header and close button never cover content */
  padding: 80px 60px 60px;
  overflow-y: auto;
  flex: 1;
  scroll-behavior: smooth;
  position: relative;
}

/* Loading State */
.modal-loading {
  display: none;
  text-align: center;
  padding: 60px;
}

.modal-loading .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #6a1b9a;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-loading p {
  color: #718096;
  font-size: 16px;
}

/* Custom Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #6a1b9a;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #4a116f;
}

/* Article Content Styling */
.article-hero-image {
  /* Avoid negative margins that overlap the modal header/title.
     Use full-width within the modal content and a bottom margin for spacing. */
  width: 100%;
  margin: 0 0 40px;
  height: 400px;
  object-fit: cover;
}

.article-header {
  margin-bottom: 18px;
  padding: 20px 0 18px;
  border-bottom: 2px solid #e2e8f0;
  background: #fff; /* ensure header contrasts above images */
  position: relative;
  z-index: 5; /* place above the hero image */
}

.article-full-content h2 {
  font-size: 2.5rem;
  color: #000;
  margin: 20px 0;
  line-height: 1.2;
  font-weight: 800;
}

.article-full-content h3 {
  font-size: 1.6rem;
  color: #5B2C75;
  margin: 35px 0 20px;
  font-weight: 700;
}

.article-full-content .tag {
  background: #f2e5f7;
  color: #6a1b9a;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-right: 15px;
}

.article-full-content .date {
  color: #718096;
  font-size: 14px;
  display: inline-block;
}

.article-body {
  color: #2d3748;
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body strong {
  color: #5B2C75;
  font-weight: 700;
}

.article-body br {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .article-modal {
    max-height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }
  
  .article-modal-overlay {
    padding: 0;
  }
  
  .modal-content {
    padding: 50px 25px;
  }
  
  .article-hero-image {
    width: 100%;
    margin: 0 0 20px;
    height: 220px;
  }
  
  .article-full-content h2 {
    font-size: 1.8rem;
  }
  
  .article-full-content h3 {
    font-size: 1.3rem;
  }
  
  .article-body {
    font-size: 1rem;
  }
  
  .modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-hero {
    padding: 30px 5%;
  }
  
  .blog-categories {
    padding: 20px 5%;
  }
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* --- HERO SECTION MOBILE FIX --- */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
  }

  .hero h1, 
  .hero p {
    text-align: center;
    margin: 10px 0;
  }

  .hero img {
    width: 85%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
  }

  .hero button, 
  .hero a {
    width: 80%;
    max-width: 280px;
    font-size: 16px;
    padding: 12px;
    margin-top: 20px;
  }
}
/* --- BLOG GRID FIX --- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  padding: 20px;
}

/* === Welcome Section (Enhanced Version) === */
.welcome-section {
  background: linear-gradient(135deg, #faf7fc 0%, #ffffff 100%);
  text-align: center;
  padding: 110px 20px 90px;
  border-radius: 0 0 70px 70px;
  position: relative;
  overflow: hidden;
}

/* subtle animated background glow */
.welcome-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(123, 62, 166, 0.08) 0%, transparent 70%);
  transform: translateX(-50%);
  animation: floatGlow 10s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes floatGlow {
  from { transform: translate(-50%, -10px); opacity: 0.7; }
  to { transform: translate(-50%, 20px); opacity: 1; }
}

.welcome-section .container {
  position: relative;
  z-index: 2;
}

.welcome-section h2 {
  font-size: 2.8rem;
  color: #5B2C75;
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: 1px;
  animation: fadeInDown 1s ease-out;
}

.welcome-section .intro,
.welcome-section .details {
  max-width: 850px;
  margin: 0 auto 25px;
  line-height: 1.85;
  font-size: 1.15rem;
  animation: fadeInUp 1.3s ease both;
}

.welcome-section .intro {
  color: #333;
  font-weight: 500;
}

.welcome-section .details {
  color: #555;
}

.welcome-section .highlight {
  color: #7c3ea6;
  font-weight: 700;
  position: relative;
}

.welcome-section .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(123, 62, 166, 0.2);
  border-radius: 3px;
}

.welcome-section .name {
  color: #5B2C75;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Button */
.welcome-section .btn {
  background: linear-gradient(135deg, #5B2C75, #7c3ea6);
  color: #fff;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
  box-shadow: 0 6px 20px rgba(123, 62, 166, 0.2);
}

.welcome-section .btn:hover {
  background: #7c3ea6;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(123, 62, 166, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-section {
    padding: 80px 15px 70px;
    border-radius: 0 0 50px 50px;
  }

  .welcome-section h2 {
    font-size: 2.2rem;
  }

  .welcome-section .intro, 
  .welcome-section .details {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}

/* === Vision & Mission Section (Refined & Matching Theme) === */
.vision-section {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #faf7ff 0%, #ffffff 100%);
  overflow: hidden;
}

/* Floating glow background for depth */
.vision-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(123, 62, 166, 0.08), transparent 70%);
  z-index: 0;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from { transform: translateY(-20px); opacity: 0.7; }
  to { transform: translateY(20px); opacity: 1; }
}

/* Heading styling */
.vision-section h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 55px;
  color: #5B2C75;
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.vision-section h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #5B2C75, #7c3ea6);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Layout for cards */
.vision-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Vision & Mission cards */
.vision-text, .mission-text {
  flex: 1 1 400px;
  background: linear-gradient(180deg, #ffffff 0%, #faf6ff 100%);
  padding: 40px 35px;
  border-radius: 15px;
  border: 1px solid #e3d5f9;
  box-shadow: 0 6px 20px rgba(91, 44, 117, 0.08);
  transition: all 0.35s ease;
  animation: fadeInUp 1s ease both;
  position: relative;
  overflow: hidden;
}

/* Soft shimmer on hover */
.vision-text::before, .mission-text::before {
  content: "";
  position: absolute;
  top: 0; left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, rgba(124, 62, 166, 0.08), transparent 60%);
  transform: skewX(-20deg);
  transition: 0.6s;
  opacity: 0;
}
.vision-text:hover::before, .mission-text:hover::before {
  opacity: 1;
  left: 0;
}

.vision-text:hover, .mission-text:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(124, 62, 166, 0.25);
}

/* Titles inside cards */
.vision-text h3, .mission-text h3 {
  color: #7c3ea6;
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
}

.vision-text h3::after, .mission-text h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #d8b5ff;
  margin-top: 6px;
  border-radius: 2px;
}

/* Text */
.vision-text p, .mission-text p {
  color: #333;
  line-height: 1.85;
  font-size: 1.05rem;
  text-align: justify;
  font-weight: 400;
  animation: fadeIn 1.2s ease both;
}

/* Smooth fade animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .vision-section {
    padding: 80px 15px;
  }

  .vision-text, .mission-text {
    padding: 30px 25px;
  }

  .vision-section h2 {
    font-size: 2.2rem;
  }
}

/* --- RESPONSIVE FIX: SERVICES SECTION --- */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 15px;
  }

  .services h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .service-category-title {
    font-size: 1.3rem;
    margin-top: 35px;
  }

  .services-grid {
    grid-template-columns: 1fr; /* ✅ one card per row */
    gap: 20px;
  }

  .service-card {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 25px 15px;
  }

  .service-card i {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}


/* Adjust for smaller screens */
@media (max-width: 768px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
    gap: 15px;
    padding: 10px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}





