:root {
  --primary: #00ADEF; /* Official Al-Rasheed Cyan */
  --primary-dark: #0088CC;
  --secondary: #ED1C24; /* Official Al-Rasheed Red */
  --secondary-dark: #C1121C;
  --accent: #FFD700;
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.95);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
  --radius: 10px;
  --grad: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --grad-red: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: clip;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

/* --- Layout --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* --- Components --- */
.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Navigation --- */
.top-bar {
  background: var(--primary);
  color: var(--bg-white);
  padding: 10px 0;
  font-size: 0.85rem;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts {
  display: flex;
  gap: 25px;
}

.top-contacts span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-socials {
  display: flex;
  gap: 15px;
}

/* --- Navigation --- */
.top-bar {
  background: var(--primary);
  color: var(--bg-white);
  padding: 10px 0;
  font-size: 0.85rem;
  overflow: hidden;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contacts {
  display: flex;
  gap: 25px;
}

.top-contacts span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-socials {
  display: flex;
  gap: 15px;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-white);
  border-bottom: 1px solid #EDEDED;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 25px;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-btns .btn {
  white-space: nowrap;
  padding: 12px 20px;
}

/* --- Mobile Overhaul --- */
@media (max-width: 900px) {
  .top-bar { padding: 15px 10px; }
  .top-bar-flex { flex-direction: column; gap: 12px; }
  .top-contacts { flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 0.85rem; }
  .top-contacts span { justify-content: center; }
  .top-socials { justify-content: center; margin-top: 5px; }

  .header { padding: 10px 0; }
  .nav-menu { display: none !important; }
  
  .header-flex {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .nav-btns {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .nav-btns .btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 10px 5px;
    border-radius: 8px;
    text-align: center;
    white-space: normal; /* Handle long text */
    line-height: 1.2;
  }

  .nav-btns .btn i { display: block; font-size: 1.2rem; margin-bottom: 4px; }
  .nav-btns .btn span { display: block !important; font-size: 0.75rem; font-weight: 700; }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    background: #f1f5f9;
    border-radius: 8px;
  }

  .logo img { height: 50px; }
}
/* --- Gallery Stylish Frames --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid #fff;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    perspective: 1000px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, filter 0.6s ease;
    opacity: 0.95;
    transform: scale(1.01);
}

.gallery-item:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 173, 239, 0.4);
    border-color: var(--primary);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.15);
    opacity: 1;
    filter: brightness(1.1) contrast(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 173, 239, 0.8), transparent 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* --- Feedback Premium Styling --- */
.feedback-form-wrapper {
  max-width: 600px;
  margin: 60px auto 0;
  padding: 40px;
  background: white;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  position: relative;
  border: 1px solid rgba(0, 173, 239, 0.1);
  z-index: 1;
}

.feedback-premium-form .form-header {
  text-align: center;
  margin-bottom: 30px;
}

.feedback-premium-form .form-header i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.star-rating i {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star-rating i.active {
  color: var(--accent);
  transform: scale(1.2);
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-inputs input, .form-inputs textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-inputs input:focus, .form-inputs textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.form-inputs textarea {
  height: 120px;
  resize: none;
}

/* Fix Mobile Alignment / Horizontal Scroll */
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.container {
  overflow: hidden;
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

/* --- Hero --- */
.hero {
  background: radial-gradient(circle at top right, #f0f9ff 0%, #ffffff 100%);
  padding: 140px 0 180px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.1;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-details-list {
  list-style: none;
  text-align: left;
  margin-top: 15px;
}

.service-details-list li {
  font-size: 0.9rem;
  padding: 5px 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-details-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.8rem;
}

.collab-note {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 4.2rem;
  line-height: 1.05;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-visual {
  position: relative;
}

.hero-img-container {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-white);
}

.hero-img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img:hover {
  transform: scale(1.03);
}

/* Hexagon Badge */
.hero-badge {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: var(--primary);
  color: var(--bg-white);
  padding: 20px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.hero-badge .number {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.hero-badge .text {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* --- why us / Impact --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.impact-item {
  padding: 30px;
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.impact-item h3 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.impact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- CEO Section --- */
.ceo-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 40px auto;
  max-width: 1000px; /* Professional containment */
  border: 1px solid #EDEDED;
}

.ceo-img-side {
  background: #f1f5f9;
}

.ceo-img-side img {
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: cover;
  object-position: center top; /* Prevent head cut-off */
  display: block;
}

.ceo-text-side {
  padding: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 30px;
  right: 30px;
}

.message-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4B5563;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.ceo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

@media (max-width: 992px) {
  .ceo-card {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

/* --- Doctors --- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.doctor-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.doctor-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.doctor-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.doctor-info .specialty {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.doctor-info .creds {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad);
  opacity: 0;
  transition: 0.3s;
}

.service-card:nth-child(even)::before {
  background: var(--grad-red);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: #f1f5f9;
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 25px;
  transition: 0.3s;
}

.service-card:nth-child(even) .service-icon {
  color: var(--secondary);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
  transform: rotate(10deg);
}

.service-card:nth-child(even):hover .service-icon {
  background: var(--secondary);
}

/* --- Test Finder --- */
.test-finder-container {
  max-width: 800px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  margin-bottom: 40px;
}

.search-box i {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.2rem;
}

.search-box input {
  width: 100%;
  padding: 22px 22px 22px 65px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.test-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  min-height: 100px;
}

.test-result-item {
  background: white;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #f1f5f9;
  transition: 0.3s;
  border-left: 4px solid var(--primary);
}

.test-result-item:nth-child(even) {
  border-left-color: var(--secondary);
}

.test-result-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
  background: var(--bg-light);
}

.test-info h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.test-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.test-price {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
}

.mock-result-text {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  padding: 40px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- FAQ --- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.faq-question {
  padding: 20px 30px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: var(--primary);
  color: var(--bg-white);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 20px 30px;
  max-height: 200px;
  border-top: 1px solid #f1f5f9;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pkg-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pkg-card.popular {
  border-color: var(--primary);
  position: relative;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.pkg-badge {
  background: var(--primary);
  color: white;
  position: absolute;
  top: 15px;
  right: -30px;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: 700;
}

.pkg-header {
  padding: 30px;
  background: #f8fafc;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.pkg-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.pkg-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.pkg-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pkg-body {
  padding: 40px 30px;
  flex: 1;
}

.pkg-list {
  margin-bottom: 30px;
}

.pkg-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.pkg-list i {
  color: #10b981;
}

/* --- Mobile Nav Sidebar --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 2000;
  box-shadow: 10px 0 30px rgba(0,0,0,0.1);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: 0.4s ease-in-out;
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  display: none;
}

.overlay.open {
  display: block;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Modal / Portal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 450px;
  border-radius: 24px;
  position: relative;
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--secondary);
}

.portal-header {
  text-align: center;
  margin-bottom: 35px;
}

.portal-header i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.portal-header h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.portal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.portal-form input {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 1rem;
}

.portal-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- WhatsApp --- */
.whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

/* --- Animations --- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

.reveal-ready .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: Always visible if reveal-ready is not present */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    margin: 0 auto 35px;
  }
  
  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    top: -80px;
  }
  
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pkg-card.popular {
    transform: scale(1);
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-btns .btn-primary {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .pkg-card.popular {
    grid-column: span 1;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Contact Grid Responsiveness */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 992px) {
  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* --- Events Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 173, 239, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- Premium Testimonial Slider --- */
.testimonial-slider-container {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 50px;
}

.testimonial-slider {
  overflow: hidden;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-md);
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 50px;
  text-align: center;
  background: white;
}

.testimonial-card .stars {
  font-size: 1.2rem;
  color: #f59e0b;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 25px;
  position: relative;
}

.testimonial-card p::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: -30px; left: 50%; transform: translateX(-50%);
  font-size: 2.5rem; color: var(--primary); opacity: 0.1;
}

.testimonial-card .client-name {
  display: block; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px;
}

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: white; color: var(--primary); box-shadow: var(--shadow-sm);
  z-index: 10; transition: 0.3s;
}

.slider-btn:hover { background: var(--primary); color: white; }
.prev-btn { left: -10px; }
.next-btn { right: -10px; }

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 25px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary); transform: scale(1.3); }

/* --- Premium Feedback Form --- */
.feedback-form-wrapper {
  max-width: 600px; margin: 60px auto 0;
  background: white; padding: 40px; border-radius: 25px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}

.form-decorative-blob {
  position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
  background: var(--primary); opacity: 0.05; border-radius: 50%;
}

.feedback-premium-form .star-rating { display: flex; justify-content: center; gap: 10px; font-size: 1.8rem; color: #cbd5e1; cursor: pointer; margin-bottom: 25px; }
.star-rating i.active { color: #f59e0b; }

.form-inputs { display: flex; flex-direction: column; gap: 15px; }
.form-inputs input, .form-inputs textarea {
  padding: 15px 20px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: 1rem;
}

/* --- Portal & Lightbox --- */
.portal-form { display: flex; flex-direction: column; gap: 20px; }
.input-group { position: relative; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.input-group input { width: 100%; padding: 15px 15px 15px 45px; border-radius: 10px; border: 1px solid #ddd; }

.lightbox { display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,0.9); padding: 40px; }
.lightbox.active { display: flex; align-items: center; justify-content: center; }
.lightbox-content { max-width: 90%; max-height: 90%; border-radius: 10px; }
.close-lightbox { position: absolute; top: 20px; right: 40px; color: white; font-size: 3rem; cursor: pointer; }

@media (max-width: 768px) {
  .testimonial-slider-container { padding: 0 10px; }
  .testimonial-card { padding: 30px 15px; }
  .slider-btn { display: none; }
}

/* --- Interactive Components --- */
.modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); display: flex; align-items: center;
  justify-content: center; z-index: 2000; opacity: 0; pointer-events: none;
  transition: all 0.4s ease; backdrop-filter: blur(5px);
}
.modal.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: white; padding: 40px; border-radius: 30px;
  max-width: 500px; width: 90%; position: relative;
  transform: translateY(30px); transition: all 0.4s ease;
}
.modal.active .modal-content { transform: translateY(0); }
.close { position: absolute; top: 20px; right: 25px; font-size: 2rem; cursor: pointer; }

/* Lightbox */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.95); z-index: 3000; display: flex;
  align-items: center; justify-content: center; opacity: 0;
  pointer-events: none; transition: 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-content { max-width: 90%; max-height: 80vh; border-radius: 10px; }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: white; font-size: 3rem; cursor: pointer; }

/* Slider */
.testimonial-slider-container { position: relative; margin: 40px 0; }
.testimonial-slider { overflow: hidden; border-radius: 20px; }
.testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-card { min-width: 100%; padding: 30px; text-align: center; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #ccc; cursor: pointer; }
.dot.active { background: var(--primary); width: 25px; border-radius: 10px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: white; border: none; width: 45px; height: 45px; border-radius: 50%; box-shadow: var(--shadow-md); cursor: pointer; z-index: 10; }
.prev-btn { left: -20px; } .next-btn { right: -20px; }

/* Overlay */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; pointer-events: none; transition: 0.3s; }
.overlay.open { opacity: 1; pointer-events: auto; }


/* --- Mobile Navigation Sidebar --- */
.mobile-nav {
  position: fixed; top: 0; right: -300px; width: 300px; height: 100%;
  background: white; z-index: 1000; padding: 40px 30px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; gap: 30px;
}
.mobile-nav.open { right: 0; }
.mobile-nav .logo img { height: 50px; margin-bottom: 20px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav-links a {
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  text-decoration: none; transition: color 0.3s;
}
.mobile-nav-links a:hover { color: var(--primary); }
.mobile-nav-cta { margin-top: auto; padding-top: 20px; border-top: 1px solid #eee; }


/* --- Portal Modal & Result Display --- */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 2000; display: none;
    align-items: center; justify-content: center; backdrop-filter: blur(5px);
}
.modal.active { display: flex; }
.modal-content {
    background: white; width: 95%; max-width: 450px; border-radius: 20px;
    padding: 30px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal .close {
    position: absolute; top: 15px; right: 20px; font-size: 24px;
    cursor: pointer; color: #666; transition: color 0.3s;
}
.modal .close:hover { color: var(--secondary); }
.report-container { background: #f8fafc; padding: 20px; border-radius: 12px; margin-top: 20px; border: 1px solid #e2e8f0; }

