/* ========================================
   main.css - Akountech Cloud Services
   Unified Stylesheet
   ======================================== */

/*-----------------------------------------
  1. CSS Variables & Root Styles
-----------------------------------------*/
:root {
  --primary: #032150ff !important; /* Dark blue */
  --secondary: #ec8b1a !important; /* Orange */
  --accent: #ffb703;
  --dark: #1e2b3a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray-light: #eef2f6;
  --gray: #6c757d;
  --text-dark: #1c1c1c;
  --text-light: #444;

  --primary-rgb: 2, 36, 91;
  --secondary-rgb: 236, 139, 26;

  --border-radius-sm: 10px;
  --border-radius-md: 18px;
  --border-radius-lg: 30px;
  --border-radius-xl: 60px;

  --box-shadow-sm: 0 5px 18px rgba(0, 0, 0, 0.06);
  --box-shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.15);

  --transition-default: all 0.3s ease-in-out;
  --transition-slow: all 0.4s ease;
}

/*-----------------------------------------
  2. Base & Reset Styles
-----------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--text-light);
  scroll-behavior: smooth;
  /* background-color: #F8F9FA; */
}

body {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--text-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  /* color: var(--primary); */
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: var(--transition-default);
}

/*-----------------------------------------
  3. Mobile Specific Fixes
-----------------------------------------*/
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  .container,
  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }

  .row {
    margin-right: -12px;
    margin-left: -12px;
  }

  [class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (min-width: 768px) {
  .row {
    margin-right: -15px;
    margin-left: -15px;
  }

  [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/*-----------------------------------------
  4. Typography & Text Utilities
-----------------------------------------*/
.text-primary {
  color: var(--primary) !important;
}
.text-secondary {
  color: var(--secondary) !important;
}
.bg-primary {
  background-color: var(--primary) !important;
}
.bg-secondary {
  background-color: var(--secondary) !important;
}
.bg-light {
  background-color: var(--light) !important;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  margin-bottom: 50px;
  text-align: center;
}

.section-title .subtitle {
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/*-----------------------------------------
  5. Button Styles
-----------------------------------------*/
.btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-default);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-default);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  border-radius: 50px;
  padding: 10px 25px;
  transition: var(--transition-default);
}

.btn-outline-light:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/*-----------------------------------------
  6. Navigation / Header
-----------------------------------------*/
.navbar {
  padding: 15px 0;
  transition: var(--transition-default);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  width: 220px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  margin: 0 10px;
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-default);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
  width: 100%;
}

/* Scroll effect */
.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .navbar-nav .nav-link {
    height: auto;
    padding: 10px 0;
  }
}

/*-----------------------------------------
  7. Hero Section
-----------------------------------------*/
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0f5b8b 100%);
  color: var(--white);
  padding: 120px 0 80px;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  display: inline-block;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: 15px;
}

@media (max-width: 991px) {
  .hero {
    padding: 80px 0 60px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-cta {
    flex-direction: column;
  }
}

.page-header {
  background:
    linear-gradient(rgba(10, 75, 122, 0.9), rgba(10, 75, 122, 0.9)),
    url(images/carousel-1.jpg);
  background-size: cover;
  background-position: center;
  padding: 250px 0 80px;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/*-----------------------------------------
  8. About Section
-----------------------------------------*/
.about-img {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.about-img:before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 5px solid var(--secondary);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

/*-----------------------------------------
  9. Vision & Mission Boxes
-----------------------------------------*/
.vm-box {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--box-shadow-lg);
  height: 100%;
  border-left: 5px solid var(--primary);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.vm-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.vm-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--secondary);
  transition: var(--transition-slow);
}

.vm-box:hover:before {
  width: 100%;
  opacity: 0.05;
}

.vm-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 139, 26, 0.1);
  border-radius: 50%;
  transition: var(--transition-slow);
}

.vm-box:hover .vm-icon {
  background: var(--secondary);
  color: var(--white);
  transform: rotateY(180deg);
}

@media (max-width: 768px) {
  .vm-box {
    padding: 30px;
  }
}

/*-----------------------------------------
  10. Service Cards
-----------------------------------------*/
.service-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--box-shadow-md);
  transition: var(--transition-default);
  border: 1px solid #f1f1f1;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.service-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-content {
  padding: 25px 20px;
  position: relative;
}

.service-icon {
  width: 55px;
  height: 55px;
  background: rgba(236, 139, 26, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 15px;
}

.service-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.service-content p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-btn {
  font-weight: 600;
  color: var(--secondary);
  transition: var(--transition-default);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-btn:hover {
  color: #111;
}

.service-btn i {
  transition: transform 0.3s;
}

.service-btn:hover i {
  transform: translateX(5px);
}

/*-----------------------------------------
  11. Why Choose Us Cards
-----------------------------------------*/
.why-stass {
  background: url("../images/3047867.jpg") center/cover no-repeat;
  padding: 80px 0;
}

.why-stass .title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--white);
}

.why-stass .card {
  color: var(--white);
  border: 1px solid;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
  background-color: rgba(20, 20, 20, 0.1);
  min-height: 150px;
}

.why-stass .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.why-stass .icon {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 10px;
}

.why-stass .fw-semibold {
  font-size: 1rem;
  line-height: 1.4;
}

/*-----------------------------------------
  12. Founder Cards
-----------------------------------------*/
.founder-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow-lg);
  border: 1px solid #edf2f7;
  height: 100%;
  transition: var(--transition-default);
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

@media (max-width: 768px) {
  .founder-card {
    padding: 25px;
  }
}

.founder-name {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 576px) {
  .founder-name {
    font-size: 1.5rem;
  }
}

.founder-role {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.expertise-tag {
  background: var(--gray-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin: 0 5px 8px 0;
  display: inline-block;
  color: var(--primary);
}

/*-----------------------------------------
  13. Facts / Counter Section
-----------------------------------------*/
.facts {
  background:
    linear-gradient(rgba(2, 36, 91, 0.9), rgba(2, 36, 91, 0.9)),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.fact-item {
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  background: white;
  backdrop-filter: blur(10px);
  height: 100%;
}

.fact-icon {
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.fact-count {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

.fact-title {
  color: var(--primary);
  font-weight: 500;
 
}

@media (max-width: 576px) {
  .fact-item {
    padding: 20px 15px;
  }
  .fact-count {
    font-size: 2.5rem;
  }
}

/*-----------------------------------------
  14. Customer Slider
-----------------------------------------*/
.customer-slider {
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}

.customer-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px 20px;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-default);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.customer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-hover);
}

.customer-top {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}

.customer-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f2f6ff;
}

.customer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.customer-subtitle {
  font-size: 14px;
  color: var(--gray);
}

.customer-review {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  background: #000;
  opacity: 0.4;
}

.swiper-pagination-bullet-active {
  background: var(--secondary);
  opacity: 1;
}

/* Partner Slider */
.partner-slider {
  padding: 20px 0;
}

.partner-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--box-shadow-sm);
  height: 120px;
  transition: var(--transition-default);
}

.partner-slider .swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-slider img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-default);
}

.partner-slider .swiper-slide:hover img {
  transform: scale(1.05);
}

/*-----------------------------------------
  15. Tab Navigation
-----------------------------------------*/
.nav-pills .nav-link1 {
  background: var(--white);
  color: var(--dark);
  border-radius: var(--border-radius-xl) !important;
  padding: 15px 20px;
  font-weight: 500;
  text-align: left;
  border: 1px solid #dee7ef;
  transition: var(--transition-default);
}

.nav-pills .nav-link1:hover {
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .nav-pills .nav-link1 {
    padding: 12px 15px;
    font-size: 0.95rem;
    white-space: normal;
    word-wrap: break-word;
  }
}

.nav-pills .nav-link1.active {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary);
}

.tab-content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 4px 4px 35px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .tab-content {
    padding: 20px;
  }
}

.solution_sec_tab_img {
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/*-----------------------------------------
  16. Footer
-----------------------------------------*/
footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--white);
}

.footer-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-default);
  display: inline-flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 12px;
  transition: transform 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}

/*-----------------------------------------
  17. AOS Animation Overrides
-----------------------------------------*/
[data-aos] {
  transition: all 0.8s ease;
}

.aos-fade-up {
  transform: translateY(50px);
  opacity: 0;
}

.aos-fade-down {
  transform: translateY(-50px);
  opacity: 0;
}

.aos-fade-left {
  transform: translateX(50px);
  opacity: 0;
}

.aos-fade-right {
  transform: translateX(-50px);
  opacity: 0;
}

.aos-zoom-in {
  transform: scale(0.9);
  opacity: 0;
}

/*-----------------------------------------
  18. Utility Classes
-----------------------------------------*/
.rounded-4 {
  border-radius: var(--border-radius-md);
}
.rounded-5 {
  border-radius: var(--border-radius-lg);
}

.shadow-hover:hover {
  box-shadow: var(--box-shadow-hover);
}

/*-----------------------------------------
  19. Responsive Media Queries
-----------------------------------------*/
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .hero-cta .btn {
    width: 100%;
    margin: 5px 0;
  }

  .founder-card .d-flex {
    flex-direction: column;
    text-align: center;
  }

  .founder-card .me-3 {
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.8rem;
  }

  .customer-top {
    flex-direction: column;
    text-align: center;
  }

  .customer-icon {
    margin: 0 auto;
  }
}
