/* ===================================
   Intercontinental Investment Group
   Main Stylesheet
   =================================== */

/* === CSS Variables === */
:root {
  /* Primary Blues (iBusinessFunding palette) */
  --primary-blue: #166cb1;
  --primary-blue-hover: #135791;
  --dark-navy: #0e2237;
  --medium-navy: #163f64;
  --bright-blue: #1985c4;
  --sky-blue: #4ca5e4;
  --light-blue-bg: #f2f7fd;
  --gradient-blue-start: #e3eefb;
  --gradient-blue-end: #ffffff;

  /* Accent Colors */
  --accent-sunburst: #fdab30;
  --accent-seafoam: #12d9b8;
  --accent-lilac: #b698fd;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-grey: #e9ecef;
  --grey: #6c757d;
  --dark-grey: #343a40;

  /* Text Colors */
  --text-primary: #343d42;
  --text-secondary: #475467;
  --text-muted: #667085;
  --text-dark: #101828;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(14, 34, 55, 0.08);
  --shadow-md: 0 4px 12px rgba(14, 34, 55, 0.12);
  --shadow-lg: 0 8px 24px rgba(14, 34, 55, 0.16);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --max-width: 1200px;
}

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-blue-hover);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-navy);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* === Header & Navigation === */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.announcement-bar {
  background-color: var(--medium-navy);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.announcement-bar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 340px 1fr auto;
  align-items: center;
  height: 80px;
  gap: 2rem;
}

.logo {
  justify-self: start;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-blue);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Dropdown Menu */
nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 8px 0;
  z-index: 100;
}

nav ul li:hover .dropdown {
  display: block;
}

nav ul li .dropdown li {
  padding: 0;
}

nav ul li .dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

nav ul li .dropdown li a::after {
  display: none;
}

nav ul li .dropdown li a:hover {
  background-color: var(--light-blue-bg);
  color: var(--primary-blue);
}

/* Dropdown arrow indicator */
nav ul li > a.has-dropdown::before {
  content: ' ▾';
  font-size: 0.75rem;
}

/* Nav CTA Button */
.nav-cta {
  justify-self: end;
  margin-left: 1.5rem;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  justify-self: end;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-navy);
  transition: var(--transition);
}

/* === Hero Slider === */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 34, 55, 0.85) 0%, rgba(14, 34, 55, 0.6) 50%, rgba(14, 34, 55, 0.3) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.hero-slide-content h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  line-height: 1.2;
}

.hero-slide-content p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.95;
}

.hero-slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--primary-blue);
  transform: scale(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* === Section Styles === */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--light-blue-bg);
}

.section-gradient {
  background: linear-gradient(180deg, var(--gradient-blue-start) 0%, var(--gradient-blue-end) 100%);
}

/* Partner Logos */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.section-dark {
  background-color: var(--dark-navy);
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === Cards === */
.card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 12px rgba(14, 34, 55, 0.06);
  transition: var(--transition);
  margin-bottom: 2rem;
  border: 1px solid rgba(14, 34, 55, 0.06);
  border-top: 4px solid var(--primary-blue);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(14, 34, 55, 0.12);
  border-top-color: var(--accent-sunburst);
}

.card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--bright-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(22, 108, 177, 0.3);
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(22, 108, 177, 0.4);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark-navy);
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* === Grid Layouts === */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* === Service Cards === */
.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  margin-bottom: 1rem;
}

/* === Testimonials === */
.testimonial {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.testimonial-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--grey);
}

/* === Portfolio === */
.portfolio-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* === Contact Form === */
.contact-form {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(22, 108, 177, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* === Footer === */
footer {
  background-color: #0a1628;
  color: var(--white);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent-sunburst);
  opacity: 1;
}

.footer-section p {
  color: var(--white);
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 0;
}

/* === Page Header === */
.page-header {
  background: url('../img/page_header.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 34, 55, 0.88) 0%, rgba(14, 34, 55, 0.65) 100%);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.1rem;
}

/* === Breadcrumb === */
.breadcrumb {
  background-color: var(--light-blue-bg);
  padding: 15px 0;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.breadcrumb ul li {
  color: var(--grey);
}

.breadcrumb ul li a {
  color: var(--primary-blue);
}

.breadcrumb ul li:not(:last-child)::after {
  content: '/';
  margin-left: 1rem;
  color: var(--grey);
}

/* === Legal Pages === */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

/* === Responsive Design === */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .nav-container {
    grid-template-columns: 1fr auto;
    height: 70px;
    gap: 0;
    padding: 0 16px;
  }
  
  nav {
    display: none;
  }
  
  .logo {
    justify-self: start;
  }
  
  .logo img {
    max-height: 38px;
  }
  
  .mobile-menu-toggle {
    justify-self: end;
    padding: 8px;
  }
  
  nav ul {
    display: none;
  }
  
  /* Mobile drawer — appended to body via JS */
  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 70px;
    right: 0;
    width: 280px;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background-color: var(--dark-navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    list-style: none;
  }
  
  .mobile-drawer.active {
    transform: translateX(0);
  }
  
  /* Overlay backdrop */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  
  .menu-overlay.active {
    display: block;
  }
  
  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
  }
  
  .mobile-menu-close:hover {
    opacity: 1;
  }
  
  .mobile-drawer li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .mobile-drawer li:last-child {
    border-bottom: none;
  }
  
  .mobile-drawer li a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
  }
  
  .mobile-drawer li a::after {
    display: none;
  }
  
  .mobile-drawer li a:hover {
    color: var(--accent-sunburst);
    padding-left: 0.5rem;
  }
  
  .mobile-drawer li .dropdown {
    position: static;
    display: none;
    min-width: auto;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    list-style: none;
  }
  
  .mobile-drawer li.dropdown-open .dropdown {
    display: block;
  }
  
  .mobile-drawer li .dropdown li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 0.6rem 0;
  }
  
  .mobile-drawer li .dropdown li a:hover {
    color: var(--accent-sunburst);
    background-color: transparent;
    padding-left: 0.5rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .partner-logos {
    gap: 1.5rem;
  }
  
  .partner-logos img {
    height: 50px;
  }
  
  .footer-logo img {
    max-height: 40px;
  }
  
  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0;
  }
  
  .scroll-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 20px !important;
    right: 20px !important;
    font-size: 1.2rem !important;
  }
  
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 76px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
  
  .hero-slide {
    min-height: 400px;
  }
  
  .hero-slide-content {
    padding: 0 1.25rem;
  }
  
  .hero-slide-content h1 {
    font-size: 1.75rem;
    max-width: 100%;
  }
  
  .hero-slide-content p {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  
  .slider-dots {
    bottom: 15px;
  }
  
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .portfolio-item {
    margin-bottom: 1.5rem;
  }
  
  .filter-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .page-header {
    padding: 50px 0;
  }
  
  .page-header h1 {
    font-size: 1.75rem;
  }
  
  .page-header p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

/* === Scroll Animations === */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  pointer-events: none;
}

.scroll-to-top:hover {
  background-color: var(--bright-blue);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.animate-on-scroll.animate-visible {
  opacity: 1;
}

/* Fade in from left */
.fade-in-left {
  transform: translateX(-60px);
}

.fade-in-left.animate-visible {
  transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
  transform: translateX(60px);
}

.fade-in-right.animate-visible {
  transform: translateX(0);
}

/* Blur in */
.blur-in {
  filter: blur(10px);
  transform: translateY(20px);
}

.blur-in.animate-visible {
  filter: blur(0);
  transform: translateY(0);
}
