:root {
  --brand: #0C255E;
  --accent: #8E9194;
}

* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: #333;
  padding-top: 0px;
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  padding: 15px 0;
  border-bottom: 4px solid var(--brand);


  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
}
.header img {
  max-width: 480px;
  width: 90%;
}

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
  z-index: 999;
  top: 0;
position: sticky;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1100px;
  margin: auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 18px;
}

.navbar a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  transition: 0.3s;
}

.navbar a:hover {
  background: rgba(13,85,136,0.08);
}

.email {
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Hamburger ---------- */
/* ---------- Hamburger ---------- */
/*.hamburger {*/
/*  display: none;*/
/*  flex-direction: column;*/
/*  justify-content: center;*/
/*  width: 30px;*/
/*  height: 22px;*/
/*  cursor: pointer;*/
/*}*/

/*.hamburger span {*/
/*  display: block;*/
/*  height: 3px;*/
/*  width: 100%;*/
/*  background-color: var(--brand); */
/*  margin: 4px 0;*/
/*  border-radius: 2px;*/
/*  transition: all 0.4s ease;*/
/*}*/

/* Hover effect for feedback */
/*.hamburger:hover span {*/
/*  background-color: var(--accent);*/
/*}*/

/* Optional animation for active state */
/*.hamburger.active span:nth-child(1) {*/
/*  transform: translateY(8px) rotate(45deg);*/
/*}*/
/*.hamburger.active span:nth-child(2) {*/
/*  opacity: 0;*/
/*}*/
/*.hamburger.active span:nth-child(3) {*/
/*  transform: translateY(-8px) rotate(-45deg);*/
/*}*/


/* ---------- Mobile Menu ---------- */
/*.mobile-menu {*/
/*  display: none;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  right: 0;*/
/*  width: 75%;*/
/*  max-width: 300px;*/
/*  height: 100vh;*/
/*  background: #FFF;*/
/*  box-shadow: -5px 0 20px rgba(0,0,0,0.2);*/
/*  padding: 20px;*/
/*  flex-direction: column;*/
/*  gap: 18px;*/
/*  z-index: 100;*/
/*}*/

/*.mobile-menu a {*/
/*  color: var(--brand);*/
/*  font-weight: 600;*/
/*  text-decoration: none;*/
/*}*/

/*.close-btn {*/
/*  font-size: 22px;*/
/*  font-weight: bold;*/
/*  color: var(--brand);*/
/*  cursor: pointer;*/
/*  align-self: flex-end;*/
/*  margin-bottom: 15px;*/
/*}*/

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .navbar ul {
    display: none;
  }
  .email {
    display: none;
  }
  .hamburger {
    display: inline-table;
  }
}

hr{
  background-color: var(--brand);
}


/* Dropdown Wrapper */
.dropdown {
    position: relative;
}

/* Dropdown button */
.drop-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 45px;
    left: 0;
    background: #fff;
    border-radius: 6px;
    min-width: 260px;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-left: 4px solid var(--blue);
    display: none;
    z-index: 9999;
}

.dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: rgba(13,85,136,0.08);
}

/* Show dropdown on hover (desktop) */
@media (min-width: 900px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ----- MOBILE MENU DROPDOWN ----- */
@media (max-width: 900px) {
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        border-left: none;
        padding-left: 15px;
    }

    /* Show dropdown when active */
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .drop-btn i {
        margin-left: auto;
    }
}






/* Slider container */
.slider {
  position: relative;
  width: 100%;
  height: 75vh;
  max-height: 620px;
  overflow: hidden;
}

/* Each slide */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active {
  opacity: 1;
}

/* Background image */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Triangular overlay */
.triangle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 100vh solid rgba(12,37,94,0.77);
  border-right: 100vw solid transparent;
  pointer-events: none;
  z-index: 2;
}

/* Text overlay */
.slide-content {
  position: absolute;
  top: 45%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 3;
  max-width: 500px;
}
.slide-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.slide-content p {
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* Dots navigation */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 4;
}
.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
  transition: 0.3s;
}
.dots span.active {
  background: var(--brand);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content {
    top: 50%;
    left: 6%;
    max-width: 85%;
  }
  .slide-content h1 {
    font-size: 1.8rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
}


/* ---------- Video Section ---------- */
.video-section {
  padding: 60px 5%;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.video-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 35px;
}

/* Video Slider Container */
.video-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.video-slider::-webkit-scrollbar {
  display: none;
}

/* Each Video Card */
.video-card {
  position: relative;
  flex: 0 0 calc(25% - 25px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.video-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Thumbnail or embedded video */
.video-card iframe,
.video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Triangular overlay */
.triangle-overlay-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 200px solid rgba(12,37,94,0.77);
  border-right: 350px solid transparent;
  pointer-events: none;
  z-index: 2;
}

/* Video text overlay */
.video-info {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  color: #fff;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  max-width: 180px;
  font-size: 0.95rem;
}

/* Content under the video */
.video-details {
  padding: 15px;
}
.video-details h3 {
  font-size: 1rem;
  color: var(--brand);
  margin-bottom: 6px;
}
.video-details p {
  font-size: 0.9rem;
  color: #555;
  height: 40px;
  overflow: hidden;
}

/* Fade-in animation on appear */
.video-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.video-card.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .video-card { flex: 0 0 calc(50% - 20px); }
}
@media (max-width: 600px) {
  .video-card { flex: 0 0 100%; }
}



/* ---------- SERVICES Section Base ---------- */
.section-service {
  padding: 70px 5%;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.section-service h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 40px;
}

/* ---------- Slider ---------- */
.service-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.service-slider::-webkit-scrollbar { display: none; }

/* ---------- Service Card ---------- */
.service-card {
  position: relative;
  flex: 0 0 calc(25% - 25px);
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Image */
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Triangle Overlay */
.triangle-overlay-services {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 200px solid rgba(12,37,94,0.77);
  border-right: 350px solid transparent;
  z-index: 2;
}

/* Overlay Text (Category) */
.service-info {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Content */
.service-details {
  padding: 18px;
}
.service-details h3 {
  color: var(--brand);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-details p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4em;
  height: 48px;
  overflow: hidden;
}

/* Fade-in on appear */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.service-card.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .service-card { flex: 0 0 calc(50% - 20px); }
}
@media (max-width: 600px) {
  .service-card { flex: 0 0 100%; }
}

#cardlink{
  text-decoration: none;
}

#cardlink:hover{
  text-decoration: none;
}


/* ---------- Slider Navigation Buttons ---------- */
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.slider-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  line-height: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
  background: #094066; /* darker shade of brand */
  transform: scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.slider-btn:active {
  transform: scale(0.95);
}

/* Adjust for mobile view */
@media (max-width: 768px) {
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}




/* ---------- Creative Section ---------- */
.creative-section {
  padding: 80px 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.creative-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Reverse order (switch sides) */
.creative-block.reverse {
  flex-direction: row-reverse;
}

/* Balloon Style (left text shape) */
.balloon {
  background: var(--brand);
  color: #fff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  padding: 50px 40px;
  max-width: 420px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  text-align: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

/* Small rope-like tail under balloon */
.balloon::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 40px;
  background: var(--brand);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 2px;
}

/* Balloon text */
.balloon h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.balloon p {
  font-size: 1em;
  line-height: 1.6;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Right side image */
.creative-right img,
.creative-left img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}

.creative-right img:hover,
.creative-left img:hover {
  transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 900px) {
  .creative-block,
  .creative-block.reverse {
    flex-direction: column;
    text-align: center;
  }
  .balloon {
    margin-bottom: 30px;
  }
  .balloon::after {
    display: none;
  }
}


/* FOOTER STYLE */
.site-footer {
  background: #000000; /* Black */
  color: #ffffff;
  padding: 60px 20px 20px;
  margin-top: 50px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #0C255E; /* Rutmas Blue */
}

.footer-col p {
  line-height: 1.7;
  color: #dcdcdc;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 10px 0;
  font-size: 15px;
}

.footer-col ul li i {
  margin-right: 8px;
  color: #0C255E; /* Blue icons */
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #0C255E;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: white;
  background: #0C255E; /* Blue circle */
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #8E9194; /* Gray hover */
  color: #000000; /* Black icon */
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #8E9194; /* Rutmas Gray */
  font-size: 14px;
  color: #cccccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .social-icons a {
    margin: 8px;
  }
}


/* CLIENTS SECTION */
.clients-section {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
  margin-top: 50px;
}

.clients-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #0C255E; /* Rutmas Blue */
  font-weight: 600;
}

.clients-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.clients-slider {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  transition: transform 0.4s ease-in-out;
}

.client-logo {
  min-width: 150px;
  max-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: 0.3s ease;
  opacity: 0.8;
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* NAV BUTTONS */
.client-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0C255E; /* Blue */
  color: white;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
  transition: 0.3s ease;
}

.client-btn:hover {
  background: #8E9194; /* Gray */
}

.client-btn.prev { left: 10px; }
.client-btn.next { right: 10px; }

/* Responsive */
@media (max-width: 768px) {
  .clients-slider {
    gap: 25px;
  }
  .client-logo {
    min-width: 110px;
    max-width: 110px;
  }
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #0C255E; /* Rutmas blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0C255E;
    color: #fff;
}

/* ⭐ MOBILE RESPONSIVE FIX */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;       /* smaller */
        height: 40px;
        font-size: 18px;
        bottom: 20px;      /* move slightly up */
        right: 20px;       /* adjust for mobile */
    }
}

/* ⭐ EXTRA SMALL PHONES (smaller than 480px) */
@media (max-width: 480px) {
    .back-to-top {
        width: 35px;
        height: 35px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}

/* ---------- Top Search Form ---------- */
.top-search {
    display: inline-block;
}

.top-search form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    padding: 5px 12px;
    border: 1px solid #ccc;
    transition: 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.top-search form:hover {
    border-color: var(--brand); /* Using your brand color */
}

.top-search input[type="text"] {
    border: none;
    outline: none;
    padding: 8px 10px;
    font-size: 14px;
    width: 200px;
    background: transparent;
    transition: width 0.3s ease;
}

.top-search input[type="text"]:focus {
    width: 250px;
}

.top-search button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px;
    font-size: 16px;
    color: var(--brand);
    transition: color 0.3s ease;
}

.top-search button:hover i {
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-search input[type="text"] {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .top-search input[type="text"] {
        width: 100px;
        font-size: 13px;
    }

    .top-search button {
        font-size: 14px;
    }
}

/* Search result dropdown */
.search-results {
    position: absolute;
    background: #fff;
    top: 45px; /* adjust based on your navbar */
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
}

.search-results a {
    display: block;
    padding: 10px 15px;
    color: #0C255E;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.search-results a:hover {
    background: #f5f5f5;
    color: #000;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #0C255E;
    border-radius: 3px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    left: 20px;       /* left side */
    bottom: 40px;     /* distance from bottom */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: floatBounce 2s infinite;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

