/* === DARK MODE BASE === */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* Headings */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #ffffff;
}

/* Text and paragraph */
body.dark-mode p,
body.dark-mode li,
body.dark-mode span {
  color: #cccccc;
}

/* Links */
body.dark-mode a {
  color: #0098fe;
}

/* === DARK MODE NAVBAR === */

/* Transparent when on top */
body.dark-mode .theme-header.transparent-header .header-navigation {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
  transition: all 0.3s ease;
}

/* ✅ Glass effect ONLY in dark mode when sticky */
body.dark-mode .theme-header.transparent-header.is-sticky .header-navigation {
  background: rgba(18, 18, 18, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s ease;
}

/* === NAVIGATION TEXT === */
body.dark-mode .main-menu ul li a {
  color: #ffffff !important;
}
body.dark-mode .main-menu ul li a:hover,
body.dark-mode .main-menu ul li a.active {
  color: #00ffff !important;
}

/* === SUBMENUS === */
body.dark-mode .main-menu .sub-menu {
  background-color: #1c1c1c !important;
  border-color: #333333 !important;
}
body.dark-mode .main-menu .sub-menu li a {
  color: #ffffff !important;
}
body.dark-mode .main-menu .sub-menu li a:hover {

  color: #00ffff !important;
}

/* === LOGO UNCHANGED === */
body.dark-mode .brand-logo img {
  filter: none !important;
}

/* === BUTTONS === */
body.dark-mode .btn,
body.dark-mode button {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
}
body.dark-mode .btn:hover,
body.dark-mode button:hover {
  background-color: #444;
}

/* === MODE TOGGLE BUTTON === */
body.dark-mode .mode-btn {
  color: #fff !important;
  background: transparent;
  border: none;
}

/* === INPUT STYLING === */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode .form_control {
  background-color: #222;
  color: #eee;
  border: 1px solid #555;
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #aaa;
}

/* === SERVICE CARDS === */
body.dark-mode .service-item {
  background-color: #1a1a1a;
  color: #dddddd;
  border-color: #333333;
}
/* === SERVICE CARD HOVER FIX FOR DARK MODE === */
body.dark-mode .service-style-one:hover {
  background-color: #222 !important;
  border-color: #444 !important;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.05) !important;
  transition: all 0.3s ease;
}

/* Optional: glow on text/icon on hover */
body.dark-mode .service-style-one:hover .icon i, 
body.dark-mode .service-style-one:hover .title a {
  color: #00ffff !important;
}
body.dark-mode .service-style-one:hover .btn-link,
body.dark-mode .service-style-one:hover ul li {
  color: #ffffff;
}


/* === FOOTER === */
body.dark-mode footer,
body.dark-mode .footer-area {
  background-color: #111;
  color: #ccc;
}
body.dark-mode footer a,
body.dark-mode .footer-area a {
  color: #ccc;
}
body.dark-mode footer a:hover,
body.dark-mode .footer-area a:hover {
  color: #00ffff;
}

/* === LATEST WORK SECTION === */
body.dark-mode .light-gray-bg,
body.dark-mode .portfolio-area {
  background-color: #1a1a1a !important;
}

/* === PORTFOLIO FILTER BUTTONS === */
body.dark-mode .portfolio-filter-button .filter-btn li {
  color: #e0e0e0;
}
body.dark-mode .portfolio-filter-button .filter-btn li.active,
body.dark-mode .portfolio-filter-button .filter-btn li:hover {
  color: #00ffff;
}

/* === TRANSITIONS === */
body,
.navbar,
.header-navigation,
.main-menu ul li a,
input,
textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* === Collaborate With Us Section in Dark Mode === */
body.dark-mode .cta-area .cta-wrapper.dark-blue-bg {
  background-color: #1a1a1a !important;
}

/* Image styling: darker and smoother */
body.dark-mode .cta-area .cta-wrapper .cta-img img {
  mix-blend-mode: lighten;
}

/* Title & subtitle styles with glow effect */
body.dark-mode .cta-area .section-title.section-title-white span,
body.dark-mode .cta-area .section-title.section-title-white h2 {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.3); /* glowing text */
}

/* CTA button */
body.dark-mode .cta-area .main-btn.btn-white {
  border: 2px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

body.dark-mode .cta-area .main-btn.btn-white:hover {
  background-color: #00ffff;
  color: #121212;
}

/* Stroke fill text */
body.dark-mode .cta-area-v1 .cta-wrapper .section-title .fill-text {
  -webkit-text-stroke-color: #00ffff !important;
  color: transparent !important;
  text-shadow: 0 0 2px rgba(0, 255, 255, 0.4);
}




/* ===== FIX: Glass effect only in dark mode when sticky ===== */
body.dark-mode .theme-header.transparent-header.is-sticky .header-navigation {
  background: rgba(18, 18, 18, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}





/* === AGENCY STATISTICS SECTION === */
body.dark-mode .counter-area {
  background-color: #1a1a1a !important;
}

body.dark-mode .counter-item {
  background-color: #222222 !important;
  color: #e0e0e0 !important;
  border: 1px solid #333 !important;
  padding: 30px 20px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

/* Icons and numbers */
body.dark-mode .counter-item .icon i {
  color: #00ffff !important;
}

body.dark-mode .counter-item .number {
  color: #ffffff !important;
}

body.dark-mode .counter-item p {
  color: #cccccc !important;
}




/* === DARK MODE: Hamburger Icon === */
body.dark-mode .navbar-toggler span {
  background-color: #fff !important;
}

/* Hover Effect */
body.dark-mode .navbar-toggler:hover span {
  background-color: #00ffff !important; /* Optional glow on hover */
}
body.dark-mode .navbar-toggler {
  filter: drop-shadow(0 0 3px #00ffff);
}








/* === TOGGLE BUTTON CONTAINER === */
.mode-toggle-btn button {
  background: none;
  border: none;
  border-radius: 100px;
  padding: 0;
  cursor: pointer;
  outline: none;
}

/* === TOGGLE TRACK === */
.toggle-track {
  width: 60px;
  height: 30px;
  background-color: #e0e0e0;
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

/* === ICON CONTAINER (Scoped for toggle only) === */
.toggle-track .icon {
  display: flex;
  align-items: flex-end; /* Lower the icons */
  justify-content: center;
  height: 24px;
  width: 24px;
}

/* === ICON STYLE (Scoped for toggle only) === */
.toggle-track .icon i {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 1.9px;
  color: #444;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* === TOGGLE THUMB === */
.toggle-thumb {
  width: 24px;
  height: 24px;
  background-color: #0098fe;
  border-radius: 50% !important; /* Always round */
  position: absolute;
  top: 3px;
  left: 3px;
  transform: translateX(0);
  transition: transform 0.4s ease, background-color 0.3s ease, border-radius 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* === VISIBILITY STATE FOR ICONS === */
.toggle-track .sun i {
  opacity: 1;
}

.toggle-track .moon i {
  opacity: 0.4;
}

/* === DARK MODE === */
body.dark-mode .toggle-track {
  background-color: #333;
}

body.dark-mode .toggle-thumb {
  transform: translateX(30px);
  background-color: #00ffff;
  border-radius: 50% !important;
}

/* === DARK MODE ICON COLORS === */
body.dark-mode .toggle-track .sun i {
  opacity: 0.4;
  color: #ccc;
}

body.dark-mode .toggle-track .moon i {
  opacity: 1;
  color: #ccc;
}












/* === TESTIMONIAL SECTION FIX IN DARK MODE === */
body.dark-mode .testimonial-area,
body.dark-mode .testimonial-bg,
body.dark-mode .blue-dark-bg {
  background-color: #1a1a1a !important;
}
body.dark-mode .testimonial-area,
body.dark-mode .testimonial-bg,
body.dark-mode .blue-dark-bg {
  color: #dddddd;
}
/* === Testimonial Section Title & Subtitle in Dark Mode === */
body.dark-mode .testimonial-area .section-title .sub-title {
  color: #0098fe; /* bright cyan or your accent */
}

body.dark-mode .testimonial-area .section-title h2 {
  color: #ffffff; /* strong white for heading */
}








/* === Input Placeholder Color in Dark Mode === */
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #bbbbbb !important; /* light gray for visibility */
}


body.dark-mode #upper{
  color: white;
}




/* === DARK MODE: Offcanvas Panel === */
body.dark-mode .offcanvas-panel {
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  backdrop-filter: blur(4px);
  z-index: 10000;
}

/* Prevent logo from being altered */
body.dark-mode .offcanvas-panel .panel-logo img {
  filter: none !important;
}

/* Inner panel container */
body.dark-mode .offcanvas-panel-inner {
  background-color: #111 !important;
  width: 320px;
  max-width: 100%;
  height: 100%;
  padding: 30px;
  overflow-y: auto;
  z-index: 10001;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Overlay behind the panel */
body.dark-mode .offcanvas-panel .panel-overlay {
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(4px);
}

/* Headings inside the panel */
body.dark-mode .offcanvas-panel .panel-widget-title {
  color: #ffffff;
  font-weight: 600;
}

/* Paragraph and link text */
body.dark-mode .offcanvas-panel p,
body.dark-mode .offcanvas-panel ul li,
body.dark-mode .offcanvas-panel ul li a {
  color: #cccccc !important;
  font-size: 15px;
  line-height: 1.6;
}

/* Icons (map, email, phone) */
body.dark-mode .offcanvas-panel i {
  color: #00ffff !important;
  margin-right: 8px;
  font-size: 16px;
}

/* Close button (X icon) */
body.dark-mode .offcanvas-panel .panel-close i {
  color: #ffffff !important;
  font-size: 20px;
  transition: color 0.3s ease;
}
body.dark-mode .offcanvas-panel .panel-close i:hover {
  color: #00ffff !important;
}











.reel-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 100vh;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.custom-list-style {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.custom-list-style li {
  margin-bottom: 10px;
  color: var(--heading);
  font-weight: 500;
  line-height: 1.6;
}






/* Base Styling for Information Cards in Dark Mode */
body.dark-mode .information-item {
  background-color: #1a1a1a !important;
  border: 1px solid #333;
  color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 0 transparent;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Text & Icon Styling */
body.dark-mode .information-item h4,
body.dark-mode .information-item p,
body.dark-mode .information-item a,
body.dark-mode .information-item span {
  color: #e0e0e0 !important;
  transition: color 0.3s ease;
}

body.dark-mode .information-item a:hover {
  color: #00ffff !important;
}

/* Icon Style */
body.dark-mode .information-item .icon i {
  color: #ffffff !important;
  font-size: 22px;
  transition: transform 0.3s ease;
}

/* Hover Animation */
body.dark-mode .information-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.1);
}

body.dark-mode .information-item:hover .icon i {
  transform: scale(1.2);
}





#form-message {
  font-size: 16px;
  margin-top: 15px;
  transition: all 0.3s ease-in-out;
}














.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.5s ease, opacity 0.4s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  transition: all 0.3s ease;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  font-weight: 700;
  font-size: 18px;
  padding: 15px 0;
  color: #222;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle {
  font-size: 22px;
  font-weight: bold;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Dark mode tweaks */
body.dark-mode .faq-question {
  color: #f5f5f5;
}
body.dark-mode .faq-answer {
  color: #ccc;
}
body.dark-mode .faq-item {
  border-color: #444;
}



/* === LIGHT MODE: FAQ Section === */
.faq-section {
  background-color: #f9f9f9;
  color: #333;
}

.faq-accordion .faq-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-accordion .faq-question {
  background-color: #ffffff;
  color: #111;
  padding: 18px 20px;
  font-size: 16px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-accordion .faq-question:hover {
  background-color: #f0f0f0;
}

.faq-accordion .faq-answer {
  background-color: #fafafa;
  padding: 15px 20px;
  border-top: 1px solid #ddd;
  color: #555;
}

/* Plus/Cross toggle symbol in light mode */
.faq-accordion .faq-toggle {
  color: #333;
  font-weight: bold;
  transition: transform 0.3s ease;
}





/* === DARK MODE: FAQ Section === */
body.dark-mode .faq-section {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .faq-accordion .faq-item {
  background-color: #222; /* matches the rest of the site */
  border: 1px solid #333;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .faq-accordion .faq-question {
  background-color: #222; /* same as container */
  color: #ffffff;
  padding: 18px 20px;
  font-size: 16px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .faq-accordion .faq-question:hover {
  background-color: #2a2a2a;
}

body.dark-mode .faq-accordion .faq-answer {
  background-color: #1e1e1e;
  padding: 15px 20px;
  border-top: 1px solid #333;
  color: #ccc;
}

/* Optional: Plus/Cross symbol color */
body.dark-mode .faq-accordion .faq-toggle {
  color: #00ffff;
  font-weight: bold;
  transition: transform 0.3s ease;
}

















.custom-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 45px;
  height: 45px;
  background-color: transparent;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.3s;
}
.swiper-button-prev.custom-arrow {
  left: -25px;
}
.swiper-button-next.custom-arrow {
  right: -25px;
}
.custom-arrow:hover {
  background-color: #444;
}







.team-item .text {
  padding: 15px 10px;
  background-color: transparent; /* Removed white box */
  overflow: hidden;
  text-align: center;
}

.team-item .text h4 {
  font-size: 18px;
  line-height: 3.3;
  margin-bottom: 5px;
  word-break: break-word;
  color: #111; /* Default text color for light mode */
}

.team-item .text p {
  font-size: 18px;
  margin: 0;
  color: #555;
  line-height: 0.2;
}

/* DARK MODE */
body.dark-mode .team-item {
  background-color: transparent; /* No background on dark mode either */
}

body.dark-mode .team-item .text h4 {
  color: #fff;
}

body.dark-mode .team-item .text p {
  color: #ccc;
}







.testimonial-slider-one {
  height: auto !important;
  overflow: visible !important;
}

.testimonial-item {
  min-height: 250px; /* or more depending on your content */
  padding-bottom: 30px;
}



.testimonial-area .author-title h4,
.testimonial-area .author-title p,
.testimonial-area .testimonial-content p {
  color: #222 !important; /* Clean dark text */
}

/* Optional: Make quote icon visible too */
.testimonial-area .quote i {
  color: #444;
}
.testimonial-area .author-title h4 {
  font-weight: 600;
  color: #1a1a1a;
}

.testimonial-area .author-title p {
  font-style: italic;
  color: #555;
}











body.dark-mode .offcanvas-panel-inner {
  background-color: #121212;
  color: #000000;
}

body.dark-mode .offcanvas-panel .panel-widget-title,
body.dark-mode .offcanvas-panel p,
body.dark-mode .offcanvas-panel a {
  color: #ffffff !important;
}

body.dark-mode .offcanvas-panel .panel-widget-title {
  border-bottom: 2px solid #333;
}

body.dark-mode .offcanvas-panel .contact-us ul li i {
  background-color: #000000;
  color: #121212;
}

body.dark-mode .header-navigation.breakpoint-on .nav-menu {
  background-color: #000000;
}




@media (max-width: 768px) {
  #mode-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 9999;
    transform: scale(0.9); /* Optional, makes it a bit smaller */
  }
}
@media (max-width: 768px) {
  .offcanvas-panel .mode-toggle-btn {
    margin-top: 20px;
    text-align: center;
    display: block;
  }
}





/* Target the search button */
.nav-search .search-btn {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
}
.nav-search .search-btn i {
  background: none !important;
  border: none !important;
  outline: none !important;
}












.navbar-toggle-btn.hide-on-scroll {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.offcanvas-panel.hide-on-scroll {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  transition: all 0.3s ease;
}







body.dark-mode .header-navigation.breakpoint-on .nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--dark-bg, #111); /* Or any suitable color */
  height: 100vh;
  overflow-y: auto;
}

















