:root {
  --primary: #1a56db;
  --primary-dark: #1341b0;
  --primary-light: #4f7de5;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f1f5f9;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --primary-gradient: linear-gradient(135deg, #1a56db, #0ea5e9);
  --dark-gradient: linear-gradient(135deg, #0f172a, #1e293b);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg-white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.site-header.scrolled { background: rgba(15, 23, 42, 0.98); box-shadow: var(--shadow-lg); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: var(--text-white); letter-spacing: -0.5px; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul li a {
  display: block; padding: 8px 16px; color: rgba(255,255,255,0.85);
  font-size: 0.9rem; font-weight: 500; border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  color: var(--text-white); background: rgba(255,255,255,0.1);
}

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--bg-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); padding: 8px; opacity: 0;
  visibility: hidden; transform: translateY(10px);
  transition: var(--transition); z-index: 100;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  color: var(--text) !important; padding: 10px 16px; border-radius: var(--radius);
}
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--primary) !important; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-select {
  background: rgba(255,255,255,0.1); color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
  padding: 6px 12px; font-size: 0.85rem; cursor: pointer;
}
.lang-select option { color: var(--text); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-white);
  border-radius: 2px; transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-lg);
  font-size: 0.95rem; font-weight: 600; border: none;
  cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--primary-gradient); color: var(--text-white); }
.btn-primary:hover { box-shadow: 0 8px 25px rgba(26,86,219,0.35); transform: translateY(-2px); color: var(--text-white); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: var(--text-white); }
.btn-outline:hover { background: var(--text-white); color: var(--primary); border-color: var(--text-white); }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-header {
  text-align: center; max-width: 650px; margin: 0 auto 50px;
}
.section-tag {
  display: inline-block; background: rgba(26,86,219,0.1);
  color: var(--primary); padding: 5px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2rem; font-weight: 800; color: var(--dark);
  margin-bottom: 15px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Carousel */
.carousel-section { position: relative; }
.swiper { width: 100%; height: 100%; }
.swiper-slide {
  height: 600px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0; z-index: 0;
}
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.85), rgba(15,23,42,0.4));
}
.swiper-slide .container { position: relative; z-index: 1; }
.slide-content { max-width: 650px; }
.slide-content h2 {
  font-size: 3rem; font-weight: 800; color: var(--text-white);
  line-height: 1.2; margin-bottom: 16px;
}
.slide-content p {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  line-height: 1.8; margin-bottom: 30px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.swiper-pagination { position: absolute; bottom: 30px !important; }
.swiper-pagination-bullet {
  width: 12px; height: 12px; background: rgba(255,255,255,0.5);
  opacity: 1;
}
.swiper-pagination-bullet-active { background: var(--primary); width: 30px; border-radius: 6px; }

/* Counters */
.counter-section { padding: 60px 0; background: var(--dark-gradient); }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counter-item .counter-number {
  font-size: 2.8rem; font-weight: 800; color: var(--text-white);
  line-height: 1; margin-bottom: 8px;
}
.counter-item .counter-label { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 500; }

/* Mission */
.mission-section { padding: 80px 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* CEO */
.ceo-section { padding: 80px 0; background: var(--bg-light); }
.ceo-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.ceo-image img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.ceo-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.ceo-title { color: var(--primary); font-weight: 600; margin-bottom: 20px; font-size: 1.05rem; }

/* Video */
.video-section { background: var(--dark); }
.video-section .section-tag { background: rgba(255,255,255,0.1); color: var(--text-white); }
.video-section .section-header h2 { color: var(--text-white); }
.video-section .section-header p { color: rgba(255,255,255,0.7); }

/* Service Cards */
.service-card {
  background: var(--bg-white); padding: 35px 25px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow); text-align: center; transition: var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.service-card .icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(26,86,219,0.1); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* Value Card */
.value-card {
  background: var(--bg-white); padding: 30px; border-radius: var(--radius-xl);
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.value-card .icon {
  width: 52px; height: 52px; margin-bottom: 16px;
  background: rgba(26,86,219,0.1); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary);
}
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* Partners */
.partners-section { padding: 40px 0 !important; }
.partners-section .section-header { margin-bottom: 16px; }
.partner-carousel { padding: 0; }
.partner-item {
  display: flex; align-items: center; justify-content: center;
  height: 50px; padding: 5px 10px;
}
.partner-item img { max-height: 40px; width: auto; opacity: 0.6; transition: var(--transition); filter: grayscale(100%); }
.partner-item:hover img { opacity: 1; filter: grayscale(0%); }

/* Events */
.event-card {
  display: flex; gap: 25px; background: var(--bg-white);
  border-radius: var(--radius-xl); padding: 25px;
  box-shadow: var(--shadow); margin-bottom: 20px;
  border: 1px solid var(--border); transition: var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-lg); }
.event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 80px; background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 15px; text-align: center;
}
.event-date .day { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.event-date .month { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; font-weight: 600; }
.event-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.event-info p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 12px; }
.event-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.event-meta span { font-size: 0.85rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-success { background: rgba(16,185,129,0.1); color: #10b981; }
.badge-info { background: rgba(99,102,241,0.1); color: #6366f1; }

/* Blog */
.blog-card {
  background: var(--bg-white); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.blog-image { height: 220px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-content { padding: 25px; }
.blog-meta { display: flex; gap: 15px; margin-bottom: 12px; font-size: 0.8rem; color: var(--text-light); }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.blog-content h3 a { color: var(--dark); }
.blog-content h3 a:hover { color: var(--primary); }
.blog-content p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }

/* Gallery */
.filter-tabs {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap;
}
.filter-tabs button {
  padding: 8px 20px; border: 2px solid var(--border); background: var(--bg-white);
  border-radius: 25px; cursor: pointer; font-size: 0.85rem; font-weight: 500;
  transition: var(--transition); color: var(--text-light);
}
.filter-tabs button:hover, .filter-tabs button.active {
  background: var(--primary); color: var(--text-white); border-color: var(--primary);
}
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(15,23,42,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i { color: var(--text-white); font-size: 2rem; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { height: 40px; margin-bottom: 15px; }
.footer-brand h3 { color: var(--text-white); font-size: 1.3rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; opacity: 0.7; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  color: rgba(255,255,255,0.7); transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--text-white); }
.footer-col h4 { color: var(--text-white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.contact-info li i { margin-top: 4px; color: var(--primary); }
.contact-info li a { color: rgba(255,255,255,0.6); }
.contact-info li a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 60px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
}
.footer-bottom p { font-size: 0.85rem; opacity: 0.6; }

/* Scroll to top */
#scroll-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-gradient); color: var(--text-white);
  border: none; cursor: pointer; display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
#scroll-top.show { display: flex; }
#scroll-top:hover { transform: translateY(-3px); }

/* Cookie Consent */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-white); box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 16px 0; display: none;
}
.cookie-consent.show { display: block; }
.cookie-consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-content { display: flex; align-items: center; gap: 12px; flex: 1; }
.cookie-icon { font-size: 1.5rem; color: var(--accent); }
.cookie-text p { font-size: 0.85rem; color: var(--text); line-height: 1.5; }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px; border-radius: var(--radius); border: none;
  font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.cookie-btn-accept { background: var(--primary-gradient); color: var(--text-white); }
.cookie-btn-accept:hover { box-shadow: 0 4px 15px rgba(26,86,219,0.3); }
.cookie-btn-reject { background: var(--bg-light); color: var(--text); }
.cookie-btn-reject:hover { background: var(--border); }
.cookie-btn-customize { background: transparent; color: var(--text-light); border: 1px solid var(--border); }
.cookie-btn-save { background: var(--primary); color: var(--text-white); }
.cookie-btn-save:hover { background: var(--primary-dark); }

/* Cookie Modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 99999; display: none;
  align-items: center; justify-content: center;
}
.cookie-modal.show { display: flex; }
.cookie-modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.cookie-modal-content {
  position: relative; background: var(--bg-white); border-radius: var(--radius-xl);
  max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.cookie-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cookie-modal-header h3 { font-size: 1.1rem; }
.cookie-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); }
.cookie-modal-body { padding: 20px 24px; }
.cookie-modal-body > p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }
.cookie-category { margin-bottom: 16px; }
.cookie-category-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-category-header h4 { font-size: 0.9rem; margin-bottom: 4px; }
.cookie-category-header p { font-size: 0.8rem; color: var(--text-light); }
.cookie-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { display: none; }
.cookie-toggle-slider {
  position: absolute; inset: 0; background: #cbd5e1; border-radius: 12px; transition: var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--primary); }
.cookie-toggle-slider::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; background: white; border-radius: 50%; transition: var(--transition);
}
.cookie-toggle input:checked + .cookie-toggle-slider::after { transform: translateX(20px); }
.cookie-modal-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 16px 24px; border-top: 1px solid var(--border);
}

/* Page Hero */
.page-hero {
  padding: 140px 0 80px; background: var(--dark-gradient);
  text-align: center; position: relative;
}
.page-hero h1 { color: var(--text-white); font-size: 2.5rem; font-weight: 800; }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 1.1rem; }

/* Map / Contact */
.map-container { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }

/* Page content */
.page-content { padding: 60px 0; }
.page-content p { margin-bottom: 16px; line-height: 1.8; color: var(--text-light); }

/* About page */
.about-content { max-width: 800px; margin: 0 auto; }
.values-list { display: grid; gap: 20px; }

/* Services page */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }

/* Contact info grid */
.contact-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-bottom: 40px; }
.contact-card {
  text-align: center; padding: 30px; background: var(--bg-white);
  border-radius: var(--radius-xl); box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  background: rgba(26,86,219,0.1); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary);
}
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-light); font-size: 0.9rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-lg); font-size: 0.9rem; transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

/* Blog detail */
.blog-detail-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: 30px; }
.blog-detail-content { max-width: 800px; margin: 0 auto; }
.blog-detail-content p { margin-bottom: 20px; line-height: 1.9; color: var(--text-light); }

/* Partners grid */
.partners-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* Maintenance */
.maintenance-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.maintenance-section .icon { font-size: 4rem; color: var(--primary); margin-bottom: 20px; }
.maintenance-section h1 { font-size: 2rem; margin-bottom: 16px; }
.maintenance-section p { color: var(--text-light); max-width: 500px; margin: 0 auto; }

/* Blog page filter */
.blog-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.blog-filters a {
  padding: 8px 24px; border-radius: 25px; font-size: 0.9rem;
  font-weight: 500; border: 2px solid var(--border); color: var(--text-light);
  transition: var(--transition);
}
.blog-filters a:hover, .blog-filters a.active { background: var(--primary); color: var(--text-white); border-color: var(--primary); }

/* Blog sidebar */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.sidebar-widget { margin-bottom: 30px; }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.sidebar-widget ul li { margin-bottom: 8px; }
.sidebar-widget ul li a { color: var(--text-light); font-size: 0.9rem; }
.sidebar-widget ul li a:hover { color: var(--primary); padding-left: 4px; }

/* Swiper overrides for various sections */
.main-carousel .swiper-button-next,
.main-carousel .swiper-button-prev {
  color: var(--text-white); background: rgba(255,255,255,0.15);
  width: 50px; height: 50px; border-radius: 50%;
  backdrop-filter: blur(4px);
}
.main-carousel .swiper-button-next::after,
.main-carousel .swiper-button-prev::after { font-size: 1.2rem; }

/* Animation helpers */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* Image placeholder */
.no-image-placeholder {
  width: 100%; height: 100%;
  background: var(--primary-gradient);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-white); font-size: 2rem; opacity: 0.8;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.9); display: flex;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox-caption { color: #fff; margin-top: 12px; font-size: 0.9rem; }
.lightbox-close {
  position: absolute; top: -40px; right: 0; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
}

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .ceo-inner { grid-template-columns: 1fr; text-align: center; }
  .ceo-image { max-width: 400px; margin: 0 auto; }
  .mission-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .swiper-slide { height: 450px; }
  .swiper-slide .slide-content h2 { font-size: 2.2rem; }
  .main-nav {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-white);
    box-shadow: var(--shadow-lg); padding: 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { display: block; padding: 12px 16px; color: var(--text) !important; }
  .main-nav .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding-left: 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav .dropdown.open .dropdown-menu { max-height: 300px; }
  .mobile-toggle { display: flex; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .swiper-slide { height: 380px; }
  .swiper-slide .slide-content h2 { font-size: 1.8rem; }
  .swiper-slide .slide-content p { font-size: 1rem; }
  .page-hero { padding: 110px 0 60px; }
  .page-hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .counter-item .counter-number { font-size: 2rem; }
  .event-card { flex-direction: column; }
  .event-card .event-date { flex-direction: row; gap: 10px; min-width: auto; padding: 15px; }
  .blog-card .blog-image { height: 200px; }
  .cookie-consent-inner { flex-direction: column; text-align: center; }
  .slide-content h2 { font-size: 2rem; }
}

@media (max-width: 576px) {
  .counters-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .swiper-slide { height: 320px; }
  .swiper-slide .slide-content h2 { font-size: 1.5rem; }
  .cookie-actions { flex-wrap: wrap; justify-content: center; }
}

/* ===== Project Cards ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  background: var(--bg-white); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: var(--transition);
  height: 100%; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.project-card-image { position: relative; height: 220px; overflow: hidden; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-card:hover .project-card-image img { transform: scale(1.05); }
.project-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff; font-size: 0.7rem;
  font-weight: 700; padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.project-status {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 20px; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-active { background: rgba(16,185,129,0.15); color: #10b981; }
.status-completed { background: rgba(99,102,241,0.15); color: #6366f1; }
.status-upcoming { background: rgba(245,158,11,0.15); color: #d97706; }
.project-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.project-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.project-card-body h3 a { color: var(--dark); }
.project-card-body h3 a:hover { color: var(--primary); }
.project-card-body p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; flex: 1; margin-bottom: 16px; }
.project-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.project-card-footer span { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; }

.project-detail { max-width: 900px; margin: 0 auto; }
.project-featured-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: 30px; }
.project-meta-bar { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; padding: 16px 24px; background: var(--bg-light); border-radius: var(--radius-lg); align-items: center; }
.project-meta-bar span { font-size: 0.88rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.project-content { max-width: 800px; margin: 0 auto; }
.project-content p { margin-bottom: 20px; line-height: 1.9; color: var(--text-light); }
.project-gallery { margin-top: 50px; }
.project-gallery h3 { margin-bottom: 20px; font-weight: 700; }

/* ===== Gallery Carousel ===== */
.gallery-carousel-section .container { margin-bottom: 20px; }
.gallery-carousel-wrapper { position: relative; padding: 0 50px; }
.gallery-carousel .swiper-slide { height: 350px; }
.gallery-carousel-item {
  position: relative; width: 100%; height: 100%; border-radius: var(--radius-xl);
  overflow: hidden; cursor: pointer;
}
.gallery-carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-carousel-item:hover img { transform: scale(1.08); }
.gallery-carousel-overlay {
  position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 0; transition: var(--transition);
}
.gallery-carousel-item:hover .gallery-carousel-overlay { opacity: 1; }
.gallery-carousel-info h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.gallery-carousel-info span { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.gallery-expand {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; transition: var(--transition);
}
.gallery-expand:hover { background: var(--primary); color: #fff; }

.gallery-carousel-nav {
  position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);
  display: flex; justify-content: space-between; pointer-events: none; z-index: 10;
}
.gallery-btn-prev, .gallery-btn-next {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-white);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all; transition: var(--transition);
  color: var(--text); font-size: 1rem; border: none;
}
.gallery-btn-prev:hover, .gallery-btn-next:hover { background: var(--primary); color: #fff; }

/* ===== Breadcrumb ===== */
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ===== Partner Placeholder ===== */
.partner-placeholder {
  width: 100%; height: 50px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); border-radius: var(--radius-lg);
  font-weight: 700; color: var(--text-light); font-size: 0.9rem;
  padding: 10px; text-align: center;
}

/* ===== Search Box ===== */
.search-box { display: flex; margin-bottom: 25px; }
.search-box input {
  flex: 1; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg); font-size: 0.9rem;
}
.search-box input:focus { outline: none; border-color: var(--primary); }
.search-box button {
  padding: 12px 18px; background: var(--primary); color: #fff;
  border: none; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  cursor: pointer;
}

/* ===== Blog Single ===== */
.blog-single { max-width: 800px; margin: 0 auto; }
.blog-single .featured-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: 25px; }
.blog-single .blog-meta { margin-bottom: 25px; }
.blog-single .blog-content { font-size: 1.05rem; line-height: 1.9; }
.blog-single .blog-content p { margin-bottom: 20px; color: var(--text-light); }
.blog-single .social-links { display: flex; gap: 10px; }
.blog-single .social-links a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); border-radius: 50%; color: var(--text);
  transition: var(--transition);
}
.blog-single .social-links a:hover { background: var(--primary); color: #fff; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius);
  border: 1px solid var(--border); font-size: 0.88rem; color: var(--text);
  transition: var(--transition); text-decoration: none;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 20px 24px; margin-bottom: 12px; border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem;
}
.faq-question i { transition: var(--transition); font-size: 0.8rem; color: var(--text-light); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: var(--transition);
  color: var(--text-light); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; padding-top: 14px; }

/* ===== Responsive additions ===== */
@media (max-width: 992px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-carousel-wrapper { padding: 0 40px; }
}
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-carousel-wrapper { padding: 0 10px; }
  .gallery-carousel .swiper-slide { height: 280px; }
  .project-meta-bar { flex-direction: column; gap: 10px; }
  .gallery-btn-prev, .gallery-btn-next { width: 36px; height: 36px; }
  .gallery-carousel-nav { padding: 0 5px; }
}
@media (max-width: 576px) {
  .projects-grid { grid-template-columns: 1fr; }
}
