/* ===================================================
   Template: Say Drone Tech
   Theme: Header + Light/Dark Switch
   Author: UMID Infotech
   Project: Say Drone Tech
   Note: This file preserves every property from your source.
         Structure/tidying only; no visual/function loss.
   =================================================== */

/* ================================================
   Light Theme Variables + Base Palette (for quick re-skin)
   ================================================ */
:root {
  /* Base palette */
  --color-primary: #0ea5e9;
  --color-secondary: #7c3aed;
  --color-accent: #38bdf8;
  --color-muted: #6b7280;
  --color-light: #ffffff;
  --color-dark: #0f1724;

  /* Mapped tokens (kept same as original to avoid changes) */
  --bg-color: #ffffff;
  --text-color: #0f1724;
  --text-muted: #6b7280;
  --brand-color: #0ea5e9;
  --accent-color: #7c3aed;
  --header-bg: rgba(255, 255, 255, 0.9);
}

/* ================================================
   Dark Theme Variables (unchanged design)
   ================================================ */
.dark-theme {
  --bg-color: #0b1220;
  --text-color: #e6eef8;
  --text-muted: #9aa8bf;
  --brand-color: #38bdf8;
  --accent-color: #9f7aea;
  --header-bg: rgba(10, 14, 22, 0.9);
}

/* =====================
   Base
   ===================== */
body {
  font-family: "Inter", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
}
.header-spacer { height: 72px; }

/* =====================
   Header
   ===================== */
.top-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
}

/* Ensure offcanvas overlays everything */
.offcanvas {
  z-index: 2000; /* higher than header/sidebar */
  height: 100vh; /* full viewport */
}

/* Make offcanvas-body fill the height */
.offcanvas-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* header, body, footer */
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto; /* scroll if content exceeds */
}
.dark-theme .offcanvas-body a{color: black;}
/* Footer pinned at bottom inside offcanvas */
.offcanvas-footer {
  margin-top: auto;
  padding-bottom: 1rem;
}
.offcanvas-footer i {
  font-size: 22px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1); /* optional background */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   Brand
   ===================== */
.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: linear-gradient(120deg, var(--brand-color), #0b84d6);*/
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-name { font-weight: 700; color: var(--text-color); }
.brand-tagline { font-size: 12px; color: var(--text-muted); }

/* =====================
   Links & Brand Icons
   ===================== */
.nav-link { color: var(--text-color); text-decoration: none; }
.nav-link:hover { color: var(--accent-color); }
.fa-brands { color: var(--text-color); transition: color 0.2s; }
.fa-brands:hover { color: var(--brand-color); }

/* =====================
   Theme toggle switch
   ===================== */
.theme-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}
.theme-toggle input { display: none; }
.theme-toggle .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 999px;
  transition: 0.3s;
}
.theme-toggle .slider::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.theme-toggle input:checked + .slider { background: var(--brand-color); }
.theme-toggle input:checked + .slider::after { transform: translateX(20px); }

/* =============================
   Social Media Icon Classes
   ============================= */

.fs-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end; /* keeps all rows anchored to the right */
}

/* Base row (collapsed size) */
.fs-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;           /* let width be dynamic */
  max-width: 48px;       /* only icon visible initially */
  height: 48px;
  border-radius: 24px 0 0 24px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: max-width 0.3s ease;
  background: #333; /* fallback */
}

/* Icon always visible */
.fs-item i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* Label hidden by default */
.fs-item .fs-label {
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.fs-label{padding-right:10px}
/* Hover: expand only THIS row */
.fs-item:hover {
  max-width: 160px; /* expand width */
}

/* Show label only for hovered row */
.fs-item:hover .fs-label {
  opacity: 1;
}

/* ===== Brand Colors for each row ===== */
.fs-facebook  { background: #1877f2; }
.fs-linkedin  { background: #0a66c2; }
.fs-x         { background: #000000; }
.fs-instagram {
  background: radial-gradient(circle at 30% 107%,
    #feda75 0%, #fa7e1e 25%, #d62976 50%,
    #962fbf 75%, #4f5bd5 100%);
}
.fs-whatsapp  { background: #25d366; }
.fs-support   { background: #0ea5e9; }



/* =============================
   Logo Box (Glassy Effect)
   ============================= */
.logo-box {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  padding: 4px 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* =============================
   Hero Section
   ============================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at top left, #0ea5e9, #0b1220 70%);
  color: #fff;
  padding: 60px 0;
}

/* Text Styling */
.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  animation: fadeInLeft 1s ease forwards;
  color: white;
}
.hero-text{ color: var(--brand-color); }
 .highlight { color: var(--brand-color);Background:white;padding:1px;border:1px solid blue; border-radius:5px;}
.hero-text p {
  margin: 20px 0;
  font-size: 1.2rem;
  max-width: 550px;
  color: #cfd9ff;
  animation: fadeInUp 1.5s ease forwards;
}
.service-hero-p {max-width:90% !important; margin:0px auto !important;}
.hero-buttons { margin-top: 20px; animation: fadeInUp 2s ease forwards; }
.hero-buttons .btn-primary {
  background: linear-gradient(45deg, var(--brand-color), var(--accent-color));
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-buttons .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}
.hero-buttons .btn-outline-light {
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  border: 2px solid #fff;
  color: #fff;
  transition: all 0.3s;
}
.hero-buttons .btn-outline-light:hover { background: #fff; color: #0b1220; }

/* Drone */
.drone-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
  animation: droneFloat 4s ease-in-out infinite, droneMove 12s linear infinite;
}
.drone-img { width: 100%; height: auto; }
.propeller { position: absolute; width: 60px; height: 60px; animation: spin 0.15s linear infinite; }
.propeller-1 { top: 15px; left: 45px; }
.propeller-2 { top: 15px; right: 45px; }
.propeller-3 { bottom: 15px; left: 45px; }
.propeller-4 { bottom: 15px; right: 45px; }

/* Background Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  animation: floatShape 12s infinite ease-in-out;
}
.shape-1 { width: 180px; height: 180px; background: var(--brand-color); top: 20%; left: -80px; }
.shape-2 { width: 120px; height: 120px; background: var(--accent-color); bottom: 10%; right: -60px; animation-delay: 2s; }
.shape-3 { width: 80px; height: 80px; background: #38bdf8; top: 70%; left: 50%; animation-delay: 4s; }

/* =============================
   Animations (as in source; duplicates preserved intentionally)
   ============================= */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes droneFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes droneMove { 0% { transform: translateX(-30px) rotate(0deg); } 50% { transform: translateX(30px) rotate(2deg); } 100% { transform: translateX(-30px) rotate(0deg); } }
@keyframes floatShape { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-40px); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* =============================
   Services Section
   ============================= */
#services {
  padding: 100px 20px;
  background: var(--bg-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#services h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-color);
  position: relative;
}
#services h2::after { content: ""; width: 60px; height: 4px; background: var(--brand-color); display: block; margin: 10px auto 0; border-radius: 2px; }
#services p { font-size: 1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* Service Card */
.service-card {
  background: var(--header-bg);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.3s;
  backdrop-filter: blur(12px);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 120%; height: 120%; top: -10%; left: -10%;
  background: linear-gradient(135deg, var(--brand-color), var(--accent-color));
  transform: rotate(25deg) scale(0);
  opacity: 0.15;
  transition: transform 0.5s ease;
  border-radius: 30%;
}
.service-card:hover::before { transform: rotate(25deg) scale(1); opacity: 0.25; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15); }
.service-card .icon-wrapper {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-color), var(--accent-color));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover .icon-wrapper { transform: scale(1.2) rotate(10deg); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.service-card i { font-size: 30px; color: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; color: var(--text-color); }
.service-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Decorative floating shapes for services */
.service-shape { position: absolute; border-radius: 50%; opacity: 0.1; animation: floatShape 10s ease-in-out infinite; z-index: 0; }
.service-shape.shape-1 { width: 150px; height: 150px; background: var(--brand-color); top: 20%; left: -60px; }
.service-shape.shape-2 { width: 100px; height: 100px; background: var(--accent-color); bottom: 15%; right: -50px; animation-delay: 2s; }
.service-shape.shape-3 { width: 80px; height: 80px; background: #38bdf8; top: 70%; left: 50%; animation-delay: 4s; }

/* Floating animation (variant) */
@keyframes floatShape { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }

/* =============================
   Benefits Section
   ============================= */
#benefits {
  padding: 100px 20px;
  background: radial-gradient(
    circle at top left,
    var(--brand-color),
    #0b1220 70%
  );
  position: relative;
  overflow: hidden;
  color: #fff;
}
#benefits h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 2rem; position: relative; }
#benefits h2::after { content: ""; width: 60px; height: 4px; background: var(--accent-color); display: block; margin-top: 10px; border-radius: 2px; }
.benefits-list { font-size: 1rem; line-height: 1.8; max-width: 550px; }
.benefits-list li { position: relative; margin-bottom: 15px; padding-left: 30px; opacity: 0; transform: translateX(-50px); animation: fadeInRight 0.8s forwards; }
.benefits-list li:nth-child(1) { animation-delay: 0.2s; }
.benefits-list li:nth-child(2) { animation-delay: 0.4s; }
.benefits-list li:nth-child(3) { animation-delay: 0.6s; }
.benefits-list li:nth-child(4) { animation-delay: 0.8s; }
.benefits-list i { color: #00ffb0; font-size: 1.2rem; position: absolute; left: 0; top: 2px; }

/* Image styling */
.benefits-image-wrapper { position: relative; }
.benefits-image-wrapper img { border-radius: 20px; transition: transform 0.5s ease, box-shadow 0.5s ease; }
.benefits-image-wrapper img:hover { transform: scale(1.05) rotate(-1deg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }

/* Decorative floating shapes */
.benefit-shape { position: absolute; border-radius: 50%; opacity: 0.15; animation: floatShape 12s ease-in-out infinite; z-index: 0; }
.benefit-shape.shape-1 { width: 120px; height: 120px; background: var(--brand-color); top: -30px; right: 20%; }
.benefit-shape.shape-2 { width: 80px; height: 80px; background: var(--accent-color); bottom: -20px; left: 10%; animation-delay: 3s; }

/* Floating animation (reused variant) */
@keyframes floatShape { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }

/* Fade in list animation */
@keyframes fadeInRight { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }

/* Responsive adjustments */
@media (max-width: 768px) {
  #benefits h2 { font-size: 2rem; }
  .benefits-list { text-align: center; padding-left: 0; }
  .benefits-list li { padding-left: 0; }
  .benefits-list i { left: -30px; }
}

/* =============================
   About Section
   ============================= */
#about {
  padding: 100px 20px;
  /*background: linear-gradient(135deg, #f0f4f8, #e0e7ff);*/
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.dark-theme #about { background: linear-gradient(135deg, #0a0f1a, #1e2636); color: var(--text-color); }
.about-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; position: relative; animation: fadeInUp 1s ease forwards; }
.about-content h2::after { content: ""; width: 60px; height: 4px; background: var(--brand-color); display: block; margin-top: 10px; border-radius: 2px; }
.about-content p { font-size: 1.05rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 2rem; animation: fadeInUp 1.5s ease forwards; }

/* Cards */
.about-card { background: var(--header-bg); border-radius: 20px; transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.3s; backdrop-filter: blur(12px); cursor: pointer; overflow: hidden; animation: fadeInUp 1.2s ease forwards; }
.about-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
.about-card i { transition: transform 0.3s; }
.about-card:hover i { transform: rotate(15deg) scale(1.2); }

/* Image */
.about-image-wrapper { position: relative; }
.about-img { border-radius: 20px; transition: transform 0.5s ease, box-shadow 0.5s ease; }
.about-img:hover { transform: scale(1.05) rotate(-1deg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }

/* Decorative floating shapes */
.about-shape { position: absolute; border-radius: 50%; opacity: 0.1; animation: floatShape 12s ease-in-out infinite; z-index: 0; }
.about-shape.shape-1 { width: 120px; height: 120px; background: var(--brand-color); top: -30px; left: 10%; }
.about-shape.shape-2 { width: 90px; height: 90px; background: var(--accent-color); bottom: -20px; right: 15%; animation-delay: 3s; }

/* Floating animation (reused) */
@keyframes floatShape { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }

/* Fade in animations (reused) */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* Connecting lines */
.about-lines { position: absolute; top: 0; left: 0; pointer-events: none; overflow: visible; z-index: 0; }
.about-lines line { stroke: var(--brand-color); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0.5; animation: dashMove 2s linear infinite, lineGlow 3s ease-in-out infinite; }
.about-lines .line-2 { animation-delay: 0.5s; stroke: var(--accent-color); }
.about-lines .line-3 { animation-delay: 1s; stroke: #38bdf8; }
.about-lines line::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--brand-color); border-radius: 50%; animation: sparkMove 2s linear infinite; }

@keyframes dashMove { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 10; } }
@keyframes lineGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.7; } }
@keyframes sparkMove { 0% { transform: translate(0, 0) scale(0.5); opacity: 0.7; } 50% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(0, 0) scale(0.5); opacity: 0.7; } }
.dark-theme .about-lines line { stroke: var(--accent-color); }

/* =============================
   Contact Section
   ============================= */
#contact {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f5f7fa, #e0e7ff);
  position: relative;
  overflow: hidden;
  border-radius: 50px 50px 0 0;
  z-index: 1;
  transition: background 0.3s;
}
.dark-theme #contact { background: linear-gradient(135deg, #0a0f1a, #1e2636); color: var(--text-color); }
.contact-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; position: relative; animation: fadeInUp 1s ease forwards; }
.contact-title::after { content: ""; width: 60px; height: 4px; background: var(--brand-color); display: block; margin: 10px auto 0; border-radius: 2px; }
.contact-subtitle { font-size: 1rem; color: var(--text-muted); animation: fadeInUp 1.5s ease forwards; }

/* Contact Cards */
.contact-card { background: var(--header-bg); backdrop-filter: blur(15px); border-radius: 20px; padding: 30px 20px; text-align: center; transition: transform 0.5s, box-shadow 0.5s; position: relative; overflow: hidden; }
.contact-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); }

/* Contact Icons */
.contact-icon { font-size: 40px; color: var(--brand-color); margin-bottom: 15px; display: inline-block; transition: transform 0.3s, color 0.3s; }
.contact-card:hover .contact-icon { transform: rotate(15deg) scale(1.2); color: var(--accent-color); }

/* Contact Card Title */
.contact-card h5 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--text-color); }
/* Contact Card Text */
.contact-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Gradient Button */
.btn-gradient { background: linear-gradient(45deg, var(--brand-color), var(--accent-color)); color: #fff; border-radius: 999px; padding: 14px 35px; font-weight: 600; transition: transform 0.3s, box-shadow 0.3s; }
.btn-gradient:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(14, 165, 233, 0.4); }

/* Floating Shapes */
.contact-shape { position: absolute; border-radius: 50%; opacity: 0.1; animation: floatShape 12s ease-in-out infinite; z-index: 0; }
.contact-shape.shape-1 { width: 140px; height: 140px; background: var(--brand-color); top: -40px; left: -50px; }
.contact-shape.shape-2 { width: 100px; height: 100px; background: var(--accent-color); top: 30%; right: -40px; animation-delay: 2s; }
.contact-shape.shape-3 { width: 80px; height: 80px; background: #38bdf8; bottom: -30px; left: 50%; animation-delay: 4s; }

/* Floating Animation (contact variant) */
@keyframes floatShape { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-25px); } }

/* =============================
   Footer Design
   ============================= */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-color), var(--accent-color)); color: #fff; border-radius: 40px 40px 0 0; z-index: 2; }
.dark-theme .site-footer { background: linear-gradient(135deg, #0a0f1a, #1e2636); color: var(--text-color); }
.footer-wrapper { position: relative; z-index: 1; }
.footer-shape { position: absolute; border-radius: 50%; opacity: 0.15; animation: floatShape 10s ease-in-out infinite; z-index: 0; }
.footer-shape.shape-1 { width: 150px; height: 150px; background: #38bdf8; top: -50px; left: -60px; }
.footer-shape.shape-2 { width: 120px; height: 120px; background: #9f7aea; bottom: -40px; right: -60px; animation-delay: 3s; }
.footer-shape.shape-3 { width: 90px; height: 90px; background: var(--brand-color); top: 30%; right: 20%; animation-delay: 6s; }
.footer-title { font-weight: 700; margin-bottom: 15px; position: relative; }
.footer-title::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 8px; background: #fff; border-radius: 2px; }
.dark-theme .footer-title::after { background: var(--brand-color); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #fff; text-decoration: none; transition: color 0.3s, transform 0.2s; }
.footer-links a:hover { color: #ffe082; transform: translateX(5px); }
.dark-theme .footer-links a { color: var(--text-color); }
.dark-theme .footer-links a:hover { color: var(--brand-color); }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); font-size: 18px; transition: all 0.3s ease; }
.social-link:hover { background: #fff; color: var(--brand-color); transform: scale(1.1) rotate(10deg); }
.footer-divider { border-top: 1px solid rgba(255, 255, 255, 0.3); margin-top: 30px; margin-bottom: 20px; }
.dark-theme .footer-divider { border-color: rgba(255, 255, 255, 0.1); }

/* =============================
   Photo Composite Section
   ============================= */
.photo-composite-section { position: relative; overflow: hidden; }
.composite-title { font-size: 2rem; font-weight: bold; margin-bottom: 1rem; }
.composite-text { font-size: 1.1rem; line-height: 1.6; }
.composite-wrapper { position: relative; width: 100%; height: 0; padding-bottom: 60%; }
.img-holder { position: absolute; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); transition: transform 0.4s ease, z-index 0.3s ease; }
.img-holder img { width: 100%; height: 100%; object-fit: cover; }
.img-main { top: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 50%; z-index: 3; }
.img-side { width: 50%; height: 50%; z-index: 1; }
.img-left { bottom: 0; left: 0; top: 20%; transform: translate(1%, 20%); z-index: 1; }
.img-right { bottom: 0; right: 0; top: 30%; transform: translate(-10%, 10%); z-index: 1; }
.img-side:hover { transform: scale(1.1) translate(0, -5%); z-index: 5; outline: 4px solid #ff7f50; outline-offset: 10px; }
.img-main:hover { transform: scale(1.1) translateX(-50%); z-index: 4; outline: 4px solid #ff7f50; outline-offset: 10px; }

/* for animation and extra look for photo showcase starts */
.photo-shape { position: absolute; border-radius: 50%; opacity: 0.1; animation: floatShape 12s ease-in-out infinite; z-index: 0; }
.photo-shape.shape-1 { width: 120px; height: 120px; background: var(--brand-color); top: -50px; left: -50px; animation-delay: 0s; }
.photo-shape.shape-2 { width: 80px; height: 80px; background: var(--accent-color); top: 20%; right: -40px; animation-delay: 2s; }
.photo-shape.shape-3 { width: 100px; height: 100px; background: var(--text-muted); bottom: -30px; left: 50%; animation-delay: 4s; }
.photo-shape.shape-4 { width: 60px; height: 60px; background: var(--brand-color); top: 40%; left: 30%; animation-delay: 6s; }
.photo-shape.shape-5 { width: 90px; height: 90px; background: var(--accent-color); bottom: 20%; right: 20%; animation-delay: 8s; }

/* Floating animation keyframes (photo showcase variant) */
@keyframes floatShape { 0% { transform: translateY(0px) rotate(0deg); opacity: 0.1; } 25% { transform: translateY(-15px) rotate(20deg); opacity: 0.15; } 50% { transform: translateY(0px) rotate(40deg); opacity: 0.1; } 75% { transform: translateY(15px) rotate(60deg); opacity: 0.15; } 100% { transform: translateY(0px) rotate(360deg); opacity: 0.1; } }
.dark-theme .photo-shape.shape-1,
.dark-theme .photo-shape.shape-4 { background: var(--accent-color); }
.dark-theme .photo-shape.shape-2,
.dark-theme .photo-shape.shape-5 { background: var(--brand-color); }
.dark-theme .photo-shape.shape-3 { background: var(--text-muted); }
/* for animation and extra look for photo showcase ends */

/* ============================
   Drone Enquiry Section
============================ */
.enquiry-section { background: var(--bg-color); color: var(--text-color); position: relative; overflow: hidden; z-index: 1; }
.enquiry-bg { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.35; animation: floatAnim 12s infinite ease-in-out; }
.bubble-1 { width: 220px; height: 220px; background: var(--brand-color); top: 10%; left: 5%; animation-delay: 0s; }
.bubble-2 { width: 180px; height: 180px; background: var(--accent-color); bottom: 10%; right: 10%; animation-delay: 2s; }
.bubble-3 { width: 150px; height: 150px; background: var(--brand-color); top: 70%; left: 40%; animation-delay: 4s; }
.glow-orbit { position: absolute; top: 30%; left: 60%; width: 400px; height: 400px; border: 2px solid var(--accent-color); border-radius: 50%; opacity: 0.2; animation: orbitGlow 10s linear infinite; }
@keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-40px); } }
@keyframes orbitGlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.enquiry-title { color: var(--text-color); font-weight: 800; }
.enquiry-subtitle { color: var(--text-muted); max-width: 650px; margin: 0 auto; }
.enquiry-info p { color: var(--text-muted); }
.enquiry-info ul li { color: var(--text-color); margin-bottom: 8px; }
.drone-side-img { width: 80%; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3)); transition: transform 3s ease-in-out; animation: droneFloat 6s ease-in-out infinite; }
@keyframes droneFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.enquiry-card { background: var(--bg-color); border-radius: 16px; color: var(--text-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.enquiry-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.form-control, .form-select { background: var(--bg-color); color: var(--text-color); border: 1px solid var(--text-muted); border-radius: 8px; }
.form-control:focus, .form-select:focus { border-color: var(--brand-color); box-shadow: 0 0 8px rgba(14, 165, 233, 0.3); outline: none; }
.btn-gradient { background: linear-gradient(45deg, var(--brand-color), var(--accent-color)); border: none; border-radius: 999px; color: #fff; font-weight: 600; transition: all 0.3s ease; }
.btn-gradient:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4); }

/* =======Course page css ===== */
/* ===== Hero Recommended (linear style) ===== */
.hero-recommended{padding:20px;}
.recommended-heading{position:relative;display:inline-block;font-size:1.6rem;font-weight:800;}
.recommended-heading .underline{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:60%;height:4px;background:linear-gradient(90deg,var(--color-primary),var(--color-secondary));border-radius:2px;}
.recommended-courses{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;justify-content:center;}
.course-card-mini{background:linear-gradient(135deg,var(--bg-color),rgba(0,0,0,0.04));text-align:center;border-radius:12px;padding:10px;box-shadow:0 2px 10px rgba(0,0,0,0.06);transition:transform .3s ease,box-shadow .3s ease;}
.course-card-mini img{width:100%;max-height:120px;object-fit:cover;border-radius:10px;}
.course-card-mini h6{margin-top:10px;font-size:.95rem;}
.course-card-mini:hover{transform:translateY(-5px);box-shadow:0 8px 24px rgba(0,0,0,0.12);}

/* Dark theme alignment */
.dark-theme .course-card-mini{background:linear-gradient(135deg,#0a0f1a,#1e2636);color:var(--text-color);}
.dark-theme .recommended-heading .underline{background:linear-gradient(90deg,var(--brand-color),var(--accent-color));}
/* ===== All Courses Section ===== */
#all-courses{background:linear-gradient(135deg,var(--bg-color),rgba(0,0,0,0.02));color:var(--text-color);}
.dark-theme #all-courses{background:linear-gradient(135deg,#0a0f1a,#1e2636);color:var(--text-color);}
.all-courses-heading{position:relative;display:inline-block;font-size:2rem;font-weight:800;}
.all-courses-heading .underline{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:60%;height:4px;background:linear-gradient(90deg,var(--brand-color),var(--accent-color));border-radius:2px;}
.course-card{background:linear-gradient(135deg,var(--bg-color),var(--header-bg));border-radius:12px;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column;}
.course-card:hover{transform:translateY(-5px);box-shadow:0 8px 24px rgba(0,0,0,0.12);}
.course-card img{width:100%;height:200px;object-fit:cover;}
.course-card h5{font-size:1.1rem;margin-top:10px;}
.dark-theme .course-card{background:linear-gradient(135deg,#0a0f1a,#1e2636);}
/* ===== RPC Section ===== */
#rpc-course{background:linear-gradient(135deg,var(--bg-color),rgba(0,0,0,0.02));color:var(--text-color);}
.dark-theme #rpc-course{background:linear-gradient(135deg,#0a0f1a,#1e2636);color:var(--text-color);}
.rpc-heading{font-size:2.2rem;font-weight:800;}
.rpc-intro{font-size:1.1rem;line-height:1.7;color:var(--text-muted);}
.highlight-text{color:var(--brand-color);font-weight:600;}
.icon-list{list-style:none;padding:0;margin:0;}
.icon-list li{margin-bottom:.75rem;font-size:1rem;color:var(--text-color);display:flex;align-items:center;}
.icon-list i{color:var(--brand-color);margin-right:.5rem;font-size:1.1rem;}
.highlight-text-course{color:#ffda14 !important;font-weight:600;}
.hero-heading-course{font-size:2.6rem !important}


/*blog category page*/
/* ====== blog page css starts ======== */

/* Hero Section */
.blog-hero-section {
  background: radial-gradient(circle at top left, #0ea5e9, #0b1220 70%);
  min-height: 60vh;
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  color: #fff;
}
.blog-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
}
.dark-theme .blog-hero-section {
  background: radial-gradient(circle at top left, #0ea5e9, #0b1220 70%);
  color: #fff;
}

/* Floating shapes */
.blog-hero-section .floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatShape 10s ease-in-out infinite;
}
.blog-hero-section .shape-1 {
  width: 120px; height: 120px;
  background: var(--brand-color);
  top: 15%; left: 10%;
}
.blog-hero-section .shape-2 {
  width: 80px; height: 80px;
  background: var(--accent-color);
  bottom: 20%; right: 15%;
  animation-delay: 3s;
}
.blog-hero-section .shape-3 {
  width: 100px; height: 100px;
  background: #38bdf8;
  top: 50%; left: 50%;
  animation-delay: 5s;
}

/* Image Section */
.blog-image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Description */
.blog-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}
.dark-theme .blog-description {
  color: var(--text-color);
}

/* ===================================================
   Base Styling (Global + Components)
   =================================================== */

/* ======service page css starts ======== */
/* Hero Section */
.service-hero-section {
  background: radial-gradient(circle at top left, #0ea5e9, #0b1220 70%);
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 20px;
}
.service-hero-section .highlight {
  color: var(--brand-color);
}
.service-hero-section .floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatShape 10s ease-in-out infinite;
}
.service-hero-section .shape-1 {
  width: 120px;
  height: 120px;
  background: var(--brand-color);
  top: 20%;
  left: 5%;
}
.service-hero-section .shape-2 {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}
.service-hero-section .shape-3 {
  width: 100px;
  height: 100px;
  background: #38bdf8;
  bottom: 10%;
  left: 45%;
  animation-delay: 4s;
}
.service-hero-section .shape-4 {
  width: 150px;
  height: 150px;
  background: var(--accent-color);
  bottom: -30px;
  right: -40px;
  animation-delay: 6s;
}

/* About Section */
#about-service {
  background: linear-gradient(135deg, #f5f7fa, #e0e7ff);
  border-radius: 50px 50px 0 0;
  overflow: hidden;
  transition: background 0.3s;
}
.dark-theme #about-service {
  background: linear-gradient(135deg, #0a0f1a, #1e2636);
  color: var(--text-color);
}
.about-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 10s ease-in-out infinite;
}
.about-shape.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--brand-color);
  top: 10%;
  left: -40px;
}
.about-shape.shape-2 {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  bottom: 10%;
  right: -40px;
  animation-delay: 3s;
}

/* Service Cards */
#our-services {
  background: var(--bg-color);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}
.service-card-page {
  background: var(--header-bg);
  transition: transform 0.4s, box-shadow 0.4s;
}
.service-card-page:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.service-card-page img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}
.service-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 12s ease-in-out infinite;
  z-index: 0;
}
.service-shape.shape-1 {
  width: 120px;
  height: 120px;
  background: var(--brand-color);
  top: -40px;
  left: -30px;
}
.service-shape.shape-2 {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  bottom: -20px;
  right: 40px;
  animation-delay: 2s;
}
.service-shape.shape-3 {
  width: 100px;
  height: 100px;
  background: #38bdf8;
  top: 30%;
  right: 10%;
  animation-delay: 4s;
}

/* Floating Animation */
@keyframes floatShape {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-25px); }
}
/* ======service page css ends ======== */

/* enroll page css starts */
.enroll-section {
  background: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  padding: 80px 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.enroll-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
}
.enroll-section .section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}
.enroll-card {
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.dark-theme .enroll-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.enroll-card .form-label {
  font-weight: 600;
  color: var(--text-color);
}
.enroll-card .form-control,
.enroll-card .form-select {
  background: var(--bg-color);
  color: var(--text-color);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  transition: border 0.3s, box-shadow 0.3s;
}
.enroll-card .form-control:focus,
.enroll-card .form-select:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
  outline: none;
}
.dark-theme .form-control,
.dark-theme .form-select {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}
.enroll-card .input-group-text {
  background: var(--brand-color);
  color: #fff;
  border: none;
  font-weight: 600;
}
.enroll-card .form-check-label {
  color: var(--text-color);
  font-weight: 500;
}
.enroll-card .form-check-input:checked {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}
.enroll-card .btn-primary {
  background: linear-gradient(45deg, var(--brand-color), var(--accent-color));
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 600;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}
.enroll-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
}
.enroll-card .btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-muted);
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.enroll-card .btn-secondary:hover {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
}
.enroll-divider {
  height: 1px;
  background: rgba(100, 116, 139, 0.2);
  margin: 25px 0;
}
.dark-theme .enroll-divider {
  background: rgba(255, 255, 255, 0.1);
}
.enroll-card,
.form-control,
.btn {
  transition: all 0.3s ease;
}
/* enroll page css ends */

/* =============================
   GALLERY PAGE STYLING STARTS
============================= */
.gallery-hero-section {
  background: radial-gradient(circle at 20% 30%, var(--brand-color), var(--accent-color), #0b1220 80%);
  min-height: 85vh;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 120px 20px;
}
.gallery-hero-section .highlight {
  color: var(--brand-color);
}
.gallery-hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.gallery-hero-section .floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatShape 12s ease-in-out infinite;
  z-index: 0;
}
.gallery-hero-section .shape-1 {
  width: 160px;
  height: 160px;
  background: var(--brand-color);
  top: 10%;
  left: 8%;
}
.gallery-hero-section .shape-2 {
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  top: 70%;
  right: 15%;
  animation-delay: 2s;
}
.gallery-hero-section .shape-3 {
  width: 120px;
  height: 120px;
  background: #38bdf8;
  bottom: 15%;
  left: 50%;
  animation-delay: 4s;
}
.gallery-hero-section .shape-4 {
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  top: 40%;
  left: -60px;
  animation-delay: 6s;
}
#gallery-section {
  background: var(--bg-color);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}
.gallery-grid {
  columns: 1;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(15, 23, 36, 0.7);
  color: #fff;
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 0 0 1rem 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 14s ease-in-out infinite;
  z-index: 0;
}
.gallery-bg-shape.shape-1 {
  width: 120px; height: 120px; background: var(--brand-color); top: 10%; left: -30px;
}
.gallery-bg-shape.shape-2 {
  width: 150px; height: 150px; background: var(--accent-color); bottom: -40px; right: -40px; animation-delay: 3s;
}
#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.85);
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}
#imageModal .btn-close { filter: invert(1); }

/* About Page - Courses Section */
.about-courses-section {
  background: linear-gradient(135deg, var(--bg-color), rgba(0, 0, 0, 0.02));
  color: var(--text-color);
  overflow: hidden;
  padding: 60px 0;
}
.dark-theme .about-courses-section {
  background: linear-gradient(135deg, #0a0f1a, #1e2636);
}
.about-courses-heading {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 30px;
}
.about-courses-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-color), var(--accent-color));
  border-radius: 2px;
}
.about-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
  justify-content: center;
}
.about-course-card {
  background: linear-gradient(135deg, var(--bg-color), rgba(0, 0, 0, 0.04));
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 260px;
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-course-card img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
}
.about-course-card h6 { margin-top: 12px; font-size: 1rem; }
.about-course-card a.btn { margin-top: 10px; }
.about-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}
.about-floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: aboutShapeFloat 6s ease-in-out infinite alternate;
}
.about-floating-shape.shape-1 {
  width: 140px; height: 140px; background: var(--brand-color); top: -50px; left: -70px;
}
.about-floating-shape.shape-2 {
  width: 200px; height: 200px; background: var(--accent-color); bottom: -70px; right: -90px;
}
@keyframes aboutShapeFloat {
  from { transform: translateY(0px) rotate(0deg); }
  to { transform: translateY(-25px) rotate(15deg); }
}

/* About Page - Team Section */
#team .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.team-card {
  max-width: 280px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15); }
.team-card img {
  width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin-bottom: 15px;
}
.team-card h5 { font-size: 1.1rem; margin-bottom: 5px; }
.team-card p { font-size: 0.875rem; color: var(--text-muted); }
#team .floating-shape.shape-1 {
  width: 140px; height: 140px; background: var(--brand-color); top: -50px; left: -70px;
}
#team .floating-shape.shape-2 {
  width: 200px; height: 200px; background: var(--accent-color); bottom: -70px; right: -90px;
}

/* ===================================================
   Responsive Media Query Ranges (min–max format)
   =================================================== */

/* XS (0–480) */
@media (min-width:0px) and (max-width:480px) {
  .composite-wrapper { padding-bottom: auto; height: auto; }
  .img-main { position: relative; width: 100%; height: auto; transform: none;left : 0%; }
  .img-side { position: relative; width: 90%; height: auto; margin: 1rem auto; }
  .img-side:hover { transform: scale(1.05); z-index: 5; }
  .top-header .icon-facebook, .top-header .icon-instagram, .top-header .icon-threads {
    display: none !important;
  }
  .recommended-courses{grid-template-columns:1fr;}
  .recommended-heading{font-size:1.3rem;} 
  .course-card-mini img{max-height:140px;}
  #all-courses .col-md-6.col-lg-4{flex:0 0 100%;max-width:100%;}
  .course-card img{height:160px;}
  .rpc-heading{font-size:1.6rem;}
  .rpc-intro{font-size:1rem;}
  .icon-list li{font-size:.9rem;}
  .enroll-card { padding: 25px 20px; }
  .enroll-section .section-title { font-size: 1.8rem; }
  .about-courses-grid { grid-template-columns: 1fr; }
  #team .team-card { max-width: 90%; }
  .fs-bar{gap:2px;}
}

/* SM (481–767) */
@media (min-width:481px) and (max-width:767px) {
  .recommended-courses{grid-template-columns:repeat(2,1fr);} 
  .recommended-heading{font-size:1.4rem;}
  #all-courses .col-md-6.col-lg-4{flex:0 0 100%;max-width:100%;}
  .rpc-heading{font-size:1.8rem;}
  #team .team-card { max-width: 90%; }
}

/* MD (768–1023) */
@media (min-width:768px) and (max-width:1023px) {
  .course-card { flex: 0 0 80%; }
  #about { padding: 60px 20px; }
  .about-content { text-align: center; }
  #benefits h2 { font-size: 2rem; }
  .benefits-list { text-align: center; padding-left: 0; }
  .benefits-list li { padding-left: 0; }
  .benefits-list i { left: -30px; }
  #contact { padding: 60px 20px; }
  .contact-card { margin-bottom: 20px; }
  .img-main { width: 80%; height: 80%; }
  .img-side { width: 50%; height: 50%; }
  .recommended-courses{grid-template-columns:repeat(2,1fr);} 
  .course-card-mini img{max-height:130px;}
  #all-courses .col-md-6.col-lg-4{flex:0 0 50%;max-width:50%;}
  .course-card img{height:180px;}
  .rpc-heading{font-size:2rem;}
  .gallery-grid { columns: 2; }
}

/* LG (1024–1279) */
@media (min-width:1024px) and (max-width:1279px) {
  .recommended-courses{grid-template-columns:repeat(2,1fr);}
  .gallery-grid { columns: 3; }
}

/* XL (1280–1535) */
@media (min-width:1280px) and (max-width:1535px) {
  .gallery-grid { columns: 3; }
}

/* 2XL (1536–9999) */
@media (min-width:1536px) and (max-width:9999px) {
  /* reserved if needed */
}
