:root {
  --primary: #0B1D39;
  --secondary: #C0C0C0;
  --accent: #C99A4A;
  --neutral: #F7F7F9;
  --teal: #006C7E;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--neutral);
  color: var(--primary);
}
/* 1. FIX BODY OVERFLOW */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

/* ===== NAVBAR ===== */
/* ===== NAVBAR FIX FOR LOGO VISIBILITY ===== */

/* ===== NAVBAR FIX FOR LOGO VISIBILITY ===== */

.navbar {
  background-color: var(--primary);
  color: var(--secondary);
  padding: 1rem 0;
  position: relative; /* Start as relative */
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  width: 100%;
  left: 0;
}

.navbar.shrink {
  position: fixed; /* Becomes fixed on scroll */
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0;
  background-color: rgba(11, 29, 57, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: auto;
  padding: 0 2rem;
}

.logo-small {
  display: block; /* Ensure it's always visible */
  flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo-small img {
  height: 100px;
  width: auto;
  transition: height 0.4s ease;
  display: block; /* Ensure image displays properly */
}

.navbar.shrink .logo-small img {
  height: 60px;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 101; /* Ensure it's above nav */
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
nav {
  display: block; /* Ensure nav is visible on desktop */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping if needed */
}

nav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
  font-size: 15px; /* Slightly reduce font size for better fit */
}

nav a:hover {
  color: var(--accent);
}

/* CRITICAL FIX: Tablet/Desktop between 769px and 1200px */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .navbar .container {
    padding: 0 1.5rem;
  }

  .logo-small {
    display: block !important; /* Force logo to show */
  }

  .logo-small img {
    height: 80px; /* Slightly smaller logo */
  }

  .navbar.shrink .logo-small img {
    height: 55px;
  }

  nav ul {
    gap: 1rem; /* Reduce gap between nav items */
  }

  nav a {
    font-size: 14px; /* Smaller font for better fit */
  }
}

/* Tablet Screens (768px and below) */
@media screen and (max-width: 768px) {
  .navbar .container {
    padding: 0 1.5rem;
  }

  .logo-small {
    display: block !important; /* Ensure logo shows */
  }

  .logo-small img {
    height: 70px;
  }

  .navbar.shrink .logo-small img {
    height: 50px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav.active {
    max-height: 500px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
    font-size: 15px;
  }

  nav a:hover {
    background-color: rgba(255, 184, 0, 0.1);
  }
}

/* Mobile Screens (480px and below) */
@media screen and (max-width: 480px) {
  .navbar .container {
    padding: 0 1rem;
  }

  .logo-small img {
    height: 60px;
  }

  .navbar.shrink .logo-small img {
    height: 45px;
  }

  nav a {
    font-size: 14px;
    padding: 0.875rem 1.5rem;
  }
}

/* Extra safety: Ensure logo is never hidden */
.logo-small {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 60%, var(--secondary));
  color: white;
  text-align: center;
  padding-top: 150px;
  padding-bottom: 100px;
  padding-left: 100px;
  padding-right: 100px;
  position: relative;
  overflow: hidden;
}

/* ===== HERO LOGO ===== */
.hero-logo {
  position: relative;
  display: inline-block;
  text-align: center;
  margin-bottom: 2rem;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.hero-logo-img {
  width: 260px;
  height: auto;
  display: block;
  /* filter: drop-shadow(0 2px 6px rgba(255,255,255,0.3)); */
}

/* Light sweep animation over logo image */
.logo-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(200, 210, 220, 0.1) 35%,
    rgba(220, 230, 240, 0.4) 50%,
    rgba(200, 210, 220, 0.1) 65%,
    transparent 100%
  );
  animation: logoShine 5s infinite;
  mix-blend-mode: overlay;
  filter: blur(0.8px);
}

@keyframes logoShine {
  0% { left: -100%; opacity: 0; }
  20% { opacity: 1; }
  50% { left: 120%; opacity: 1; }
  80% { opacity: 0.8; }
  100% { left: 120%; opacity: 0; }
}


.tagline {
  font-family: var(--font-body);
  color: var(--accent);
  font-size: 35px;
  margin-top: 0.6rem;
}

/* ===== HERO CONTENT ===== */
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 600;
  margin-bottom: 35px;
}

.hero-content p {
  font-size: 30px;
  margin-bottom: 65px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  padding: 22px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
  text-transform: uppercase;
  font-size: 20px;
}

.btn-primary:hover {
  background-color: var(--teal);
  transform: translateY(-3px);
   color: #fff;
}
/* ===== About Us ===== */

.about-us {
  background: var(--neutral);
  padding: 100px 80px 0px 80px;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-heading {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 50px;
  margin-bottom: 10px;
}

.about-subtext {
  font-family: var(--font-body);
  color: var(--teal);
  font-size: 25px;
  font-weight: 500;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.about-image lottie-player {
  width: 100%;
  max-width: 400px;
}

.about-content {
  flex: 1 1 50%;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.about-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.about-card h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 25px;
}

.about-card p {
  font-family: var(--font-body);
  color: #000;
  line-height: 25px;
    font-size: 18px;
}

.connector-line {
  width: 100%;
  height: 40px;
  animation: drawLine 10s ease-in-out forwards;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 200;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    order: -1;
  }

  .connector-line {
    display: none;
  }
}


/* ===== SERVICES ===== */
.section-title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 50px;
  margin-bottom: 40px;
  padding-top: 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 80px;
}

.service-box {
  background-color: white;
  text-align: center;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.service-box img {
  height: 50px;
  margin-bottom: 15px;
}

.service-box h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 25px;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-box p {
  font-size: 18px;
  line-height: 25px;
  color: #000;
}

.service-box:hover,
.service-box.active {
  transform: translateY(-5px);
  border-top: 4px solid var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Service Detail Sections */
.service-detail {
  display: none;
  padding: 60px 80px;
  background: white;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  animation: fadeIn 0.4s ease;
}

.service-detail.active {
  display: block;
}

.service-detail h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
}

.service-detail ul {
  margin-left: 20px;
  color: #333;
}

.detail-grid {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 3rem;
  margin-top: 40px;
}

.detail-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.detail-content h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 22px;
}

.intro-text {
    color: #0B1D39;
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.bullet-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.bullet-block img {
  width: 22px;
  margin-top: 3px;
  flex-shrink: 0;
}

.bullet-block p {
  margin: 0;
  color: #444;
  line-height: 1.5;
}

.btn-outline {
  display: inline-block;
  margin-top: 30px;
  border: 2px solid var(--teal);
  padding: 12px 28px;
  border-radius: 6px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-outline:hover {
  background-color: var(--teal);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-image img {
    width: 100%;
  }
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    flex-direction: column;
  }

  .detail-grid img {
    /* width: 100%; */
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-logo-img { width: 180px; }
  .hero-content h3 { font-size: 1.8rem; }
  nav ul { flex-wrap: wrap; gap: 1rem; }
}

/* ===== CHANNEL PARTNERS SECTION ===== */
.channel-partners {
  background: linear-gradient(135deg, rgba(11, 29, 57, 0.95), rgba(0, 108, 126, 0.9)),
              url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1200') center/cover;
  padding: 100px 80px;
  color: white;
  position: relative;
}

.partner-overlay {
  position: relative;
  z-index: 2;
}

.partner-content h2 {
  font-family: var(--font-heading);
  font-size: 50px;
  text-align: center;
  margin-bottom: 15px;
  color: white;
}

.partner-subtitle {
  text-align: center;
  font-size: 22px;
  margin-bottom: 50px;
  color: var(--accent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-card h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 10px;
  color: white;
}

.benefit-card p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.partner-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.partner-form {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.partner-form h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.partner-form textarea {
  margin-bottom: 20px;
  resize: vertical;
}

.partner-form .btn-primary {
  width: 100%;
  cursor: pointer;
  border: none;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .channel-partners {
    padding: 60px 20px;
  }
  
  .partner-form {
    padding: 30px 20px;
  }
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(11, 29, 57, 0.92), rgba(0, 108, 126, 0.88)),
              url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600') center/cover fixed;
  position: relative;
}

.case-studies .section-title {
  color: white;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  color: var(--accent);
  margin-top: -20px;
  margin-bottom: 50px;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 80px;
}

.carousel-track {
  display: flex;
  position: relative;
}

.case-card {
  min-width: 100%;
  display: none;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.case-card.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.case-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
}

.case-content {
  padding: 40px;
}

.case-content h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 10px;
}

.case-client {
  color: var(--teal);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
}

.case-description {
  color: #444;
  line-height: 28px;
  font-size: 17px;
  margin-bottom: 30px;
}

.case-metrics {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.metric {
  text-align: center;
  flex: 1;
}

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 5px;
}

.metric-label {
  display: block;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -25px;
}

.carousel-btn.next {
  right: -25px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent);
  width: 35px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .case-studies {
    padding: 60px 20px;
  }
  
  .case-image {
    height: 250px;
  }
  
  .case-content {
    padding: 30px 20px;
  }
  
  .case-metrics {
    flex-direction: column;
    gap: 15px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
}

/* ===== INSIGHTS SECTION ===== */
.insights-section {
  padding: 100px 80px;
  background: white;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 50px;
}

.insight-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.insight-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.08);
}

.insight-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insight-content {
  padding: 30px;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #888;
}

.insight-date {
  color: var(--teal);
  font-weight: 600;
}

.insight-read {
  color: #999;
}

.insight-content h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.insight-card:hover h3 {
  color: var(--teal);
}

.insight-content p {
  color: #555;
  line-height: 26px;
  font-size: 16px;
  margin-bottom: 20px;
}

.insight-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.insight-link:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.insights-cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .insights-section {
    padding: 60px 20px;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 100px 80px;
  background: var(--neutral);
}

.contact-container {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-left h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 45px;
  margin-bottom: 20px;
}

.contact-intro {
  color: #555;
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-item p {
  color: #666;
  font-size: 16px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  padding: 12px 25px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

.contact-form {
  background: white;
  padding: 45px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 30px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  cursor: pointer;
  border: none;
  margin-top: 10px;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 60px 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 60px 80px 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  color: var(--accent);
  font-size: 16px;
  line-height: 26px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  color: white;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  font-size: 14px;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== MOBILE RESPONSIVE MODIFICATIONS ===== */

/* Add these styles to your existing style.css */

/* Body overflow fix */
body {
  overflow-x: hidden;
  width: 100%;
}

/* Container max-width fix */
/* .navbar .container {
  max-width: 100%;
} */

/* ===== NAVBAR RESPONSIVE ===== */
/* @media (max-width: 768px) {
  .navbar .container {
    padding: 0 1rem;
  }

  .logo-small img {
    height: 60px;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
    font-size: 14px;
  }

  nav a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .logo-small img {
    height: 50px;
  }

  nav ul {
    display: none; 
  }
} */

/* ===== HERO RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 80px 40px 60px;
  }

  .hero-logo-img {
    width: 180px;
  }

  .tagline {
    font-size: 20px;
  }

  .hero-content h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
  }

  .btn-primary {
    padding: 16px 30px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero-logo-img {
    width: 140px;
  }

  .tagline {
    font-size: 16px;
  }

  .hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .btn-primary {
    padding: 14px 25px;
    font-size: 14px;
  }
}

/* ===== ABOUT US RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-us {
    padding: 60px 40px 40px;
  }

  .about-heading {
    font-size: 35px;
  }

  .about-subtext {
    font-size: 18px;
  }

  .about-container {
    gap: 40px;
  }

  .about-card h3 {
    font-size: 20px;
  }

  .about-card p {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .about-us {
    padding: 50px 20px 30px;
  }

  .about-heading {
    font-size: 28px;
  }

  .about-subtext {
    font-size: 16px;
  }

  .about-card {
    padding: 20px;
  }

  .about-card h3 {
    font-size: 18px;
  }

  .about-card p {
    font-size: 15px;
    line-height: 20px;
  }
}

/* ===== SERVICES RESPONSIVE ===== */
@media (max-width: 992px) {
  .section-title {
    font-size: 40px;
    padding-top: 60px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 40px;
    gap: 1.2rem;
  }

  .service-detail {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
    padding-top: 50px;
    margin-bottom: 30px;
  }

  .services-grid {
    padding: 0 20px;
  }

  .service-box {
    padding: 20px 15px;
  }

  .service-box h3 {
    font-size: 20px;
  }

  .service-box p {
    font-size: 16px;
    line-height: 22px;
  }

  .service-detail {
    padding: 30px 20px;
  }

  .service-detail h3 {
    font-size: 28px;
  }

  .detail-grid {
    gap: 2rem;
  }

  .intro-text {
    font-size: 22px;
    line-height: 32px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .intro-text {
    font-size: 20px;
    line-height: 28px;
  }

  .service-detail h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }

  .service-box h3 {
    font-size: 18px;
  }

  .service-box p {
    font-size: 14px;
  }

  .intro-text {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ===== CHANNEL PARTNERS RESPONSIVE ===== */
@media (max-width: 992px) {
  .channel-partners {
    padding: 60px 40px;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .channel-partners {
    padding: 50px 20px;
  }

  .partner-content h2 {
    font-size: 35px;
  }

  .partner-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .benefits-grid {
    margin-bottom: 40px;
  }

  .benefit-card {
    padding: 25px 15px;
  }

  .benefit-card h4 {
    font-size: 18px;
  }

  .benefit-card p {
    font-size: 14px;
    line-height: 20px;
  }

  .partner-form {
    padding: 30px 25px;
  }

  .partner-form h3 {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .partner-content h2 {
    font-size: 28px;
  }

  .partner-form {
    padding: 25px 20px;
  }
}

/* ===== CASE STUDIES RESPONSIVE ===== */
@media (max-width: 768px) {
  .case-studies {
    padding: 60px 0;
  }

  .carousel-container {
    padding: 0 60px;
  }

  .case-image {
    height: 250px;
  }

  .case-content {
    padding: 30px 20px;
  }

  .case-content h3 {
    font-size: 26px;
  }

  .case-client {
    font-size: 16px;
  }

  .case-description {
    font-size: 15px;
    line-height: 24px;
  }

  .case-metrics {
    flex-direction: column;
    gap: 15px;
  }

  .metric-value {
    font-size: 24px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .case-studies {
    padding: 50px 0;
  }

  .carousel-container {
    padding: 0 50px;
  }

  .case-image {
    height: 200px;
  }

  .case-content h3 {
    font-size: 22px;
  }

  .case-description {
    font-size: 14px;
    line-height: 22px;
  }

  .metric-value {
    font-size: 20px;
  }

  .metric-label {
    font-size: 12px;
  }
}

/* ===== INSIGHTS RESPONSIVE ===== */
@media (max-width: 992px) {
  .insights-section {
    padding: 60px 40px;
  }

  .insights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .insights-section {
    padding: 50px 20px;
  }

  .insight-content {
    padding: 25px;
  }

  .insight-content h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .insight-content p {
    font-size: 15px;
    line-height: 24px;
  }
}

@media (max-width: 600px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-image {
    height: 200px;
  }
}

/* ===== CONTACT SECTION RESPONSIVE ===== */
@media (max-width: 992px) {
  .contact-section {
    padding: 60px 40px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 50px 20px;
  }

  .contact-left h2 {
    font-size: 35px;
  }

  .contact-intro {
    font-size: 16px;
    line-height: 26px;
  }

  .contact-item h4 {
    font-size: 16px;
  }

  .contact-item p {
    font-size: 15px;
  }

  .contact-form {
    padding: 35px 25px;
  }

  .contact-form h3 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .contact-left h2 {
    font-size: 28px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-form h3 {
    font-size: 22px;
  }

  .social-links {
    flex-wrap: wrap;
  }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer {
    padding: 50px 40px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-logo {
    height: 60px;
  }

  .footer-tagline {
    font-size: 14px;
    line-height: 22px;
  }

  .footer-column h4 {
    font-size: 16px;
  }

  .footer-column a {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* ===== WHATSAPP BUTTON RESPONSIVE ===== */
@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== ADDITIONAL FIXES ===== */
@media (max-width: 480px) {
  /* Ensure buttons don't overflow */
  .btn-primary,
  .btn-outline {
    font-size: 14px;
    padding: 12px 20px;
  }

  /* Fix form inputs on small screens */
  .partner-form input,
  .partner-form select,
  .partner-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    padding: 12px 15px;
  }

  /* Adjust icon sizes */
  .benefit-icon,
  .contact-icon {
    font-size: 1.8rem;
  }

  .about-card .icon {
    font-size: 1.5rem;
  }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 40px 30px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .case-image {
    height: 180px;
  }
}
@media (max-width: 500px) {
    .carousel-btn.next {
        right: 5px;
    }
        .carousel-btn.prev {
        left: 5px;
    }
}
/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for carousel on very small screens */
@media (max-width: 380px) {
  .carousel-container {
    padding: 0 45px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}