/* =============================================
   G5 POS — Main Stylesheet
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #4a9af5;
  --secondary: #ff6b35;
  --secondary-dark: #e5552a;
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --danger: #dc3545;
  --font-en: 'Poppins', sans-serif;
  --font-ar: 'Noto Kufi Arabic', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,.08);
  --shadow: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all .3s ease;
  --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-en);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

body[lang="ar"] {
  font-family: var(--font-ar);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .875rem;
  margin-bottom: .5rem;
  position: relative;
}

.section-subtitle::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin-top: 8px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle::after {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: .5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 8px 24px;
  font-size: .85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  height: var(--header-height);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  z-index: 1001;
}

.header.scrolled .logo {
  color: var(--primary);
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo span {
  font-size: 0;
  width: 0;
  overflow: hidden;
}

.header.scrolled .logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  padding: 8px 18px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--white);
  border-radius: 50px;
  position: relative;
}

.header.scrolled .nav-menu a {
  color: var(--gray-800);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(26, 115, 232, .08);
}

.header.scrolled .nav-menu a:hover,
.header.scrolled .nav-menu a.active {
  color: var(--primary);
  background: rgba(26, 115, 232, .08);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  margin-left: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: .85rem;
  border: 1px solid rgba(255,255,255,.3);
  transition: var(--transition);
  font-family: inherit;
}

.lang-arrow {
  font-size: .65rem;
  margin-left: 2px;
  transition: transform .3s ease;
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.header.scrolled .lang-toggle {
  background: rgba(26, 115, 232, .08);
  color: var(--primary);
  border-color: var(--primary);
}

.lang-toggle:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  z-index: 2000;
  animation: langMenuFade .2s ease;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

@keyframes langMenuFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-menu li a {
  display: block;
  padding: 9px 18px;
  color: var(--dark);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}

.lang-menu li a:hover,
.lang-menu li a.active {
  background: rgba(26, 115, 232, .08);
  color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, .85) 0%, rgba(22, 33, 62, .7) 50%, rgba(26, 115, 232, .4) 100%);
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: var(--header-height);
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
  pointer-events: none;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  font-size: 1.2rem;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--gray-100);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.about-intro p {
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 115, 232, .1), rgba(255, 107, 53, .1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.about-card:hover .icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  transform: scale(1.1);
}

.about-card h4 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.about-card p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ---------- Products / Services Section ---------- */
.products-section {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  border: 1px solid var(--gray-300);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-card .icon {
  width: 65px;
  height: 65px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(26, 115, 232, .1), rgba(255, 107, 53, .05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.product-card:hover .icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.product-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.product-card p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.products-cta {
  text-align: center;
  margin-top: 50px;
}

/* ---------- Stats / Counter Section ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/banners/hero-slide-1.jpg') center/cover no-repeat;
  opacity: .1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-item .stat-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
  display: block;
}

.stat-item .stat-label {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ---------- Clients Section ---------- */
.clients-section {
  padding: 60px 0;
  background: var(--gray-100);
  overflow: hidden;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 50px;
  animation: scrollLogos 25s linear infinite;
  width: max-content;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  width: 160px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  filter: grayscale(100%);
  opacity: .6;
  transition: var(--transition);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- Callback / Contact Form ---------- */
.callback-section {
  background: var(--white);
  padding: 80px 0;
}

.callback-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.callback-info h2 {
  margin-bottom: 1rem;
}

.callback-info p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.callback-info .info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.callback-info .info-item i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26, 115, 232, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.callback-info .info-item div h5 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.callback-info .info-item div p {
  margin-bottom: 0;
  font-size: .9rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-card h3 {
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--gray-800);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-400);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-800);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, .15);
}

.form-control::placeholder {
  color: var(--gray-500);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236c757d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-top: 15px;
}

.form-message.success {
  display: block;
  background: rgba(40, 167, 69, .1);
  color: var(--success);
  border: 1px solid rgba(40, 167, 69, .2);
}

.form-message.error {
  display: block;
  background: rgba(220, 53, 69, .1);
  color: var(--danger);
  border: 1px solid rgba(220, 53, 69, .2);
}

.form-control.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, .1);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/banners/hero-slide-1.jpg') center/cover no-repeat;
  opacity: .15;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.8rem;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: var(--secondary);
  font-size: .95rem;
}

.breadcrumb i {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
}

/* ---------- Why Choose Us ---------- */
.why-section {
  padding: 80px 0;
  background: var(--white);
}

.why-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-grid .product-card {
  text-align: center;
}

.why-grid .product-card .icon {
  margin: 0 auto 20px;
}

/* ---------- Contact Page ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.contact-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-card i {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.contact-card h4 {
  margin-bottom: 10px;
}

.contact-card p {
  font-size: .9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-card a {
  color: var(--primary);
}

.contact-card a:hover {
  color: var(--primary-dark);
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
}

/* ---------- Services Page Full Grid ---------- */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.services-cta h2 {
  color: var(--white);
  margin-bottom: .5rem;
}

.services-cta p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-links a i {
  margin-right: 8px;
  font-size: .75rem;
  color: var(--secondary);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 4px;
  font-size: .9rem;
  flex-shrink: 0;
}

.footer-contact-item p {
  margin-bottom: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,.6);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-newsletter {
  display: flex;
  gap: 0;
  margin-top: 10px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-size: .9rem;
  font-family: inherit;
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,.4);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-newsletter button {
  padding: 10px 18px;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--secondary);
  color: var(--white);
  cursor: pointer;
  font-size: .9rem;
  transition: var(--transition);
}

.footer-newsletter button:hover {
  background: var(--secondary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 0;
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
.animate-on-scroll.delay-4 { transition-delay: .4s; }
.animate-on-scroll.delay-5 { transition-delay: .5s; }
.animate-on-scroll.delay-6 { transition-delay: .6s; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-white { color: var(--white) !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
