/* font family Barlow */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* font family Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,700;1,100;1,200;1,300&display=swap");

/* ============= 01. Reset section ============= */

html,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
}

/* Viewport rules for better responsive behavior */
@viewport {
  width: device-width;
  zoom: 1;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

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

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

select::-ms-expand {
  display: none;
}

label {
  font-weight: normal;
}

/* Responsive media */
img,
svg,
video,
iframe {
  height: auto;
  vertical-align: middle;
}

/* For images containing important information */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* For background images and decorative elements */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Video and iframe containers */
.video-container,
.iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container video,
.video-container iframe,
.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== 02. Global Style ===== */
:root {
  /* Colors */
  --primary-color: #ff8000;
  --secondary-color: #40608f;
  --accent-color: #ff5900;
  --text-color: #ffffff;
  --background-color: #000000;
  --gradient-primary: linear-gradient(42deg, #40608f 0.01%, #000000 100%);
  --gradient-secondary: linear-gradient(11deg, #ff8000 0.01%, #00e3f4 100%);

  /* Spacing System (Based on 8pt grid) */
  --space-xxs: 0.25rem; /* 4px */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 0.75rem; /* 12px */
  --space-md: 1rem; /* 16px */
  --space-lg: 1.5rem; /* 24px */
  --space-xl: 2rem; /* 32px */
  --space-2xl: 3rem; /* 48px */
  --space-3xl: 4rem; /* 64px */
  --space-4xl: 6rem; /* 96px */

  /* Typography - Modern Fluid Type Scale */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem); /* 12-14px */
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem); /* 14-16px */
  --font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem); /* 16-18px */
  --font-size-md: clamp(1.125rem, 1rem + 0.625vw, 1.25rem); /* 18-20px */
  --font-size-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem); /* 20-24px */
  --font-size-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem); /* 24-32px */
  --font-size-2xl: clamp(2rem, 1.8rem + 1.25vw, 2.5rem); /* 32-40px */
  --font-size-3xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem); /* 40-56px */
  --font-size-4xl: clamp(3rem, 2.5rem + 3.5vw, 5rem); /* 48-80px */
  --font-size-5xl: clamp(3.75rem, 3rem + 4.5vw, 6.5rem); /* 60-104px */

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Letter Spacing */
  --letter-spacing-tight: -0.015em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Animations */
  --transition-speed-fast: 0.15s;
  --transition-speed: 0.3s;
  --transition-speed-slow: 0.5s;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --border-radius: 50px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --container-padding: max(1rem, 4vw);
  --section-spacing: clamp(3.5rem, 10vh, 10rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 15px rgba(255, 128, 0, 0.3);
}
html {
  font-size: 16px; /* Base font size */
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  font-family: "Barlow", sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background-color);
  font-size: var(--font-size-base);
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

/* Modern Typography System */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", serif;
  margin-bottom: 0.5em;
  color: var(--text-color);
  hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-lg);
  text-shadow: var(--shadow-glow);
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  letter-spacing: var(--letter-spacing-normal);
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-normal);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-normal);
  margin-bottom: var(--space-sm);
}

p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-relaxed);
  font-family: "Barlow", sans-serif;
  margin-bottom: var(--space-md);
  max-width: 75ch; /* Improve readability with max character width */
  color: var(--text-color);
}

/* Small text */
small,
.text-small {
  font-size: var(--font-size-sm);
}

/* Large text */
.text-large {
  font-size: var(--font-size-lg);
}

/* Text alignment responsive classes */
.text-left {
  text-align: left !important;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}

/* Text overflow handling */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Button styles */
button {
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  padding: 0.75rem 1.5rem;
  text-transform: capitalize;
  font-family: "Barlow", sans-serif;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border-radius: var(--border-radius);
  border: 1.5px solid var(--primary-color);
  background-color: transparent;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  white-space: nowrap;
  vertical-align: middle;
}

button:hover,
button:focus {
  background-color: rgba(255, 128, 0, 0.08);
  outline: none;
}

button:active {
  transform: translateY(1px);
}

/* Button variants */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.btn-primary:hover {
  background-color: rgb(255, 128, 0);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--primary-color);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
}

/* Link styles */
a {
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  text-transform: capitalize;
  font-family: "Barlow", sans-serif;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  color: var(--text-color);
  position: relative;
}

a:hover {
  color: var(--primary-color);
}

a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Improved link underline effect */
.link-underline {
  position: relative;
}

.link-underline::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.link-underline:hover::after {
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  position: relative;
  z-index: 1;
}

/* Grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Responsive columns */
.col-1 {
  width: 8.33333%;
}
.col-2 {
  width: 16.66667%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 33.33333%;
}
.col-5 {
  width: 41.66667%;
}
.col-6 {
  width: 50%;
}
.col-7 {
  width: 58.33333%;
}
.col-8 {
  width: 66.66667%;
}
.col-9 {
  width: 75%;
}
.col-10 {
  width: 83.33333%;
}
.col-11 {
  width: 91.66667%;
}
.col-12 {
  width: 100%;
}

/* Responsive utilities */
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.d-flex {
  display: flex !important;
}
.d-grid {
  display: grid !important;
}
.d-inline {
  display: inline !important;
}
.d-inline-block {
  display: inline-block !important;
}
.d-inline-flex {
  display: inline-flex !important;
}

/* Flexbox utilities */
.flex-row {
  flex-direction: row !important;
}
.flex-column {
  flex-direction: column !important;
}
.flex-row-reverse {
  flex-direction: row-reverse !important;
}
.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}
.flex-nowrap {
  flex-wrap: nowrap !important;
}
.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}
.justify-content-end {
  justify-content: flex-end !important;
}
.justify-content-center {
  justify-content: center !important;
}
.justify-content-between {
  justify-content: space-between !important;
}
.justify-content-around {
  justify-content: space-around !important;
}
.justify-content-evenly {
  justify-content: space-evenly !important;
}

.align-items-start {
  align-items: flex-start !important;
}
.align-items-end {
  align-items: flex-end !important;
}
.align-items-center {
  align-items: center !important;
}
.align-items-baseline {
  align-items: baseline !important;
}
.align-items-stretch {
  align-items: stretch !important;
}

.align-self-start {
  align-self: flex-start !important;
}
.align-self-end {
  align-self: flex-end !important;
}
.align-self-center {
  align-self: center !important;
}
.align-self-baseline {
  align-self: baseline !important;
}
.align-self-stretch {
  align-self: stretch !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}
.flex-grow-1 {
  flex-grow: 1 !important;
}
.flex-shrink-0 {
  flex-shrink: 0 !important;
}
.flex-shrink-1 {
  flex-shrink: 1 !important;
}

/* Gap utilities */
.gap-0 {
  gap: 0 !important;
}
.gap-1 {
  gap: var(--space-xs) !important;
}
.gap-2 {
  gap: var(--space-sm) !important;
}
.gap-3 {
  gap: var(--space-md) !important;
}
.gap-4 {
  gap: var(--space-lg) !important;
}
.gap-5 {
  gap: var(--space-xl) !important;
}

/* Spacing utilities */
.m-0 {
  margin: 0 !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.m-1 {
  margin: var(--space-xs) !important;
}
.mt-1 {
  margin-top: var(--space-xs) !important;
}
.mb-1 {
  margin-bottom: var(--space-xs) !important;
}
.my-1 {
  margin-top: var(--space-xs) !important;
  margin-bottom: var(--space-xs) !important;
}
.mx-1 {
  margin-left: var(--space-xs) !important;
  margin-right: var(--space-xs) !important;
}

.m-2 {
  margin: var(--space-sm) !important;
}
.mt-2 {
  margin-top: var(--space-sm) !important;
}
.mb-2 {
  margin-bottom: var(--space-sm) !important;
}
.my-2 {
  margin-top: var(--space-sm) !important;
  margin-bottom: var(--space-sm) !important;
}
.mx-2 {
  margin-left: var(--space-sm) !important;
  margin-right: var(--space-sm) !important;
}

.m-3 {
  margin: var(--space-md) !important;
}
.mt-3 {
  margin-top: var(--space-md) !important;
}
.mb-3 {
  margin-bottom: var(--space-md) !important;
}
.my-3 {
  margin-top: var(--space-md) !important;
  margin-bottom: var(--space-md) !important;
}
.mx-3 {
  margin-left: var(--space-md) !important;
  margin-right: var(--space-md) !important;
}

.p-0 {
  padding: 0 !important;
}
.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.p-1 {
  padding: var(--space-xs) !important;
}
.pt-1 {
  padding-top: var(--space-xs) !important;
}
.pb-1 {
  padding-bottom: var(--space-xs) !important;
}
.py-1 {
  padding-top: var(--space-xs) !important;
  padding-bottom: var(--space-xs) !important;
}
.px-1 {
  padding-left: var(--space-xs) !important;
  padding-right: var(--space-xs) !important;
}

.p-2 {
  padding: var(--space-sm) !important;
}
.pt-2 {
  padding-top: var(--space-sm) !important;
}
.pb-2 {
  padding-bottom: var(--space-sm) !important;
}
.py-2 {
  padding-top: var(--space-sm) !important;
  padding-bottom: var(--space-sm) !important;
}
.px-2 {
  padding-left: var(--space-sm) !important;
  padding-right: var(--space-sm) !important;
}

.p-3 {
  padding: var(--space-md) !important;
}
.pt-3 {
  padding-top: var(--space-md) !important;
}
.pb-3 {
  padding-bottom: var(--space-md) !important;
}
.py-3 {
  padding-top: var(--space-md) !important;
  padding-bottom: var(--space-md) !important;
}
.px-3 {
  padding-left: var(--space-md) !important;
  padding-right: var(--space-md) !important;
}

/* Section spacing */
section {
  padding: var(--section-spacing) 0;
}

/* <!-- ====== 1.1. Header section ====== --> */

.header-index {
  /* The new glowing gradient background */
  background: radial-gradient(circle at 50% 50%, #221100 0%, #000000 70%);

  background-position: center center;
  background-size: cover;
  /* ... other existing styles ... */
}

.header-index > div,
.header-index > section.hero {
  max-width: 1320px;
  width: 100%;
}

header {
  padding: 30px 0;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1px;
  color: #ffffff;
}

.container-nav {
  gap: 40px;
}

.navbar-logo {
  color: #ffffff;
  font-family: "Poppins", serif;
  font-size: 30px;
}

.navbar-nav {
  gap: 50px;
}

.nav-link {
  font-weight: 500;
  color: #ffffff;
  font-size: 20px;
  font-family: "Poppins", serif;
  background: transparent;
  border-radius: 75px;
  letter-spacing: 2px;
}

.nav-link:is(:hover) {
  color: #ff8000;
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 5px;
}

.dropdown-menu {
  position: absolute;
  padding: 30px;
  display: none;
  z-index: 9;
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
  width: 220px;
  padding: 15px 0px 15px 0px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.45);
  margin-left: -52px;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: inherit;
}

.dropdown-item {
  display: block;
  width: 100%;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #ff8000;
  background-color: inherit;
}

.dropdown-menu li {
  display: block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  padding: 10px 20px;
  cursor: pointer;
}

.dropdown-menu .dropdown-item::before {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  transition: all 0.3s ease-in-out;
  background: rgb(255, 255, 255);
  z-index: -1;
  top: 0;
  left: 0;
}

.dropdown-menu .dropdown-item:hover::before {
  width: 100%;
  background: rgba(255, 128, 0, 0.61);
}

.nav-right {
  gap: 45px;
}

.nav-right p:first-child {
  color: #ffffff;
}

.nav-right span {
  color: #ffffff;
}

.nav-right .fa-magnifying-glass {
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.nav-right .fa-magnifying-glass:active {
  color: #ffffff;
  transform: scale(0.8);
}

.nav-right .fa-magnifying-glass:hover {
  color: #000000;
}

.nav-right .fa-bars {
  color: #ffffff;
  font-size: 22px;
  padding: 7px 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.nav-right .fa-bars:hover {
  color: #000000;
}

.nav-right .fa-bars:active {
  transform: scale(0.9);
}

.navbar-toggler {
  color: #ffffff;
  background-color: transparent;
  border: none;
  display: none;
  transition: 0.3s;
}

.navbar-toggler:hover {
  background: inherit;
  color: #000000;
}

.navbar-toggler span {
  font-size: 22px;
}

@media screen and (max-width: 1000px) {
  .navbar-toggler {
    display: block !important;
  }

  .navbar-nav,
  .nav-right {
    display: none !important;
  }

  .container-nav {
    width: 100%;
    justify-content: space-between;
  }
}

/* Sidebar */

aside {
  background-color: rgb(0, 0, 0);
  z-index: 10;
}

.sidepanel {
  width: 320px;
  position: fixed;
  height: 100vh;
  top: 0;
  left: -320px;
  overflow-x: hidden;
  transition: 0.5s;
  padding: 40px 20px 20px 20px;
}

.sidepanel::-webkit-scrollbar {
  width: 3px;
}

.sidepanel::-webkit-scrollbar-thumb {
  background: linear-gradient(42deg, #ffffff 0.01%, #ff8000 100%);
  border-radius: 10px;
}

.sidebar {
  justify-content: space-between;
  padding-bottom: 20px;
}

.sidebar img {
  width: 50px;
}

.sidebar button {
  width: 44px;
  height: 44px;
  background: black;
  padding: 10px 12px 10px 12px;
  margin-bottom: -15px;
  border-radius: 0.25em;
  border: 1.5px solid #ff8000;
  color: #ffffff;
  cursor: pointer;
}

/*.btn_hover1 {*/
/*    display: inline-block;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    border-radius: 50px;*/
/*    border: 1.5px solid #00e3f4;*/
/*    color: #ffffff;*/
/*    z-index: 1;*/
/*    letter-spacing: 0.8px;*/
/*    background: transparent;*/
/*    cursor: pointer;*/
/*}*/

/*.btn_hover1::before {*/
/*    border-radius: 50px;*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    transition: all 0.3s ease-in;*/
/*    background: linear-gradient(42deg, rgb(64, 96, 143) 0.01%, rgb(0, 0, 0) 100%);*/
/*    z-index: -1;*/
/*    top: 0;*/
/*    right: 0;*/
/*}*/

/*.btn_hover1:hover::before {*/
/*    width: 0;*/
/*    background: linear-gradient(42deg, rgb(64, 96, 143) 0.01%, #000000 100%);*/
/*}*/

/* Button hover effect */

.btn_hover1 {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  border: 1.5px solid #ff8000;
  color: #ffffff;
  z-index: 1;
  letter-spacing: 0.8px;
}

.btn_hover1::before {
  content: "";
  border-radius: 50px;
  position: absolute;
  width: 0;
  height: 100%;
  transition: all 0.3s ease-in;
  background: linear-gradient(42deg, rgb(129, 69, 8) 0.01%, #000000 100%);
  z-index: -1;
  top: 0;
  left: 0;
}

.btn_hover1:hover::before {
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(42deg, rgb(0, 0, 0) 0.01%, #dc852e 100%);
}

.sidebar button:hover {
  background: inherit;
}

.sidebar a {
  padding: 10px 0;
}

aside ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

aside ul li {
  margin: 15px 0;
}

aside li a {
  color: #ffffff;
  transition: 500ms;
  padding: 10px 0;
}

aside li a:hover {
  color: #ff8000;
  transition: 500ms;
}

aside li a.nav-link:hover {
  color: #ff8000;
  transition: 500ms;
}

aside .pages {
  font-weight: 500;
  color: #ffffff;
  margin: 11px 0 7px 0;
}

.collapse_btn {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.collapse_btn i {
  border: 1px solid #ffffff;
  padding: 7px 8px;
  border-radius: 40px;
}

.collapse_btn i:hover {
  border: 1px solid #ff8000;
}

.plus_collapse {
  margin: -52px 0px 0 0;
  height: 45px;
}

#pages {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.show {
  height: 500px !important;
  transition: height 0.35s ease;
}

/* searchbar */

#search-bar {
  background-color: #000000a6;
  width: 100%;
  height: 0;
  border-radius: 0px;
  bottom: 0;
  z-index: 2;
  transition: all 0.5s ease;
  position: fixed;
  display: flex;
}

#search-bar div:first-child {
  position: absolute;
  width: 44px;
  height: 44px;
  right: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.25em;
  border: 1.5px solid #ff8000;
  color: #ffffff;
  margin: 30px;
  cursor: pointer;
}

#search-bar div:first-child:hover {
  background: inherit;
}

#search-bar form {
  border-radius: 50px;
  border: 1px solid #ff8000;
  background: #000000;
  width: 50%;
  margin: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#search-bar form input {
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  outline: none;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 18px;
  width: 100%;
}

#search-bar form button {
  transition: all 0.3s ease;
  text-transform: uppercase;
}

/* header right sidebar */

.header-right-sidebar {
  width: 355px;
  position: fixed;
  height: 100vh;
  top: 0;
  right: 0;
  right: -355px;
  overflow-x: hidden;
  transition: 0.5s;
  padding: 60px 25px 20px 30px;
  z-index: 2;
  background: #000000;
}

.header-right-sidebar img {
  width: 50px;
}

.header-right-sidebar button {
  width: 44px;
  height: 44px;
  padding: 7px 12px 10px 12px;
  border-radius: 0.25em;
  border: 1.5px solid #ff8000;
  color: #000000;
  cursor: pointer;
}

.header-right-sidebar button:hover {
  background: linear-gradient(180deg, #87623d 0%, #000000 100%);
}

.header-right-sidebar p {
  color: #ffffff;
  margin: 25px 0;
}

.header-right-sidebar h4 {
  margin: 25px 0;
}

.header-right-sidebar hr {
  margin: 28px 0 0 0;
  border: 1px solid;
  opacity: 1;
  color: #ffffff;
}

.header-right-sidebar .btn_hover1 {
  padding: 15px 40px;
  outline: none;
  font-size: 16px;
}

.header-right-sidebar ul {
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
}

.header-right-sidebar ul li {
  display: flex;
  gap: 20px;
}

.header-right-sidebar ul a {
  padding: 0 !important;
  color: #ffffff;
}

.header-right-sidebar i {
  font-size: 20px;
  background: linear-gradient(0deg, #ff8000 0.5%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 250ms;
}

.header-right-sidebar i:hover {
  background: linear-gradient(0deg, #ffffff 0.5%, #ff8000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-10px);
}

.header-right-sidebar span {
  gap: 20px;
  margin-top: 30px;
}

/* ====== End of 1.1. Header section ====== */

/* ====== 1.2. hero section ====== */

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  position: relative;
  width: 100%;
  max-width: 1200px;  /* ADD */
  margin: 0 auto;     /* ADD */
  padding: 0 20px;
}

.hero h1 {
  color: var(--text-color);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  font-size: var(--font-size-4xl);
  margin-bottom: 0.5rem;
  line-height: var(--line-height-tight);
  text-shadow: var(--shadow-glow);
  font-weight: var(--font-weight-extrabold);
}

.hero-social-icon {
  position: absolute;
  left: 0;
  top: 0;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.hero-social-icon a {
  padding: 16px 38px 16px 38px !important;
}

.hero-social-icon i {
  font-size: 30px;
  background: linear-gradient(0deg, #ff8000 0.5%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-social-icon i:hover {
  background: linear-gradient(0deg, #ff8000 0.5%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-social-icon hr {
  display: block;
  margin-top: 68px;
  opacity: 1;
  color: #ff8000;
  width: 110px;
  rotate: 90deg;
}

.mainTitle {
  transition: 0.5s;
  animation: fadeIn 1s ease-in-out;
}

.withTitle {
  transition: 0.5s;
  font-size: clamp(35px, 4vw, 55px);
  margin-top: 0;
  letter-spacing: 2px;
  opacity: 0.9;
  animation: fadeIn 1.5s ease-in-out;
}

.center-data {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1000px;  /* CHANGE from 90% */
  margin: 0 auto;
  width: 100%;        /* ADD */
}

.hero h3 {
  color: #ffffff;
  text-transform: uppercase;
}

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

/* button hover with background */

.btn_hover2 {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  border: 1.5px solid #ff8000;
  color: #ffffff;
  z-index: 1;
  letter-spacing: 0.8px;
}

.btn_hover2::before {
  content: "";
  border-radius: 50px;
  position: absolute;
  width: 0;
  height: 100%;
  transition: all 0.3s ease-in;
  background: linear-gradient(42deg, rgb(138, 100, 62) 0.01%, #000000 100%);
  z-index: -1;
  top: 0;
  left: 0;
}

.btn_hover2:hover::before {
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(42deg, rgb(0, 0, 0) 0.01%, #dc852d 100%);
}

/* button hover end */

.center-btn a {
  padding: 16px 38px 16px 38px !important;
}

/* ====== End of 1.2. hero section ====== */

/* ====== 1.3. card section ====== */
.feature img {
  width: 100%;
  height: auto;
}

.feature {
  background-color: #000000;
  margin-top: -1px;
  position: relative;
}

.feature .flex {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
}

.header-card {
  margin-top: -145px;
  display: flex;
  flex: 0 0 auto;
  width: 25%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.header-card div {
  border-radius: 20px;
  background: linear-gradient(0deg, #ff8000 0%, #000000 100%);
  color: #ffffff;
  padding: 40px 30px;
  transition: all 0.4s ease;
}

.header-card div {
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  will-change: transform;
}

.header-card div:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 128, 0, 0.22);
}

.header-card .feature-img1 {
  width: 53px;
}

.header-card img {
  width: 60px;
}

.header-card h4 {
  width: 146px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin: 20px 0 12px 0;
}

/* ====== End of 1.3. card section ====== */

/* ====== 1.4. logoipsum section ====== */

.logoipsum {
  background-color: var(--background-color);
  padding: clamp(60px, 10vh, 120px) 0;
  margin-top: -1px;
  position: relative;
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-xl) 0;
  padding: 20px 0; /* Added vertical padding for more space */
  position: relative;
}

.wrapper::before,
.wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.wrapper::before {
  left: 0;
  background: linear-gradient(to right, #000000, transparent);
}

.wrapper::after {
  right: 0;
  background: linear-gradient(to left, #000000, transparent);
}

.slider {
  width: 100%;
  height: 150px;
  position: relative;
  background-color: #000000;
  display: flex;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
}

.slide {
  height: 150px;
  display: flex;
  align-items: center;
  animation: slideshow 15s infinite linear; /* Increased from 20s to 30s for slower movement */
  min-width: 100%;
}

.slide figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 250px; /* Increased from 200px to provide more space */
  padding: 15px 50px; /* Increased horizontal padding from 40px to 50px */
  margin: 0;
  flex-shrink: 0;
  flex-grow: 0;
  position: relative;
  transition: all var(--transition-speed) var(--transition-timing);
}

.slide figure::after {
  content: "";
  position: absolute;
  height: 50px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.slide img {
  height: auto;
  width: 100%;
  max-width: 150px; /* Reduced from 180px to ensure logos don't overlap */
  max-height: 80px; /* Reduced from 90px for better proportions */
  object-fit: contain;
  filter: brightness(1) grayscale(0.2);
  transition: all var(--transition-speed) var(--transition-timing);
}

.slide figure:hover img {
  filter: brightness(1) grayscale(0);
  transform: scale(1.05);
}

@keyframes slideshow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover */
.slider:hover .slide {
  animation-play-state: paused;
}

.logoipsum h3 {
  letter-spacing: 1.25px;
  color: #ff8000;
  text-transform: uppercase;
}

.logoipsum .hr1 {
  opacity: 1;
  height: 2px;
  rotate: 90deg;
  width: 60px;
  margin: 0 auto 50px auto;
  background: rgba(255, 255, 255, 0.75);
}

.logoipsum .hr2 {
  opacity: 1;
  height: 2px;
  rotate: 90deg;
  width: 60px;
  margin: 70px auto 0 auto;
  background: rgb(255, 255, 255);
}

/* ====== End of 1.4. logoipsum section ====== */

/* ====== 1.5. About us section ====== */

.about {
  background: #000000;
  padding: 100px 0;
}

.about-data {
  display: flex;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.about hr {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.w-50 {
  flex: 0 0 auto;
  width: 50%;
}

.about-title {
  gap: 1rem;
}

.about-data h2 {
  margin: var(--space-md) 0;
  color: #ffffff;
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  max-width: 20ch;
}

.about h5 {
  color: #ffffff;
  font-weight: 400;
  font-family: "Barlow", sans-serif;
}

.about p {
  color: #ffffff;
}

.about i {
  border: 2px solid #ffffff;
  border-radius: 50%;
  padding: 3px;
  font-size: 20px;
  background: #ff8000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-data a {
  padding: 16px 38px 16px 38px !important;
}

.mt-15 {
  margin-top: 1.5rem !important;
}

.mt-30 {
  margin-top: 3rem !important;
}

.about-imgs {
  position: relative;
  background-image: url("https://sirrus7.net/Images/bg/aboutbg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.about-imgs figure {
  background: linear-gradient(42deg, #ffffff 0.01%, #ff8000 100%);
  width: fit-content;
  clip-path: circle(45% at 50% 50%);
  transition: all 0.8s ease;
}

.about-imgs figure:hover {
  transform: scale(1.05);
  transition: all 0.8s ease;
}

.about-imgs img {
  width: 85%;
  display: block;
  margin: auto;
  clip-path: circle(48% at 50% 50%);
}

.ab-count {
  flex-direction: column;
  text-align: center;
  background: linear-gradient(180deg, #ff8000 0%, #ffffff 100%);
  color: rgb(0, 253, 57);
  position: absolute;
  bottom: -18px;
  left: 118px;
  z-index: 11;
  border-radius: 50%;
  width: 175px;
  height: 175px;
}

.ab-count h2 {
  margin: 0;
  color: #000000;
}

.about-hr {
  color: #ffffff;
  position: absolute;
  right: -50px;
  bottom: 25px;
  rotate: -90deg;
}

.about-hr hr {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.ab-count p {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #000000;
}

.about-hr h6 {
  letter-spacing: 3.72px;
  text-transform: uppercase;
}

/* ====== Project Card ===== */

.project-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 100px;
}

.project-card {
  width: 325px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.pc-content {
  padding: 30px 30px;
  line-height: 1.3;
}

/* ====== End of 1.5. About us section ====== */

/* ====== 1.6. gallary section ====== */

.portfolio-1 {
  background: #000000;
  padding: 120px 0 120px 0;
  margin-top: -1px;
}

.portfo-center {
  display: flex;
  text-align: left;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.portfo-center .w-50 {
  width: 66.66666667%;
}

.portfolio-1 h5 {
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portfolio-1 h2 {
  color: #ffffff;
}

.portfolio-1 p {
  color: #ffffff;
  padding-right: 145px;
  margin-top: 1rem;
}

.portfolio-1 .gallary-hr1 {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.portfo-center hr {
  width: 100%;
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  border: 1px solid;
}

.portfolio-1 .btn_hover2 {
  padding: 15px 30px;
  border: 1px solid #ff8000;
}

.portfo-center .w-100 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

/* gallary */
.gallary {
  background-color: #000000;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}

.gallary img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.gallary img[alt="sm_img"] {
  height: 200px;
}

.ga-bg {
  background-color: #000000;
  height: 300px;
}

.gallary span {
  background-color: rgba(0, 0, 0, 0.8);
  width: 100% !important;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
}

.gallary .container {
  margin-top: -390px;
  z-index: 1;
  position: relative;
}

.tab {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.mb-15 {
  margin-bottom: 1.5rem !important;
}

.tab button {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  background-color: inherit;
  color: #ffffff;
  border-radius: 10px;
}

.tab button.active {
  background: linear-gradient(42deg, rgb(151, 109, 67) 0.01%, #000000 100%);
}

.gallary-hr h6 {
  letter-spacing: 3.72px;
  text-transform: uppercase;
  color: #ffffff;
}

.gallary-hr hr {
  opacity: 1;
  color: #ffffff;
  height: 2px;
  width: 60px;
}

.tabcontent {
  display: none;
  /*  display block for all data in html*/
  padding: 6px 12px;
}

.tabcontent .w-100 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.w-33 {
  width: 33.33333333%;
}

.w-66 {
  width: 66.66666667%;
}

/* ====== End of 1.6. gallary section ====== */

/*<!-- ====== Slogan section ===== -->*/

.slogan {
  background: #000000;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  z-index: 1;
}

.slogan p {
  color: #ffffff;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  font-family: "Poppins", serif;
  max-width: 40ch;
  margin: 0 auto;
  letter-spacing: var(--letter-spacing-tight);
  opacity: 0.95;
}

/* ====== DIAGONAL OVERLAPPING CASCADE LAYOUT FOR SERVICE CARDS - FIXED ====== */

/* Service section container */
.service-1 {
  background: #000000;
  padding: 80px 0 100px 0; /* Reduced bottom padding */
  overflow: visible;
}

.service-data {
  display: flex;
  flex-wrap: wrap;
}

.service-1 h5 {
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-1 h2 {
  color: #ffffff;
}

.service-1 .col-lg-8 p {
  padding: 0 221px 0 0;
}

.service-1 p {
  color: #ffffff;
  position: relative;
  margin-bottom: 15px;
}

.service-1 .service-hr1 {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.service-1 hr {
  width: 100%;
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  border: 1px solid;
}

.service-1 .btn_hover2 {
  padding: 15px 30px;
  border: 1px solid #ff8000;
}

/* ====== SERVICE CARDS CONTAINER - CENTERED CASCADE ====== */
/* CRITICAL: The container needs position: relative for absolute children */
.service-1 .s-card {
  position: relative !important;
  display: block !important;
  margin: 60px auto 0 auto;
  height: 400px; /* Reduced height to fit the compact cascade */
  width: 1120px;
  padding-left: 0;
}

/* Override any flex-col classes */
.s-card.flex-col,
.s-card.flex.flex-col {
  display: block !important;
  flex-direction: unset !important;
}

/* ====== POSITION THE ANCHOR TAGS (direct children of s-card) ====== */
/* The <a> tags are the direct children, so they need absolute positioning */
.service-1 .s-card > a {
  position: absolute !important;
  text-decoration: none;
  display: block;
  width: 280px;
  height: 320px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Position each anchor tag with increased specificity */
.service-1 div.s-card > a:nth-child(1) {
  left: 0;
  top: 0;
  z-index: 4;
}

.service-1 div.s-card > a:nth-child(2) {
  left: 280px; /* Spaced out */
  top: 35px;   /* Spaced out */
  z-index: 3;
}

.service-1 div.s-card > a:nth-child(3) {
  left: 560px; /* Spaced out */
  top: 65px;  /* Spaced out */
  z-index: 2;
}

.service-1 div.s-card > a:nth-child(4) {
  left: 840px; /* Spaced out */
  top: 95px;  /* Spaced out */
  z-index: 1;
}

/* ====== SERVICE CARD STYLES ====== */
.service-card {
  border: 1px solid rgba(255, 128, 0, 0.5);
  border-left: 5px solid #ff8000;
  background: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* ====== SERVICE CARD CONTENT STYLES ====== */

/* Service card icon/figure */
.service-card figure {
  background: #ffffff;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 12px;
  width: 100px;
  height: 75px;
  display: flex;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.service-card img {
  object-fit: contain;
  margin: auto;
  display: block;
}

.service-card img[alt="slider1"] {
  width: 65px;
}

.service-card img[alt="slider2"] {
  width: 72px;
}

.service-card img[alt="slider3"] {
  width: 60px;
}

.service-card img[alt="slider4"] {
  width: 60px;
}

/* Service card title */
.service-card h3 {
  margin: 12px 0 10px 0;
  color: #ffffff;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1.3;
}

/* Service card description */
.service-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* Service card link - the span inside the card */
.service-card span {
  color: #ff8000;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.service-card span i {
  transition: transform 0.3s ease;
}

/* ====== RESPONSIVE DESIGN ====== */

/* Extra large screens - maintain cascade with more spacing */
@media (min-width: 1600px) {
  .service-1 .s-card {
    padding-left: 100px;
    height: 600px;
  }

  .service-1 .s-card > a {
    width: 300px;
    height: 340px;
  }

  .service-1 .s-card > a:nth-child(2) {
    left: 240px;
  }

  .service-1 .s-card > a:nth-child(3) {
    left: 480px;
  }

  .service-1 .s-card > a:nth-child(4) {
    left: 720px;
  }
}

/* Large desktop - maintain cascade with slight adjustments */
@media (min-width: 1400px) and (max-width: 1599px) {
  .service-1 .s-card {
    padding-left: 80px;
  }

  .service-1 .s-card > a {
    width: 270px;
    height: 320px;
  }

  .service-1 .s-card > a:nth-child(2) {
    left: 195px;
  }

  .service-1 .s-card > a:nth-child(3) {
    left: 390px;
  }

  .service-1 .s-card > a:nth-child(4) {
    left: 585px;
  }
}

/* Standard desktop - maintain cascade with tighter spacing */
@media (min-width: 1200px) and (max-width: 1399px) {
  .service-1 .s-card {
    padding-left: 50px;
    height: 500px;
  }

  .service-1 .s-card > a {
    width: 260px;
    height: 310px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .service-card h3 {
    font-size: 1.15rem;
  }

  .service-card p {
    font-size: 0.82rem;
  }

  .service-1 .s-card > a:nth-child(2) {
    left: 185px;
    top: 60px;
  }

  .service-1 .s-card > a:nth-child(3) {
    left: 370px;
    top: 120px;
  }

  .service-1 .s-card > a:nth-child(4) {
    left: 555px;
    top: 180px;
  }
}

/* Smaller desktop - 2x2 grid with reduced cascade */
@media (min-width: 992px) and (max-width: 1199px) {
  .service-1 {
    padding-bottom: 250px;
  }

  .service-1 .s-card {
    height: 750px;
    padding-left: 20px;
  }

  .service-1 .s-card > a {
    width: 300px;
    height: 320px;
  }

  /* Position in 2x2 grid with slight cascade */
  .service-1 .s-card > a:nth-child(1) {
    left: 0;
    top: 0;
  }

  .service-1 .s-card > a:nth-child(2) {
    left: 330px;
    top: 50px;
  }

  .service-1 .s-card > a:nth-child(3) {
    left: 0;
    top: 380px;
  }

  .service-1 .s-card > a:nth-child(4) {
    left: 330px;
    top: 430px;
  }
}

/* Tablets - 2 columns, minimal cascade */
@media (min-width: 768px) and (max-width: 991px) {
  .service-1 {
    padding: 70px 0 120px 0;
  }

  .service-1 .s-card {
    height: 750px;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .service-1 .s-card > a {
    width: 45%;
    min-width: 280px;
    max-width: 340px;
    height: 320px;
  }

  /* Two columns with slight offset */
  .service-1 .s-card > a:nth-child(odd) {
    left: 5%;
  }

  .service-1 .s-card > a:nth-child(even) {
    right: 5%;
    left: auto;
  }

  .service-1 .s-card > a:nth-child(1) {
    top: 0;
  }

  .service-1 .s-card > a:nth-child(2) {
    top: 30px;
  }

  .service-1 .s-card > a:nth-child(3) {
    top: 380px;
  }

  .service-1 .s-card > a:nth-child(4) {
    top: 410px;
  }

  .service-1 .col-lg-8 p {
    padding: 0 50px 0 0;
  }
}

/* Mobile - single column, no cascade */
@media (max-width: 767px) {
  .service-1 {
    padding: 60px 0 70px 0;
  }

  .service-1 .s-card {
    height: auto;
    padding-left: 0;
  }

  .service-1 .s-card > a {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 280px;
    left: 0 !important;
    top: 0 !important;
    margin-bottom: 25px;
    display: block;
  }

  .service-card {
    padding: 30px 25px;
    min-height: 280px;
  }

  .service-card p {
    -webkit-line-clamp: unset;
    display: block;
  }

  .service-1 .col-lg-8 p {
    padding: 0;
  }
}

/* Very small mobile */
@media (max-width: 480px) {
  .service-card {
    padding: 25px 20px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}

/* ====== End of 1.7. Services section ====== */

/* ====== 1.8. Experience section ====== */

.experience {
  background-image: url("https://sirrus7.net/Images/bg/experience_bg.jpg");
  background-size: cover;
  background-position: center center;
  padding: 120px 0;
  position: relative;
  margin-top: -1px;
}

.experience::before {
  position: absolute;
  content: "";
  top: 26rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 30%;
  height: 39%;
  left: 32%;
}

.experience h5 {
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.experience h2 {
  color: #ffffff;
}

.experience p {
  color: #ffffff;
}

.experience .col-lg-8 p {
  padding: 0 221px 0 0;
}

.experience .experience-hr1 {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.experience hr {
  width: 100%;
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  border: 1px solid;
  margin: 35px 0;
}

.experience .btn_hover1 {
  padding: 15px 40px;
}

.experience .btn_hover2 {
  padding: 15px 30px;
  border: 1px solid #00fd39;
}

.experience .col-lg-6 {
  z-index: 1;
}

.experience_mask figure {
  width: fit-content;
  clip-path: circle(47% at 50% 50%);
  padding: 6px;
  background: linear-gradient(
    11deg,
    #ff8000 0.01%,
    rgba(255, 0, 240, 0.47) 100%
  );
  transition: all 0.8s ease;
}

.experience_mask figure:hover {
  transform: scale(1.05);
  transition: all 0.8s ease;
}

.experience_mask img {
  width: 100%;
  clip-path: circle(47% at 50% 50%);
}

.experience-hr {
  color: #ffffff;
  position: absolute;
  bottom: -220px;
  left: -45px;
  bottom: 25px;
  rotate: -90deg;
}

.experience-hr h6 {
  letter-spacing: 3.72px;
  text-transform: uppercase;
}

.experience-hr hr {
  opacity: 1.25;
  height: 1px;
  color: rgba(255, 255, 255, 0.75);
  width: 60px;
  border: 1px solid;
  margin: 0;
}

.ex-card {
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0px 23px 30px 0px rgba(0, 0, 0, 0.15);
  padding: 20px 20px 20px 20px;
  z-index: 1;
}

.ex-card:hover {
  background: linear-gradient(11deg, #ff8000 0.01%, #000000 100%);
  transform: scale(1.05) !important;
  transition: all 0.4s ease !important;
}

.ex-card:hover h4 {
  color: #ffffff;
}

.ex-card:hover p {
  color: #ffffff;
}

.ex-card .flex {
  border-radius: 50%;
  background: linear-gradient(11deg, #ff8000 0.01%, #b520a3 100%);
  color: #ffffff;
  width: 115px;
  padding: 29px 0px;
}

.ex-card:hover.ex-card .flex {
  background: #ffffff;
}

.ex-card:hover.ex-card h3 {
  color: #000000 !important;
}

.ex-card div:last-child {
  width: 100%;
}

.ex-card h4 {
  color: #231f20;
}

.ex-card p {
  color: #000000;
  margin-top: 10px;
}

/* ====== End of 1.8. Experience section ====== */

/* ====== 1.9. How we work section ====== */

.work {
  background-image: url("https://sirrus7.net/Images/bg/work-bg.jpg");
  background-size: cover;
  background-position: center center;
  padding: 120px 0;
  margin-top: -2px;
}

.work h5 {
  letter-spacing: 1px;
}

.work-para {
  color: #ffffff;
  padding: 0 clamp(1rem, 15%, 290px);
  margin-bottom: var(--space-xl);
}

.work-line {
  background-image: url("https://sirrus7.net/Images/bg/work-line.png");
  background-size: 100% 100%;
  background-position: center;
  min-height: 242px;
  background-repeat: no-repeat;
  margin: 146px 25px 146px 25px;
}

.work-line div {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(11deg, #ff8000 0.01%, #000000 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  text-align: center;
}

.work-line div:first-child {
  top: -66px;
  left: -30px;
  width: 196px;
  height: 196px;
  min-height: 196px;
}

.work-line div:nth-child(2) {
  bottom: -70px;
  left: 260px;
  width: 180px;
  height: 180px;
  min-height: 180px;
}

.work-line div:nth-child(3) {
  right: 260px;
  top: -66px;
  width: 196px;
  height: 196px;
  min-height: 196px;
}

.work-line div:last-child {
  right: -49px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  min-height: 180px;
}

.work a {
  border: 1.5px solid #ff8000;
}

.work-hr {
  color: #ffffff;
  position: absolute;
  right: -60px;
  top: 10%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  z-index: 1;
}

.work-hr h6 {
  letter-spacing: 3.72px;
  text-transform: uppercase;
}

.work-hr hr {
  opacity: 1.25;
  height: 1px;
  color: rgba(255, 255, 255, 0.75);
  width: 60px;
  border: 1px solid;
}

.work .btn_hover2 {
  padding: 15px 30px;
}

/* ====== End of 1.9. Testimonials section ====== */

/* ====== 1.10. team section ====== */

.team {
  background-image: url("https://sirrus7.net/Images/bg/experience_bg.jpg");
  background-size: cover;
  background-position: center center;
  padding: 120px 0 0 0;
}

#team {
  background-image: url("https://sirrus7.net/Images/bg/experience_bg.jpg");
  background-size: cover;
  background-position: center center;
  padding: 120px 0 120px 0;
}

.team h5 {
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team h2 {
  color: #ffffff;
  padding: 0 212px 0 0;
}

.team p {
  color: #ffffff;
  padding: 0 184px 0 0;
}

.team .team-hr1 {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.team a {
  padding: 15px 30px;
  border: 1.5px solid #ff8000;
}

.team-slider {
  overflow: hidden;
  display: flex;
}

.team-img {
  min-width: 304px;
  object-fit: cover;
  position: relative;
  background-repeat: no-repeat;
}

.team-img img {
  width: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 128, 0, 0.53) 28%,
    rgba(255, 0, 240, 0.18) 68%
  );
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: 0.5s ease;
}

.team-img:hover .overlay {
  height: 100%;
}

.overlay_text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
}

.overlay_text h4 {
  margin: 6px 0 15px 0;
}

.overlay_text i {
  color: #ffffff;
  font-size: 20px;
}

.overlay_text a {
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.overlay_text a:hover {
  background-color: #ffffff;
}

.overlay_text a:hover i {
  color: #ff8000;
}

.overlay_text .flex a:first-child {
  padding: 8px 13px !important;
}

.overlay_text .flex a:nth-child(2) {
  padding: 9px 12px !important;
}

.overlay_text .flex a:last-child {
  padding: 8px 10px !important;
}

.team-btn {
  background: linear-gradient(0deg, #ff8000 0%, #140921 100%);
  color: #d3c9c1;
  padding: 40px 20px;
  margin-top: 90px;
  text-transform: uppercase;
}

/* ====== End of 1.10. team section ====== */

/* ====== 1.11. Pricing section ====== */

.pricing {
  padding: 120px 0;
  background-image: url("https://sirrus7.net/Images/bg/pricing-bg.png");
  background-size: cover;
  background-position: center center;
  color: #ffffff;
  z-index: 1;
}

#pricing {
  background: #00fd39;
  padding: 120px 0;
}

.pricing span {
  background-color: rgba(0, 0, 0, 0.9);
  width: 100% !important;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
}

.pricing-hr {
  color: #ffffff;
  position: absolute;
  right: 0;
  rotate: -90deg;
}

.pricing-hr h6 {
  letter-spacing: 3.72px;
  text-transform: uppercase;
}

.pricing-hr hr {
  opacity: 1.25;
  height: 1px;
  color: rgba(255, 255, 255, 0.75);
  width: 60px;
  border: 1px solid;
}

.pricing p {
  padding: 0 30px;
}

.pricing-card div {
  background: #bc854f;
  color: #ffffff;
  padding: 70px;
  transition: all 0.4s ease;
  width: 100%;
}

.pricing-card div:hover {
  transform: scale(1.07) !important;
  transition: all 0.4s ease !important;
  z-index: 3;
}

.pricing-card div:nth-child(2) {
  transform: scale(1.09);
  z-index: 2;
  background: linear-gradient(
    11deg,
    #88623c 0.01%,
    rgba(255, 0, 240, 0.18) 100%
  );
}

.pricing-card div:nth-child(2):hover {
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card h3 {
  color: #ffffff;
}

.pricing-card h2 {
  margin-bottom: 30px;
}

.pricing-card div:nth-child(2) a {
  background-color: #ffffff;
  color: #000000;
}

.pricing-card div:nth-child(2) a:hover {
  color: #ffffff;
}

.pricing-card a {
  padding: 15px 30px;
  margin-top: 20px;
}

/* ====== End of 1.11. Pricing section ====== */

/* ====== 1.12. FAQ section ====== */

.faq {
  background-image: url("https://sirrus7.net/Images/bg/faq-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  z-index: 1;
}

#faq {
  background: #00fd39;
  padding: 120px 0;
}

.faq span {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100% !important;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
}

.faq .text-center h2 {
  color: #ffffff;
  padding: 0 55px 0 0;
  text-align: left;
}

.faq h5 {
  color: #ffffff;
}

.faq .text-center p {
  color: #ffffff;
  padding: 0 123px 0 0;
  text-align: left;
}

.faq .faq-hr1 {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.accordion-button {
  position: relative;
  width: 100%;
  text-align: left;
  outline: none;
  border: none;
  color: #231f20;
  font-weight: 700 !important;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.accordion-button img {
  transition: transform 0.3s ease-in-out;
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-collapse p {
  color: #ffffff;
  padding: 15px;
  background-color: #fff;
}

/* ====== End of 1.12. FAQ section ====== */

/* ====== 1.13. Blogs section ====== */

.blog {
  background: #000000;
  padding: 120px 0;
}

.blog h5 {
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog h2 {
  color: #ffffff;
}

.blog p {
  color: #ffffff;
  padding: 0 296px 0 0;
}

.blog .blog-hr1 {
  opacity: 1.25;
  height: 1px;
  color: #ff8000;
  width: 60px;
  border: 1px solid;
}

.blog .btn_hover2 {
  padding: 15px 30px;
  border: 1.5px solid #ff8000;
}

.blog .row a {
  border: 1.5px solid #00fd39;
}

.blog-card {
  flex: 0 0 33.33%;
  overflow: hidden;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 450px; /* Fixed height for all blog cards */
}

.blog-card img {
  width: 100%;
  height: 250px; /* Fixed height for images */
  object-fit: cover; /* Ensure images maintain aspect ratio */
  transition: all 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 0;
}

.blog-card h4 {
  color: #ffffff;
  margin: 0 0 var(--space-md) 0;
  padding: 0 var(--space-xl) 0 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-tight);
  flex-grow: 1; /* Allow heading to take available space */
}

.blog-card a {
  padding: 0 0 11px 0 !important;
  border-bottom: 2px solid #ff8000;
  letter-spacing: 2px;
  background: linear-gradient(66.75deg, #ff8000 0.87%, #ff00f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  align-self: flex-start; /* Align link to the start */
}

/* ====== End of 1.13. Blogs section ====== */

/* ====== 1.14. Footer section ====== */

footer {
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
  padding: 80px 0 0 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 10% 20%,
    rgba(0, 227, 244, 0.05) 0%,
    transparent 50%
  );
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 100px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: linear-gradient(
    140deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  transform: translateY(-3px);
}

.footer-social i {
  font-size: 16px;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  margin: 0;
  width: auto;
}

.footer-social a:hover i {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  flex: 2;
  gap: 40px;
}

.footer-links-column {
  flex: 1;
  min-width: 160px;
}

.footer-links-column h4,
.footer-contact h4 {
  color: #ff8000;
  margin-bottom: 25px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  position: relative;
  padding-bottom: 10px;
}

.footer-links-column h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.7;
}

.footer-links-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-column li {
  margin-bottom: 12px;
}

.footer-links-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links-column a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links-column a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-links-column a:hover::after {
  width: 100%;
}

.footer-contact {
  flex: 1.5;
  min-width: 250px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 128, 0, 0.09);
  transform: translateX(5px);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 128, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 18px;
  color: var(--primary-color);
  background: linear-gradient(
    140deg,
    var(--primary-color) 0%,
    var(--accent-color) 70%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  width: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--primary-color);
  opacity: 0.9;
}

.contact-value {
  color: #ffffff;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  text-transform: none;
}

.contact-item:hover .contact-value {
  color: var(--primary-color);
}

.footer-newsletter {
  padding: 30px;
  margin-bottom: 40px;
  background: linear-gradient(
    90deg,
    rgba(255, 128, 0, 0.09) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 12px;
  border-left: 3px solid var(--primary-color);
}

.newsletter-content {
  max-width: 600px;
}

.newsletter-content h4 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: var(--font-size-lg);
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-size: var(--font-size-sm);
}

.newsletter-form .form-group {
  display: flex;
  gap: 10px;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 128, 0, 0.27);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: var(--font-size-sm);
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 128, 0, 0.1);
}

.newsletter-form button {
  padding: 12px 25px;
  border-radius: 30px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  color: #ffffff;
  font-weight: var(--font-weight-medium);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 128, 0, 0.2);
}

#footer-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  font-size: var(--font-size-sm);
  display: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  flex-wrap: wrap;
  gap: 20px;
  /* THE FIX: Replace the hard border with a soft, fading gradient line */
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right,
  transparent 10%,
  rgba(255, 255, 255, 0.1) 30%,
  rgba(255, 255, 255, 0.1) 70%,
  transparent 90%) 1;
}

.copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-xs);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-xs);
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* ====== End of 1.14. Footer section ====== */

/* ====== End of 6.1. 404 / Coming Soon page ====== */

.coming-soon {
  background: linear-gradient(0deg, #471133 0%, #0b0314 100%);
  color: #ffffff;
  min-height: 100vh;
}

.coming-soon img {
  width: 100%;
}

.coming-soon h2 {
  color: #ff8000;
  margin-top: -55px;
}

.coming-soon p {
  padding: 0 348px;
}
@media screen and (max-width: 1140px) {
  /* ====== 404.html / Coming.html ====== */
  .coming-soon p {
    padding: 0 50px;
  }
  .coming-soon img {
    width: 80%;
  }
}
/* ====== End of 6.1. 404 / Coming Soon page ====== */

/* button back to top */

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 10px;
  transition: all var(--transition-speed) ease;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 99;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#backToTopBtn:hover,
#backToTopBtn:focus {
  background: var(--primary-color);
  color: var(--background-color);
  transform: translateY(-5px);
}

.card-img-top {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
}

#backToTopBtn:hover {
  color: #000000;
}

/* scrollbar full website */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    42deg,
    var(--primary-color) 0.01%,
    var(--accent-color) 100%
  );
  border-radius: 6px;
  border: 3px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    42deg,
    var(--accent-color) 0.01%,
    var(--primary-color) 100%
  );
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--background-color);
}

/* ================================================
   STANDARD RESPONSIVE MEDIA QUERIES
   Desktop-first approach
   ================================================ */

/* Extra large devices - XL Desktops */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }

  /* Hide on xl and smaller screens */
  .d-xl-none {
    display: none !important;
  }

  /* Show only on xl and smaller screens */
  .d-xl-block {
    display: block !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
  .d-xl-grid {
    display: grid !important;
  }

  /* Responsive columns */
  .col-xl-1 {
    width: 8.33333%;
  }
  .col-xl-2 {
    width: 16.66667%;
  }
  .col-xl-3 {
    width: 25%;
  }
  .col-xl-4 {
    width: 33.33333%;
  }
  .col-xl-5 {
    width: 41.66667%;
  }
  .col-xl-6 {
    width: 50%;
  }
  .col-xl-7 {
    width: 58.33333%;
  }
  .col-xl-8 {
    width: 66.66667%;
  }
  .col-xl-9 {
    width: 75%;
  }
  .col-xl-10 {
    width: 83.33333%;
  }
  .col-xl-11 {
    width: 91.66667%;
  }
  .col-xl-12 {
    width: 100%;
  }
}

/* Large devices - Desktops */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  /* Hide on lg and smaller screens */
  .d-lg-none {
    display: none !important;
  }

  /* Show only on lg and smaller screens */
  .d-lg-block {
    display: block !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
  .d-lg-grid {
    display: grid !important;
  }

  /* Responsive columns */
  .col-lg-1 {
    width: 8.33333%;
  }
  .col-lg-2 {
    width: 16.66667%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.33333%;
  }
  .col-lg-5 {
    width: 41.66667%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-7 {
    width: 58.33333%;
  }
  .col-lg-8 {
    width: 66.66667%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-10 {
    width: 83.33333%;
  }
  .col-lg-11 {
    width: 91.66667%;
  }
  .col-lg-12 {
    width: 100%;
  }
}

/* Medium devices - Tablets */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  /* Hide on md and smaller screens */
  .d-md-none {
    display: none !important;
  }

  /* Show only on md and smaller screens */
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-grid {
    display: grid !important;
  }

  /* Text alignment on medium devices */
  .text-md-left {
    text-align: left !important;
  }
  .text-md-center {
    text-align: center !important;
  }
  .text-md-right {
    text-align: right !important;
  }

  /* Responsive columns */
  .col-md-1 {
    width: 8.33333%;
  }
  .col-md-2 {
    width: 16.66667%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.33333%;
  }
  .col-md-5 {
    width: 41.66667%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.33333%;
  }
  .col-md-8 {
    width: 66.66667%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-10 {
    width: 83.33333%;
  }
  .col-md-11 {
    width: 91.66667%;
  }
  .col-md-12 {
    width: 100%;
  }

  /* Spacing adjustments for medium devices */
  section {
    padding: calc(var(--section-spacing) * 0.8) 0;
  }
}

/* Small devices - Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hide on sm and smaller screens */
  .d-sm-none {
    display: none !important;
  }

  /* Show only on sm and smaller screens */
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
  .d-sm-grid {
    display: grid !important;
  }

  /* Text alignment on small devices */
  .text-sm-left {
    text-align: left !important;
  }
  .text-sm-center {
    text-align: center !important;
  }
  .text-sm-right {
    text-align: right !important;
  }

  /* Responsive columns */
  .col-sm-1 {
    width: 8.33333%;
  }
  .col-sm-2 {
    width: 16.66667%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-4 {
    width: 33.33333%;
  }
  .col-sm-5 {
    width: 41.66667%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-7 {
    width: 58.33333%;
  }
  .col-sm-8 {
    width: 66.66667%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-10 {
    width: 83.33333%;
  }
  .col-sm-11 {
    width: 91.66667%;
  }
  .col-sm-12 {
    width: 100%;
  }

  /* Spacing adjustments for small devices */
  section {
    padding: calc(var(--section-spacing) * 0.7) 0;
  }

  /* Stack content on mobile */
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .row > * {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: var(--space-lg);
  }

  .row > *:last-child {
    margin-bottom: 0;
  }
}

/* Extra small devices - Mobile Portrait */
@media (max-width: 576px) {
  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hide on xs and smaller screens */
  .d-xs-none {
    display: none !important;
  }

  /* Show only on xs and smaller screens */
  .d-xs-block {
    display: block !important;
  }
  .d-xs-flex {
    display: flex !important;
  }
  .d-xs-grid {
    display: grid !important;
  }

  /* Text alignment on extra small devices */
  .text-xs-left {
    text-align: left !important;
  }
  .text-xs-center {
    text-align: center !important;
  }
  .text-xs-right {
    text-align: right !important;
  }

  /* Spacing adjustments for extra small devices */
  section {
    padding: calc(var(--section-spacing) * 0.6) 0;
  }

  /* Typography adjustments */
  h1 {
    font-size: calc(var(--font-size-3xl) * 0.85);
  }

  h2 {
    font-size: calc(var(--font-size-3xl) * 0.85);
  }

  /* Button adjustments */
  button,
  .btn {
    padding: 0.5rem 1rem;
    width: 100%;
  }
}

/* Very small devices - Small Mobile Phones */
@media (max-width: 375px) {
  /* Extreme space saving on very small devices */
  :root {
    --container-padding: 10px;
  }

  /* Typography adjustments */
  h1 {
    font-size: calc(var(--font-size-4xl) * 0.7);
  }

  h2 {
    font-size: calc(var(--font-size-3xl) * 0.7);
  }

  /* Space reduction */
  section {
    padding: calc(var(--section-spacing) * 0.5) 0;
  }
}

.work-line div h2,
.work-line div h4 {
  text-align: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.work-line div h4 {
  font-size: 1rem;
  line-height: 1.3;
}

.dynamic-word {
    position: relative;
    display: inline-block;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.possible {
    display: inline-block;
    color: white;
    opacity: 0;
}

.possible.active {
    opacity: 1;
    animation: fadeIn 2s ease-in-out;
}

.possible:not(.active) {
    position: absolute;
}

.possible.animate {
    opacity: 1;
    animation: fadeIn 2s ease-in-out;
}

.word-text {
    display: inline-block;
    opacity: 0;
}

.word-text.active {
    opacity: 1;
    animation: fadeIn 2s ease-in-out;
}

.word-text:not(.active) {
    position: absolute;
    left: 0;
    top: 0;
}

/* Individual colors for each middle word */
.word-text:nth-child(1) { /* "It" */
    color: white;
}

.word-text:nth-child(2) { /* "AI" */
    color: #D81159;
}

.word-text:nth-child(3) { /* "Menus" */
    color: #FFBC42;
}

.s7-icon {
  var(--font-size-4xl);
  max-width: 300px;
}

/* ========================================
   HERO VERTICAL CENTERING FIX
   ======================================== */

.header-index {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
  min-height: 100vh !important;
  gap: 40px !important;
  margin-top: -80px !important;
}

.header-index > div,
.header-index > section.hero {
  max-width: 1320px !important;
  width: 100% !important;
}

.hero {
  margin: 0 !important;
  padding: 0 !important;
}

.hero .container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.center-data {
  max-width: 1000px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* ================================================
   MEDIA & CONTENT SECTION - CENTERED & SINGLE PAGE
   Updated to fit both YouTube and TikTok on one page
   ================================================ */

#media-content {
  background-color: var(--background-color);
  padding: 60px 0; /* Reduced from 80px */
}

#media-content h3 {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 15px; /* Reduced from 20px */
  font-size: 2.5rem;
}

#media-content .intro-paragraph {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 40px; /* Reduced from 60px */
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Media Section Container */
.media-section {
  margin-bottom: 40px; /* Reduced from 60px */
}

.media-section:last-child {
  margin-bottom: 0;
}

/* Section Titles */
.media-section-title {
  color: var(--primary-color);
  font-size: 1.8rem; /* Reduced from 2rem */
  margin-bottom: 30px; /* Reduced from 40px */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.media-section-title i {
  font-size: 2.2rem; /* Reduced from 2.5rem */
}

/* ====== YOUTUBE/PODCAST SECTION - CENTERED ====== */

.podcast-grid {
  display: flex; /* Changed from grid to flex for better centering */
  flex-wrap: wrap;
  justify-content: center; /* Center the videos */
  gap: 25px; /* Reduced from 30px */
  max-width: 1200px;
  margin: 0 auto;
}

.podcast-card {
  background: rgba(64, 96, 143, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: calc(33.333% - 20px); /* 3 columns with gap */
  min-width: 300px;
  max-width: 380px;
}

.podcast-card:hover {
  transform: translateY(-8px); /* Reduced from -10px */
  box-shadow: 0 12px 35px rgba(255, 128, 0, 0.53);
}

.podcast-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: #000;
}

.podcast-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.podcast-card:hover .podcast-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem; /* Reduced from 4rem */
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  pointer-events: none;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.podcast-card:hover .play-overlay {
  color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.2);
}

.podcast-info {
  padding: 18px; /* Reduced from 20px */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.podcast-info h5 {
  color: var(--text-color);
  font-size: 1.15rem; /* Reduced from 1.2rem */
  margin-bottom: 8px; /* Reduced from 10px */
  line-height: 1.4;
}

.podcast-info p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.85rem; /* Reduced from 0.9rem */
  line-height: 1.5;
}

/* ====== TIKTOK SECTION ====== */

.tiktok-grid {
  display: flex; /* Changed from grid to flex for better centering */
  flex-wrap: wrap;
  justify-content: center; /* Center the videos */
  gap: 25px; /* Reduced from 30px */
  max-width: 1000px; /* Reduced from 1200px */
  margin: 0 auto;
}

.tiktok-card {
  position: relative;
  width: 280px; /* Fixed width for consistency */
  height: 498px; /* Fixed height (9:16 ratio) */
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  background: #000;
  flex-shrink: 0; /* Prevent shrinking */
}

.tiktok-card:hover {
  transform: translateY(-8px); /* Reduced from -10px */
  box-shadow: 0 12px 35px rgba(255, 128, 0, 0.59);
}

.tiktok-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tiktok-overlay {
  position: absolute;
  bottom: 18px; /* Reduced from 20px */
  right: 18px; /* Reduced from 20px */
  font-size: 2.2rem; /* Reduced from 2.5rem */
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.tiktok-card:hover .tiktok-overlay {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* ====== RESPONSIVE DESIGN ====== */

/* Large tablets and below (max-width: 1200px) */
@media (max-width: 1200px) {
  .podcast-card {
    width: calc(33.333% - 20px);
  }

  .tiktok-grid {
    max-width: 900px;
  }

  .tiktok-card {
    width: 260px;
    height: 462px;
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  #media-content {
    padding: 50px 0;
  }

  .podcast-grid {
    gap: 20px;
  }

  .podcast-card {
    width: calc(50% - 15px);
    min-width: 280px;
  }

  .tiktok-grid {
    gap: 20px;
  }

  .tiktok-card {
    width: 240px;
    height: 427px;
  }

  #media-content h3 {
    font-size: 2rem;
  }

  .media-section-title {
    font-size: 1.6rem;
  }

  .media-section-title i {
    font-size: 2rem;
  }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
  #media-content {
    padding: 40px 0;
  }

  #media-content h3 {
    font-size: 1.75rem;
  }

  #media-content .intro-paragraph {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .media-section {
    margin-bottom: 35px;
  }

  .media-section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .media-section-title i {
    font-size: 1.75rem;
  }

  .podcast-grid {
    gap: 18px;
  }

  .podcast-card {
    width: 100%;
    max-width: 500px;
  }

  .tiktok-grid {
    gap: 18px;
  }

  .tiktok-card {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 9/16;
  }

  .podcast-info h5 {
    font-size: 1.1rem;
  }

  .podcast-info p {
    font-size: 0.85rem;
  }

  .tiktok-overlay {
    font-size: 2rem;
    bottom: 15px;
    right: 15px;
  }
}

/* Small mobile devices (max-width: 576px) */
@media (max-width: 576px) {
  #media-content {
    padding: 30px 0;
  }

  #media-content h3 {
    font-size: 1.5rem;
  }

  .media-section-title {
    font-size: 1.25rem;
  }

  .podcast-grid,
  .tiktok-grid {
    gap: 15px;
  }
}

/* Loading states */
.podcast-grid > div:only-child,
.tiktok-grid > div:only-child {
  width: 100%;
}

/* ========================================
   SCROLL-DRIVEN NETWORK BACKGROUND
   ======================================== */
#network-animation {
  position: fixed; /* Stays in place behind all content */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;      /* Sits just behind the main content */
  pointer-events: none; /* Allows clicks to go through */
  opacity: 0;      /* HIDDEN BY DEFAULT */
  transition: opacity 0.5s ease; /* Smooth fade-in effect */
}

#network-animation svg {
  width: 100%;
  height: 100%;
}

/*.network-circle {*/
/*  fill: rgba(255, 128, 0, 0.89);*/
/*  stroke: rgba(255, 128, 0, 0.56);*/
/*  stroke-width: 1;*/
/*  filter: drop-shadow(0 0 6px rgb(255, 128, 0));*/
/*}*/

/*.network-line {*/
/*  stroke: rgba(255, 128, 0, 0.62);*/
/*  stroke-width: 1;*/
/*  fill: none;*/
/*}*/

.network-leaf {
  /* 1. COLOR: Filters to turn the image exactly #ff8000 Orange */
  /* 2. GLOW: Two drop-shadows (tight intense one, loose soft one) for the neon effect */
  filter: brightness(0) saturate(100%) invert(63%) sepia(90%) saturate(3000%) hue-rotate(1deg) brightness(103%) contrast(106%)
  drop-shadow(0 0 4px rgba(255, 128, 0, 1))
  drop-shadow(0 0 10px rgba(255, 128, 0, 0.6));

  pointer-events: none;
  will-change: transform; /* Optimizes performance for the rotation */
}

.network-line {
  stroke: rgba(255, 128, 0, 0.3); /* Lines slightly more transparent to let leaves pop */
  stroke-width: 1;
  fill: none;
}

/* =============================================================
   SEAMLESS FOOTER BACKGROUND FIX - PRESERVES HERO PAGE
   Creates ONE continuous gradient for all content below hero
   ============================================================= */

/* STEP 1: Apply ONE continuous gradient to the site wrapper */
.site-wrapper {
  background: radial-gradient(circle at 50% 50%, #221100 0%, #000000 75%);
}

/* STEP 2: Keep hero with its OWN background (overrides site-wrapper) */
.header-index {
  /* The new glowing gradient background */
  background: radial-gradient(circle at 50% 50%, #221100 0%, #000000 70%);

  background-position: center center;
  background-size: cover;
  /* ... other existing styles ... */
}

/* STEP 3: Make ALL sections below hero TRANSPARENT so they inherit the site-wrapper gradient */
.slogan,
.about,
.service-1,
#methodology,
#media-content,
.logoipsum,
.blog {
  background: transparent !important;
}

/* STEP 4: Make footer TRANSPARENT to blend seamlessly */
footer {
  background: transparent !important;
  border: none !important;
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

/* STEP 5: CRITICAL - Remove the footer's ::before pseudo-element that creates the hard line */
footer::before {
  display: none !important;
}

/* STEP 6: Make footer-content transparent to inherit background */
.footer-content {
  background: transparent !important;
  border: none !important;
}

/* STEP 7: Ensure footer-main has proper spacing */
.footer-main {
  padding-top: 80px;
  margin-top: 0;
}

/* STEP 8: Style the bottom copyright section with the soft gradient line */
.footer-bottom {
  background: transparent !important;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right,
  transparent 10%,
  rgba(255, 255, 255, 0.1) 30%,
  rgba(255, 255, 255, 0.1) 70%,
  transparent 90%) 1;
  padding: 25px 20px;
}

/* ========================================
   HERO CANVAS ANIMATION BACKGROUND
   ======================================== */
#hero-animation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Sits behind all hero content */
}

/* ========================================
   HERO CONTENT WRAPPER (FOR LAYERING)
   ======================================== */
.hero-content-wrapper {
  position: relative; /* This is required for z-index to work */
  z-index: 2;         /* Sits on top of the canvas (which has z-index: 0) */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ================================================
   TIKTOK HOVER FIX - Works with AOS Animations
   Add this to the END of your style.css file
   ================================================ */

/* Enhanced TikTok card with optimized animations */
.tiktok-card {
  position: relative;
  width: 280px;
  height: 498px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: block;
  background: #000;
  flex-shrink: 0;
  will-change: transform;
}

/* Hover effect that works even with AOS animations */
.tiktok-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 40px rgba(255, 128, 0, 0.6) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Ensure AOS animations don't interfere with hover */
.tiktok-card[data-aos] {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* TikTok overlay icon animation */
.tiktok-overlay {
  position: absolute;
  bottom: 18px;
  right: 18px;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease !important;
  pointer-events: none;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.tiktok-card:hover .tiktok-overlay {
  color: var(--primary-color) !important;
  transform: scale(1.2) !important;
}

/* ========================================================
   ENHANCED SERVICE CARD HOVER EFFECT WITH ANIMATED TILES
   Add this to the END of your style.css file
   ======================================================== */

/* Service card shine gradient effect */
.service-card .card-shine {
  border-radius: inherit;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card .card-shine::before {
  content: '';
  width: 150%;
  padding-bottom: 150%;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: 55%;
  filter: blur(35px);
  opacity: 0.15;
  transform: translateX(-50%);
  background-image: conic-gradient(
          from 205deg at 50% 50%,
          rgba(255, 128, 0, 0) 0deg,
          #ff8000 25deg,
          rgba(255, 128, 0, 0.3) 295deg,
          rgba(255, 128, 0, 0) 360deg
  );
}

/* Background container for tiles and lines */
.service-card .card-background {
  border-radius: inherit;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
  mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
}

/* Animated tiles */
.service-card .card-tiles {
  opacity: 0;
  transition: opacity 0.25s;
  position: absolute;
  inset: 0;
}

.service-card .card-tile {
  position: absolute;
  background-color: rgba(255, 128, 0, 0.08);
  animation-duration: 8s;
  animation-iteration-count: infinite;
  opacity: 0;
}

/* Tile animation delays */
.service-card .card-tile-4,
.service-card .card-tile-6,
.service-card .card-tile-10 {
  animation-delay: -2s;
}

.service-card .card-tile-3,
.service-card .card-tile-5,
.service-card .card-tile-8 {
  animation-delay: -4s;
}

.service-card .card-tile-2,
.service-card .card-tile-9 {
  animation-delay: -6s;
}

/* Tile positions - creating a grid pattern */
.service-card .card-tile-1 {
  top: 0;
  left: 0;
  height: 10%;
  width: 22.5%;
}

.service-card .card-tile-2 {
  top: 0;
  left: 22.5%;
  height: 10%;
  width: 27.5%;
}

.service-card .card-tile-3 {
  top: 0;
  left: 50%;
  height: 10%;
  width: 27.5%;
}

.service-card .card-tile-4 {
  top: 0;
  left: 77.5%;
  height: 10%;
  width: 22.5%;
}

.service-card .card-tile-5 {
  top: 10%;
  left: 0;
  height: 22.5%;
  width: 22.5%;
}

.service-card .card-tile-6 {
  top: 10%;
  left: 22.5%;
  height: 22.5%;
  width: 27.5%;
}

.service-card .card-tile-7 {
  top: 10%;
  left: 50%;
  height: 22.5%;
  width: 27.5%;
}

.service-card .card-tile-8 {
  top: 10%;
  left: 77.5%;
  height: 22.5%;
  width: 22.5%;
}

.service-card .card-tile-9 {
  top: 32.5%;
  left: 50%;
  height: 22.5%;
  width: 27.5%;
}

.service-card .card-tile-10 {
  top: 32.5%;
  left: 77.5%;
  height: 22.5%;
  width: 22.5%;
}

/* Tile animation keyframes */
@keyframes card-tile-animation {
  0%, 12.5%, 100% {
    opacity: 1;
  }
  25%, 82.5% {
    opacity: 0;
  }
}

/* Animated lines */
.service-card .card-line {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card .card-line::before,
.service-card .card-line::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 128, 0, 0.3);
  transition: transform 0.35s;
}

.service-card .card-line::before {
  left: 0;
  right: 0;
  height: 1px;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.service-card .card-line::after {
  top: 0;
  bottom: 0;
  width: 1px;
  transform-origin: 50% 0;
  transform: scaleY(0);
}

/* Line 1 positioning */
.service-card .card-line-1::before {
  top: 10%;
}

.service-card .card-line-1::after {
  left: 22.5%;
}

.service-card .card-line-1::before,
.service-card .card-line-1::after {
  transition-delay: 0.3s;
}

/* Line 2 positioning */
.service-card .card-line-2::before {
  top: 32.5%;
}

.service-card .card-line-2::after {
  left: 50%;
}

.service-card .card-line-2::before,
.service-card .card-line-2::after {
  transition-delay: 0.15s;
}

/* Line 3 positioning */
.service-card .card-line-3::before {
  top: 55%;
}

.service-card .card-line-3::after {
  right: 22.5%;
}

/* HOVER EFFECTS - Activate all animations */
.service-1 .s-card > a:hover .service-card .card-shine {
  opacity: 1;
  transition-duration: 0.5s;
  transition-delay: 0s;
}

.service-1 .s-card > a:hover .service-card .card-tiles {
  opacity: 1;
  transition-delay: 0.25s;
}

.service-1 .s-card > a:hover .service-card .card-tile {
  animation-name: card-tile-animation;
}

.service-1 .s-card > a:hover .service-card .card-line {
  opacity: 1;
  transition-duration: 0.15s;
}

.service-1 .s-card > a:hover .service-card .card-line::before {
  transform: scaleX(1);
}

.service-1 .s-card > a:hover .service-card .card-line::after {
  transform: scaleY(1);
}

.service-1 .s-card > a:hover .service-card .card-line-1::before,
.service-1 .s-card > a:hover .service-card .card-line-1::after {
  transition-delay: 0s;
}

.service-1 .s-card > a:hover .service-card .card-line-2::before,
.service-1 .s-card > a:hover .service-card .card-line-2::after {
  transition-delay: 0.15s;
}

.service-1 .s-card > a:hover .service-card .card-line-3::before,
.service-1 .s-card > a:hover .service-card .card-line-3::after {
  transition-delay: 0.3s;
}

/* Default "Learn More" styling - ORANGE */
.service-card span {
  color: #ff8000 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: auto;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

/* Change "Learn More" to WHITE on hover */
.service-1 .s-card > a:hover .service-card span {
  color: #ffffff !important;
  gap: 8px !important;
}

/* Arrow slides right on hover */
.service-card span i {
  transition: transform 0.3s ease;
}

.service-1 .s-card > a:hover .service-card span i {
  transform: translateX(3px);
}
