/* ============================================================
   JSKEN Chemicals – Custom Stylesheet
   Stack: Bootstrap 5 + AOS + Custom CSS
   ============================================================ */

/* ---------- CSS Variables (Light Mode) ---------- */
:root {
  --primary:       #0A3D79;
  --secondary:     #1565C0;
  --accent:        #42A5F5;
  --light-blue:    #E3F2FD;
  --white:         #FFFFFF;
  --dark:          #0D1B2A;
  --text:          #2C3E50;
  --gray:          #6C757D;
  --border:        #DEE2E6;
  --card-bg:       #FFFFFF;
  --body-bg:       #F8FBFF;
  --navbar-bg:     rgba(10, 61, 121, 0.97);
  --footer-bg:     #0A1F40;
  --shadow:        0 4px 24px rgba(10,61,121,0.10);
  --shadow-lg:     0 8px 40px rgba(10,61,121,0.18);
  --radius:        12px;
  --transition:    all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Dark Mode Variables ---------- */
[data-theme="dark"] {
  --white:         #1A2744;
  --body-bg:       #0D1B2A;
  --card-bg:       #162040;
  --text:          #D0E4FF;
  --border:        #1E3160;
  --shadow:        0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.50);
  --navbar-bg:     rgba(10, 27, 60, 0.98);
  --footer-bg:     #060E1E;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--body-bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.loader-logo span { color: var(--accent); }

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #fff);
  border-radius: 99px;
  animation: loadBar 1.8s ease forwards;
}
@keyframes loadBar {
  0%   { width: 0%; }
  100% { width: 100%; }
}

/* ---------- Navbar ---------- */
#mainNav {
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  padding: 0.6rem 0;
}
#mainNav.scrolled {
  box-shadow: 0 4px 20px rgba(10,61,121,0.25);
  padding: 0.4rem 0;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: 1px;
}
.navbar-brand span { color: var(--accent); }

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.12);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.2);
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
}
.lang-btn img { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }

/* Theme Toggle */
.theme-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.theme-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ---------- Section Utilities ---------- */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-blue);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1rem;
}
[data-theme="dark"] .section-tag { background: rgba(66,165,245,0.15); color: var(--accent); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
[data-theme="dark"] .section-title { color: #D0E4FF; }

.section-title span { color: var(--secondary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.7;
}
[data-theme="dark"] .section-subtitle { color: #8AADD0; }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 99px;
  margin: 1rem 0 1.5rem;
}

/* ---------- Hero / Banner ---------- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/pdf-extracted/page1_img3.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroPan 20s ease-in-out infinite alternate;
}
@keyframes heroPan {
  0%   { transform: scale(1.05) translateX(0); }
  100% { transform: scale(1.10) translateX(-2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,121,0.92) 0%, rgba(13,27,42,0.85) 60%, rgba(21,101,192,0.70) 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(66,165,245,0.18);
  border: 1px solid rgba(66,165,245,0.35);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--accent); }
.hero-title .brand { color: #fff; }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.80);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(66,165,245,0.40);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(66,165,245,0.55); color: #fff; }

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat { color: #fff; }
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.hero-stat .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.65); letter-spacing: 0.5px; margin-top: 4px; }

.hero-image-col { position: relative; z-index: 2; }
.hero-main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 3px solid rgba(255,255,255,0.15);
}
.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-float-card .icon { font-size: 1.4rem; color: var(--accent); display: block; margin-bottom: 4px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
}
.scroll-arrow::after {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  animation: scrollBounce 1.4s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(6px); opacity: 0.4; }
}

/* ---------- About Section ---------- */
#about { background: var(--white); }
[data-theme="dark"] #about { background: var(--card-bg); }

.about-img-wrap { position: relative; }
.about-main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge .big { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge .small { font-size: 0.7rem; font-weight: 600; opacity: 0.9; margin-top: 2px; }

.value-card {
  background: var(--body-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}
[data-theme="dark"] .value-card { background: var(--dark); border-color: var(--border); }
.value-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.value-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.value-title { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
[data-theme="dark"] .value-title { color: #D0E4FF; }
.value-desc { font-size: 0.82rem; color: var(--gray); margin-top: 4px; line-height: 1.5; }

/* ---------- Products Section ---------- */
#products { background: var(--body-bg); }
[data-theme="dark"] #products { background: var(--body-bg); }

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--shadow);
}
[data-theme="dark"] .product-card { background: var(--card-bg); border-color: var(--border); }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-img-wrap {
  overflow: hidden;
  background: var(--light-blue);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
[data-theme="dark"] .product-img-wrap { background: rgba(10,61,121,0.3); }
.product-img-wrap img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
}
.product-body { padding: 1.5rem; }
.product-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
[data-theme="dark"] .product-name { color: #D0E4FF; }
.product-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.65; margin-bottom: 1rem; }
.product-features { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.product-features li {
  font-size: 0.82rem;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
[data-theme="dark"] .product-features li { color: #8AADD0; }
.product-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.btn-product {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-product:hover { background: var(--secondary); color: #fff; }

/* ---------- Portfolio / Gallery ---------- */
#portfolio { background: var(--white); }
[data-theme="dark"] #portfolio { background: var(--card-bg); }

.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--body-bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
[data-theme="dark"] .filter-btn { background: var(--dark); color: #8AADD0; border-color: var(--border); }
.filter-btn.active, .filter-btn:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,61,121,0.85));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 0.85rem; font-weight: 600; }

/* ---------- Team Section ---------- */
#team { background: var(--body-bg); }

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow);
}
[data-theme="dark"] .team-card { background: var(--card-bg); border-color: var(--border); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.team-img-wrap {
  background: linear-gradient(135deg, var(--light-blue), #c5e3f7);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
[data-theme="dark"] .team-img-wrap { background: rgba(10,61,121,0.3); }
.team-img-wrap img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  border: 4px solid #fff;
  margin: 0 auto;
}
.team-body { padding: 1.4rem 1.2rem; }
.team-name { font-size: 1.05rem; font-weight: 800; color: var(--dark); }
[data-theme="dark"] .team-name { color: #D0E4FF; }
.team-role { font-size: 0.82rem; color: var(--secondary); font-weight: 600; margin-top: 2px; }
[data-theme="dark"] .team-role { color: var(--accent); }
.team-desc { font-size: 0.8rem; color: var(--gray); margin-top: 0.5rem; line-height: 1.5; }

/* ---------- Testimonials ---------- */
#testimonials { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); position: relative; overflow: hidden; }
#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pdf-extracted/page3_img2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}

.testi-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.testi-card:hover { background: rgba(255,255,255,0.16); transform: translateY(-4px); }
.testi-stars { color: #FFD700; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-quote { font-size: 0.95rem; color: rgba(255,255,255,0.90); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testi-quote::before { content: '\201C'; font-size: 2rem; color: var(--accent); line-height: 0; vertical-align: -0.5rem; margin-right: 4px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #fff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--primary); font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 700; color: #fff; }
.testi-co { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ---------- FAQ ---------- */
#faq { background: var(--white); }
[data-theme="dark"] #faq { background: var(--card-bg); }

.accordion-item {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.accordion-item:hover { border-color: var(--accent) !important; }
.accordion-button {
  background: var(--card-bg) !important;
  color: var(--dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1.1rem 1.4rem;
  border: none;
  box-shadow: none !important;
}
[data-theme="dark"] .accordion-button { color: #D0E4FF !important; }
.accordion-button:not(.collapsed) { color: var(--secondary) !important; }
.accordion-button::after { filter: none; }
.accordion-body {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  padding: 0 1.4rem 1.2rem;
  background: var(--card-bg);
}
[data-theme="dark"] .accordion-body { color: #8AADD0; }

/* ---------- CTA Section ---------- */
#cta {
  background: var(--body-bg);
  position: relative;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #1a56b0 100%);
  border-radius: 24px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(66,165,245,0.12);
  border-radius: 50%;
  top: -150px; right: -100px;
}
.cta-box::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -120px; left: -80px;
}
.cta-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: #fff; margin-bottom: 1rem; }
.cta-desc { color: rgba(255,255,255,0.80); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }
.btn-cta-primary {
  background: #fff;
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.20); background: var(--light-blue); color: var(--primary); }
.btn-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Contact ---------- */
#contact { background: var(--body-bg); }

.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
[data-theme="dark"] .contact-form-card { border-color: var(--border); }
.form-control, .form-select {
  background: var(--body-bg) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(66,165,245,0.15) !important;
}
.form-label { font-weight: 600; font-size: 0.85rem; color: var(--text); margin-bottom: 6px; }
[data-theme="dark"] .form-label { color: #8AADD0; }
.btn-submit {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  border: none;
  padding: 13px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  width: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(21,101,192,0.35);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(21,101,192,0.50); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}
[data-theme="dark"] .contact-info-item { border-color: var(--border); }
.contact-info-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--light-blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
[data-theme="dark"] .contact-info-icon { background: rgba(66,165,245,0.15); color: var(--accent); }
.contact-info-label { font-size: 0.78rem; color: var(--gray); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.contact-info-value { font-size: 0.92rem; color: var(--dark); font-weight: 600; margin-top: 2px; }
[data-theme="dark"] .contact-info-value { color: #D0E4FF; }

/* ---------- Map ---------- */
#map-section { background: var(--white); }
[data-theme="dark"] #map-section { background: var(--card-bg); }
.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 420px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
#footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 0;
}
.footer-brand { font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer-heading { font-size: 0.85rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a::before { content: '›'; opacity: 0.5; }
.footer-social { display: flex; gap: 10px; margin-top: 1.5rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.70);
  font-size: 0.95rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 3rem 0 0; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---------- Back to Top ---------- */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(21,101,192,0.40);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(21,101,192,0.55); }

/* ---------- Utility Classes ---------- */
.text-accent { color: var(--accent) !important; }
.text-primary-brand { color: var(--primary) !important; }
.bg-light-blue { background: var(--light-blue); }
.rounded-xl { border-radius: var(--radius); }

/* ---------- Animations ---------- */
[data-aos] { transition-property: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section-pad { padding: 70px 0; }
  .hero-image-col { display: none; }
  .hero-stats { gap: 2rem; }
  .about-badge { width: 100px; height: 100px; bottom: -12px; right: -12px; }
  .about-badge .big { font-size: 1.5rem; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 55px 0; }
  .cta-box { padding: 3rem 1.5rem; }
  .contact-form-card { padding: 1.75rem 1.25rem; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .num { font-size: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
  .hero-stats { flex-wrap: wrap; gap: 1.2rem; }
  .portfolio-filter { gap: 6px; }
  .filter-btn { font-size: 0.76rem; padding: 6px 14px; }
}
