/* ==========================================================================
   WISDOM ELITES LTD COMPANY - Modern Animated Stylesheet (styles.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Reset
   -------------------------------------------------------------------------- */
:root {
  --primary: #080b68;       /* Flyer navy */
  --primary-light: #111c9b; /* Flyer royal blue */
  --secondary: #06134f;     /* Deep flyer blue */
  --accent-pink: #00aeea;   /* Flyer cyan */
  --accent-magenta: #008dcc;/* Flyer bright blue */
  --accent-purple: #111c9b; /* Flyer royal blue compatibility */
  --accent-yellow: #f5d21f; /* Flyer yellow */
  --accent-gold: #ffe45c;
  --white: #ffffff;
  --font-main: 'Poppins', 'Rubik', sans-serif;
  
  --bg-gradient: linear-gradient(135deg, #06134f 0%, #080b68 52%, #111c9b 100%);
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Light Mode Overrides
   -------------------------------------------------------------------------- */
body.light-mode {
  --bg-light: #f0f4ff;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #0f172a;
  background-color: #f0f4ff;
  color: #0f172a;
}

body.light-mode .top-bar {
  background: #dde5ff;
  color: #0f172a;
  border-bottom-color: rgba(8, 11, 104, 0.15);
}

body.light-mode .top-bar a { color: #080b68; }
body.light-mode .top-info-item i { color: var(--primary); }

body.light-mode .top-social a {
  background: rgba(8, 11, 104, 0.1);
  color: #080b68;
}
body.light-mode .top-social a:hover {
  background: var(--primary);
  color: #fff;
}

body.light-mode .header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(8, 11, 104, 0.2);
  box-shadow: 0 8px 24px rgba(8, 11, 104, 0.12);
}

body.light-mode .logo-text { color: var(--primary); }
body.light-mode .logo-badge {
  background: rgba(8, 11, 104, 0.1);
  border-color: rgba(8, 11, 104, 0.3);
}

body.light-mode .nav-menu {
  background: rgba(240, 244, 255, 0.9);
  border-color: rgba(8, 11, 104, 0.2);
}

body.light-mode #navMenu a,
body.light-mode .nav-menu .menu a,
body.light-mode .nav-link {
  color: #0f172a;
}

body.light-mode #navMenu a:hover,
body.light-mode #navMenu a.active,
body.light-mode .nav-menu .menu a:hover,
body.light-mode .nav-menu .menu .current-menu-item > a,
body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
  color: var(--primary);
}

body.light-mode #navMenu .rt-sub-menu,
body.light-mode #nav-menu .rt-sub-menu {
  background: rgba(240, 244, 255, 0.97);
  border-color: rgba(8, 11, 104, 0.2);
}

body.light-mode .rt-sub-menu a { color: #0f172a; }
body.light-mode .rt-sub-menu a:hover {
  color: var(--primary);
  background: rgba(8, 11, 104, 0.08);
}

body.light-mode .mobile-toggle {
  color: var(--primary);
  border-color: rgba(8, 11, 104, 0.3);
  background: rgba(240, 244, 255, 0.7);
}

body.light-mode .section-bg,
body.light-mode section:not(.hero):not(.stats-section):not(.cta-section):not(.partners-section) {
  background-color: #f0f4ff;
}

body.light-mode .card,
body.light-mode .service-card,
body.light-mode .team-card,
body.light-mode .event-card,
body.light-mode .contact-card,
body.light-mode .about-card,
body.light-mode .value-card,
body.light-mode .advantage-card,
body.light-mode .audit-card,
body.light-mode .partner-logo-card {
  background: #ffffff;
  border-color: rgba(8, 11, 104, 0.1);
  color: #0f172a;
}

body.light-mode .gallery-card {
  background: #ffffff;
  border-color: rgba(8, 11, 104, 0.1);
}

body.light-mode .section-label { color: var(--primary); }
body.light-mode .section-title { color: #0f172a; }
body.light-mode .text-muted,
body.light-mode p { color: #475569; }

body.light-mode .footer {
  background: #0a0f5e;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Theme Toggle Button
   -------------------------------------------------------------------------- */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 4px 10px;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-main);
  transition: var(--transition);
  white-space: nowrap;
  margin-left: 4px;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.theme-toggle .toggle-track {
  width: 32px;
  height: 17px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  position: relative;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle .toggle-thumb {
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.theme-toggle.is-light .toggle-track {
  background: var(--accent-yellow);
}

.theme-toggle.is-light .toggle-thumb {
  left: 17px;
}

body.light-mode .theme-toggle {
  background: rgba(8, 11, 104, 0.1);
  border-color: rgba(8, 11, 104, 0.25);
  color: #0f172a;
}

body.light-mode .theme-toggle .toggle-thumb {
  background: #080b68;
}

/* --------------------------------------------------------------------------
   Active Nav Link Highlight (current page)
   -------------------------------------------------------------------------- */
.nav-link.page-active {
  color: var(--accent-yellow) !important;
}

.nav-link.page-active::after {
  width: 100% !important;
}

body.light-mode .nav-link.page-active {
  color: var(--primary) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', 'Rubik', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.accent-text { color: var(--accent-pink); }

/* --------------------------------------------------------------------------
   2. Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(236, 72, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --------------------------------------------------------------------------
   3. Top Info Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background: #050942;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-info-item i { 
  color: var(--accent-pink); 
  transition: transform 0.3s ease;
}

.top-info-item:hover i {
  transform: scale(1.2);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  transition: var(--transition);
}

.top-social a:hover {
  background: var(--accent-pink);
  transform: translateY(-3px) rotate(8deg);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.lang-switch {
  margin-left: 10px;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.lang-switch span {
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  font-family: var(--font-main);
  color: rgba(255, 255, 255, 0.75);
  padding: 0 2px;
  transition: var(--transition);
}

.lang-switch span.active,
.lang-switch span:hover,
.lang-switch button.active,
.lang-switch button:hover {
  color: var(--accent-pink);
}

body.light-mode .lang-switch { color: #0f172a; }
body.light-mode .lang-switch button { color: #475569; }
body.light-mode .lang-switch button.active,
body.light-mode .lang-switch button:hover { color: var(--primary); }
body.light-mode .lang-switch span { color: #475569; }

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 11, 104, 0.72);
  border-bottom: 1px solid rgba(0, 174, 234, 0.35);
  box-shadow: 0 12px 30px rgba(5, 9, 66, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
  line-height: 1;
  flex-shrink: 0;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 174, 234, 0.18);
  border: 1px solid rgba(0, 174, 234, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.logo:hover .logo-badge {
  transform: scale(1.06) rotate(-3deg);
  background: rgba(255, 215, 0, 0.25);
  border-color: var(--accent-yellow);
}

.logo-image {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-family: var(--font-main);
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  white-space: nowrap;
}

.logo-text strong {
  color: var(--accent-yellow);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex: 0 1 auto;
  padding: 8px 14px;
  border: 1px solid rgba(0, 174, 234, 0.3);
  border-radius: 14px;
  background: rgba(5, 9, 66, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 22px rgba(5, 9, 66, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
}

.menu-header-menu-container {
  position: relative;
  width: auto;
}

#navMenu ul,
#nav-menu ul,
.nav-menu .menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

#navMenu li,
#nav-menu li,
.nav-menu .menu > li {
  position: relative;
  margin: 0;
}

#navMenu a,
.nav-menu .menu a,
.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-link::after,
#navMenu a::after,
.nav-menu .menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-gold));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#navMenu a:hover,
#navMenu a.active,
.nav-menu .menu a:hover,
.nav-menu .menu .current-menu-item > a,
.nav-link:hover,
.nav-link.active {
  color: var(--accent-yellow);
}

#navMenu a:hover::after,
#navMenu a.active::after,
.nav-menu .menu a:hover::after,
.nav-menu .menu .current-menu-item > a::after,
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-nav-header {
  display: none;
}

@media (max-width: 768px) {
  .logo {
    gap: 0.65rem;
  }

  .logo-badge {
    width: 38px;
    height: 38px;
  }

  .logo-image {
    width: 28px;
    height: 28px;
  }

  .logo-text {
    font-size: 0.9rem;
  }
}

.nav-menu .menu-item-has-children > a::after {
  content: '▼';
  font-size: 10px;
  margin-left: 8px;
  display: inline-block;
  transform: translateY(1px);
}

#navMenu .rt-sub-menu,
#nav-menu .rt-sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(8, 11, 104, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(0, 174, 234, 0.42);
  box-shadow: 0 18px 40px rgba(5, 9, 66, 0.3);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  padding: 10px 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
}

.menu-item-has-children:hover > .rt-sub-menu {
  display: flex;
}

.rt-sub-menu li {
  margin: 0;
}

.rt-sub-menu a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.rt-sub-menu a:hover {
  color: var(--accent-yellow);
  background: rgba(0, 174, 234, 0.16);
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-magenta) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.45);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 6px 18px rgba(30, 27, 75, 0.25);
}

.btn-secondary:hover {
  box-shadow: 0 12px 24px rgba(30, 27, 75, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent-pink);
  color: #fff;
}

.mobile-toggle {
  display: none;
  font-size: 22px;
  color: var(--accent-yellow);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 174, 234, 0.45);
  border-radius: 12px;
  background: rgba(5, 9, 66, 0.36);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-toggle:hover {
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   5. Hero Section & Animated Slider (with Blurred Backgrounds)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 120px 0 140px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevents blurred image edges from overflowing */
  text-align: center;
}

/* Global Overlay to darken the blurred image for high contrast */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Darker background gradient (65% to 70% opacity) */
  background: linear-gradient(135deg, rgba(0, 20, 60, 0.55) 0%, rgba(0, 10, 30, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  width: 100%;
  z-index: 3; /* Keeps text content crisp and on top */
}

.hero-slide {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Background image styling with Blur */
.hero-slide-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 1;
  overflow: hidden;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Blurred effect + slight scale up to hide soft white edges from the blur filter */
  filter: blur(8px);
  transform: scale(1.1);
  transition: transform 6s ease-out, filter 0.8s ease;
}

.hero-slide.active .hero-slide-bg img {
  transform: scale(1.15); /* Subtle smooth zoom while blurred */
}

/* Slide Content Animations */
.hero-slide.active .hero-title {
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.active .hero-description {
  animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.active .hero-btns {
  animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.hero-subtitle {
  display: inline-block;
  /* Darker transparent background */
  background: rgba(15, 23, 42, 0.6); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff; /* Changed from light pink to pure white for better visibility */
  margin-bottom: 20px;
  animation: floatAnim 4s ease-in-out infinite;
}

.hero-title {
  font-size: 46px;
  line-height: 1.2;
  margin-bottom: 20px;
  /* Dark drop shadow for contrast */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7); 
}

.hero-description {
  font-size: 17px;
  color: #ffffff; /* Pure white text */
  margin-bottom: 30px;
  line-height: 1.7;
  /* Dark drop shadow for contrast */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); 
  font-weight: 500; /* Slightly bolder for improved readability */
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--accent-pink);
}

/* --------------------------------------------------------------------------
   6. Value Banner
   -------------------------------------------------------------------------- */
.value-banner {
  background: var(--primary);
  color: #fff;
  padding: 50px 0;
  border-bottom: 4px solid var(--accent-pink);
  position: relative;
  overflow: hidden;
}

.value-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.value-banner h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.value-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.section-title-wrap {
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  color: var(--accent-pink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 650px;
}

/* --------------------------------------------------------------------------
   7. Core Pillars / Competencies
   -------------------------------------------------------------------------- */
.pillars {
  padding: 90px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 27, 75, 0.12);
  border-color: rgba(236, 72, 153, 0.3);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(236, 72, 153, 0.1);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--accent-pink);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.pillar-title {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 10px;
}

.pillar-text {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   8. Managing Partner Message
   -------------------------------------------------------------------------- */
.partner-section {
  padding: 90px 0;
  background: var(--bg-white);
}

.partner-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.partner-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: var(--transition);
}

.partner-img-box:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
}

.partner-img-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.partner-img-box:hover img {
  transform: scale(1.05);
}

.partner-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
  padding: 30px 24px 20px;
  color: #fff;
}

.partner-badge h4 {
  font-size: 20px;
}

.partner-badge p {
  font-size: 13px;
  color: var(--accent-pink);
  font-weight: 600;
}

.partner-quote {
  font-size: 16px;
  font-style: italic;
  color: var(--secondary);
  background: var(--bg-light);
  padding: 24px;
  border-left: 4px solid var(--accent-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

/* --------------------------------------------------------------------------
   9. Key Figures Section (Stats)
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--bg-gradient);
  color: #fff;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(236, 72, 153, 0.4);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 16px;
  font-weight: 700;
  color: #fbcfe8;
}

.stat-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   10. Services Gallery Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 90px 0;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--secondary);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-pink);
  color: #fff;
  border-color: var(--accent-pink);
  box-shadow: 0 6px 15px rgba(236, 72, 153, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* --------------------------------------------------------------------------
   10a. Project Gallery
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 84px 0 100px;
  background:
    radial-gradient(circle at 8% 15%, rgba(0, 174, 234, 0.1), transparent 28%),
    var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid rgba(8, 11, 104, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(8, 11, 104, 0.08);
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(8, 11, 104, 0.15);
}

.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--primary);
}

.gallery-media img,
.gallery-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.04);
}

.gallery-media img {
  transition: transform 0.5s ease;
}

.gallery-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: rgba(8, 11, 104, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 40px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.gallery-body {
  padding: 20px 22px 22px;
}

.gallery-body h3 {
  margin: 0 0 8px;
  color: var(--text-dark);
  font-size: 18px;
}

.gallery-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.gallery-note {
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 15px 18px;
  border-left: 3px solid var(--accent-yellow);
  background: rgba(245, 210, 31, 0.12);
  color: var(--text-muted);
  font-size: 13px;
}

.gallery-hero {
  min-height: 380px;
  padding: 100px 0 110px;
}

.gallery-hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.gallery-footer-description {
  font-size: 13.5px;
  line-height: 1.7;
}

.gallery-newsletter-description {
  font-size: 13px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 6px;
}

.service-title {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   11. About Us & Values Grid
   -------------------------------------------------------------------------- */
.about-section {
  padding: 90px 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)), url("image/image 3.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}

.about-box {
  background: var(--bg-light);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.about-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.about-box h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 14px;
}

.about-box p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  background: var(--bg-light);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.value-item i {
  transition: transform 0.3s ease;
}

.value-item:hover i {
  transform: scale(1.2);
}

.value-item h4 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 13.5px;
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   12. Team Section
   -------------------------------------------------------------------------- */
.team-section {
  padding: 90px 0;
  background-color: #d1d3ed;
}

.section-title-wrap {
  margin-bottom: 50px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.team-avatar-wrapper {
  height: 240px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.3s ease;
}

.team-avatar-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.team-info {
  padding: 20px 14px;
}

.team-name {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 2px;
}

.team-role {
  font-size: 12.5px;
  color: var(--accent-pink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Partners Section (Glassmorphism Overhaul)
   -------------------------------------------------------------------------- */
.partners-section {
  position: relative;
  padding: 90px 0;
  /* Ambient vibrant background and electrical-services image give the glass cards depth */
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 174, 234, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(8, 11, 104, 0.12) 0%, transparent 40%),
    linear-gradient(rgba(248, 250, 252, 0.72), rgba(248, 250, 252, 0.72)),
    url("image/Wisdom LTD.jpeg") center / cover no-repeat;
  overflow: hidden;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Glassmorphic Partner Card */
.partner-logo-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-md, 16px);
  
  /* Translucent Glass Fill & Border */
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  
  /* Multi-layered Specular Shadows for Depth */
  box-shadow: 
    0 16px 32px rgba(8, 11, 104, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(0, 174, 234, 0.12);
  
  /* Frosted Glass Filters */
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  
  /* GPU Acceleration & Performance */
  transform: translateZ(0);
  will-change: transform, box-shadow, background;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Dynamics */
.partner-logo-card:hover {
  transform: translateY(-8px) scale(1.01);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(0, 174, 234, 0.5);
  box-shadow: 
    0 24px 48px rgba(8, 11, 104, 0.15),
    0 0 24px rgba(0, 174, 234, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* Frosted Inner Frame for Logos */
.partner-logo-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: var(--radius-sm, 10px);
  
  /* Soft Semi-opaque Glass Fill */
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 2px 6px rgba(8, 11, 104, 0.04);
  
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.partner-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  transition: transform 0.3s ease;
}

.partner-logo-card:hover .partner-logo-frame img {
  transform: scale(1.04);
}

/* Typography Adjustments */
.partner-logo-card h3 {
  color: var(--primary, #080b68);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.partner-logo-card p {
  color: var(--text-muted, #556070);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Fallback for Browsers Without Backdrop Support */
@supports not (backdrop-filter: blur(1px)) {
  .partner-logo-card {
    background: rgba(255, 255, 255, 0.95);
  }
}

/* --------------------------------------------------------------------------
   14. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 90px 0;
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--bg-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(30,27,75,0.2);
}

.contact-info-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
  background: var(--accent-pink);
  color: #fff;
  transform: scale(1.1);
}

.contact-item-text h5 {
  color: #fbcfe8;
  font-size: 14px;
}

.contact-item-text p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.contact-form-card h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background:
    linear-gradient(rgba(9, 13, 22, 0.88), rgba(9, 13, 22, 0.88)),
    url("image/image 5.jpeg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-pink);
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-pink);
  padding-left: 5px;
}

.newsletter-box {
  display: flex;
  margin-top: 15px;
}

.newsletter-box input {
  padding: 10px 14px;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  border: none;
  font-size: 13px;
  flex-grow: 1;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter-box button {
  background: var(--accent-pink);
  color: #fff;
  border: none;
  padding: 0 18px;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-box button:hover {
  background: var(--accent-magenta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   15. Modal Popup & Toast Notifications
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  transform: translateY(30px) scale(0.95);
  transition: var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent-pink);
  transform: rotate(90deg);
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  border-left: 4px solid var(--accent-pink);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  animation: pulseGlow 2s infinite;
}

/* --------------------------------------------------------------------------
   16. Responsive Styles
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .partner-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 88px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100vh - 80px);
    max-height: calc(100vh - 104px);
    background: rgba(8, 11, 104, 0.9);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px 30px;
    border: 1px solid rgba(0, 174, 234, 0.42);
    border-radius: 18px;
    box-shadow: 0 22px 55px rgba(5, 9, 66, 0.42);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
    transition: var(--transition);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.active {
    left: 16px;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu .menu > li {
    width: 100%;
  }

  .nav-menu .menu a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 174, 234, 0.22);
  }

  .nav-menu .menu-item-has-children > a::after {
    content: '▸';
    float: right;
    transform: translateY(2px);
    transition: transform 0.3s ease;
  }

  .menu-item-has-children.open > a::after {
    transform: translateY(2px) rotate(90deg);
  }

  #navMenu .rt-sub-menu,
  #nav-menu .rt-sub-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-item-has-children:hover > .rt-sub-menu,
  .menu-item-has-children.open > .rt-sub-menu {
    max-height: 1000px;
  }

  .rt-sub-menu a {
    padding-left: 24px;
    border-bottom: 1px solid rgba(0, 174, 234, 0.16);
    background: rgba(5, 9, 66, 0.28);
  }

  .visible-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 576px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
  .top-info { flex-direction: column; gap: 4px; align-items: flex-start; }

  .partners-section {
    padding: 64px 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-logo-card {
    padding: 22px 18px;
  }

  .partner-logo-frame {
    min-height: 165px;
  }

  .partner-logo-frame img {
    height: 145px;
  }
}