:root {
  --primary-blue: #1A56DB;
  --dark-navy: #0F3460;
  --accent-gold: #F59E0B;
  --bg-light: #F3F4F6;
  --white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-pill: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  
  --font-hero: 'Playfair Display', serif;
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Cinzel', serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
  padding-top: 150px; /* Accounts for fixed ticker + navbar */
}

/* Typography */
h1 { font-family: var(--font-hero); font-weight: 700; }
h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; }
.section-title { font-size: 36px; text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.stylish-title {
  font-family: var(--font-logo);
  background: linear-gradient(45deg, var(--dark-navy), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Buttons */
.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #1545b3; /* 15% darker */
  transform: scale(1.03);
  color: var(--white);
}

.btn-whatsapp {
  background-color: #25D366; /* WhatsApp Green */
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: scale(1.03);
  color: var(--white);
}

/* Base Card Styles */
.card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}
.card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.card .card-img-top {
  height: 250px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-img-top {
  transform: scale(1.05);
}

.btn-whatsapp-compact {
  background-color: #25D366;
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.btn-whatsapp-compact:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

/* Layout Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding { padding: 80px 0; }

/* -------------------
   TICKER BAR
-------------------- */
.ticker-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark-navy);
  color: var(--white);
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1000;
  font-size: 13px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  flex: 1;
}
.ticker-wrap:hover .ticker-content { animation-play-state: paused; }

.ticker-item { padding: 0 20px; display: inline-flex; align-items: center; }
.ticker-separator { color: rgba(255,255,255,0.4); }

.ticker-contact {
  background: var(--dark-navy);
  padding: 0 20px;
  display: flex;
  gap: 15px;
  z-index: 2;
  position: relative;
  box-shadow: -10px 0 10px var(--dark-navy);
}
.ticker-contact a { transition: color var(--transition-fast); }
.ticker-contact a:hover { color: var(--accent-gold); }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* -------------------
   NAVBAR
-------------------- */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 110px;
  background: #ffffff; /* Explicit pure white for perfect blending */
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  z-index: 999;
  transition: all var(--transition-normal);
}
.navbar.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-brand img { 
  width: 90px; 
  height: 90px; 
  border-radius: 50%; 
  border: none; 
  object-fit: cover; /* Zooms into the logo subject to reduce white background */
  background-color: #ffffff; /* Circular white background */
  padding: 0; /* Removing padding to maximize logo size */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
  transition: transform var(--transition-fast); 
}
.navbar-brand img:hover { transform: scale(1.05); }
.navbar-brand span { font-family: var(--font-logo); font-size: 20px; font-weight: 600; color: var(--dark-navy); transition: color var(--transition-fast); }
.navbar.scrolled .navbar-brand span { color: var(--dark-navy); }

.nav-links { display: flex; gap: 15px; align-items: center; }
.nav-link {
  padding: 8px 20px;
  border-radius: var(--border-radius-pill);
  background: var(--primary-blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  background: var(--dark-navy);
  color: var(--white);
}

/* Dropdown styling */
.nav-item.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 240px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.nav-item.dropdown:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.dropdown-item {
  display: block;
  padding: 10px 15px;
  border-radius: var(--border-radius-pill);
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  text-align: center;
  transition: background var(--transition-fast);
}
.dropdown-item:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.hamburger { display: none; background: transparent; border: none; font-size: 24px; color: var(--dark-navy); cursor: pointer; }
.navbar.scrolled .hamburger { color: var(--dark-navy); }

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 1001;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.mobile-menu-drawer.active { transform: translateX(0); }
.close-menu { align-self: flex-end; background: transparent; border: none; font-size: 28px; cursor: pointer; color: var(--text-dark); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.mobile-nav-link { 
  display: block; padding: 12px; background: var(--primary-blue); color: var(--white);
  border-radius: var(--border-radius-pill); text-align: center; font-weight: 600; 
}
.mobile-nav-link-dropdown { background: var(--bg-light); color: var(--text-dark); }

/* -------------------
   HERO / BANNER
-------------------- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.page-hero::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.55); z-index: -1;
}
.page-hero h1 { font-size: 56px; margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.page-hero p { font-size: 20px; max-width: 700px; margin: 0 auto; }

/* Hero Slider Arrows */
.carousel-control-prev, .carousel-control-next {
  width: 5%;
  opacity: 0.8;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: var(--primary-blue);
  background-size: 50%;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: all var(--transition-fast);
}
.carousel-control-prev:hover .carousel-control-prev-icon, 
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--accent-gold);
  transform: scale(1.1);
}


/* -------------------
   FOOTER
-------------------- */
.footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent-gold);
}
.footer .navbar-brand span,
.footer .stylish-title {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--accent-gold) !important;
}
.footer-col p, .footer-col ul li a {
  color: #D1D5DB;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-col ul li a:hover { color: var(--white); text-decoration: underline; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { color: var(--white); font-size: 18px; transition: color var(--transition-fast); }
.social-icons a:hover { color: var(--accent-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

.floating-call {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--primary-blue);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}
.floating-call:hover {
  transform: scale(1.1);
  color: white;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* -------------------
   ANIMATIONS (Scroll Reveal)
-------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* -------------------
   CLIENT LOGO CARDS
-------------------- */
.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 20px 15px;
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: default;
}
.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.client-logo-card img {
  height: 50px;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}
.client-logo-card:hover img {
  filter: grayscale(0%);
}
.client-logo-card span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* -------------------
   LOGO MARQUEE
-------------------- */
.logo-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logo-marquee-content {
  display: inline-flex;
  animation: marquee-logos 20s linear infinite;
}
.logo-marquee-wrap:hover .logo-marquee-content {
  animation-play-state: paused;
}
@keyframes marquee-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------------------
   MOBILE MENU (Enhanced)
-------------------- */
.mobile-services-header {
  display: block;
  padding: 12px;
  background: var(--dark-navy);
  color: var(--white);
  border-radius: var(--border-radius-pill);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
}
.mobile-services-header i {
  transition: transform 0.3s ease;
  margin-left: 6px;
}
.mobile-services-header.active i {
  transform: rotate(180deg);
}
.mobile-services-sub {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 12px;
  margin-top: 8px;
  animation: slideDown 0.3s ease;
}
.mobile-services-sub.active {
  display: flex;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------
   ENHANCED FORM STYLING
-------------------- */
.form-control, .form-select {
  border: 2px solid #E2E8F0;
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
  outline: none;
}
.form-label {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
optgroup {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--dark-navy);
}
optgroup option {
  font-weight: 400;
  color: var(--text-dark);
  padding: 4px 0;
}

/* -------------------
   SECTION ENHANCEMENTS
-------------------- */
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
  border-radius: 2px;
  margin: 12px auto 0;
}

/* -------------------
   CARD ENHANCEMENTS
-------------------- */
.hover-up {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer;
}
.hover-up:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* -------------------
   MEDIA QUERIES
-------------------- */
@media (max-width: 1200px) {
  .page-hero h1 { font-size: 48px; }
}
@media (max-width: 991px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .navbar-brand img { width: 70px; height: 70px; }
  .navbar-brand span { font-size: 16px; }
  .navbar { height: 90px; }
  body { padding-top: 130px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ticker-contact { display: none; }
  .section-title { font-size: 30px; }
}
@media (max-width: 767px) {
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 16px; }
  .page-hero { min-height: 300px; }
  .section-padding { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .navbar-brand img { width: 60px; height: 60px; }
  .navbar-brand span { font-size: 14px; }
  .navbar { height: 80px; }
  body { padding-top: 120px; }
  .client-logo-card { min-width: 130px; padding: 14px 10px; }
  .client-logo-card img { height: 35px; }
}
@media (max-width: 480px) {
  .mobile-menu-drawer { width: 85%; }
  .card-img-top { height: 200px; object-fit: cover; }
  .page-hero h1 { font-size: 26px; }
  .section-title { font-size: 24px; }
}
