/* ===================================================
   Zenith Solutions Limited
   Enterprise Design System
   Version: 3.0
=================================================== */

/* ===================================================
   BASE
=================================================== */

@import "./base/reset.css";
@import "./base/variables.css";
@import "./base/typography.css";

/* ===================================================
   COMPONENTS
=================================================== */

@import "./components/buttons.css";
@import "./components/cards.css";
@import "./components/forms.css";
@import "./components/layout.css";
@import "./components/navbar.css";
@import "./components/footer.css";
@import "./components/hero.css";
@import "./components/sections.css";
@import "./components/statistics.css";
@import "./components/cta.css";
@import "./components/timeline.css";
@import "./components/faq.css";

/* ===================================================
   PAGES
=================================================== */

@import "./pages/home.css";
@import "./pages/about.css";
@import "./pages/services.css";
@import "./pages/pages.css";

/* ===================================================
   UTILITIES
=================================================== */

@import "./utilities/utilities.css";
@import "./utilities/responsive.css";
@import "./utilities/animations.css";

/* ===================================================
   TAILWIND
=================================================== */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* ==========================================
            COMPANY DROPDOWN
========================================== */
/* COMPANY MEGA MENU */

.mega-link {
  display: block;
  padding: 12px 0;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mega-link:hover {
  color: #262871;
}

.group:hover > .group-hover\:block {
  display: block;
}

.group:hover .group-hover\:rotate-180 {
  transform: rotate(180deg);
}
/* ==========================================
        COMPANY MENU ANIMATION
========================================== */

.group {
  position: relative;
}
.group:hover > .company-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.company-mega {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: 0.3s ease;
  pointer-events: none;
  background: #ffffff;
}

.group:hover > .company-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hover */

.mega-link {
  position: relative;
}

.mega-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: 0.25s;
}

.mega-link:hover::before {
  transform: scaleY(1);
}
/* ==========================================================
   HOME PAGE HERO — SOLUTIONS PAGE STYLE
========================================================== */

.home-page .home-hero {
  position: relative;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0;
  margin: 0;
  background: linear-gradient(135deg, #262871 0%, #46307b 55%, #6c385e 100%);
  color: #ffffff;
}

/* Decorative Circle — Top Right */
.home-page .home-hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -250px;
  right: -220px;
  filter: none;
  z-index: 0;
  pointer-events: none;
}

/* Decorative Circle — Bottom Left */
.home-page .home-hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  left: -150px;
  bottom: -150px;
  filter: none;
  z-index: 0;
  pointer-events: none;
}

/* Subtitle */
.home-page .home-hero-subtitle {
  display: inline-block;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 1.7;
  text-transform: uppercase;
}

/* Main Heading */
.home-page .home-hero-title {
  margin-top: 22px;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -2px;
}

/* Highlighted Heading Line */
.home-page .home-hero-title span {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

/* Paragraph */
.home-page .home-hero-text {
  max-width: 700px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.9;
  text-align: justify;
}

/* Buttons Wrapper */
.home-page .home-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

/* Primary Button */
.home-page .home-hero-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 30px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #262871;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-page .home-hero-primary-btn:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Outline Button */
.home-page .home-hero-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-page .home-hero-outline-btn:hover {
  background: #ffffff;
  color: #262871;
  transform: translateY(-4px);
}

/* Trust Items */
.home-page .home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
}

.home-page .home-hero-trust div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
}

.home-page .home-hero-trust i {
  color: #ffffff;
}

/* ==========================================================
   HOME HERO GLASS CARDS
========================================================== */

.home-page .home-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* Individual Card */
.home-page .home-glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Light Effect */
.home-page .home-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.09),
    transparent 60%
  );
  pointer-events: none;
}

/* Staggered Card */
.home-page .home-glass-offset {
  transform: translateY(38px);
}

/* Card Hover */
.home-page .home-glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

/* Offset Card Hover */
.home-page .home-glass-offset:hover {
  transform: translateY(28px);
}

/* Icon Box */
.home-page .home-glass-icon {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 27px;
}

.home-page .home-glass-icon.secondary {
  background: rgba(255, 255, 255, 0.12);
}

/* Card Title */
.home-page .home-glass-card h3 {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

/* Card Paragraph */
.home-page .home-glass-card p {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

/* Card Arrow */
.home-page .home-card-arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  transition: 0.3s ease;
}

.home-page .home-glass-card:hover .home-card-arrow {
  color: #ffffff;
  transform: translate(3px, -3px);
}

/* ==========================================================
   RESPONSIVE — HOME HERO
========================================================== */

@media (max-width: 1200px) {
  .home-page .home-hero {
    padding: 80px 0;
  }

  .home-page .home-hero-title {
    font-size: 3.6rem;
  }

  .home-page .home-glass-card {
    padding: 26px;
  }
}

@media (max-width: 992px) {
  .home-page .home-hero {
    min-height: auto;
    padding: 90px 0;
    text-align: center;
  }

  .home-page .home-hero-title {
    font-size: 3.1rem;
    letter-spacing: -1px;
  }

  .home-page .home-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .home-hero-buttons,
  .home-page .home-hero-trust {
    justify-content: center;
  }

  .home-page .home-hero-cards {
    max-width: 720px;
    margin: 25px auto 0;
  }
}

@media (max-width: 768px) {
  .home-page .home-hero {
    padding: 75px 0;
  }

  .home-page .home-hero-subtitle {
    font-size: 0.78rem;
    letter-spacing: 4px;
  }

  .home-page .home-hero-title {
    font-size: 2.55rem;
  }

  .home-page .home-hero-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .home-page .home-glass-card {
    min-height: 190px;
    padding: 24px;
  }

  .home-page .home-glass-offset {
    transform: none;
  }

  .home-page .home-glass-offset:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 576px) {
  .home-page .home-hero {
    padding: 65px 0;
  }

  .home-page .home-hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .home-page .home-hero-buttons {
    flex-direction: column;
  }

  .home-page .home-hero-primary-btn,
  .home-page .home-hero-outline-btn {
    width: 100%;
  }

  .home-page .home-hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .home-page .home-hero-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 15px;
  }

  .home-page .home-glass-card {
    min-height: auto;
    text-align: left;
  }
}
/* ==========================================
   TRUSTED BY CARDS
========================================== */

.trusted-card {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
}

.trusted-card i {
  font-size: 52px;
  color: #262871;
  margin-bottom: 24px;
}

.trusted-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.trusted-card p {
  margin-top: 8px;
  margin-bottom: 0;
  color: #64748b;
  font-size: 15px;
}
/* .grid p{
  color: ;
} */
/* ==========================================
   HOME PAGE STATISTICS TEXT FIX
========================================== */

.home-page .stats-section p,
.home-page .stats-section .stat-title {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1 !important;
}

.home-page .stats-section h2,
.home-page .stats-section .stat-number {
  color: #ffffff !important;
}
.grid-footer p {
  color: #ffffff;
}
/* ==================================================
   HOME HERO VIEWPORT SPACING FIX — ALL DEVICES
================================================== */

html,
body.home-page {
  margin: 0 !important;
  padding-top: 0 !important;
}

/* Fixed Navbar-এর জন্য শুধু এই spacer কাজ করবে */
body.home-page .navbar-spacer {
  display: block !important;
  width: 100% !important;
  height: var(--navbar-height-desktop, 160px) !important;
  min-height: var(--navbar-height-desktop, 160px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hero-এর অতিরিক্ত top gap সম্পূর্ণ সরানো */
body.home-page .home-hero,
body.home-page section.home-hero,
body.home-page .hero.home-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: auto !important;
  transform: none !important;
}

/* Tablet */
@media (max-width: 992px) {
  body.home-page .navbar-spacer {
    height: var(--navbar-height-tablet, 100px) !important;
    min-height: var(--navbar-height-tablet, 100px) !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  body.home-page .navbar-spacer {
    height: var(--navbar-height-mobile, 72px) !important;
    min-height: var(--navbar-height-mobile, 72px) !important;
  }

  body.home-page .home-hero,
  body.home-page section.home-hero,
  body.home-page .hero.home-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
