/*
Theme Name: Thelema Infotech
Theme URI: https://www.thelemainfotech.net
Description: Custom WordPress theme for Thelema Infotech Solution (OPC) Pvt Ltd
Author: Thelema Infotech Solution
Author URI: https://www.thelemainfotech.net
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thelema-infotech
*/

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #1abc9c;
  --light-color: #f8f9fa;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --navbar-dark: #1a1a1a;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --card-bg: #ffffff;
  --shadow: rgba(0,0,0,0.08);
  --shadow-hover: rgba(0,0,0,0.12);
  --hero-overlay: rgba(255,255,255,0.12);
  --contact-grad-start: rgba(248,249,250,1);
  --contact-grad-end: #e8f4ff;
  --brand-filter: none;
  --svg-dots: rgba(255,255,255,0.08);
  --timeline-color: #3498db;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-primary);
  color: var(--text-color);
  transition: background-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
}

.section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.theme-toggle,
#themeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--card-bg) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 12px var(--shadow) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  color: var(--text-color) !important;
  transition: all 0.3s ease !important;
}

.theme-toggle:hover,
#themeToggle:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px var(--shadow-hover) !important;
}

#themeToggle i {
  transition: transform 0.3s ease, color 0.3s ease !important;
}

#themeToggle:hover i {
  transform: rotate(30deg) !important;
}

:root:not([data-theme="dark"]) #themeIcon {
  color: #ffd700 !important;
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar {
  background: var(--card-bg) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  margin-right: 4rem !important;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-color) !important;
  text-decoration: none;
}

#navbarNav {
  flex-grow: 1;
  justify-content: center;
}

#navbarNav .navbar-nav {
  gap: 10px;
  justify-content: center;
}

.nav-link,
.navbar .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  padding: 0.4rem 0.8rem !important;
  margin: 0 1px !important;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-link:hover, 
.nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(52, 152, 219, 0.05);
  border-radius: 4px;
}

.dropdown-menu {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 180px;
}

.dropdown-item {
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--secondary-color) !important;
}

.nav-text {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  position: relative;
}

.nav-text:hover {
  color: var(--accent-color) !important;
}

.nav-text::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-text:hover::after {
  width: 80%;
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar-toggler {
  border-color: var(--text-color);
}

.navbar-toggler-icon {
  filter: var(--brand-filter);
}

#searchToggle {
  color: var(--primary-color);
  background: none;
  border: none;
  transition: all 0.3s ease;
}

#searchToggle:hover {
  color: var(--secondary-color);
  transform: scale(1.1);
}

#searchBarContainer {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 1050;
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: slideDown 0.3s ease;
}

#searchBar {
  width: 280px;
  padding: 8px 12px;
  border: 2px solid var(--secondary-color);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--primary-color);
}

#searchBar:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  border: 1px solid var(--border-color);
  border-top: none;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

.search-result-item h6 {
  margin: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.search-result-item p {
  margin: 5px 0 0;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}

.btn-primary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2980b9 !important;
  border-color: #2980b9 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-primary-custom {
  background-color: var(--accent-color);
  color: white;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  margin: 0 10px;
}

.btn-primary-custom:hover {
  background-color: #16a085;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(26, 188, 156, 0.3);
  color: white;
}

.btn-secondary-custom {
  background-color: transparent;
  color: white;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid white;
  margin: 0 10px;
}

.btn-secondary-custom:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-know-more {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
}

.btn-know-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  color: white;
  background-color: var(--primary-color);
}

.btn-back {
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  margin-top: 30px;
}

.btn-back:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--text-light);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 40px auto;
}

.btn-back-home:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.timeline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 250px;
  max-width: 100%;
  border: none;
  cursor: pointer;
}

.timeline-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.35);
  text-decoration: none;
  color: white;
}

.home-contact-section {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        var(--contact-grad-start) 0%,
        var(--contact-grad-end) 100%
    );
}

.home-contact-card{
    background: var(--card-bg);
    border-radius:20px;
    padding:40px;
    box-shadow:0 20px 60px var(--shadow);

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;

    align-items:start;
}

.home-contact-info,
.home-contact-timeline{
    width:100%;
}

.home-contact-logo{
    text-align:center;
    margin-bottom:25px;
}

.home-company-name{
    font-size:1.6rem;
    font-weight:700;
    color:var(--primary-color);
    margin-bottom:12px;
    text-align:center;
}

.home-company-address{
    color:var(--text-light);
    line-height:1.7;
    margin-bottom:35px;
    text-align:center;
}

.home-contact-item{
    display:flex;
    gap:20px;
    align-items:center;

    padding:22px 24px;
    margin-bottom:22px;

    background:rgba(52,152,219,.05);
    border-radius:16px;

    transition:.3s;
}

.home-contact-item:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(52,152,219,.15);
}

.home-contact-icon{
    width:60px;
    height:60px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        var(--secondary-color),
        var(--accent-color)
    );

    color:#fff;
    font-size:1.4rem;
}

.home-contact-content{
    flex:1;
}

.home-contact-label{
    display:block;
    font-weight:700;
    margin-bottom:8px;
    color:var(--primary-color);
}

.home-phone-numbers{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.home-phone-link,
.home-email-link{
    color:var(--secondary-color);
    text-decoration:none;
}

.home-phone-link:hover,
.home-email-link:hover{
    color:var(--accent-color);
}

.home-social-links{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:30px;
}

.home-social-link{
    width:45px;
    height:45px;
    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.05);

    transition:.3s;
}

.home-social-link:hover{
    background:var(--secondary-color);
    color:#fff;
}


.page-contact-section{
    padding:80px 0;
    background:linear-gradient(
        135deg,
        var(--contact-grad-start) 0%,
        var(--contact-grad-end) 100%
    );
}

.page-contact-header{
    text-align:center;
    margin-bottom:50px;
}

.page-contact-header h2{
    font-size:2.8rem;
    color:var(--primary-color);
    font-weight:700;
    margin-bottom:15px;
}

.page-contact-header p{
    max-width:650px;
    margin:auto;
    color:var(--text-light);
    font-size:1.15rem;
    line-height:1.8;
}

.page-contact-info-card{
    background:var(--card-bg);
    border-radius:24px;
    padding:60px;
    text-align:center;
    box-shadow:0 25px 70px var(--shadow);
}

.page-contact-logo img{
    height:85px;
}

.page-company-name{
    margin:20px 0 12px;
    font-size:2rem;
    font-weight:700;
    color:var(--primary-color);
}

.page-company-address{
    max-width:700px;
    margin:0 auto 50px;
    color:var(--text-light);
    font-size:1.1rem;
    line-height:1.8;
}

.page-contact-feature{
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:20px;
    height:100%;
}

.page-feature-icon{
    width:78px;
    height:78px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:linear-gradient(
        135deg,
        var(--secondary-color),
        var(--accent-color)
    );

    color:#fff;
    font-size:1.8rem;
    margin-bottom:20px;
}

.page-contact-feature h4{
    font-size:1.8rem;
    color:var(--primary-color);
    margin-bottom:18px;
}
.page-phone-numbers{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.page-contact-divider{
    margin:45px 0;
    border:0;
    border-top:1px solid rgba(0,0,0,.08);
}

.page-phone-link,
.page-email-link,
.page-website-link{
    color:var(--secondary-color);
    text-decoration:none;
    font-size:1.08rem;
}

.page-phone-link:hover,
.page-email-link:hover,
.page-website-link:hover{
    color:var(--accent-color);
}

.page-social-links{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-top:40px;
}

.page-social-link{
    width:48px;
    height:48px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.05);

    font-size:1.25rem;

    transition:.3s;
}

.page-social-link:hover{
    background:var(--secondary-color);
    color:#fff;
    transform:translateY(-4px);
}


.page-contact-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:50px;
    margin-top:50px;
    align-items:start;
}

.page-contact-divider{
    border:none;
    border-top:1px solid rgba(0,0,0,.08);
    margin:40px 0;
}


@media (max-width:768px){

.page-contact-info-card{
    padding:40px 25px;
}

.page-company-name{
    font-size:1.7rem;
}

.page-company-address{
    margin-bottom:35px;
}

.page-contact-feature{
    margin-bottom:30px;
}

.page-feature-icon{
    width:78px;
    height:78px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(
        135deg,
        var(--secondary-color),
        var(--accent-color)
    );
    color:#fff;
    font-size:1.8rem;
    margin:0 auto 20px;
}
.page-contact-feature{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    padding:20px;
    height:100%;
}


}

.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(52, 152, 219, 0.4);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 500px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.chat-window.active {
  display: flex;
}

.chat-header {
  padding: 15px 20px;
  background: rgba(52, 152, 219, 0.1);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-header h3 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(52, 152, 219, 0.1);
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 3px;
}

.message {
  display: flex;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}

.message.user {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.message-content {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.message.bot .message-content {
  background: rgba(52, 152, 219, 0.1);
  color: var(--text-color);
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.message.user .message-content {
  background: rgba(52, 152, 219, 0.25);
  color: #fff;
  border: 1px solid rgba(52, 152, 219, 0.4);
}

.typing-indicator {
  display: none;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 12px;
  width: fit-content;
  margin-top: 5px;
}

.typing-indicator.active {
  display: flex;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

.chat-input {
  padding: 15px 20px;
  background: rgba(52, 152, 219, 0.1);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  min-width: 0;
}

.chat-input input::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

.chat-input input:focus {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.send-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.send-btn:hover {
  background: #2980b9;
  transform: scale(1.05);
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
  color: var(--text-light);
  background-color: var(--bg-secondary);
}

.home #carouselExampleInterval {
  margin-bottom: 0;
  overflow: hidden;
}

.home #carouselExampleInterval .carousel-item {
  height: 600px;
  position: relative;
}

.home #carouselExampleInterval .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.home .carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 10;
  pointer-events: none;
}

.home .carousel-caption a,
.home .carousel-caption button {
  pointer-events: auto;
}

.home .carousel-caption h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.home .carousel-caption p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.8rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.home .carousel-caption .btn-container {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.home .carousel-caption .btn {
  min-width: 150px;
  padding: 12px 0;
  font-size: 1rem;
}

.home .carousel-control-prev,
.home .carousel-control-next {
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 20;
}

.home .carousel-control-prev { left: 15px; }
.home .carousel-control-next { right: 15px; }

.home .carousel-control-prev-icon,
.home .carousel-control-next-icon {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.home .partners-section {
  background: var(--light-color);
  padding: 60px 0;
  margin: 0 auto;
  text-align: center;
}

.home .partners-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.home .swiper {
  width: 100%;
  padding: 10px 0;
  margin: 0;
}

.home .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 15px;
  transition: all 0.3s ease;
  box-shadow: none;
  height: 80px;
}

.home .swiper-slide:hover {
  transform: translateY(-5px);
}

.home .swiper-slide img {
  max-width: 100%;
  height: 60px;
  object-fit: contain;
  filter: none;
  transition: none;
}

.home .swiper-button-next,
.home .swiper-button-prev {
  color: var(--secondary-color);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  top: 50%;
  transform: translateY(-50%);
}

.home .swiper-button-next { right: 10px; }
.home .swiper-button-prev { left: 10px; }

.home .swiper-button-next:after,
.home .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.home .services-section {
  padding: 80px 0;
  background-color: white;
}

.home .services-header,
.home .products-header,
.home .about-header {
  text-align: center;
  margin-bottom: 60px;
}

.home .services-header h2,
.home .products-header h2,
.home .about-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.home .services-header p,
.home .products-header p,
.home .about-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.home .services-grid,
.home .products-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 50px;
}

.home .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.home .products-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.home .service-card,
.home .product-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.home .service-card { border-top: 4px solid var(--accent-color); }
.home .product-card { 
  border-left: 4px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
}

.home .service-card:hover,
.home .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.home .service-icon,
.home .product-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin: 0 auto 20px;
}

.home .product-icon { border-radius: 8px; }

.home .service-card h3,
.home .product-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.home .service-card p,
.home .product-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.home .product-card p { flex-grow: 1; }

.home .product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home .product-feature {
  background: rgba(52, 152, 219, 0.1);
  color: var(--secondary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.products-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.home .about-section {
  padding: 80px 0;
  background-color: white;
}

.home .about-content { margin-bottom: 60px; }
.home .about-text { padding-right: 30px; }

.home .about-text h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.home .about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.home .about-image {
  margin-top: 70px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.home .about-image:hover { transform: translateY(-5px); }

.home .about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.home .about-text .btn-know-more {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

.home .stats-section {
  background-color: var(--light-color);
  padding: 60px 0;
  border-radius: 8px;
}

.home .stat-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.home .stat-box:hover { transform: translateY(-10px); }

.home .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.home .stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

.home .funfacts-section {
  background: var(--primary-color);
  padding: 60px 20px;
  text-align: center;
}

.home .funfacts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.home .funfact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.home .funfact-number {
  font-size: 2.5em;
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.home .funfact-plus {
  color: var(--accent-color);
  font-size: 0.8em;
}

.home .funfact-label {
  font-size: 1em;
  color: #ffffff;
  font-weight: 300;
  margin: 0;
}

.home .services-section {
  padding: 180px 0;
}

.home .services-description { padding-right: 30px; }

.home .services-description h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.home .services-description h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.4;
}

.home .services-description .lead-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

.home .services-description p {
  color: var(--text-color);
  margin-bottom: 25px;
  line-height: 1.6;
}

.home .contact-timeline { padding: 10px 10px 10px 30px; }

.home .timeline-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.home .timeline-subtitle {
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 420px;
}

.home .timeline {
  position: relative;
  padding-left: 30px;
}

.home .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.home .timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.home .timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.15);
}

.home .timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.home .timeline-content p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home .timeline-cta { margin-top: 40px; }

.page-template-page-about .hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-template-page-about .hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-template-page-about .hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-page-about .hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-about .team-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.page-template-page-about .team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-hover);
}

.page-template-page-about .team-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.page-template-page-about .team-card .role {
  font-size: 1.1rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.page-template-page-about .team-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.page-template-page-about .value-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
  border-top: 4px solid var(--accent-color);
}

.page-template-page-about .value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-hover);
}

.page-template-page-about .value-card:nth-child(2) { border-top-color: var(--secondary-color); }
.page-template-page-about .value-card:nth-child(3) { border-top-color: #9b59b6; }
.page-template-page-about .value-card:nth-child(4) { border-top-color: #e74c3c; }
.page-template-page-about .value-card:nth-child(5) { border-top-color: #f39c12; }
.page-template-page-about .value-card:nth-child(6) { border-top-color: #2ecc71; }

.page-template-page-about .value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: white;
}

.page-template-page-about .value-card:nth-child(2) .value-icon { background: linear-gradient(135deg, var(--accent-color), #9b59b6); }
.page-template-page-about .value-card:nth-child(3) .value-icon { background: linear-gradient(135deg, #9b59b6, #e74c3c); }
.page-template-page-about .value-card:nth-child(4) .value-icon { background: linear-gradient(135deg, #e74c3c, #f39c12); }
.page-template-page-about .value-card:nth-child(5) .value-icon { background: linear-gradient(135deg, #f39c12, #2ecc71); }
.page-template-page-about .value-card:nth-child(6) .value-icon { background: linear-gradient(135deg, #2ecc71, var(--secondary-color)); }

.page-template-page-about .value-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.page-template-page-about .value-card p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.page-template-page-about .core-values-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.page-template-page-about .core-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-template-page-about .core-value-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-color);
}

.page-template-page-about .core-value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-hover);
}

.page-template-page-about .core-value-item h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-template-page-about .core-value-item h4 i { color: var(--accent-color); }
.page-template-page-about .core-value-item p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

.page-template-page-services .hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-template-page-services .hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-template-page-services .hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-page-services .hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-services .solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-template-page-services .solution-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border-bottom: 4px solid var(--accent-color);
  height: 100%;
}

.page-template-page-services .solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-hover);
}

.page-template-page-services .solution-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(26, 188, 156, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.page-template-page-services .solution-card:hover .solution-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  transform: scale(1.1);
}

.page-template-page-services .solution-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.page-template-page-services .solution-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.page-template-page-services .service-intro {
  margin-bottom: 50px;
}

.page-template-page-services .service-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.page-template-page-services .service-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-template-page-services .stats-highlight {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.page-template-page-services .stat-item {
  flex: 1;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.page-template-page-services .stat-item h4 {
  font-size: 2rem;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.page-template-page-services .stat-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.page-template-page-services .nav-pills {
  background: var(--card-bg);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow);
  margin-bottom: 30px;
}

.page-template-page-services .nav-pills .nav-link {
  color: var(--text-color);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.page-template-page-services .nav-pills .nav-link:hover {
  background: rgba(52, 152, 219, 0.1);
  color: var(--secondary-color);
}

.page-template-page-services .nav-pills .nav-link.active {
  background: var(--secondary-color);
  color: white;
}

.page-template-page-services .tab-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow);
}

.page-template-page-services .tab-pane h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.page-template-page-services .tab-pane ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-template-page-services .tab-pane li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-template-page-services .tab-pane li:last-child {
  border-bottom: none;
}

.page-template-page-services .tab-pane li i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.page-template-page-products .hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-template-page-products .hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-template-page-products .hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-page-products .hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-products .quick-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.page-template-page-products .nav-pill {
  padding: 10px 25px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px var(--shadow);
}

.page-template-page-products .nav-pill:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-hover);
}

.page-template-page-products .category-header {
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-template-page-products .category-header i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.page-template-page-products .category-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.page-template-page-products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-template-page-products .product-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-template-page-products .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-hover);
  border-top-color: var(--accent-color);
}

.page-template-page-products .product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-template-page-products .product-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-template-page-products .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-template-page-products .feature-list li {
  padding: 8px 0;
  color: var(--text-color);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-template-page-products .feature-list li i {
  color: var(--accent-color);
  margin-top: 4px;
}

.page-template-page-partnerships .page-header {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .hero-btns .btn-primary {
    background-color: #3498db !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    border-radius: 30px !important; /* Converts block corners to pill shape */
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-header .hero-btns .btn-primary:hover {
    background-color: #1abc9c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}

.page-template-page-partnerships .page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-template-page-partnerships .section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.page-template-page-partnerships .page-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-page-partnerships .page-header p {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-partnerships .hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-template-page-partnerships .btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-template-page-partnerships .btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-template-page-partnerships .description-section {
  padding: 80px 0 40px;
  background: var(--bg-primary);
}

.page-template-page-partnerships .description-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-template-page-partnerships .description-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-template-page-partnerships .description-content > p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 50px;
}

.page-template-page-partnerships .description-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-template-page-partnerships .description-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px var(--shadow);
  border-left: 4px solid var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-template-page-partnerships .description-item:hover {
  transform: translateY(-5px);
}

.page-template-page-partnerships .description-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-template-page-partnerships .description-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.page-template-page-partnerships .partnerships-section {
  padding: 60px 0 80px;
  background: var(--bg-secondary);
}

.page-template-page-partnerships .partnerships-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
}

.page-template-page-partnerships .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-template-page-partnerships .card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.4s ease;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-template-page-partnerships .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.page-template-page-partnerships .card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(52,152,219,0.1) 0%, rgba(26,188,156,0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.page-template-page-partnerships .card:hover .card-icon {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.page-template-page-partnerships .card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-template-page-partnerships .card > p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-template-page-partnerships .features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-template-page-partnerships .feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-template-page-partnerships .feature::before {
  content: '\f26a'; /* bi-check-circle-fill */
  font-family: "bootstrap-icons";
  color: var(--accent-color);
  font-size: 1.1rem;
}

.page-template-page-partnerships .feature:hover {
  background: rgba(52,152,219,0.1);
  transform: translateX(5px);
}

/* === INSIGHTS PAGE === */
.page-template-page-insights .hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-template-page-insights .hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-template-page-insights .hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-page-insights .hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-insights .stats-bar {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.page-template-page-insights .timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.page-template-page-insights .timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, 
      var(--timeline-color) 0%, 
      var(--accent-color) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.page-template-page-insights .timeline-section {
  margin-bottom: 60px;
  position: relative;
}

.page-template-page-insights .timeline-dot {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid var(--timeline-color);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

.page-template-page-insights .pulse {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(52, 152, 219, 0.4);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 2s infinite;
}

.page-template-page-insights .card-left, 
.page-template-page-insights .card-right {
  width: calc(50% - 40px);
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.page-template-page-insights .card-left { margin-right: auto; }
.page-template-page-insights .card-right { margin-left: auto; }

.page-template-page-insights .card-left::before,
.page-template-page-insights .card-right::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.page-template-page-insights .card-left::before {
  right: -10px;
  border-left: 10px solid var(--card-bg);
}

.page-template-page-insights .card-right::before {
  left: -10px;
  border-right: 10px solid var(--card-bg);
}

.page-template-page-insights .card-left:hover,
.page-template-page-insights .card-right:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-hover);
}

.page-template-page-insights .card-left h3, 
.page-template-page-insights .card-right h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-template-page-insights .card-left p, 
.page-template-page-insights .card-right p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-template-page-insights .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-template-page-insights .tag {
  background: rgba(52, 152, 219, 0.1);
  color: var(--secondary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.page-template-page-know-more .hero-section {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-template-page-know-more .hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-template-page-know-more .hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.page-template-page-know-more .hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-know-more .stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-template-page-know-more .stat-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 200px;
}

.page-template-page-know-more .stat-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.page-template-page-know-more .stat-box p {
  margin: 5px 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
  color: white;
}

.page-template-page-know-more .detail-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--secondary-color);
  height: 100%;
}

.page-template-page-know-more .detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-hover);
}

.page-template-page-know-more .detail-card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-template-page-know-more .detail-card h3 i {
  color: var(--accent-color);
  font-size: 2rem;
}

.page-template-page-know-more .detail-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-template-page-know-more .detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-template-page-know-more .detail-list li {
  color: var(--text-color);
  font-size: 1.05rem;
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.page-template-page-know-more .detail-list li:last-child {
  border-bottom: none;
}

.page-template-page-know-more .detail-list li i {
  color: var(--secondary-color);
  margin-top: 4px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7); }
  70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
  100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

[data-theme="dark"] {
  --primary-color: #64b5f6;
  --text-color: #e0e0e0;
  --text-light: #b0bec5;
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --card-bg: #2d2d2d;
  --border-color: #404040;
  --shadow: rgba(0,0,0,0.3);
  --shadow-hover: rgba(0,0,0,0.5);
  --hero-overlay: rgba(0,0,0,0.7);
  --contact-grad-start: #1e1e1e;
  --contact-grad-end: #121212;
  --brand-filter: brightness(0) invert(1);
  --timeline-color: #404040;
}

[data-theme="dark"] body {
  background: var(--bg-primary);
  color: var(--text-color);
}

[data-theme="dark"] .navbar {
  background: var(--navbar-dark) !important;
}

[data-theme="dark"] .navbar-brand {
  color: #fff !important;
}

[data-theme="dark"] .nav-link,
[data-theme="dark"] .navbar .nav-link {
  color: #e0e0e0 !important;
}

[data-theme="dark"] .dropdown-menu {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-item {
  color: var(--text-color);
}

[data-theme="dark"] .dropdown-item:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--secondary-color) !important;
}

[data-theme="dark"] .navbar-toggler-icon,
[data-theme="dark"] #brandName img {
  filter: var(--brand-filter);
}

[data-theme="dark"] #searchBarContainer {
  background: var(--card-bg);
}

[data-theme="dark"] #searchBar {
  background: var(--bg-primary);
  color: var(--text-color);
  border-color: var(--border-color);
}

[data-theme="dark"] .search-results {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .search-result-item {
  border-color: var(--border-color);
}

[data-theme="dark"] .search-result-item:hover {
  background-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .theme-toggle {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] #themeIcon {
  color: #f1c40f !important;
}

[data-theme="dark"] .section-title h2,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: var(--primary-color);
}

[data-theme="dark"] .chat-window {
  background: rgba(30, 30, 30, 0.98);
  border-color: var(--border-color);
}

[data-theme="dark"] .chat-header {
  background: rgba(0, 0, 0, 0.2);
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .chat-messages {
  background: transparent;
}

[data-theme="dark"] .message.bot .message-content {
  background: var(--card-bg);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .chat-input {
  background: rgba(0, 0, 0, 0.2);
  border-top-color: var(--border-color);
}

[data-theme="dark"] .chat-input input {
  background: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-color);
}

[data-theme="dark"] .home .service-card,
[data-theme="dark"] .home .product-card,
[data-theme="dark"] .home .stat-box {
  background: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .home .services-section,
[data-theme="dark"] .home .about-section {
  background-color: var(--bg-primary);
}

[data-theme="dark"] .home .partners-section,
[data-theme="dark"] .home .stats-section {
  background-color: var(--bg-secondary);
}

[data-theme="dark"] .home .swiper-slide {
  background: var(--card-bg);
}

[data-theme="dark"] .home .swiper-slide img {
  filter: brightness(0) invert(1) opacity(0.8);
}

[data-theme="dark"] .page-template-page-about .team-card,
[data-theme="dark"] .page-template-page-about .value-card,
[data-theme="dark"] .page-template-page-about .core-value-item {
  background: var(--card-bg);
}

[data-theme="dark"] .page-template-page-services .solution-card,
[data-theme="dark"] .page-template-page-services .stat-item,
[data-theme="dark"] .page-template-page-services .nav-pills,
[data-theme="dark"] .page-template-page-services .tab-content {
  background: var(--card-bg);
}

[data-theme="dark"] .page-template-page-products .product-card,
[data-theme="dark"] .page-template-page-products .nav-pill {
  background: var(--card-bg);
}

[data-theme="dark"] .page-template-page-partnerships .description-item,
[data-theme="dark"] .page-template-page-partnerships .card {
  background: var(--card-bg);
}

[data-theme="dark"] .page-template-page-partnerships .feature {
  background: var(--bg-primary);
}

[data-theme="dark"] .page-template-page-insights .card-left,
[data-theme="dark"] .page-template-page-insights .card-right,
[data-theme="dark"] .page-template-page-insights .stats-bar {
  background: var(--card-bg);
}

[data-theme="dark"] .page-template-page-insights .card-left::before { border-left-color: var(--card-bg); }
[data-theme="dark"] .page-template-page-insights .card-right::before { border-right-color: var(--card-bg); }

[data-theme="dark"] .page-template-page-insights .timeline-dot {
  background: var(--bg-primary);
}

[data-theme="dark"] .page-template-page-know-more .detail-card {
  background: var(--card-bg);
}

[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-card {
  background: var(--card-bg);
}

[data-theme="dark"] .contact-item {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .social-link {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

/* Quick Question Suggestion Buttons */
.chat-quick-question-btn {
    background-color: var(--card-bg, #ffffff) !important;
    color: var(--text-color, #333333) !important;
    border: 1px solid var(--border-color, #e9ecef) !important;
}

.chat-quick-question-btn:hover {
    background-color: rgba(52, 152, 219, 0.15) !important;
    color: var(--secondary-color, #3498db) !important;
    border-color: var(--secondary-color, #3498db) !important;
}

/* Chat Container Positioning Fix (Prevents Overlap) */
.chatbot-container {
    position: fixed !important;
    bottom: 30px !important;
    right: 90px !important; /* Offsets container away from edge controls */
    z-index: 9999 !important;
}

/* Dark Mode Chatbot Overrides */
[data-theme="dark"] .chat-window {
    background: #1e1e1e !important;
    border-color: #404040 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .chat-header {
    background: #2d2d2d !important;
    border-bottom-color: #404040 !important;
}

[data-theme="dark"] .chat-header h3,
[data-theme="dark"] .chat-header .close-btn {
    color: #ffffff !important;
}

[data-theme="dark"] .message.bot .message-content {
    background: #2d2d2d !important;
    color: #e0e0e0 !important;
    border: 1px solid #404040 !important;
}

[data-theme="dark"] .message.user .message-content {
    background: #3498db !important;
    color: #ffffff !important;
}

[data-theme="dark"] .chat-input {
    background: #2d2d2d !important;
    border-top-color: #404040 !important;
}

[data-theme="dark"] .chat-input input {
    background: #121212 !important;
    color: #ffffff !important;
    border-color: #404040 !important;
}

[data-theme="dark"] .chat-input input::placeholder {
    color: #b0bec5 !important;
}

[data-theme="dark"] .chat-quick-question-btn {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border-color: #404040 !important;
}

[data-theme="dark"] .chat-quick-question-btn:hover {
    background-color: rgba(52, 152, 219, 0.25) !important;
    color: #64b5f6 !important;
    border-color: #64b5f6 !important;
}

/* ==========================================================================
   HEADER THEME TOGGLE ALIGNMENT FIX
   ========================================================================== */
.navbar #themeToggle,
#mainNavbar #themeToggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0 12px 0 0 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.navbar #themeToggle:hover,
#mainNavbar #themeToggle:hover {
    transform: scale(1.05) !important;
}

/* ==========================================================================
   14. Media Queries
   ========================================================================== */

/* Max Width 1200px */
@media (max-width: 1200px) {
  .page-template-page-about .hero-section h1,
  .page-template-page-services .hero-section h1,
  .page-template-page-products .hero-section h1,
  .page-template-page-partnerships .page-header h1,
  .page-template-page-insights .hero-section h1,
  .page-template-page-know-more .hero-section h1 { font-size: 3rem; }
}

@media (max-width: 991px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

/* Max Width 991px */
@media (max-width: 991px) {
  .navbar > .container { justify-content: space-between; }
  .navbar-brand { margin-right: 0 !important; }
  .navbar-collapse {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    z-index: 1000;
  }
  .nav-link { padding: 0.8rem 1rem !important; border-radius: 6px; }
  .dropdown-menu { border: none; box-shadow: none; padding-left: 1rem; background: transparent; }
  #themeToggle { margin: 1rem auto 0; width: 100%; border-radius: 8px; }
  .home .about-image { margin-top: 40px; }
  .home .services-description { padding-right: 0; margin-bottom: 40px; }
  .page-template-page-services .stats-highlight { flex-direction: column; }
  .page-template-page-insights .timeline-line { left: 30px; }
  .page-template-page-insights .timeline-dot { left: 30px; }
  .page-template-page-insights .pulse { left: 30px; }
  .page-template-page-insights .card-left, 
  .page-template-page-insights .card-right {
    width: calc(100% - 70px);
    margin-left: 70px !important;
    margin-right: 0 !important;
  }
  .page-template-page-insights .card-left::before,
  .page-template-page-insights .card-right::before {
    left: -10px;
    right: auto;
    border-right: 10px solid var(--card-bg);
    border-left: none;
  }
}

/* Max Width 768px */
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .home .carousel-caption h3 { font-size: 2rem; }
  .home .carousel-caption p { font-size: 1.1rem; }
  .home .carousel-caption .btn { width: 100%; margin-bottom: 10px; }
  .home .carousel-caption .btn-container { flex-direction: column; }
  .home #carouselExampleInterval .carousel-item { height: 500px; }
  .home .funfacts { flex-wrap: wrap; }
  .home .funfact { min-width: 40%; margin-bottom: 20px; }
  .contact-info-card { padding: 30px 20px; }
  .page-template-page-about .hero-section h1,
  .page-template-page-services .hero-section h1,
  .page-template-page-products .hero-section h1,
  .page-template-page-partnerships .page-header h1,
  .page-template-page-insights .hero-section h1,
  .page-template-page-know-more .hero-section h1 { font-size: 2.2rem; }
  .page-template-page-services .nav-pills { flex-direction: column; }
}

/* Max Width 576px */
@media (max-width: 576px) {
  .home .carousel-caption h3 { font-size: 1.8rem; }
  .home .carousel-caption p { font-size: 1rem; }
  .home .timeline-title { font-size: 1.5rem; }
  .page-template-page-about .team-card,
  .page-template-page-about .value-card,
  .page-template-page-services .solution-card,
  .page-template-page-products .product-card,
  .page-template-page-partnerships .card,
  .page-template-page-know-more .detail-card { padding: 25px; }
  .page-template-page-insights .stats-bar { padding: 20px; }
  .page-template-page-insights .card-left, 
  .page-template-page-insights .card-right { padding: 20px; }
  .page-template-page-partnerships .contact-row { flex-direction: column; gap: 30px; }
}

/* ==========================================================================
   GLOBAL DARK MODE OVERRIDES
   ========================================================================== */

[data-theme="dark"],
[data-theme="dark"] body {
  --bg-primary: #121212 !important;
  --bg-secondary: #1e1e1e !important;
  --card-bg: #2d2d2d !important;
  --primary-color: #64b5f6 !important;
  --text-color: #e0e0e0 !important;
  --text-light: #b0bec5 !important;
  --border-color: #404040 !important;
  --shadow: rgba(0,0,0,0.4) !important;
  --shadow-hover: rgba(0,0,0,0.6) !important;
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] main,
[data-theme="dark"] .products-page,
[data-theme="dark"] .services-page,
[data-theme="dark"] .partnerships-page,
[data-theme="dark"] .about-page,
[data-theme="dark"] .insights-page {
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .quick-nav,
[data-theme="dark"] .tab-content-wrapper,
[data-theme="dark"] .service-intro-card,
[data-theme="dark"] .home-contact-card {
  background: #2d2d2d !important;
  color: #e0e0e0 !important;
  border-color: #404040 !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #ffffff !important;
}