﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-color: #59C916; /* Emerald */
  --primary-dark: #40910e;
  --primary-light: #E6F5DF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* UI Elements */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 20px 40px rgba(89, 201, 22, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bootstrap Overrides */
.text-primary {
  color: var(--primary-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography Utilities */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Topbar */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  z-index: 1030;
  transition: var(--transition);
}

.topbar-info li {
  margin-right: 25px;
}

.topbar-info i {
  color: var(--primary-color);
  margin-right: 8px;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 12px;
  transition: var(--transition);
}

.topbar-social a:hover {
  color: var(--primary-color);
}

.topbar-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.topbar-btn:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

/* Navbar */
.navbar-custom.absolute-top {
  position: absolute;
  top: 48px; /* Depending on topbar height */
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: transparent;
  box-shadow: none;
  z-index: 1020;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar-custom.absolute-top .navbar-brand {
  color: #fff !important;
}

.navbar-custom.absolute-top .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-custom.absolute-top .nav-link:hover, 
.navbar-custom.absolute-top .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-custom.absolute-top .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar-custom.absolute-top .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  z-index: 1040;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Modern Dropdown Animation & Styling */
@media (min-width: 992px) {
  .navbar-custom .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transition-delay: 0.25s; /* The magic hover delay */
    top: 100%;
    transform-origin: top center;
    transform: translateY(15px);
    border-radius: 16px;
    padding: 15px 0;
    min-width: 240px;
    border: 1px solid rgba(0,0,0,0.04) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    margin-top: 0px;
    background-clip: padding-box;
    border-top: 10px solid transparent !important;
  }

  .navbar-custom .dropdown-mega .dropdown-menu {
    width: 1200px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(15px);
    margin-top: 0;
    border-radius: 16px;
    padding: 0;
  }

  .navbar-custom .dropdown:hover .dropdown-menu,
  .navbar-custom .dropdown-mega:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
    transform: translateY(0);
  }

  .navbar-custom .dropdown-mega:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }

  .border-end-lg {
    border-right: 1px solid rgba(0,0,0,0.05);
  }
}

@media (max-width: 991.98px) {
  .navbar-custom .dropdown-mega .dropdown-menu {
    width: 100%;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .border-end-lg {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}
/* Functional Mega Item Styling */
.mega-item {
  transition: transform 0.3s ease;
}
.mega-item:hover {
  transform: translateY(-5px);
}
.mega-item img {
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}
.mega-item:hover img {
  transform: scale(1.08);
}
.mega-item h6 {
  transition: color 0.3s ease;
}
.mega-item:hover h6 {
  color: var(--primary-color) !important;
}

/* Global Animation Utilities */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--box-shadow-hover) !important; }

.group-hover-scale { transition: transform 0.5s ease; }
.group:hover .group-hover-scale { transform: scale(1.08); }

.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

.group-hover-text-white { transition: color 0.3s ease; }
.group:hover .group-hover-text-white { color: #fff !important; }

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #0f172a;
}

.hero-bg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: cinematicZoom 12s cubic-bezier(0.1, 0.5, 0.1, 1) forwards;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

/* Advanced Cinematic Animations */
@keyframes cinematicZoom {
  0% { transform: scale(1.15); filter: blur(5px); }
  100% { transform: scale(1); filter: blur(0); }
}

@keyframes cinematicReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: cinematicReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: cinematicReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.8s forwards;
}

.hero-content .d-flex {
  opacity: 0;
  animation: cinematicReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1) 1.1s forwards;
}

/* 2026 Bento Grid Utilities */
.bento-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--bg-white);
}

.bento-img-card {
  min-height: 480px;
}

.group:hover .group-hover-scale {
  transform: scale(1.05);
}

.transition-transform {
  transition-property: transform;
}

.duration-500 {
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-gradient-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0) 100%);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.tracking-wider {
  letter-spacing: 0.15em;
}

.bg-clip-text {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .border-end-md {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
}

/* Custom Bento Accordion */
.custom-bento-accordion .accordion-button {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.custom-bento-accordion .accordion-button:not(.collapsed) {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(89, 201, 22, 0.25) !important;
  border-color: var(--primary-color);
}

.custom-bento-accordion .accordion-button:not(.collapsed) i {
  color: #fff !important;
}

.custom-bento-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.custom-bento-accordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.bg-primary-subtle {
  background-color: var(--primary-light) !important;
}

.object-fit-cover {
  object-fit: cover !important;
}

/* Preloader */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0F172A;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.8s ease;
}

.preloader-overlay.fade-out {
  transform: translateY(-100%);
  opacity: 0;
}

.preloader-content {
  text-align: center;
}

.preloader-icon {
  font-size: 3rem;
  animation: pulseIcon 1.5s infinite;
}

.preloader-text {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: var(--primary-color);
  animation: loadProgress 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  50% { width: 60%; }
  100% { width: 100%; }
}

@keyframes pulseIcon {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* =========================================
   AWWWARDS STYLE HORIZONTAL ACCORDION
========================================= */
.service-accordion-container {
  height: 600px;
  width: 100%;
}

@media (max-width: 991px) {
  .service-accordion-container {
    height: 800px; /* Taller on mobile to fit vertical stacking */
  }
}

.service-accordion-panel {
  flex: 1;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background: #000;
}

/* Hovering the container resets flex, then hovering the specific panel expands it */
.service-accordion-container:hover .service-accordion-panel {
  flex: 1;
}

.service-accordion-container:hover .service-accordion-panel:hover {
  flex: 6;
}

@media (max-width: 991px) {
  .service-accordion-container:hover .service-accordion-panel:hover {
    flex: 3;
  }
}

/* Default state (when nothing is hovered) lets the .active panel stay expanded */
.service-accordion-container:not(:hover) .service-accordion-panel.active {
  flex: 6;
}
@media (max-width: 991px) {
  .service-accordion-container:not(:hover) .service-accordion-panel.active {
    flex: 3;
  }
}

.service-accordion-panel img {
  opacity: 0.4;
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.15);
}

.service-accordion-container:hover .service-accordion-panel:hover img,
.service-accordion-container:not(:hover) .service-accordion-panel.active img {
  opacity: 0.85;
  transform: scale(1);
}

.accordion-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
  transition: opacity 0.8s ease;
}

.service-accordion-container:hover .service-accordion-panel:hover .accordion-overlay,
.service-accordion-container:not(:hover) .service-accordion-panel.active .accordion-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.accordion-title-wrapper h3 {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-accordion-container:hover .service-accordion-panel:hover .accordion-title-wrapper h3,
.service-accordion-container:not(:hover) .service-accordion-panel.active .accordion-title-wrapper h3 {
  opacity: 1;
  max-width: 400px;
}

.accordion-hidden-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  max-height: 0;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-accordion-container:hover .service-accordion-panel:hover .accordion-hidden-content,
.service-accordion-container:not(:hover) .service-accordion-panel.active .accordion-hidden-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 300px;
  transition-delay: 0.2s;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  opacity: 1;
  width: 40px;
  border-radius: 10px;
  transition: all 0.5s ease;
}

/* Swiper Navigation Arrows */
.service-nav-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-nav-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Portfolio/Projects */
.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
}

.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(89, 201, 22, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-category {
  color: var(--bg-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.project-title {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.project-card:hover .project-category,
.project-card:hover .project-title {
  transform: translateY(0);
}

.portfolio-filter {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(89, 201, 22, 0.3);
}

/* Stats */
.stat-item {
  text-align: center;
  padding: 30px;
}

.stat-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Blog Cards */
.blog-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.blog-img {
  height: 240px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.blog-meta i {
  color: var(--primary-color);
  margin-right: 5px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-title a {
  color: var(--text-dark);
}

.blog-title a:hover {
  color: var(--primary-color);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Page Header (Inner pages) */
.page-header {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 0 0;
  background-color: #0f172a;
  background-image: url('../img/sunset-sky-reflects-solar-panel-sustainable-power-generation-generative-ai.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  color: #fff;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.4);
}

/* Team */
.team-card {
  text-align: center;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 5px solid var(--primary-light);
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 35px;
  height: 35px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
}

.team-social a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Contact */
.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  font-size: 24px;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.form-control {
  padding: 15px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(89, 201, 22, 0.25);
  background: var(--bg-white);
}

/* Accordion FAQ */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm) !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  padding: 20px;
  background-color: var(--bg-light);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,.125);
}

.accordion-button::after {
  filter: grayscale(1);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 20px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
  font-family: var(--font-body);
}

.footer-title {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.footer-text {
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .stat-item {
    margin-bottom: 30px;
  }
}

/* =========================================
   WHY CHOOSE US (PURE MINIMALIST ELEGANCE)
========================================= */
.why-choose-us-minimal {
  background-color: #000;
  overflow: hidden;
  color: #fff;
}

/* Background Layers */
.minimal-bg {
  pointer-events: none;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 3s ease;
  transform: scale(1.05);
}

.minimal-overlay {
  background: rgba(0, 0, 0, 0.6);
  transition: background 0.8s ease;
}

.why-choose-us-minimal:hover .minimal-overlay {
  background: rgba(0, 0, 0, 0.85); /* Darken strongly on hover to pop text */
}

/* Typography List */
.minimal-list {
  display: flex;
  flex-direction: column;
}

.minimal-item {
  position: relative;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: all 0.5s ease;
}

.minimal-item:last-child {
  border-bottom: none;
}

.minimal-num {
  font-size: 1.25rem;
  color: var(--primary-color);
  opacity: 0.5;
  transition: all 0.5s ease;
  margin-top: 1.5rem;
}

.minimal-title {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  line-height: 0.9;
  letter-spacing: -2px;
}

/* Hovering the list item */
.minimal-item:hover {
  transform: translateX(30px);
}

.minimal-item:hover .minimal-num {
  opacity: 1;
}

.minimal-item:hover .minimal-title {
  color: #fff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Dimming other items when list is hovered */
.minimal-list:hover .minimal-item:not(:hover) .minimal-title {
  opacity: 0.1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

/* Content Fade logic */
.minimal-content, .minimal-default-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* GÃ¶lgeli ve Buzlu Cam Ä°ÅŸlemi (Readability Fix) */
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 2px solid var(--primary-color);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* 
  ==============================================
  THE MAGIC: CSS-ONLY STATE MACHINE USING :has() 
  ============================================== 
*/

/* Default State Visibility */
.why-choose-us-minimal:not(:has(.minimal-item:hover)) .bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

.why-choose-us-minimal:not(:has(.minimal-item:hover)) #content-default {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover States Visibility */
.why-choose-us-minimal:has(.minimal-item[data-target="bg-1"]:hover) #bg-1,
.why-choose-us-minimal:has(.minimal-item[data-target="bg-2"]:hover) #bg-2,
.why-choose-us-minimal:has(.minimal-item[data-target="bg-3"]:hover) #bg-3,
.why-choose-us-minimal:has(.minimal-item[data-target="bg-4"]:hover) #bg-4 {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.why-choose-us-minimal:has(.minimal-item:hover) .bg-layer.active {
  opacity: 0 !important;
}

.why-choose-us-minimal:has(.minimal-item[data-target="bg-1"]:hover) #content-bg-1,
.why-choose-us-minimal:has(.minimal-item[data-target="bg-2"]:hover) #content-bg-2,
.why-choose-us-minimal:has(.minimal-item[data-target="bg-3"]:hover) #content-bg-3,
.why-choose-us-minimal:has(.minimal-item[data-target="bg-4"]:hover) #content-bg-4 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .minimal-title {
    font-size: 3.5rem;
    color: #fff;
    -webkit-text-stroke: 0;
  }
  .minimal-item:hover {
    transform: none;
  }
}

/* =========================================
   AI SAVINGS AGENT (CALCULATOR)
========================================= */
.savings-agent-section {
  background-color: #030303;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.agent-card {
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.05);
  border: 1px solid rgba(89, 201, 22, 0.1);
}

.agent-info-panel {
  background: linear-gradient(135deg, rgba(89, 201, 22, 0.05) 0%, transparent 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
}

.agent-glow {
  background: radial-gradient(circle at 0% 0%, rgba(89, 201, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Minimalist Inputs */
.agent-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 !important;
  color: #fff !important;
  padding: 0.5rem 0 !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.agent-input::placeholder {
  color: rgba(255,255,255,0.2) !important;
}

.agent-input:focus {
  border-bottom-color: var(--primary-color) !important;
  background: linear-gradient(to top, rgba(89, 201, 22, 0.05) 0%, transparent 100%) !important;
}

.agent-input option {
  background: #111;
  color: #fff;
}

/* Futuristic Button */
.agent-btn {
  background: var(--primary-color);
  color: #000;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(89, 201, 22, 0.4);
}

.agent-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Result Box */
#savings-result {
  background: rgba(89, 201, 22, 0.05);
  border: 1px solid rgba(89, 201, 22, 0.3);
  box-shadow: 0 0 30px rgba(89, 201, 22, 0.1);
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Global Smooth Hover Overrides */
.transition-all {
    transition-duration: 0.6s !important;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.transition-transform {
    transition-duration: 0.6s !important;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.transition-colors {
    transition-duration: 0.4s !important;
    transition-timing-function: ease !important;
}
.hover-lift {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.group-hover-scale {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.btn {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
a, .cursor-pointer {
    transition-duration: 0.4s;
}

/* Ultra-Wide Screen Container Adjustments */
@media (min-width: 1600px) {
    .container { max-width: 1520px; }
}
@media (min-width: 1920px) {
    .container { max-width: 1780px; }
}
@media (min-width: 2560px) {
    .container { max-width: 2300px; }
}

/* Standard Dropdown Item Styles */
.navbar-custom .dropdown-item {
  padding: 10px 25px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}
.navbar-custom .dropdown-item:hover, .navbar-custom .dropdown-item:focus {
  color: var(--primary-color);
  background-color: rgba(89, 201, 22, 0.05); /* very light primary */
  transform: translateX(5px);
}


/* Header & Menu Balance Adjustments */
.navbar-custom .nav-link {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

.navbar-custom .dropdown-item {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

/* Stylish bullet points for dropdown items */
.navbar-custom .dropdown-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 12px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.navbar-custom .dropdown-item:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

/* Bullet points for Mega Menu titles */
.mega-item h6::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  margin-right: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
}


/* Global Font Size Reduction */
html {
  font-size: 15px; /* Default is 16px. This scales all rem-based typography down by ~6.25% */
}

body {
  font-size: 0.95rem; /* Further slightly reduce the base body text */
}


/* Prevent Header Jump when Modal Opens */
body.modal-open .navbar-custom {
  padding-right: var(--bs-scrollbar-width, 17px) !important;
}


/* Prevent Header Jump when Modal Opens for Topbar */
body.modal-open .topbar {
  padding-right: var(--bs-scrollbar-width, 17px) !important;
}


/* Prevent Modal Padding Animations */
.navbar-custom, .topbar {
  transition-property: background-color, box-shadow, padding-top, padding-bottom, top, color, opacity, transform !important;
}


/* Mobile Header Fix: Remove empty topbar space */
@media (max-width: 991.98px) {
  .navbar-custom.absolute-top {
    top: 0 !important;
  }
}


/* Offcanvas Mega Menu Styling (Mobile Only) */
@media (max-width: 991.98px) {
  /* Ensure the offcanvas spans the full screen as requested */
  .offcanvas.offcanvas-end {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .bg-lg-transparent {
    background-color: #fff !important;
  }

  .navbar-nav .nav-link {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-nav .nav-link.dropdown-toggle::after {
    margin-left: auto;
    font-size: 1rem;
    transition: transform 0.3s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus,
  .navbar-nav .nav-link[aria-expanded="true"] {
    color: var(--primary-color) !important;
  }

  /* Make sure dropdown menus act as smooth accordions */
  .navbar-custom .dropdown-menu {
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 10px 15px !important;
    margin: 0 !important;
    border-left: 2px solid rgba(89, 201, 22, 0.2) !important;
    background-color: transparent !important;
  }

  /* Dropdown items text */
  .navbar-custom .dropdown-item,
  .navbar-custom .dropdown-mega .mega-item h6 {
    font-size: 1.1rem;
    color: #333 !important;
    padding: 8px 0;
    font-weight: 500;
  }

  .navbar-custom .dropdown-item:hover,
  .navbar-custom .dropdown-mega .mega-item h6:hover {
    color: var(--primary-color) !important;
  }

  /* Clean up Mega Menu on mobile (Hide images, descriptions, badges) */
  .navbar-custom .dropdown-mega .mega-item img,
  .navbar-custom .dropdown-mega .mega-item p,
  .navbar-custom .dropdown-mega .mega-item .badge,
  .navbar-custom .dropdown-mega .text-uppercase {
    display: none !important;
  }

  .navbar-custom .dropdown-mega .col-lg-3 {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  
  .navbar-custom .dropdown-mega ul.list-unstyled {
    gap: 0.25rem !important;
  }
  
  .navbar-custom .dropdown-mega ul.list-unstyled a {
    font-size: 1.1rem !important;
    color: #444 !important;
    padding: 6px 0;
  }
  .navbar-custom .dropdown-mega ul.list-unstyled a:hover {
    color: var(--primary-color) !important;
  }
  
  /* Reset search modal icon color for offcanvas */
  .offcanvas-body .fa-magnifying-glass {
    color: #111 !important;
    font-size: 1.5rem !important;
  }
}
/* Offcanvas Alignment Fixes */
@media (max-width: 991.98px) {
  .offcanvas-body .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: flex-start !important;
    width: 100%;
  }
  
  .offcanvas-body .navbar-nav .nav-item {
    width: 100%;
  }
  
  .offcanvas-body .ms-lg-4 {
    margin-left: 0 !important;
  }
}

/* Mobile Menu Accordion Chevron */
[data-bs-toggle="collapse"]:not(.collapsed) .mobile-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}
.hover-border-primary:hover {
    border-color: var(--primary-color) !important;
}
/* Mobile Menu Typography Fixes */
.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}
.mobile-subnav-link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
}
.mobile-contact-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}


/* Clean Mobile Submenu Styling */
.mobile-subnav-link {
    transition: transform 0.2s ease-out, color 0.2s ease-out;
    display: inline-block;
    width: 100%;
}

.mobile-subnav-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(6px);
}
/* Border Primary Fix */
.border-primary { border-color: var(--primary-color) !important; }

/* Dynamic Logo Color Based on Scroll State */
.navbar-custom.absolute-top:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}
.navbar-custom.scrolled .logo-img {
    filter: none;
    transition: filter 0.3s ease;
}
/* Stylish Preloader Favicon Animation */
@keyframes floatPulse {
  0% {
    transform: scale(0.9) translateY(0);
    filter: drop-shadow(0 0 10px rgba(89, 201, 22, 0.4));
  }
  50% {
    transform: scale(1.1) translateY(-15px);
    filter: drop-shadow(0 0 25px rgba(89, 201, 22, 0.9));
  }
  100% {
    transform: scale(0.9) translateY(0);
    filter: drop-shadow(0 0 10px rgba(89, 201, 22, 0.4));
  }
}

.preloader-favicon {
  animation: floatPulse 2s infinite ease-in-out;
  max-height: 80px;
  display: block;
  margin: 0 auto;
}