/* --- General Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #222;
  background: #f9f9f9;
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) skewX(-6deg);
    width: 96%;
    height: 80px;
    background: rgba(20, 20, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.95);
}

.navbar .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    transform: skewX(6deg);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* CSS Logo Styles */
.logo-graphic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    transition: all 0.3s ease;
}

.logo-graphic:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
}

.logo-inner {
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transform: skewX(6deg);
    position: relative;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #ff4655;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ff4655;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    transform: skewX(6deg);
    cursor: pointer;
}

/* --- Dropdown Menu --- */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 20, 0.95);
    padding: 1rem;
    border-radius: 6px;
    min-width: 180px;
    z-index: 2000;
}

.dropdown li {
    margin: 0.5rem 0;
}

.dropdown a {
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
}

.dropdown a:hover {
    color: #ff4655;
}

/* Desktop hover */
.nav-links li.has-dropdown:hover .dropdown {
    display: block;
}

/* Mobile toggle */
.nav-links li.has-dropdown.dropdown-open .dropdown {
    display: block;
    position: relative;
    background: rgba(20,20,20,0.95);
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .navbar {
        padding: 0 1.5rem;
    }
    
    .content {
        padding: 20px;
    }
}

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-end;       /* text bottom-right */
  justify-content: flex-end;
  text-align: right;
  padding: 2rem;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Background image slides */
.hero-slide[data-type="image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Video slides */
.hero-slide video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* very subtle gradient only at bottom, almost invisible */
  background: linear-gradient(to top, rgba(0,0,0,0.35) 10%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-content {
  color: #fff;
  position: relative;
  z-index: 2;
  padding: 0.5rem 0.8rem;
  max-width: 400px;
  background: rgba(0,0,0,0.08);      /* very light, almost see-through */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 6px;
  animation: fadeIn 2s ease-in-out;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6); /* subtle shadow for readability */
}

.hero-content h1 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); /* slightly smaller, elegant */
  margin-bottom: 0.4rem;
}

.hero-content p {
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  margin-bottom: 0.6rem;
}

.cta-btn {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: #ff4655;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-btn:hover {
  background: #e93a48;
  transform: scale(1.05);
}

/* --- Hero Arrows --- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;   /* visible size */
  background: none;    /* no oval */
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.hero-arrow:hover {
  color: #ff4655;
}

.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

/* --- Hero Dots --- */
.hero-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 11;
}

.hero-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dots span.active {
  background: #ff4655;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 60vh; /* reduce height slightly for mobile */
  }

  .hero-slide {
    padding: 0;       /* remove extra padding that pushes content */
    align-items: center;
    justify-content: flex-end;
    text-align: center;
  }

  .hero-content {
    max-width: 90%;
    padding: 0.4rem 0.7rem;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }

  .hero-content h1 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .hero-content p {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .cta-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
}




/* --- Services Section --- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive */
  gap: 2rem;
  padding: 4rem 10%;
  background: #f5f5f5;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Image part */
.service-card .image {
  height: 200px;                  /* fixed height */
  background-size: cover;         /* ensures image covers */
  background-position: center;    /* centers image */
  background-repeat: no-repeat;   /* avoids tiling */
  transition: transform 0.4s ease;
}

/* Text part */
.service-card .content {
  padding: 1.2rem;
  text-align: left;
  color: #333;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #111;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.service-card:hover .image {
  transform: scale(1.05);
}

/* --- CEO Section --- */
/* --- CEO Section --- */
.ceo-section {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
  gap: 3rem;
  padding: 4rem 10%;
  background: #fff;
}

/* Middle text block */
.ceo-text {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers vertically */
  align-items: center;     /* centers horizontally */
  text-align: center;
}

.ceo-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.ceo-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #444;
  max-width: 500px; /* keeps paragraph neat */
  text-align: justify;
}


.ceo-text .cta-btn {
  align-self: center;
}

/* CEO & CFO cards */
.person-card {
  text-align: center;
}

.person-card img {
  max-width: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.3rem;
}

.person-card p {
  font-size: 1rem;
  color: #666;
}

/* Hover effect for photos */
.person-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .ceo-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .person-card img {
    max-width: 60%;
  }
}


/* --- Footer --- */
.footer {
  background: #111;
  color: #eee;
  padding: 3rem 10% 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer-info {
  padding: 0.5rem 1rem; /* Add padding for readability */
}

.footer-info h3 {
  margin-bottom: 1rem;
  color: #ff4655;
  font-weight: 700; /* Make Contact Us text bold */
}

.footer-info p {
  margin: 0.6rem 0;
  line-height: 1.6; /* Better spacing for readability */
}

.footer-info a {
  color: #eee;
  text-decoration: none;
  font-weight: 500; /* Slightly bolder for links */
}

.footer-info a:hover {
  color: #ff4655;
}

.footer-map {
  flex: 1;
  min-width: 280px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(20,20,20,0.95);
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    padding: 1rem;
  }
  .nav-links.open {
    display: flex;
    animation: fadeIn 0.5s ease;
  }
  .nav-links li {
    width: 100%;
  }
  .hamburger {
    display: block;
  }
  .ceo-section {
    flex-direction: column;
    padding: 2rem;
  }
  .services {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .footer-container {
    flex-direction: column;
  }
}

/* --- Animations --- */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}


/* Clients Section */
/* --- Clients / Partners Section --- */
.clients {
  background: #fff;
  padding: 4rem 10%;
  text-align: center;
  position: relative;
}

.clients h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.5px; /* refined typography */
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  width: calc(200%);
  animation: scroll 25s linear infinite; /* locked at 25s */
}

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

.client-logo {
  flex: 0 0 auto;
  width: 200px;        /* uniform size */
  height: 100px;        /* uniform height */
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* logos scale uniformly */
}

.client-logo:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* subtle premium lift */
}

/* Fade-in / out effect on edges */
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}



/* --- WhatsApp Button Styles --- */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.chat-header h3 {
  color: #fff;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

.whatsapp-button i {
  color: white;
  font-size: 28px;
}

.whatsapp-chat-box {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow: hidden;
  display: none;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.whatsapp-chat-box.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  background-color: #075E54;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header i {
  font-size: 20px;
  margin-right: 10px;
}

.chat-header h3 {
  font-weight: 500;
  font-size: 16px;
  flex: 1;
}

.close-chat {
  font-size: 24px;
  cursor: pointer;
  padding: 0 5px;
}

.chat-content {
  padding: 15px;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message {
  background-color: #f0f0f0;
  padding: 10px 15px;
  border-radius: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #e6e6e6;
}

.chat-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}

.chat-input button {
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0 20px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.chat-input button:hover {
  background-color: #128C7E;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .whatsapp-chat-box {
    width: 90%;
    right: 5%;
    left: 5%;
  }
  
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}