/* Copyright © 2025 ICLT Softech Solutions. All Rights Reserved. Do not copy. */

/* Font Faces (Manual Load) */
@font-face {
  font-family: 'FiraSansExtraCondensed';
  src: url('../fonts/FiraSansExtraCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSansExtraCondensed';
  src: url('../fonts/FiraSansExtraCondensed-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'FiraSansExtraCondensed';
  src: url('../fonts/FiraSansExtraCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ===============================
   1. BASE VARIABLES
=============================== */
:root {
  --primary-color: #013470;
  --accent-color: #ffc700;
  --primary-text-color: #000;
  --text-color: #1a1a1a;
  --heading-color: #000000;
  --white: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #001b33;
  --muted-text: #7a7a7a;
  --border-color: #dddddd;
  --modal-bg: #fff;
  --modal-shadow: rgba(0, 0, 0, 0.15);
  --font-base: 'FiraSansExtraCondensed', Arial, sans-serif;
  --font-heading: 'FiraSansExtraCondensed', Arial, sans-serif;
  --transition: all 0.3s ease;
  --radius: 8px;
}

/* ===============================
   2. GLOBAL RESET
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--white);
  letter-spacing: 1.3px !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ===============================
   3. TYPOGRAPHY
=============================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.25rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.875rem;
}

p {
  margin-bottom: 1rem;
}

/* ===============================
   4. UTILITIES
=============================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.text-uppercase {
  text-transform: uppercase;
}
.fw-bold {
  font-weight: 700;
}
.fw-semibold {
  font-weight: 600;
}
.lh-base {
  line-height: 1.5;
}
.d-flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
.align-center {
  align-items: center;
}

/* ===============================
   5. RESPONSIVE BREAKPOINTS
=============================== */
@media (max-width: 991px) {
  .navbar nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  h2 {
    font-size: 2rem !important;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .section-title h2 {
    font-size: 1.75rem;
  }
}

/* ================================
   6. ANIMATION PERFORMANCE
================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ===============================
   7. ACCESSIBILITY & UX ENHANCEMENTS
=============================== */
.desktop-menu a[aria-current='page'] {
  color: var(--accent-color);
  position: relative;
}

.desktop-menu a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  border-radius: 1px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.4) !important;
}

/* ================================
   Global Responsive Media Queries
================================== */
@media (max-width: 575.98px) {
  html {
    overflow-x: hidden !important;
    font-size: 90% !important;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    overflow-x: hidden !important;
    font-size: 92.5% !important;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 95% !important;
  }
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html {
    font-size: 100% !important;
  }
  .container {
    max-width: 960px !important;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 100% !important;
  }
  .container {
    max-width: 1200px !important;
  }
}

/* ===============================
   4. TYPHOGRAPHY (FORCE-APPLIED)
=============================== */
.text-brand-primary {
  color: var(--primary-color) !important;
}
.text-brand-secondary {
  color: var(--accent-color) !important;
}

/* ===============================
   4. BUTTONS (FORCE-APPLIED)
=============================== */
.btn {
  display: inline-block !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: var(--radius) !important;
  transition: var(--transition) !important;
  cursor: pointer !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
}

/* Primary Button */
.btn-primary {
  background-color: var(--accent-color) !important;
  color: var(--primary-text-color, #000) !important;
  border: 2px solid var(--accent-color) !important;
}

.btn-primary:hover {
  background-color: #e69c0e !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
}

/* Outline Button */
.btn-outline {
  background: transparent !important;
  border: 1.5px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
}

.btn-outline:hover {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
}

/* Light Outline Button */
.btn-outline-light {
  background: transparent !important;
  border: 1.5px solid var(--white) !important;
  color: var(--white) !important;
}

.btn-outline-light:hover {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 575.98px) {
  .btn {
    font-size: 0.875rem !important;
    padding: 0.45rem 0.5rem !important;
    border-radius: 6px !important;
  }
}

/* ===============================
   5. LAYOUT STRUCTURE
=============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem;
}

section {
  padding: 80px 0;
  scroll-margin-top: 170px;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 2.25rem;
  font-weight: 600;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color, #ffc700);
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-later {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* ===============================
   Top Bar Styling
=============================== */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1rem;
  padding: 0.4rem 0;
}

.top-bar a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: var(--accent, #ffc700);
}

.top-bar .bi {
  font-size: 1rem;
  vertical-align: middle;
}

/* Social Icons */
.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.top-bar .social-icons a:hover {
  background-color: var(--primary-color);
  color: #fff !important;
  transform: translateX(3px);
}

/* Top Bar Divider */
.topbar-divider {
  width: 1px;
  height: 1.25rem;
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767.98px) {
  .top-bar .container {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }
  .top-bar-left,
  .top-bar-right {
    justify-content: center !important;
    text-align: center;
  }
  .top-bar-right {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ========== HEADER BASE ========== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

header.sticky {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.navbar nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar nav a {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: var(--accent-color);
}

/* ========== NAV TOGGLE (MOBILE) ========== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
}

.nav-toggle i {
  color: var(--primary-color) !important;
}

/* ========== DESKTOP MENU & DROPDOWN ========== */
.desktop-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.desktop-menu li {
  position: relative;
}

.desktop-menu a {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.desktop-menu a:hover {
  color: var(--accent-color);
}

/* Dropdown container */
.desktop-menu .dropdown {
  position: relative;
}

/* Dropdown menu */
.desktop-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background-color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  border-radius: 0.6rem;
  padding: 0.75rem 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  min-width: 200px;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
  display: block;
}

/* Show on hover or JS toggle */
.desktop-menu .dropdown:hover .dropdown-menu,
.desktop-menu .dropdown.show-dropdown .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Dropdown items */
.desktop-menu .dropdown-menu li {
  display: block;
}

.desktop-menu .dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: #013470;
  font-size: 15px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.25s ease-in-out;
}

.desktop-menu .dropdown-menu li a:hover {
  background-color: #013470;
  color: #ffc700;
  border-left-color: #ffc700;
  box-shadow: inset 3px 0 0 #ffc700;
}

/* Chevron icon transition */
.desktop-menu .dropdown > a .bi-chevron-down {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Chevron rotation on toggle */
.desktop-menu .dropdown.show-dropdown > a .bi-chevron-down,
.desktop-menu .dropdown > a[aria-expanded='true'] .bi-chevron-down {
  transform: rotate(180deg);
}

/* Optional: Chevron pseudo-element fix */
.desktop-menu .dropdown > a .bi-chevron-down::before {
  transition: transform 0.3s ease;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .nav-toggle {
    display: block;
  }
  .desktop-menu {
    display: none;
  }
}

/* ========== OFFCANVAS ========== */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--white);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.05);
  transition: right 0.4s ease;
  z-index: 1150;
  overflow-y: auto;
}

.offcanvas-menu.open {
  right: 0;
}

.offcanvas-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(1px);
  transition: opacity 0.3s ease;
  z-index: 1040;
}

.offcanvas-overlay.show {
  display: block;
  opacity: 1;
}

/* Offcanvas nav links */
.offcanvas-nav a.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  padding: 0.75rem 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.offcanvas-nav a.nav-link:hover {
  background: var(--light);
  color: var(--accent-color);
}

/* Mobile dropdown chevron */
.dropdown-mobile .bi-chevron-down {
  transition: transform 0.3s ease;
}

.dropdown-mobile .nav-link[aria-expanded='true'] .bi-chevron-down {
  transform: rotate(180deg);
}

/* Offcanvas close button */
.offcanvas-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ============================================================
   HERO SECTION — Completed & Optimized
============================================================ */
.hero-section {
  position: relative;
  background: var(--brand-blue);
  background: linear-gradient(135deg, #003e75 0%, #001a33 100%);
  padding: 80px 0;
  overflow: hidden;
}

/* Dark overlay for depth */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Slide wrapper */
.hero-slider-wrapper {
  position: relative;
  z-index: 3;
}

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

.hero-slide.showing {
  display: block;
}

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

/* Typography inside slides */
.hero-slide h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-slide p {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  opacity: 0.95;
}

/* Buttons inside hero */
.hero-slider-wrapper .btn {
  position: relative;
  z-index: 4;
  pointer-events: auto;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Navigation Buttons */
#prevHero,
#nextHero {
  backdrop-filter: blur(6px);
  border-radius: 50%;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  transition: var(--transition);
  z-index: 5;
}

#prevHero:hover,
#nextHero:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* Focus accessibility */
#prevHero:focus,
#nextHero:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.45);
}

/* Images */
.hero-slide img {
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   RESPONSIVE (TABLET)
============================================================ */
@media (max-width: 992px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-slide h2 {
    font-size: 1.9rem;
  }
}

/* ============================================================
   RESPONSIVE (MOBILE)
============================================================ */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 0 60px;
  }

  .hero-slide {
    text-align: center;
  }

  .hero-slide h2 {
    font-size: 1.6rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }

  .hero-slide img {
    width: 100%;
    margin-top: 20px;
  }

  #prevHero,
  #nextHero {
    padding: 6px 10px;
  }
}

/* ============================================================
   EXTRA SMALL DEVICES
============================================================ */
@media (max-width: 480px) {
  .hero-slide h2 {
    font-size: 1.4rem;
  }

  .hero-slider-wrapper .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Already good background */
.template-section {
  background: linear-gradient(135deg, #001b33, #013470);
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.template-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero/slide2.webp') center center / cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.template-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.template-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #fff;
}

.template-card .caption {
  padding: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border-top: 1px solid #eee;
}

/* Swiper slide scale and opacity */
.templateSwiper .swiper-slide {
  opacity: 0.5;
  transform: scale(0.92);
  transition: all 0.4s ease;
}

.templateSwiper .swiper-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1.06);
  z-index: 2;
}

/* Improve smooth scale on surrounding slides */
.templateSwiper .swiper-slide-next,
.templateSwiper .swiper-slide-prev {
  opacity: 0.6;
  transform: scale(0.85);
}

.template-testimonials-section {
  background-color: #fff;
}

.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Custom WhatsApp Outline Style */
.btn-outline-secondary.whatsapp-btn {
  border: 2px solid #25d366 !important;
  color: #25d366 !important;
  background-color: transparent;
}

.btn-outline-secondary.whatsapp-btn:hover {
  background-color: #25d366 !important;
  color: #fff !important;
}

/* ===== For Templates page hero backround =====*/
.overlap-section {
  margin-top: -150px;
  padding: 100px 0 60px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background: transparent;
  z-index: 10;
}

.overlap-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overlap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.icon-img {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100px;
}

.icon-img img {
  max-width: 100px;
  max-height: 100px;
  transition: transform 0.3s ease;
}

.overlap-card:hover .icon-img img {
  transform: scale(1.1);
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .overlap-section {
    margin-top: -60px;
    padding: 80px 1rem 40px;
    border-radius: 24px;
  }
}

/* ===============================
   8. About Section & Experience Badge
=============================== */
.about-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.about-section .lead {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.about-features li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

/* ========== Experience Badge ========== */
.experience-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 130px;
  height: 130px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 3;
  opacity: 0;
  transition: all 0.6s ease;
  animation: pulse 2.5s infinite;
}

.experience-badge.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.experience-badge strong {
  font-size: 2.5rem;
  line-height: 1;
}

.experience-badge span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 199, 0, 0.7);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 0 20px rgba(255, 199, 0, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 199, 0, 0);
  }
}

/* ===============================
   8. Servises Section
=============================== */
/* SERVICE BOX */
.service-box2 {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 25px;
  border: 1px solid #e9e9e9;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  min-height: 220px;
}

.service-box2:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
}

.service-desc {
  max-width: 280px;
  margin: 0 auto;
}

/* ICON CENTER */
.icon2 {
  font-size: 2.4rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-box2:hover .icon2 {
  color: var(--accent-color);
  transform: scale(1.18);
}

/* BULLETS */
.service-bullets li {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.service-bullets li i {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-right: 8px;
}

/* TECH BOX */
.tech-icon-wrap {
  background: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.tech-icon-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.tech-icon-wrap img {
  max-height: 38px;
  width: auto;
}

.tech-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 6px;
}

/* ===== Service Feature Points (2-column premium style) ===== */
.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-top: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.3px;
}

.feature-icon {
  background-color: var(--primary-color);
  color: #ffffff;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  margin-right: 10px;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 3px 8px rgba(1, 52, 112, 0.25);
}

.feature-item:hover .feature-icon {
  background-color: var(--accent-color);
  color: #000;
  transform: translateY(-2px);
}

/* Mobile: stack in one column */
@media (max-width: 576px) {
  .service-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* CLIENT LOGO GRID */
.client-logo-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.client-logo-box img {
  max-height: 65px;
  width: auto;
}

.client-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* TESTIMONIAL CARD */
.testimonial-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
}

/* TOP AREA */
.testimonial-top {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

/* FOUNDER IMAGE CENTERED */
.testimonial-founder-img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* MESSAGE */
.testimonial-message {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-color);
}

.testimonial-author {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* SWIPER */
.swiper-pagination-bullet {
  background-color: var(--primary-color) !important;
}

/* === Portfolio Section Styles === */
.portfolio-modern {
  background: linear-gradient(135deg, #001b33, #013470);
  position: relative;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}

.portfolio-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero/slide2.webp') center center / cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.left-content-block {
  padding-right: 1rem;
}

/* Technology Logos */
.technology-logo {
  height: 44px;
  width: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.technology-logo:hover {
  transform: scale(1.08);
  filter: brightness(1.2);
}

/* Right Side Masonry Grid */
.masonry-grid img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.masonry-grid img:hover {
  transform: scale(1.03);
}

@media (max-width: 991.98px) {
  .left-content-block {
    padding: 0 1rem;
    text-align: center;
  }
  .technology-logo-section h6 {
    text-align: center;
  }
  .technology-logo-section .d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .technology-logo {
    height: 36px;
  }
}

@media (max-width: 767.98px) {
  .technology-logo {
    height: 32px;
  }
  .portfolio-item {
    border-radius: 0.5rem !important;
  }
}

/* ========== Template Showcase ========== */
/* Ensure flex-wrap stacks content cleanly */
.template-title-row {
  row-gap: 1rem;
  column-gap: 1.5rem;
}

.template-block {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid #e1e7f0;
}

.template-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.template-thumb img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.4s ease;
}

.template-thumb:hover img {
  transform: scale(1.05);
}

/* Ensure badges wrap nicely */
.template-block .badge {
  font-size: 0.75rem;
  padding: 0.35em 0.65em;
  line-height: 1.2;
  white-space: nowrap;
}

/* Responsive alignment fixes */
@media (max-width: 576px) {
  .template-title-row {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .template-title-row .btn {
    align-self: stretch;
    width: 100%;
    text-align: center;
  }
}

/* ===========================
   FINAL CTA SECTION (CLEAN)
=========================== */
.final-cta-section {
  position: relative;
  overflow: visible !important;
  z-index: 2;
  background-color: var(--primary-color);
}

/* Background texture */
.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero/slide1.webp') center/cover no-repeat;
  opacity: 0.08;
  z-index: -1;
}

/* Default (desktop) */
.cta-brand-img {
  margin-top: -250px;
  margin-bottom: -47px;
  position: relative;
  z-index: 1020;
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/* Tablet & small laptops (≤991px) */
@media (max-width: 991px) {
  .cta-brand-img {
    margin-top: -80px;
    margin-bottom: 30px;
  }
}

/* Mobile (≤575px) */
@media (max-width: 575px) {
  .cta-brand-img {
    margin-top: -80px;
    margin-bottom: 30px;
  }
}

/* ===============================
   12. Footer, Back to Top & WhatsApp
=============================== */
/* ========== Footer Styles ========== */
.footer-section {
  background: linear-gradient(135deg, #001b33, #013470);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
  padding-top: 100px !important;
}

.footer-section h6 {
  font-weight: 600;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.footer-section h4:hover {
  color: #ffc700;
}

.footer-section p,
.footer-section li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.footer-section i {
  font-size: 16px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #ffc700;
  transform: translateX(3px);
}

.footer-section ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.footer-section hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-section .social-icons a {
  color: #ffffff;
  font-size: 16px;
  margin-right: 12px;
  transition: all 0.3s ease-in-out;
}

.footer-section .social-icons a:hover {
  color: #ffc700;
  transform: scale(1.2);
}

/* Envato Author Badge */
.author-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.author-badge img.envato-icon {
  vertical-align: middle;
}

.author-badge a:hover span {
  color: #ffc700;
  transition: color 0.3s ease;
}

@media (max-width: 575.98px) {
  .footer-section {
    padding-top: 20px !important;
  }
}

/* Sticky CTA Banner - Hidden by default */
.sticky-cta-banner {
  display: none;
  opacity: 0;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  padding: 15px 10px 10px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border-color, #eee);
  transition: opacity 0.5s ease;
  animation: slideInUp 0.6s ease;
}

/* Show state after delay */
.sticky-cta-banner.show {
  display: flex;
  opacity: 1;
}

/* Inner Content */
.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Heading */
.cta-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-primary, #013470);
  margin-bottom: 8px;
}

/* CTA Text */
.cta-text {
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* CTA Button */
.cta-button {
  background: var(--brand-primary, #013470);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cta-button:hover {
  background: #002b5a;
}

/* Close Button */
.cta-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.3rem;
  font-weight: bold;
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cta-close:hover {
  color: #444;
}

/* Animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .sticky-cta-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 18px 14px 16px;
  }
  .cta-heading {
    font-size: 1rem;
  }
  .cta-text {
    font-size: 0.95rem;
  }
  .cta-button {
    width: 50%;
    font-size: 0.8rem;
    padding: 12px;
    margin-top: 6px;
  }
  .cta-close {
    top: 8px;
    right: 10px;
    font-size: 1.2rem;
  }
}

/* ========== Back-Top Styles ========== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  background: var(--accent-color) !important;
  color: #013470;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 1050;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* ========== Whatsapp Chat Styles ========== */
.whatsapp-chat {
  position: fixed;
  bottom: 130px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.whatsapp-chat:hover {
  background-color: #1ebc59;
  transform: scale(1.1) rotate(6deg);
}

/* ===============================
   Privacy Policy Page Styling
=============================== */
/* Page Hero Banner */
.page-hero-section {
  background-image: url('../img/hero/slide1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  position: relative;
  z-index: 1;
}

.page-hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.65);
  z-index: 1;
}

.page-hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-hero-section p.lead {
  font-size: 1.125rem;
  font-weight: 400;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease-in-out;
}

.breadcrumb-item a:hover {
  color: #ffc700;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #ffffff;
  font-weight: 500;
}

/* ===============================
   Policy Content Styling
=============================== */
.policy-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color, #333);
}

.policy-content h2 {
  color: var(--primary-color, #013470);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

.policy-content ul.custom-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-content ul.custom-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Links inside policy */
.policy-content a {
  color: var(--primary-color, #013470);
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.policy-content a:hover {
  color: var(--primary-color-dark, #001c38);
}

/* Responsive typography */
@media (max-width: 768px) {
  .page-hero-section h1 {
    font-size: 2rem;
  }
  .page-hero-section p.lead {
    font-size: 1rem;
  }
}

/* Cookie Bar Styling */
.cookie-bar {
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
