/*============================================ 

============================================*/
/*============================================ 
======== Table of Css Content =========
# Typography
# Normalize 
# Global style
# Header Area
# Banner Area
# Section Area
============================================*/
@import "bootstrap.min.css";
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');
body {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  max-width: 1920px;
  margin: auto;
  background-color: #000000; /* Direct dark background to prevent flash */
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --p1: 255, 96, 0;
  --p2: 217, 236, 227;
  --n1: 0, 0, 0; /* Changed to black by default */
  --n11: 255, 255, 255;
  --n2: 29, 29, 29; /* Darker background */
  --n3: 143, 143, 143;
  --n4: 79, 79, 79;
  --n5: 41, 41, 41;
  --y1: 255, 172, 39;
  --bg1: 120, 171, 168;
  --bg2: 255, 96, 0;
  --bg3: 255, 0, 0;
  --bg4: 82, 113, 255;
  --bg5: 179, 172, 4;
  --bg6: 84, 182, 137;
  --bg7: 99, 194, 5;
  --primary: #4ed0ff;
  --accent-cyan: #8ab5ff;
  --dark: #000000;
  --light: #f9f9f9;
  --active-color: rgba(var(--bg2), 1);
  --bs-body-font-family: "Lora", serif;
}

.dark {
  --p2: 84, 182, 137;
  --n1: 0, 0, 0;
  --n11: 255, 255, 255;
  --n2: 29, 29, 29;
  --n3: 143, 143, 143;
  --n4: 200, 200, 200;
  --n41: 255, 255, 255;
  --n42: 255, 255, 255;
  --n5: 255, 255, 255;
  --n51: 79, 79, 79;
  --y1: 255, 172, 39;
}

.display-one {
  font-size: 80px;
  line-height: 120%;
}

.display-two {
  font-size: 72px;
  line-height: 120%;
}

.display-four {
  font-size: 56px;
  line-height: 120%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.2;
}

.fs-one,
h1,
h1 > a {
  font-size: 48px;
  line-height: 120%;
}

.fs-two,
h2,
h2 > a {
  font-size: 40px;
  line-height: 120%;
}


h3,
h3 > a {
  font-size: 32px;
  line-height: 120%;
}


h4,
h4 > a {
  font-size: 28px;
  line-height: 120%;
}

.fs-five,
h5,
h5 > a {
  font-size: 24px;
  line-height: 120%;
}

.fs-six,
h6,
h6 > a {
  font-size: 20px;
  line-height: 120%;
}

.fs-seven {
  font-size: 18px;
  line-height: 130%;
}

.fs-eight {
  font-size: 16px;
  line-height: 130%;
}

.fs-nine {
  font-size: 14px;
  line-height: 130%;
}

table thead tr th {
  font-size: 16px;
  line-height: 130%;
}

a,
p,
button,
span,
label,
li {
  font-size: 16px;
  line-height: 150%;
}
@media (max-width: 1199px) {
  h1,
  h1 > a {
    font-size: 40px;
    line-height: 120%;
  }
  h2,
  h2 > a {
    font-size: 32px;
    line-height: 120%;
  }
}
.pt-120 {
  padding-top: 120px;
}

.pb-120 {
  padding-bottom: 120px;
}

.pb-60 {
  padding-bottom: 31px;
  padding-top: 401px;
}

.pt-80 {
  padding-top: 5rem;
}

.pb-40 {
  padding-bottom: 2.5rem;
}

.pb-80 {
  padding-bottom: 5rem;
}

@media (max-width: 991px) {
  .display-one {
    font-size: 72px;
    line-height: 120%;
  }
  .display-two {
    font-size: 64px;
    line-height: 120%;
  }
  .display-four {
    font-size: 48px;
    line-height: 120%;
  }
  .fs-one,
  h1,
  h1 > a {
    font-size: 40px;
    line-height: 120%;
  }
  .fs-two,
  h2,
  h2 > a {
    font-size: 32px;
    line-height: 120%;
  }
  
  h3,
  h3 > a {
    font-size: 28px;
    line-height: 130%;
  }
  
  h4,
  h4 > a {
    font-size: 24px;
    line-height: 130%;
  }
  .fs-five,
  h5,
  h5 > a {
    font-size: 18px;
    line-height: 130%;
  }
  .fs-six,
  h6,
  h6 > a {
    font-size: 18px;
    line-height: 130%;
  }
  .fs-seven {
    font-size: 16px;
    line-height: 130%;
  }
  table thead tr th {
    font-size: 16px;
    line-height: 130%;
  }
  a,
  p,
  span,
  button,
  label,
  li {
    font-size: 16px;
    line-height: 22px;
  }
  .pt-120 {
    padding-top: 60px;
  }
  .pb-120 {
    padding-bottom: 60px;
  }
  .pb-60 {
    padding-bottom: 30px;
  }
  
  .pt-80 {
    padding-top: 3rem;
  }
  
  .pb-40 {
    padding-bottom: 2rem;
  }
  
  .pb-80 {
    padding-bottom: 3rem;
  }
}
@media (max-width: 575px) {
  .display-one {
    font-size: 20px;
    line-height: 67.2px;
  }
  .display-two {
    font-size: 48px;
    line-height: 46.4px;
  }
  .display-four {
    font-size: 32px;
    line-height: 38.4px;
  }
  .fs-one,
  h1,
  h1 > a {
    font-size: 32px;
    line-height: 120%;
  }
  .fs-two,
  h2,
  h2 > a {
    font-size: 28px;
    line-height: 120%;
  }
  
  h3,
  h3 > a {
    font-size: 26px;
    line-height: 130%;
  }
  
  h4,
  h4 > a {
    font-size: 22px;
    line-height: 130%;
  }
  .fs-five,
  h5,
  h5 > a {
    font-size: 20px;
    line-height: 130%;
  }
  .fs-six,
  h6,
  h6 > a {
    font-size: 16px;
    line-height: 130%;
  }
  .fs-seven {
    font-size: 16px;
    line-height: 130%;
  }
  .fs-nine {
    font-size: 11px;
    line-height: 130%;
  }
  table thead tr th {
    font-size: 14px;
    line-height: 130%;
  }
  .pt-120 {
    padding-top: 42px;
  }
  .pb-120 {
    padding-bottom: 50px;
  }
  .pb-60 {
    padding-bottom: 0px;
  }
}
html {
  scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
a:hover { color: rgba(var(--p1), 1); }
img { max-width: 100%; height: auto; display: block; }
button { border: none; cursor: pointer; background: none; font-size: 16px; }

h1,
h1 > a,
h2,
h2 > a,
h3,
h3 > a,
h4,
h4 > a,
h5,color-s
h5 > a,
h6,
h6 > a,
.display-one,
.display-two,
.display-four {
  color: rgba(var(--d1), 1);
  font-weight: 700;
  padding: 0;
  margin: 0;
  line-height: 120%;
  display: block;
  transition: var(--transition);
}
h1 span,
h1 > a span,
h2 span,
h2 > a span,
h3 span,
h3 > a span,
h4 span,
h4 > a span,
h5 span,
h5 > a span,
h6 span,
h6 > a span,
.display-one span,
.display-two span,
.display-four span {
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  font-weight: inherit;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
ul li,
ol li {
  font-size: inherit;
  font-weight: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 130%;
  padding: 0;
  background-color: transparent;
}

input,
textarea {
  width: 100%;
  outline-color: transparent;
  border-radius: 10px;
  background-color: transparent;
  outline: none;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: #8396b5;
  font-size: 18px;
}
input::placeholder,
textarea::placeholder {
  color: #8396b5;
  font-size: 18px;
}
input:focus,
textarea:focus {
  box-shadow: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=checkbox] {
  width: initial;
  height: initial;
}

select {
  padding: 16px;
  border: none;
  cursor: pointer;
  outline: none;
}

.collapsing {
  transition: var(--transition);
}

.p1-color {
  color: rgba(var(--p1), 1);
}

.n1-color {
  color: rgba(255, 255, 255, 1); /* Direct white color */
}

.n11-color {
  color: rgba(255, 255, 255, 1); /* Direct white color */
}

.n3-color {
  color: rgba(143, 143, 143, 1); /* Direct gray color */
}

.n4-color {
  color: rgba(79, 79, 79, 1); /* Direct dark gray color */
}

.n5-color {
  color: rgba(255, 255, 255, 1); /* Direct white color for dark theme */
}

.bg1-color {
  background-color: rgba(var(--p1), 1);
}

.bgn1-color {
  background-color: rgba(var(--n1), 1);
}

.bgn2-color {
  background-color: rgba(var(--n2), 1);
}
.bgnslide-color {
  background-color: color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%);
}

.bg-color1 {
  background-color: rgba(var(--bg1), 1);
}

.bg-color2 {
  background-color: rgba(var(--bg2), 1);
}

.bg-color3 {
  background-color: rgba(var(--bg3), 1);
}

.bg-color4 {
  background-color: rgba(var(--bg4), 1);
}

.bg-color5 {
  background-color: rgba(var(--bg5), 1);
}

.bg-color6 {
  background-color: rgba(var(--bg6), 1);
}
.bg-color7 { 
  background-color: rgba(var(--bg7), 1);
}

.br1-left {
  border-left: 1px solid rgba(var(--p1), 1);
}

.brn3 {
  border: 1px solid rgba(var(--n3), 1);
}

.brn4 {
  border: 1px solid rgba(var(--n4), 0.08);
}

.br-bottom-n3 {
  border-bottom: 1px solid rgba(var(--n4), 0.08);
  padding-top: 50px;
  padding-bottom: 50px;
}

.br-bottom-n5 {
  border-bottom: 1px solid rgba(var(--n5), 0.1);
}

.box-shadow1 {
  box-shadow: var(--box-shadow-p1);
}

.box-shadow2 {
  box-shadow: var(--box-shadow-p2);
}

span {
  display: inline-block;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cursor-pointer {
  cursor: pointer;
}
/* ------------scrollbar style  Start ----------------*/
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-thumb {
  background: rgba(var(--p1), 1);
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 5px;
}

/* ------------scrollbar style  End ----------------*/

.swiper-wrapper {
  transition-timing-function: linear !important;
}

.line {
  width: 100%;
  height: 1px;
  background-color: rgba(var(--d3), 0.5);
}

@media (max-width: 576px) {
  .btn {
    width: 130px;
    height: 40px;
  }
  .btn span {
    font-size: 16px;
  }
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(var(--n5), 0.1);
  transition: all 0.3s ease-in-out;
}
.social-icon:hover {
  background-color: rgba(var(--p1), 1);
}
.social-icon:hover i {
  color: rgba(var(--n11), 1);
}

.side-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}
.side-icon svg {
  display: block !important;
}

.line-divider {
  height: 1px;
  width: 100%;
  background-color: rgba(var(--n5), 0.1);
}

.section-heading {
  width: 732px;
}

.title-line {
  width: 4px;
  height: 67px;
  background-color: rgba(var(--p1));
}

.page-heading {
  width: 856px;
  margin: auto;
  
}
.page-heading .page-title {
  
  width: 664px;
  margin: auto;
}

/* Loader Styles start here */
/* REMOVED - Loader functionality removed for better UX */

.w-max {
  width: -moz-max-content;
  width: max-content;
}


/* Btns */
.primary-btn,
.primary-btn2 {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;    /* Harmonisé */
  width: max-content;
  max-height : 40px;
  transition: all 0.2s linear;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  border-radius: 0.7em;    /* Coins arrondis élégants */
  letter-spacing: 0.5px;
  border: 0.1px solid rgba(var(--p1),1.1);
  background: rgba(var(--p1),0.15);/* Sera surchargé pour btn2 */
}

/* Correction du background spécifique pour btn2 */
.primary-btn2 {
  background: rgba(24, 15, 15, 0.5);
  border: 0.05px solid  rgb(69 69 69 / 82%);
}

.primary-btn:hover,
.primary-btn2:hover {
  font-size: 18px;
  font-weight: 500;
  color: rgba(var(--p1));
  box-shadow: 0 0 20px 1px rgba(var(--p1), 0.4);
  border: 1.5px solid rgba(var(--p1),1.1);
  background: rgba(var(--p1),0.1);
  /* btn2 garde sa couleur de texte spéciale */
}
.primary-btn2:hover {
  color: rgba(var(--p1));  /* Si tu veux que le texte du btn2 change aussi */
}

/* Shimmer Effect - pseudo-élément ::before */
.primary-btn::before,
.primary-btn2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  height: 100%;
  width: 70%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255, 0) 0%,
    rgba(255,255,255, .26) 35%,
    rgba(255,255,255, .76) 48%,
    rgba(255,255,255, .30) 65%,
    rgba(255,255,255, 0) 100%
  );
  border-radius: inherit;
  opacity: 0.8;
  pointer-events: none;
  transform: skewX(-18deg);
  animation: shimmer-move 2.1s cubic-bezier(.32,1.56,.76,1.11) infinite;
}

@keyframes shimmer-move {
  0% { left: -75%; }
  100% { left: 120%; }
}

/* btns end */

.color-switcher {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 101;
  display: flex;
  align-items: center;
  width: 160px;
  transform: translate(130px, -50%);
  transition: all 0.2s ease-out;
}
.color-switcher .switcher-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--p1), 1);
  color: rgba(var(--n11), 1);
}
.color-switcher .pallates {
  background-color: rgba(var(--n1), 1);
  padding: 10px;
  border-radius: 10px;
}
.color-switcher .pallates .color-btn {
  width: 20px;
  height: 20px;
  border-radius: 100%;
}

.color-switcher.opened {
  transform: translate(0, -50%);
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: rgba(var(--p1), 1);
}

input[type=radio] {
  width: 20px;
  height: 20px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(var(--n1)) inset !important;
}

.wrapper {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video {
  height: 50px;
  width: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 100%;
  background: transparent;
  color: #fff;
  display: inline-block;
  background: #000000;
  z-index: 999;
}

@keyframes waves {
  0% {
    transform: scale(0.2, 0.2);
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: scale(0.9, 0.9);
    opacity: 0;
  }
}

@media (max-width: 1199px) {
  .page-heading {
    width: 100%;
    margin: auto;
    padding: 0 12px;
  }
  .page-heading .page-title {
    width: 100%;
    margin: auto;
  }
  .section-heading {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .title-line {
    height: 50px;
  }
}
@media (max-width: 575px) {
  .title-line {
    height: 40px;
  }
}
.side-menu {
  width: 300px;
  height: 100vh;
  background-color: #1d1d1d; /* Direct dark background */
  transition: all 0.5s ease-in-out;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
}
.side-menu .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}
.side-menu .close-btn i {
  font-size: 24px;
}
.side-menu .side-menu-left {
  width: 60px;
  height: 100vh;
  background-color: #000000; /* Direct black background */
}
.side-menu .side-menu-left .cart-counter {
  position: absolute;
  top: 0px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(var(--y1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-menu .side-menu-left .cart-counter span {
  font-size: 8px;
}
.side-menu .side-menu-right {
  width: 100%;
  height: 100vh;
}
.side-menu .side-menu-right .sidebar-profile .profile-img1 {
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 50%;
  background-color: rgba(var(--p1), 1);
}
.side-menu .side-menu-right .sidebar-profile .thumb {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #000000; /* Direct black background */
  position: absolute;
  top: 50px;
  right: 60px;
}
.side-menu .side-menu-right .menu-list ul li {
  transition: all 0.3s ease-in-out;
}
.side-menu .side-menu-right .menu-list ul li div {
  transition: all 0.3s ease-in-out;
}
.side-menu .side-menu-right .menu-list ul li:hover {
  background-color: rgba(var(--p1), 1);
}
.side-menu .side-menu-right .menu-list ul li:hover a {
  color: rgba(var(--n11), 1);
}
.side-menu .side-menu-right .menu-list ul li:hover a div {
  color: rgba(var(--n11), 1);
}

.main-content {
  margin-left: 300px;
  transition: margin-left 0.5s ease-in-out;
  overflow-x: hidden;
}

@media (max-width: 800px) {
.side-menu {
  visibility: hidden;
  opacity: 0;
  margin-left: -100%;
}
.side-menu.active {
  visibility: visible;
  opacity: 1;
  margin-left: 0;
}
.main-content {
  margin-left: 0;
}
}
.banner-content .typing-text {
  white-space: pre-line;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: bold;
  background: linear-gradient(-135deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: gradientFlow 3s ease-in-out infinite;
  min-height: 1.2em;
  line-height: 1.2;
  display: block;
  margin: 0.5rem 0 1rem 0;
}
@media (max-width: 991px) {
  .banner-content {
    background: transparent;
    border-radius: 1.5rem;
    text-align: left;
    max-width: 940px;
    padding: 0 1rem;
  }
  
  .banner-content .typing-text {
    white-space: pre-line;
    background: linear-gradient(0deg, rgb(var(--p1)) 47% 0%, rgb(0 0 0)105%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: bold;
    min-height: 1.2em;
    line-height: 1.2;
    display: block;
    margin: 0.5rem 0 1rem 0;
  }
  
  .banner-content .sub {
    font-size: clamp(0.875rem, 2.2vw, 1.1rem);
    line-height: 1.6;
    margin: 1rem 0;
    max-width: 85ch;
  }
}
.banner-content .typing-text::after {
  content: "";
  display: inline-block;
  width: clamp(4px, 1.5vw, 7px);
  height: 1.1em;
  background: currentColor;
  vertical-align: -0.1em;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

/* Enhanced sub text styling */
.banner-content .sub {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  line-height: 1.6;
  color: rgba(var(--n5), 0.9);
  margin: 1rem 0;
  max-width: 90ch;
  text-align: left;
  transition: all 0.3s ease;
}

.banner-content .sub br {
  display: block;
  content: "";
  margin: 0.5rem 0;
}

  .banner-content .sub .highlight-green {
  color: rgb(var(--p1));
  font-weight: 800;
  background: linear-gradient(135deg, 
    rgba(var(--p1), 0.18) 0%, 
    rgba(var(--p1), 0.12) 20%, 
    rgba(var(--p1), 0.16) 40%, 
    rgba(var(--p1), 0.08) 60%, 
    rgba(var(--p1), 0.14) 80%, 
    rgba(var(--p1), 0.1) 100%);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  display: inline-block;
  margin: 0.75rem 0;
  border: 2px solid rgba(var(--p1), 0.25);
  box-shadow: 
    0 4px 12px rgba(var(--p1), 0.15),
    0 2px 6px rgba(var(--p1), 0.08),
    0 1px 3px rgba(var(--p1), 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 
    0 1px 3px rgba(var(--p1), 0.4),
    0 0 8px rgba(var(--p1), 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.banner-content .sub .highlight-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.15) 30%, 
    rgba(255, 255, 255, 0.25) 50%, 
    rgba(255, 255, 255, 0.15) 70%, 
    transparent 100%);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(1px);
}

.banner-content .sub .highlight-green::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(var(--p1), 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(var(--p1), 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.banner-content .sub .highlight-green:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(var(--p1), 0.25),
    0 4px 12px rgba(var(--p1), 0.15),
    0 2px 6px rgba(var(--p1), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  border-color: rgba(var(--p1), 0.4);
  background: linear-gradient(135deg, 
    rgba(var(--p1), 0.25) 0%, 
    rgba(var(--p1), 0.18) 20%, 
    rgba(var(--p1), 0.22) 40%, 
    rgba(var(--p1), 0.15) 60%, 
    rgba(var(--p1), 0.2) 80%, 
    rgba(var(--p1), 0.18) 100%);
  text-shadow: 
    0 2px 4px rgba(var(--p1), 0.5),
    0 0 12px rgba(var(--p1), 0.3);
  letter-spacing: 0.03em;
}

.banner-content .sub .highlight-green:hover::before {
  left: 100%;
}

.banner-content .sub .highlight-green:hover::after {
  opacity: 1;
}

.banner-content .sub .highlight-green:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

@media (max-width: 1215px) {
  .banner-content .typing-text {
    min-height: 1.2em;
    line-height: 1.2;
  }
  .banner-content .sub {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    max-width: 80ch;
  }
}

@media (max-width: 1035px) {
  .banner-content .typing-text {
    min-height: 1.2em;
    line-height: 1.2;
  }
  .banner-content .sub {
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    line-height: 1.6;
    max-width: 75ch;
  }
}
@media (max-width: 779px) {
  .banner-content .typing-text {
    min-height: 1.2em;
    line-height: 1.2;
  }
  .banner-content .sub {
    font-size: clamp(0.875rem, 1.6vw, 1rem);
    line-height: 1.6;
    max-width: 70ch;
  }
}
@media (max-width: 514px) {
  .banner-content .typing-text {
    min-height: 1.2em;
    line-height: 1.2;
  }
  .banner-content .sub {
    font-size: clamp(0.875rem, 1.4vw, 0.95rem);
    line-height: 1.6;
    max-width: 65ch;
  }
}
@media (max-width: 390px) {
  .banner-content .typing-text {
    min-height: 1.2em;
    line-height: 1.2;
  }
  .banner-content .sub {
    font-size: clamp(0.875rem, 1.2vw, 0.9rem);
    line-height: 1.6;
    max-width: 60ch;
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes rotatedBg {
  0%, 100% {
    transform: rotate(11.163deg);
  }
  50% {
    transform: rotate(-11.163deg);
  }
}

.line {
  width: 1px;
  height: 38px;
  background-color: rgba(var(--n5), 1);
}

.banner-counter {
  width: 636px;
}

.kpi-animated .counter, 
.kpi-animated .mod {
  transition: 
    color 0.32s cubic-bezier(.32,1.56,.76,1.11),
    text-shadow 0.37s cubic-bezier(.32,1.56,.76,1.11),
    transform 0.3s cubic-bezier(.32,1.56,.76,1.11);
  color: rgb(var(--p1));
  text-shadow:
    -2px 20px 20px #ffffff2d,
    0 0 28px rgb(var(--p1));
  font-weight: 700;
}

.kpi-animated:hover, .kpi-animated:focus-within {
  z-index: 2;
  transform: translateY(-14px) scale(1.055);
}

.kpi-animated:hover .counter,
.kpi-animated:hover .mod,
.kpi-animated:focus-within .counter,
.kpi-animated:focus-within .mod {
  color: #fff;
  transform: scale(1.13) rotate(-1deg);
  animation: shineGlow 1.3s cubic-bezier(.33,.9,.58,1.0);
}

/* Animation shineGlow plus fluide */
@keyframes shineGlow {
  0%   { filter: brightness(1.1) blur(1.5px);}
  25%  { filter: brightness(2.0) blur(0.7px);}
  60%  { filter: brightness(1.3) blur(0.15px);}
  100% { filter: brightness(1) blur(0);}
}

/* Base styling remains unchanged */
.services-section {
  padding-top: 64px;
  padding-bottom: 29px;
  padding-left: 1rem;
  padding-right:1rem;
  /* Add a blurred background image effect */
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(var(--p1), 0.45), rgba(var(--p1), 0.45)),
    url('../images/8bace2_423e6341f26449d8a4cfe6f2815bf4f9f000.avif');
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.85);
  opacity: 0.7;
  pointer-events: none;

}


.services-container {
  max-width: 1280px; /* slightly increased from 1200px */
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

/* Service Card: Modern look, smooth hover */
.services-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(82, 113, 255, 0.08);
  transition: 
    transform 0.25s cubic-bezier(.32,1.56,.76,1.11),
    box-shadow 0.25s cubic-bezier(.32,1.56,.76,1.11),
    border-color 0.25s;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}

.services-card:hover, .services-card:focus-within {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 32px rgba(82, 113, 255, 0.18);
  border-color: rgba(var(--p1), 0.5);
  z-index: 2;
}

/* Subtle animated border on hover */
.services-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid rgba(var(--p1), 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.services-card:hover::after, .services-card:focus-within::after {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 1.2rem 0;
  }
  .service-title-section {
    min-height: 70px;
    font-size: 1.1rem;
  }
  .service-description {
    padding: 4px 18px 13px 18px;
    min-height: 90px;
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
  }
  .services-card {
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(82, 113, 255, 0.10);
  }
  .service-title-section {
    min-height: 54px;
    font-size: 1rem;
    border-radius: 14px 14px 0 0;
  }
  .services-img-wrapper {
    height: 120px;
  }
  .service-description {
    padding: 12px 6px 10px 6px;
    min-height: 60px;
    font-size: 0.93rem;
  }
}

/* ========== Card description ========== */

.service-description p {
  width: 100%;
  margin: 0;
  transition: text-align 0.3s;
  text-align: left;
}
.services-card:hover .service-description {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.services-card:hover .service-description p {
  text-align: center;
}


/* Glow + shimmer effect */
.services-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, var(--p1-color) 10%, #fff 40%, var(--p2-color) 90%);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -2;
  filter: blur(8px);

  /* Shimmer setup */
  background-size: 200% 200%;
  background-position: -100% 0;
}
.services-card:hover::before {
  opacity: 0.4;
  animation: shimmer 1.5s linear;
}

@keyframes shimmer {
  0%   { background-position: -120% 0; }
  100% { background-position: 220% 0; }
}

/* Animation de translation et scale au hover */
.services-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 12px 20px 0px rgba(var(--p1), 0.48);
  border-color:rgba(var(--p1), 0.53);
  background: rgba(0, 0, 0, 0.15);
}

/* Floating animated bubble */
.services-card::after {
  content: '';
  position: absolute;
  top: 15px; right: 15px;
  width: 25px; height: 25px;
  background: linear-gradient(135deg, var(--p1-color), var(--p2-color));
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s;
  box-shadow: 0 4px 12px rgba(var(--p1), 0.4);
}
.services-card:hover::after {
  opacity: 0.4;
  transform: scale(1);
  animation: enhancedFloat 3s ease-in-out infinite;
}
@keyframes enhancedFloat {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg);}
  25%     { transform: translateY(-8px) scale(1.1) rotate(90deg);}
  50%     { transform: translateY(-15px) scale(1.2) rotate(180deg);}
  75%     { transform: translateY(-8px) scale(1.1) rotate(270deg);}
}

/* ========== Contenu interne ========== */
.services-card * {
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  object-fit: cover;
}
.services-card img {
  margin-top: 1px;
  margin-bottom: 3px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: cover
}
.services-card:hover img {
  transform: scale(1.3) rotate(1deg);
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.25));
  filter: blur(10px);
  mix-blend-mode: color-dodge;
}
.services-card h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--n1-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.services-card:hover h4 {
  color: rgba(var(--p1), 1);
  transform: scale(1.12);
  text-shadow: -1px -7px 17px rgb(var(--p1));
  -webkit-text-stroke-color: rgb(0, 0, 0);
  -webkit-text-stroke-width: .3px;
  font-weight: 700;
}
.services-card p {
  color: var(--n3-color);
  line-height: 1.6;
  opacity: 0.8;
  margin-left: 1rem;
  margin-right: 1rem;
}
.services-card:hover p {
  opacity: 1;
  transform: translateY(-3px);
  color: white;
}


@media (max-width: 768px) {
  .services-card-container {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (max-width: 576px) {
  .services-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .services-grid {
    gap: 1rem;
  }

  .services-card-container {
    flex: 1 1 100%;
    max-width: 100%;
  }


  .services-card:hover {
    transform: translateY(-10px) scale(1.02);
  }


  .services-card:hover img {
    transform: scale(1.2) rotate(1deg);
  }

  .services-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .services-card p {
    font-size: 0.9rem;
  }
}










/* Legacy next-project styles - overridden by premium design above */

.next-project .next-project-content {
  width: 636px;
}

.project-card .thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--n1), 1);
  transition: all 0.5s ease-in-out;
  border-radius: 2%;

}
.project-card .thumb .post-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  transition: all 0.5s ease-in-out;
}
.project-card .thumb .post-thumb :nth-child(2) {
  transition: all 0.5s ease-in-out;
}
.project-card .thumb .post-thumb:first-child {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: translatex(50%) scalex(2);
  opacity: 0;
  filter: blur(10px);
}
.project-card .thumb .post-thumb:first-child img {
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}
.project-card .thumb:hover {
  border: 1px solid rgba(var(--p1), 1);
  border-radius: 8px;
}
.project-card .thumb:hover .post-thumb:first-child {
  transform: translatex(0) scalex(1);
  opacity: 1;
  filter: blur(0);
}
.project-card .thumb:hover .post-thumb:nth-child(2) {
  transform: translatex(-50%) scalex(2);
  opacity: 0;
  filter: blur(10px);
}
.project-card .project-title {
  transition: all 0.5s ease-in-out;
}
.project-card .project-title:hover {
  color: rgba(var(--p1), 1);
}
.project-card .project-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--n4), 0.2);
  transition: all 0.5s ease-in-out;
}
.project-card .project-link i {
  transition: all 0.5s ease-in-out;
}
.project-card .project-link:hover {
  background-color: rgba(var(--p1), 1);
}
.project-card .project-link:hover i {
  color: rgba(var(--n1), 1);
  transform: rotate(45deg);
}

.product-card .thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--n3), 0.5);
  transition: all 0.5s ease-in-out;
}
.product-card .thumb .post-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  transition: all 0.5s ease-in-out;
}
.product-card .thumb .post-thumb :nth-child(2) {
  transition: all 0.5s ease-in-out;
}
.product-card .thumb .post-thumb:first-child {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: translatex(50%) scalex(2);
  opacity: 0;
  filter: blur(10px);
}
.product-card .thumb .post-thumb:first-child img {
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}
.product-card .thumb:hover {
  border: 1px solid rgba(var(--p1), 1);
}
.product-card .thumb:hover .post-thumb:first-child {
  transform: translatex(0) scalex(1);
  opacity: 1;
  filter: blur(0);
}
.product-card .thumb:hover .post-thumb:nth-child(2) {
  transform: translatex(-50%) scalex(2);
  opacity: 0;
  filter: blur(10px);
}
.product-card .project-title {
  transition: all 0.5s ease-in-out;
}
.product-card .project-title:hover {
  color: rgba(var(--p1), 1);
}
.product-card .project-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(var(--n4), 0.2);
  transition: all 0.5s ease-in-out;
}
.product-card .project-link i {
  transition: all 0.5s ease-in-out;
}
.product-card .project-link:hover {
  background-color: rgba(var(--p1), 1);
}
.product-card .project-link:hover i {
  color: rgba(var(--n1), 1);
  transform: rotate(45deg);
}
.product-card .product-img {
  width: 100%;
  height: 230px;
}



.swiper-custom-bullet {
  height: 12px;
  width: 12px;
  border-radius: 30px;
  background-color: #ececef;
}

.swiper-custom-bullet.swiper-custom-bullet-active {
  transition: all 0.5s ease-in-out;
  background-color: rgba(var(--p1), 1);
}

.tab.active {
  color: rgba(var(--p1), 1);
  border-bottom: 2px solid rgba(var(--p1), 1);
}
.project-details-content ul li {
  list-style: disc;
  list-style-position: inside;
}

/* -----frequently asked question start----- */

/*--frequently asked question end ---*/


.radioBtn.active {
  background-color: rgba(var(--n2));
}

.radio-content {
  display: none;
}

.radioBtn.active + .radio-content {
  display: block;
  background-color: rgba(var(--n2));
}

.radioBtn.active {
  background-color: rgba(var(--n2));
}

.select-box {
  display: flex;
  flex-direction: column;
  position: relative;
}

.select-box .options-container {
  max-height: 0;
  width: 100%;
  opacity: 0;
  transition: all 0.4s;
  overflow: hidden;
  border-radius: 10px;
  border: solid 1px rgba(var(--n4), 0.08);
  background-color: rgba(var(--n1));
  order: 1;
  position: absolute;
  z-index: 99;
  top: 54px;
}

.selected {
  position: relative;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(var(--n4), 0.08);
  order: 0;
}

.selected::after {
  content: "keyboard_arrow_down";
  font-family: "Material Icons";
  font-size: 24px;
  color: rgba(var(--n5));
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  position: absolute;
  right: 15px;
  top: 50%;
  transition: transform 0.5s;
  transform: translateY(-50%);
}

.selected span,
.select-box label span {
  font-size: 16px;
  font-weight: 400;
  color: rgba(var(--n5));
}

.select-box .options-container.active {
  max-height: 200px;
  opacity: 1;
  overflow-y: auto;
}

.select-box .options-container.active + .selected::after {
  transform: translateY(-50%) rotateX(180deg);
}

.select-box .option,
.selected {
  padding: 12px;
  cursor: pointer;
}

.select-box .option:hover {
  background: rgba(var(--n2), 1);
}

.select-box label {
  cursor: pointer;
}

.select-box .option .radio {
  display: none;
}


@media (max-width: 1399px) {
  .banner-content {
    background: rgba(20, 20, 20, 0);
    border-radius: 1.5rem;
    text-align: left;
    max-width: 1040px;
    color: #ffffff00;

  }
}
@media (max-width: 1199px) {
  .banner-content {
    background: rgba(20, 20, 20, 0);
    border-radius: 1.5rem;

    text-align: left;
    max-width: 1040px;
    color: #ffffff00;

  }
  .banner-counter {
    width: 100%;
  }
}
@media (max-width: 991px) {
  .banner-content {
    background: rgba(20, 20, 20, 0);
    border-radius: 1.5rem;
    text-align: left;
    max-width: 740px;
    color: #ffffff00;
  }
}
@media (max-width: 767px) {
  .product-card .product-img {
    width: 100%;
    height: 200px;
  }
}
@media (max-width: 575px) {
  .project-card .project-link {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 992px) {
  #services .row > div {
    flex: 0 0 25%;
    max-width: 25%;
  }
}







/* General Slider Styles (unchanged) */
.slider {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px; /* Rounded corners for the slider */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06); /* Subtle shadow */
  display: flex;
  flex-direction: column; /* Ensure vertical stacking */
  align-items: center; /* Center children horizontally */
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  pointer-events: none;
  border-radius: 10px; /* Apply rounding to individual images */
}

.thumbnails {
  display: flex;
  justify-content: center; /* Horizontally centers thumbnails */
  align-items: center; /* Vertically centers thumbnails */
  gap: 8px; /* Consistent spacing between thumbnails */
  width: 100%; /* Ensures it spans the entire width of the slider */
  margin: 0 auto; /* Center the thumbnails block within the parent */
  overflow-x: auto; /* Enable horizontal scrolling if thumbnails exceed container width */
}

.thumbnails img {
  width: 80px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  border-radius: 5px; /* Rounded corners for thumbnails */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.thumbnails img:hover {
  transform: scale(1.1); /* Slight zoom-in effect on hover */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

.thumbnails img.active {
  border-color:  rgba(var(--p1), 0.9); /* Blue border for active thumbnail */
  box-shadow: 0 4px 8px rgba(82, 113, 255, 0.3); /* Glow effect for active */
}


.arrows {
  position: absolute;
  top: 48%; /* Align vertically in the middle */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%); /* Perfect vertical centering */
  pointer-events: none; /* Allows clicks to pass through */
}

.arrows button {
  pointer-events: auto; /* Re-enable clicks on the buttons */
  background-color: rgba(var(--p1), 0.9); /* Dynamic primary color */
  color: #fff; /* White color for the arrow icon */
  border: none;
  padding: 9px; /* Adjust button size */
  cursor: pointer;
  border-radius: 0%; /* Fully rounded buttons */
  font-size: 20px; /* Adjust arrow size */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for the arrows */
  transition: all 0.3s ease-in-out;
  opacity: 0.8;
}

.arrows button:hover {
  background-color: rgba(var(--p1), 1); /* Slightly darker version of dynamic color */
  transform: scale(1.1); /* Slightly larger on hover */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* More prominent shadow on hover */
  opacity: 0.8;
}

.arrows button:focus {
  outline: none; /* Remove focus outline */
  box-shadow: 0 0 8px rgba(var(--p1), 0.7); /* Focus glow */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .arrows button {
    padding: 10px;
    font-size: 16px; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .arrows button {
    padding: 8px;
    font-size: 14px; /* Smaller font size for very small screens */
  }
}





/*..............................................................
................................................................/

/* Default (Desktop - 4 items per row) */

/* Tablet and smaller screens (2 items per row) */
@media (max-width: 1199px) and (min-width: 768px) {
  #services .col-sm-6 {
    flex: 0 0 50%; /* 2 items per row */
    max-width: 50%;
  }
}

/* Mobile screens (1 item per row) */
@media (max-width: 767px) {
  #services .col-sm-6 {
    flex: 0 0 100%; /* 1 item per row */
    max-width: 100%;
  }
}



.filter-tab.active {
  
  
  font-weight: bold;
  color: rgba(var(--p1), 0.1);
  border-bottom: 2px solid var(--active-color); /* Dynamic border */

}




.tabs span {
  background-color: rgba(var(--p1, 82, 113, 255), 0.2); /* Default inactive */
}
.tabs span.active {
  background-color: rgba(var(--p1, 82, 113, 255), 1); /* Default active */
  color: white; /* Optional */
}


.n5-color.fs-nine.px-2.px-md-4.py-1.py-md-2.brn3.rounded-pill.fw-medium {
  display: inline-block; 
  padding: 5px 12px; 
  font-size: 0.875rem;
  line-height: 1.2; 
  white-space: nowrap; 
  text-align: center; 
  max-width: 100%; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}

.project-header {
  text-align: left; 
  margin-left: 30px; 
}

.project-header h2 {
  font-size: 40px; 
  line-height: 1.2; 
  margin-bottom: 10px; 
}

.project-header p {
  font-size: 18px; 
  color: rgba(79, 79, 79, 1); 
}

.footer {
 
  color: rgba(255, 255, 255, 1); 
  padding: 16px 0; 
  margin: 0; 
  text-align: center; 
  width: 100%; 
  position: relative; 
}
.footer span {
  display: block; /* Ensures proper spacing */
  padding-left: 20px; /* Add consistent spacing */
}





/* General Variables */
:root {
  --menu-bg: rgba(255, 255, 255, 0.95);
  --menu-border: rgba(200, 200, 200, 0.5);
  --menu-text: rgba(41, 41, 41, 0.9);
  --p1: 82, 113, 255;
  --n1: 255, 255, 255;
  --n11: 41, 41, 41;
}

body.dark {
  --menu-bg: rgba(41, 1, 41, 0.5);
  --menu-border: rgba(100, 100, 100, 0.5);
  --menu-text: rgb(255, 255, 255);
}
/* Desktop-Specific Styles */
@media (min-width: 801px) {

  /* Hide mobile menu on desktop */
  .custom-mobile-menu,
  .custom-hamburger {
    display: none !important;
  }
}

/* Mobile-Specific Styles */
@media (max-width: 800px) {
  /* Show hamburger on mobile */
  .custom-hamburger {
    display: flex !important;
  }
  
  /* Hide desktop sidebar on mobile */
  .side-menu {
    display: none !important;
  }
  
  /* Mobile menu positioning handled by transform */

  /* Mobile menu styles handled by main mobile menu rules */

  /* Hamburger Icon */
  .custom-hamburger {
    display: flex; /* Show on mobile */
    position: fixed;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
  }

  .custom-hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: rgba(var(--p1), 1);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  /* Hamburger should stay as hamburger - no X transformation */

  /* Mobile Menu Close Button */
  .custom-close {
    position: absolute;
    top: 20px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .custom-close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: rgba(var(--p1), 1);
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
  }

  .custom-close span:first-child {
    transform: rotate(45deg);
  }

  .custom-close span:last-child {
    transform: rotate(-45deg);
  }

  .custom-close:hover span {
    background-color: rgba(var(--p1), 0.8);
  }
}

/* General Styles for Hamburger Icon */
.custom-hamburger {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 10000;
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  padding: 0;
}

.custom-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: rgba(var(--p1), 1);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger should stay as hamburger - no X transformation */

/* Mobile Menu Styles */
.custom-mobile-menu {
  position: fixed;
  background: color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%);
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  padding: 30px;
  transform: translateX(100%); /* Start off-screen using transform */
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
  overflow-y: visible; /* Remove scrollbar */
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.custom-mobile-menu.active {
  transform: translateX(0) !important; /* Slide in using transform */
}

/* Hide hamburger and mobile menu on desktop */
@media (min-width: 801px) {
  .custom-hamburger {
    display: none !important;
  }
  
  .custom-mobile-menu {
    display: none !important;
  }
}

/* Show hamburger and mobile menu only on mobile */
@media (max-width: 800px) {
  .custom-hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .custom-mobile-menu {
    display: block !important;
    visibility: visible !important;
  }
  
  /* Hide desktop sidebar on mobile */
  .side-menu {
    display: none !important;
  }
}

/* Mobile menu styles handled by main mobile menu rules */

/* Style for the contact button */

/* Hover effect for the button */




/* Skills Slider Section */
.skills-section {
  padding: 20px 0;
  background-color: rgb(12 12 12); /* Matches your site's theme */
  overflow: hidden; /* Hide overflow for seamless sliding */
}

.skills-slider {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden; /* Prevents extra content spilling out */
  position: relative;
}

/* skills title */
.skills.title {
  text-align: center;
  margin-bottom: 24px;
  text-shadow: 4px 1px 2px rgba(0, 0, 0, 0.33);
}

.TT {
  font-size: 16px;
  font-weight: 700;
  color: rgb(155, 155, 155);
}

.skills.title .Exp {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  background-size: 200% 200%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: gradientFlow 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.1;
  
}

@media (max-width: 600px) {
  .skills.title .Exp {
    font-size: 35px;
  }
  .TT{
    font-size: 14px;
  }
}

.separator-line {
  width: 220px;
  height: 4px;
  margin: -10px auto auto auto;
  border-radius: 2px;
  background: linear-gradient(9deg, rgba(var(--p1), 0) 0%, rgba(var(--p1), 0.7) 50%, rgba(var(--p1), 0) 100%);
  display: block;
}

.separator-gradient-line {
  width: 220px;
  height: 4px;
  margin: -10px auto 42px auto;
  border-radius: 2px;
  background: linear-gradient(9deg, rgba(var(--p1), 0) 0%, rgba(var(--p1), 0.7) 50%, rgba(var(--p1), 0) 100%);
  display: block;
}

@media (max-width: 600px) {
  .separator-gradient-line {
    width: 120px;
    height: 3px;
    margin: 20px auto 20px auto;
  }
}

/* end*/

.myswiper-wrapper {
  display: flex;
  align-items: center;
  animation: scrollSkills 30s linear infinite; /* Infinite carousel animation */
  width: max-content; /* Allow content to expand */
}

/* Animation for infinite scrolling */
@keyframes scrollSkills {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move by half the total width */
  }
}

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

.myswiper-slide {
  display: flex;
  flex-direction: column; /* Stack SVG and text */
  justify-content: center;
  align-items: center;
  min-width: 120px; /* Slide width */
  max-width: 150px;
  flex-shrink: 0; /* Prevent slides from shrinking */
  padding: 10px;
  margin-right: 20px; /* Space between slides */
}

.skill-slide svg {
  width: 60px;
  height: 60px;
  fill: #000000 !important; /* Force black or any desired color */
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effects for skill icons */
.myswiper-slide:hover .skill-slide svg {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(var(--p1), 0.3));
}

.skill-title {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(var(--n5), 1); /* Neutral/dark text color */
  text-align: center;
  transition: color 0.3s ease;
}

/* Hover effect for skill titles */
.myswiper-slide:hover .skill-title {
  color: rgba(var(--p1), 1);
}

/* Swiper Pagination styles */

/* Responsive Adjustments */
@media (max-width: 768px) {
  .myswiper-slide {
    min-width: 100px;
    max-width: 120px;
  }

  .skill-slide svg {
    width: 50px;
    height: 50px;
  }

  .skill-title {
    font-size: 12px;
  }
  
  /* Slower animation on mobile for better performance */
  .myswiper-wrapper {
    animation-duration: 40s;
  }
}

@media (max-width: 480px) {
  .myswiper-slide {
    min-width: 80px;
    max-width: 100px;
  }

  .skill-slide svg {
    width: 40px;
    height: 40px;
  }

  .skill-title {
    font-size: 10px;
  }
  
  /* Even slower animation on very small screens */
  .myswiper-wrapper {
    animation-duration: 50s;
  }
}

/* Swiper-Specific Adjustments */
.skills-section .myswiper-slide svg {
  fill: #000000; /* Force SVG fill color */
}

.myswiper-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform; /* Optimize for performance */
}

.myswiper-slide {
  flex: 0 0 auto;
  margin-right: 15px; /* Match your JavaScript spaceBetween */
}

.skills-slider {
  overflow: hidden; /* Hide overflow for seamless sliding */
  position: relative;
}

/* Mobile-specific styling */
@media (max-width: 768px) {
  .myswiper-slide {
    width: 140px; /* Fixed width for each slide */
    height: 140px; /* Fixed height for each slide */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .myswiper-slide img {
    max-width: 80px; /* Ensures images fit within the fixed slide dimensions */
    max-height: 80px; /* Maintain proportions */
    object-fit: contain; /* Prevent image distortion */
  }

  .myswiper-slide p.skill-title {
    font-size: 12px; /* Adjust font size for smaller screens */
    margin-top: 5px; /* Add spacing between image and text */
    text-align: center;
  }
}

/* --- Custom YouTube Placeholder Styles --- */
.yt-placeholder {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}
.yt-placeholder img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-play-btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

.yt-placeholder {
  background: linear-gradient(to top, #2d2d2d 0%, #3d3d3d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.yt-placeholder::after {
  content: "+";
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================= */
/*      New Styles for Portfolio Cards           */
/* ============================================= */

/* Grid container */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Base card styling */
.project-card {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
  z-index: 0;
}
.project-card:hover {
  transform: translateY(-6px);
}

/* Gradient border & outer glow (reuse rules) */
.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--active-color) 0%, var(--active-color) 100%);
  background-size: 400% 400%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  animation: glowShift 8s linear infinite;
}
/* crisp 1px border */
.project-card::before {
  padding: 1px;

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}
/* outer glow */
.project-card::after {
  filter: blur(18px);
  z-index: -1;
}
.project-card:hover::before,
.project-card:hover::after {
  opacity: 1;
}

/* Thumbnail */
.project-card .thumb {
  position: relative;
  display: block;
}
.project-card .thumb img,
.project-card .thumb .yt-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.project-card:hover .thumb img,
.project-card:hover .thumb .yt-placeholder {
  transform: scale(1.05);
}

/* Overlay gradient */
.project-card .thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}
.project-card:hover .thumb::before {
  opacity: 1;
}

/* View button */
.project-card .thumb::after {
  content: "\f06e  View"; /* eye icon + text */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: var(--active-color);
  color: var(--dark);
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .thumb::after {
  opacity: 1;
}

/* Badges */

/* Info section */
.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.project-card .tags span {
  background: #222;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--light);
}

@keyframes glowShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================= */

/* 3️⃣  (optional) tiny override – ensure badges/tabs stay above Tailwind resets */
.filter-tab.active:hover { /* prevent extra hover tint on active */
  color: #fff !important;
  border-color: transparent !important;
}

.highlight-green {
  color: #ffffff;
  font-weight: bold;
}

/* Service Card Title Section - dark background, white text, rounded top corners */
.services-card .service-title-section {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom: 2px solid #fff;
  width: 100%;
  padding: 0 10px;
  background: linear-gradient(-135deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  background-size: 200% 200%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: gradientFlow 3s ease-in-out infinite;
}
.service-title-section h4 {
  color: #fff !important;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* Image wrapper: no gap above, fixed height, top-aligned */
.services-img-wrapper {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: #ffffff00;
  border-radius: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

/* Image: full width, top-aligned, no margin */
.services-card .services-icon {
  width: 100%;
  height: 100%;
  object-fit: top center;
  object-position: top center;
  display: block;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Description: padding and separation */
.service-description {
  padding: 24px 18px 18px 18px;
  min-height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  transition: all 0.3s;
}
.service-description p {
  margin: 0;
  width: 100%;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #222;
  transition: text-align 0.3s;
  text-align: center;
}
.services-card:hover .service-description,
.services-card:hover .service-description p {
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
}

/* Card: keep rounded corners and shadow */
.services-card {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Mobile Touch Targets */
@media (max-width: 768px) {
  .primary-btn, .primary-btn2 {
    min-height: 44px;
    min-width: 44px;
  }
  
  .side-icon {
    min-width: 44px;
    min-height: 44px;
  }
  
  .social-icon {
    min-width: 44px;
    min-height: 44px;
  }
  
  .portfolio-modal-btn, .portfolio-modal-btn-alt {
    min-height: 44px;
  }
}

/* Improved Focus States */
.primary-btn:focus,
.primary-btn2:focus,
.side-icon:focus,
.social-icon:focus {
  outline: 2px solid rgba(var(--p1), 1);
  outline-offset: 2px;
}

/* Screen Reader Only - Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Visible - Better focus indicators */
:focus-visible {
  outline: 2px solid rgba(var(--p1), 1);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: rgba(var(--p1), 1);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* Improved Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Better Hover States */
.primary-btn:hover,
.primary-btn2:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--p1), 0.3);
}

/* Improved Focus States for Better UX */
.primary-btn:focus,
.primary-btn2:focus,
.side-icon:focus,
.social-icon:focus {
  outline: 2px solid rgba(var(--p1), 1);
  outline-offset: 2px;
  transform: translateY(-1px);
}

/* Better Mobile Experience */
@media (max-width: 768px) {
  .primary-btn, .primary-btn2 {
    min-height: 44px;
    min-width: 44px;
  }
  
  .side-icon {
    min-width: 44px;
    min-height: 44px;
  }
  
  .social-icon {
    min-width: 44px;
    min-height: 44px;
  }
  
  .portfolio-modal-btn, .portfolio-modal-btn-alt {
    min-height: 44px;
  }
  
  /* Better touch targets */
  .color-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Mobile menu content styling handled by main rules */

/* Mobile Menu Backdrop */
.custom-mobile-menu.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Mobile Menu Content Styling */
.custom-mobile-menu .sidebar-profile {
  margin-bottom: 30px;
}

.custom-mobile-menu .sidebar-profile .profile-img1 {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.custom-mobile-menu .sidebar-profile .profile-img1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-mobile-menu .menu-list {
  margin-bottom: 30px;
}

.custom-mobile-menu .menu-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-mobile-menu .menu-list ul li {
  margin-bottom: 10px;
}

.custom-mobile-menu .menu-list ul li a {
  display: block;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.custom-mobile-menu .menu-list ul li:hover a {
  background-color: rgba(var(--p1), 0.1);
}

/* Remove overflow-y-auto from side-menu-right to prevent scrollbar */
.custom-mobile-menu .side-menu-right {
  overflow-y: visible;
}

/* Banner Gradient Overlay Styles */
.banner-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(30deg, rgba(0, 20, 0, .98) 5%, rgba(0, 0, 0, 0) 58%);
  z-index: 1;
  pointer-events: none;
}

/* Enhanced banner content visibility */
.hero-3d-section .banner-content {
  position: relative;
  z-index: 3;
  text-shadow: 4px 1px 2px rgba(0, 0, 0, 0.33);
}

.hero-3d-section .banner-content h2,
.hero-3d-section .banner-content p,
.hero-3d-section .banner-content span {
  position: relative;
  z-index: 3;
}

/* Mobile optimization for gradient */
@media (max-width: 768px) {
  .banner-gradient-overlay {
    background: linear-gradient(30deg, rgba(0, 20, 0, .98) 5%, rgba(0, 0, 0, 0) 58%
    );
  }
  
  .banner-content .sub {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .banner-content .sub .highlight-green {
    padding: 0.4rem 0.8rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    border-radius: 10px;
    margin: 0.6rem 0;
    border-width: 1.5px;
    box-shadow: 
      0 3px 10px rgba(var(--p1), 0.12),
      0 1px 4px rgba(var(--p1), 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  
  .banner-content .sub .highlight-green:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
      0 6px 20px rgba(var(--p1), 0.2),
      0 2px 8px rgba(var(--p1), 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
  .banner-gradient-overlay {
    background: linear-gradient(30deg, rgba(0, 20, 0, .98) 5%, rgba(0, 0, 0, 0) 58%
    );
  }
}
/* Next Project Section - Premium Design */
.next-project {
  background: linear-gradient(135deg, 
    #0a0a0a 0%, 
    rgba(var(--p1), 0.08) 25%, 
    rgba(var(--p1), 0.12) 50%, 
    rgba(var(--p1), 0.16) 75%, 
    rgba(var(--p1), 0.20) 100%) !important;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.next-project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(var(--p1), 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(var(--p1), 0.05) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
  pointer-events: none;
  animation: backgroundShift 30s ease-in-out infinite;
}

.next-project::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='6' height='6' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 6 0 L 0 0 0 6' fill='none' stroke='%23ffffff' stroke-width='0.2' opacity='0.03'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23grid)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.3;
}

@keyframes backgroundShift {
  0%, 100% { 
    background: radial-gradient(circle at 30% 20%, rgba(var(--p1), 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(var(--p1), 0.05) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
  }
  50% { 
    background: radial-gradient(circle at 70% 20%, rgba(var(--p1), 0.08) 0%, transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(var(--p1), 0.05) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
  }
}

/* Premium Icon */
.premium-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.premium-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(1deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  border: 2px solid rgba(var(--p1), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: premiumIconGlow 1s cubic-bezier(0.64, 0.02, 0.38, 1) infinite alternate;
  backdrop-filter: blur(6px);
}

.premium-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(13deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  background-size: 200% 200%;
  animation: gradientShift 2s ease infinite;
  z-index: -1;
  opacity: 0.4;
}

.premium-icon::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: linear-gradient(13deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  animation: outerGlow 5s ease-in-out infinite alternate;
  z-index: -2;
}

.premium-icon i {
  font-size: 22px;
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(var(--p1), 0.6));
  animation: iconPulse 4s ease-in-out infinite;
  display: inline-block;
  opacity: 1;
  visibility: visible;
}

/* Fallback for icons if Phosphor doesn't load */
.premium-icon i:not([class*="ph-"]) {
  display: none;
}

.premium-icon i:not([class*="ph-"])::before {
  content: "★";
  display: inline-block;
  font-size: 22px;
  color: #ffffff;
}

/* Fallback styles when icons don't load */
.icons-fallback .premium-icon i,
.icons-fallback .feature-icon i {
  position: relative;
}

.icons-fallback .premium-icon i::before {
  content: "\f005"; /* Font Awesome star */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #ffffff;
  font-family: "Font Awesome 6 Free", Arial, sans-serif;
  font-weight: 900;
}

.icons-fallback .feature-icon i::before {
  content: "\f0e7"; /* Font Awesome lightning bolt for rapid */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: rgb(var(--p1));
  font-family: "Font Awesome 6 Free", Arial, sans-serif;
  font-weight: 900;
}

/* Specific fallback icons for each feature */
.icons-fallback .feature-card:nth-child(1) .feature-icon i::before {
  content: "\f0e7"; /* Lightning bolt for Rapid */
}

.icons-fallback .feature-card:nth-child(2) .feature-icon i::before {
  content: "\f3a5"; /* Diamond for Premium */
}

.icons-fallback .feature-card:nth-child(3) .feature-icon i::before {
  content: "\f013"; /* Gear for Precision */
}

@keyframes premiumIconGlow {
  0% { 
    box-shadow: 0 0 15px rgba(var(--p1), 0.25),
                0 0 30px rgba(var(--p1), 0.12),
                inset 0 0 10px rgba(var(--p1), 0.06);
  }
  100% { 
    box-shadow: 0 0 25px rgba(var(--p1), 0.4),
                0 0 50px rgba(var(--p1), 0.2),
                inset 0 0 15px rgba(var(--p1), 0.12);
  }
}
/* Hero Headline */
.hero-headline {
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.hero-title-line {
  color: #ffffff;
  font-family: "Lora", serif;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  animation: titleSlideIn 0.7s ease-out 0.3s both;
}

.hero-title-gradient {
  background: linear-gradient(135deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 900;
  text-shadow: 0 0 25px rgba(var(--p1), 0.3);
  animation: titleSlideIn 0.7s ease-out 0.5s both, gradientFlow 6s ease infinite;
  position: relative;
}

.hero-title-gradient::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:linear-gradient(135deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  filter: blur(5px);
  z-index: -1;
}
@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero Description */
.hero-description {
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin: 0;
  text-align: center;
  animation: fadeInUp 0.7s ease-out 0.7s both;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.06);
}

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

/* Call-to-Action Buttons */
.hero-actions {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s ease-out 0.9s both;
}

.cta-primary {
  background: linear-gradient(135deg, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 0%, rgb(var(--p1)) 50%, color-mix(in srgb, rgb(var(--p1)) 20%, rgb(0, 0, 0) 95%) 100%);
  background-size: 200% 200%;
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(var(--p1), 0.3),
              0 3px 10px rgb(0 0 0 / 94%);
  animation: gradientFlow 5s ease infinite;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.4s ease;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 1px 15px rgba(var(--p1), 0.9),
              0 5px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  background-size: 150% 150%;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.9rem 1.8rem;
  border: 2px solid rgba(var(--p1), 0.4);
  border-radius: 35px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(var(--p1), 0.12);
}

.cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(var(--p1), 0.12) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.cta-secondary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-secondary:hover {
  border-color: rgba(var(--p1), 0.7);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(var(--p1), 0.2);
}
/* Trust Features */
.trust-features {
  margin-top: 2.5rem;
  animation: fadeInUp 0.7s ease-out 1.1s both;
}

.trust-features .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.5rem;
}

.trust-features .col-md-4 {
  flex: 0 0 auto;
  width: calc(33.333% - 1rem);
  min-width: 280px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--p1), 0.12);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: auto;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgb(var(--p1)), rgba(var(--p1), 0.8), rgb(var(--p1)));
  background-size: 200% 100%;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  animation: gradientFlow 5s ease infinite;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.03) 0%, rgba(var(--p1), 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.01);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--p1), 0.25);
  box-shadow: 0 12px 28px rgba(var(--p1), 0.1),
              0 5px 12px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(6px);
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(var(--p1)), rgba(var(--p1), 0.8));
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite;
  z-index: -1;
  opacity: 0.3;
}

.feature-card:hover .feature-icon {
  transform: scale(1.06) rotate(2deg);
  background: linear-gradient(135deg, rgba(var(--p1), 0.3) 0%, rgba(var(--p1), 0.25) 100%);
}

.feature-icon i {
  font-size: 18px;
  color: rgb(var(--p1));
  filter: drop-shadow(0 0 6px rgba(var(--p1), 0.5));
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 1;
  visibility: visible;
}

/* Fallback for feature icons if Phosphor doesn't load */
.feature-icon i:not([class*="ph-"]) {
  display: none;
}

.feature-icon i:not([class*="ph-"])::before {
  content: "●";
  display: inline-block;
  font-size: 18px;
  color: rgb(var(--p1));
}

.feature-card:hover .feature-icon i {
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(var(--p1), 0.7));
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.7rem;
  font-family: "Lora", serif;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
  color: rgb(var(--p1));
  text-shadow: 0 0 8px rgba(var(--p1), 0.3);
}

.feature-description {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-description {
  color: rgba(255, 255, 255, 0.85);
}

/* Enhanced animations for better engagement */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(0.3deg); }
  50% { transform: translateY(-8px) rotate(0deg); }
  75% { transform: translateY(-4px) rotate(-0.3deg); }
}

.feature-card {
  animation: float 12s ease-in-out infinite;
}

.feature-card:nth-child(2) {
  animation-delay: 4s;
}

.feature-card:nth-child(3) {
  animation-delay: 8s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .next-project {
    min-height: 50vh;
    padding: 1.5rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-title-gradient {
    font-size: 2.4rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
  }
  
  .feature-card {
    padding: 1.4rem 0.8rem;
  }
  
  .feature-icon {
    width: 38px;
    height: 38px;
  }
  
  .feature-icon i {
    font-size: 16px;
  }
  
  .feature-title {
    font-size: 1.1rem;
  }
  
  .premium-icon {
    width: 50px;
    height: 50px;
  }
  
  .premium-icon i {
    font-size: 20px;
  }
  
  .hero-actions {
    margin-bottom: 2rem;
  }
  
  .trust-features {
    margin-top: 2rem;
  }
  
  .trust-features .row {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .trust-features .col-md-4 {
    width: calc(50% - 0.5rem);
    min-width: auto;
  }
}

@media (max-width: 576px) {
  .next-project {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-title-gradient {
    font-size: 2.2rem;
  }
  
  .hero-text {
    font-size: 0.95rem;
  }
  
  .cta-primary,
  .cta-secondary {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
  }
  
  .feature-card {
    padding: 1.2rem 0.6rem;
  }
  
  .feature-icon {
    width: 35px;
    height: 35px;
  }
  
  .feature-icon i {
    font-size: 15px;
  }
  
  .feature-title {
    font-size: 1rem;
  }
  
  .feature-description {
    font-size: 0.8rem;
  }
  
  .premium-icon {
    width: 45px;
    height: 45px;
  }
  
  .premium-icon i {
    font-size: 18px;
  }
  
  .hero-headline {
    margin-bottom: 1.2rem;
  }
  
  .hero-description {
    margin-bottom: 1.8rem;
  }
  
  .hero-actions {
    margin-bottom: 1.8rem;
  }
  
  .trust-features {
    margin-top: 1.8rem;
  }
  
  .trust-features .col-md-4 {
    width: 100%;
    min-width: auto;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Blog Section Styles */
.blog-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  position: relative;
  overflow: hidden;
}

.blog-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(var(--p1), 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(var(--p1), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Blog Categories Filter */
.blog-categories {
  margin-bottom: 2rem;
}

.category-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  color: rgba(var(--n5), 0.8);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.category-btn:hover {
  background: rgba(var(--p1), 0.15);
  border-color: rgba(var(--p1), 0.4);
  color: rgb(var(--p1));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--p1), 0.2);
}

.category-btn.active {
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.15) 100%);
  border-color: rgba(var(--p1), 0.5);
  color: rgb(var(--p1));
  box-shadow: 0 4px 16px rgba(var(--p1), 0.3);
}

.category-btn i {
  font-size: 1rem;
}

/* Blog Posts */
.blog-post {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--p1), 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  height: 100%;
  position: relative;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(var(--p1), 0.15);
  border-color: rgba(var(--p1), 0.25);
}

.blog-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.blog-post:hover::before {
  opacity: 1;
}

.featured-post {
  background: linear-gradient(135deg, rgba(var(--p1), 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(var(--p1), 0.2);
}

.featured-post:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(var(--p1), 0.2);
}

.post-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
}

.post-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.post-category {
  background: rgba(var(--p1), 0.9);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(var(--p1), 0.3);
}

.post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(var(--n5), 0.7);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-meta i {
  font-size: 0.9rem;
  color: rgb(var(--p1));
}

.post-title {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: rgb(var(--p1));
}

.featured-post .post-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.post-excerpt {
  color: rgba(var(--n5), 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(var(--p1), 0.1);
  color: rgb(var(--p1));
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(var(--p1), 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(var(--p1), 0.2);
  transform: translateY(-1px);
}

/* Load More Button */
.load-more-btn {
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, rgba(var(--p1), 0.05) 100%);
  border: 2px solid rgba(var(--p1), 0.3);
  color: rgb(var(--p1));
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.load-more-btn:hover {
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.15) 100%);
  border-color: rgba(var(--p1), 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--p1), 0.25);
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(var(--p1), 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(var(--p1), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.newsletter-card:hover::before {
  opacity: 1;
}

.newsletter-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(var(--p1), 0.3);
}

.newsletter-icon i {
  font-size: 1.5rem;
  color: rgb(var(--p1));
}

.newsletter-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-description {
  color: rgba(var(--n5), 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.newsletter-form .form-control::placeholder {
  color: rgba(var(--n5), 0.6);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.05);
}

.newsletter-form .btn {
  background: linear-gradient(135deg, rgba(var(--p1), 0.8) 0%, rgba(var(--p1), 0.6) 100%);
  border: none;
  color: white;
  padding: 1rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
  background: linear-gradient(135deg, rgba(var(--p1), 1) 0%, rgba(var(--p1), 0.8) 100%);
  transform: translateX(2px);
}

/* Enhanced Blog Styles - Modern, Premium, Dynamic, Elegant */

/* Blog Header Enhancement */
.blog-header-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(var(--p1), 0.3);
  position: relative;
  overflow: hidden;
  animation: blogPulse 3s ease-in-out infinite;
}

.blog-header-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 4s infinite;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, rgb(var(--p1)) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s ease-in-out infinite;
}

.blog-stats {
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(var(--p1), 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(var(--p1), 0.2);
  border-color: rgba(var(--p1), 0.4);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgb(var(--p1));
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(var(--n5), 0.8);
  font-weight: 500;
}

/* Blog Header Enhancement */
.blog-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  padding: 3rem 0 2rem 0;
}

.blog-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(var(--p1), 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(var(--p1), 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(var(--p1), 0.05) 50%, transparent 70%);
  animation: backgroundShift 8s ease-in-out infinite;
  pointer-events: none;
}

.blog-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

/* Enhanced Blog Categories */
.blog-categories {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--p1), 0.1);
  border-radius: 20px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.blog-categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--p1), 0.1), transparent);
  animation: shimmer 3s infinite;
}

.category-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  color: rgba(var(--n5), 0.8);
  padding: 0.8rem 1.5rem;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--p1), 0.2), transparent);
  transition: left 0.5s ease;
}

.category-btn:hover::before {
  left: 100%;
}

.category-btn:hover {
  background: rgba(var(--p1), 0.15);
  border-color: rgba(var(--p1), 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--p1), 0.3);
}

.category-btn.active {
  background: linear-gradient(135deg, rgba(var(--p1), 0.8) 0%, rgba(var(--p1), 0.6) 100%);
  border-color: rgba(var(--p1), 0.8);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(var(--p1), 0.4);
  transform: translateY(-2px);
}

.category-btn i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.category-btn:hover i {
  transform: scale(1.1);
}

/* Enhanced Blog Posts */
.blog-post {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--p1), 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(15px);
}

.blog-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.blog-post:hover::before {
  opacity: 1;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(var(--p1), 0.15);
  border-color: rgba(var(--p1), 0.3);
}

.featured-post {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(var(--p1), 0.05) 100%);
}

.featured-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(var(--p1), 0.2);
}

/* Enhanced Post Images */
.post-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.post-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9);
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.post-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.post-category {
  background: linear-gradient(135deg, rgba(var(--p1), 0.9) 0%, rgba(var(--p1), 0.7) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(var(--p1), 0.3);
}

/* Enhanced Post Content */
.post-content {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.post-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(var(--p1), 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-post:hover .post-content::before {
  opacity: 1;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-meta span {
  color: rgba(var(--n5), 0.7);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-meta i {
  color: rgba(var(--p1), 0.8);
  font-size: 0.9rem;
}

.post-title {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: rgb(var(--p1));
}

.featured-post .post-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.post-excerpt {
  color: rgba(var(--n5), 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(var(--p1), 0.1);
  color: rgba(var(--p1), 0.9);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(var(--p1), 0.2);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(var(--p1), 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Enhanced Load More Button */
.load-more-btn {
  background: linear-gradient(135deg, rgba(var(--p1), 0.8) 0%, rgba(var(--p1), 0.6) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--p1), 0.3);
}

.load-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.load-more-btn:hover::before {
  left: 100%;
}

.load-more-btn:hover {
  background: linear-gradient(135deg, rgba(var(--p1), 1) 0%, rgba(var(--p1), 0.8) 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(var(--p1), 0.4);
}

/* Enhanced Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  margin: 2rem 0;
}

/* Enhanced Contact Page Styles */
.contact-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, transparent 50%, rgba(var(--p1), 0.05) 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
}

.contact-hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(var(--p1), 0.3);
  position: relative;
  overflow: hidden;
  animation: contactPulse 3s ease-in-out infinite;
}

.contact-hero-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 4s infinite;
}

.contact-hero-title {
  background: linear-gradient(135deg, #ffffff 0%, rgb(var(--p1)) 20%, #ffffff 40%, rgb(var(--p1)) 60%, #ffffff 80%, rgb(var(--p1)) 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: contactGradientFlow 6s ease-in-out infinite;
  position: relative;
}

.contact-hero-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, transparent 50%, rgba(var(--p1), 0.1) 100%);
  background-size: 200% 200%;
  animation: contactGlow 3s ease-in-out infinite alternate;
  z-index: -1;
  border-radius: 10px;
  filter: blur(20px);
}

.contact-hero-description {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-stats {
  margin-top: 2rem;
}

.contact-stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(var(--p1), 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, transparent 50%, rgba(var(--p1), 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-stat-item:hover::before {
  opacity: 1;
}

.contact-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--p1), 0.2);
  border-color: rgba(var(--p1), 0.4);
}

.contact-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: rgb(var(--p1));
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-social-links {
  margin-top: 2rem;
}

.contact-social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--p1));
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, transparent 50%, rgba(var(--p1), 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-social-icon:hover::before {
  opacity: 1;
}

.contact-social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(var(--p1), 0.3);
  border-color: rgba(var(--p1), 0.5);
  color: #ffffff;
}

.contact-icon-circle {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Details Section */
.contact-details-section {
  padding: 3rem 0;
}

.contact-details-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(var(--p1), 0.3);
  color: rgb(var(--p1));
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-details-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 4s infinite;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--p1), 0.15);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, transparent 50%, rgba(var(--p1), 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(var(--p1), 0.2);
  border-color: rgba(var(--p1), 0.3);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--p1));
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-card-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 4s infinite;
}

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

.contact-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--n5);
  margin-bottom: 0.5rem;
}

.contact-card-link,
.contact-card-text {
  color: rgba(var(--n4), 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.contact-card-link:hover {
  color: rgb(var(--p1));
}

.contact-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, transparent 50%, rgba(var(--p1), 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.contact-card:hover .contact-card-glow {
  opacity: 1;
}

/* Contact Form Section */
.contact-form-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  margin: 2rem 0;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-form-header {
  position: relative;
  z-index: 2;
}

.contact-form-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(var(--p1), 0.3);
  color: rgb(var(--p1));
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
  animation: contactPulse 3s ease-in-out infinite;
}

.contact-form-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 4s infinite;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--p1), 0.15);
  border-radius: 25px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.05) 0%, transparent 50%, rgba(var(--p1), 0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form-card:hover::before {
  opacity: 1;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form-field {
  position: relative;
}

.contact-input-wrapper,
.contact-textarea-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 12px;
  padding: 0.75rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-input-wrapper:hover,
.contact-textarea-wrapper:hover {
  border-color: rgba(var(--p1), 0.4);
  box-shadow: 0 5px 15px rgba(var(--p1), 0.1);
}

.contact-input-wrapper:focus-within,
.contact-textarea-wrapper:focus-within {
  border-color: rgba(var(--p1), 0.6);
  box-shadow: 0 0 20px rgba(var(--p1), 0.2);
}

.contact-input-icon,
.contact-textarea-icon {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  color: rgb(var(--p1));
  font-size: 1rem;
  z-index: 2;
}

.contact-input,
.contact-textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  padding-left: 2.2rem;
  outline: none;
  resize: vertical;
  min-height: 80px;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-input:focus,
.contact-textarea:focus {
  color: #ffffff;
}

.contact-input-glow,
.contact-textarea-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, transparent 50%, rgba(var(--p1), 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 15px;
}

.contact-input-wrapper:focus-within .contact-input-glow,
.contact-textarea-wrapper:focus-within .contact-textarea-glow {
  opacity: 1;
}

.contact-submit-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.contact-submit-btn {
  background: linear-gradient(135deg, rgb(var(--p1)) 0%, rgba(var(--p1), 0.8) 100%);
  border: none;
  border-radius: 50px;
  padding: 1.2rem 3rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 25px rgba(var(--p1), 0.3);
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-submit-btn:hover::before {
  opacity: 1;
}

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(var(--p1), 0.4);
}

.contact-submit-text {
  position: relative;
  z-index: 1;
}

.contact-submit-icon {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover .contact-submit-icon {
  transform: translateX(5px);
}

.contact-submit-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 50px;
}

.contact-submit-btn:hover .contact-submit-glow {
  opacity: 1;
}

/* Contact Animations */
@keyframes contactPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(var(--p1), 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(var(--p1), 0);
  }
}

@keyframes contactGradientFlow {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes contactGlow {
  0% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
  100% {
    background-position: 100% 50%;
    opacity: 0.7;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-stat-item {
    padding: 1rem;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
  
  .contact-hero-icon,
  .contact-form-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .contact-input-wrapper,
  .contact-textarea-wrapper {
    padding: 0.8rem;
  }
  
  .contact-input-icon,
  .contact-textarea-icon {
    top: 0.8rem;
    left: 0.8rem;
    font-size: 1rem;
  }
  
  .contact-input,
  .contact-textarea {
    padding-left: 2.2rem;
    font-size: 0.9rem;
    min-height: 45px;
  }
  
  .contact-textarea {
    min-height: 80px;
  }
  
  .contact-submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(var(--p1), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(var(--p1), 0.08) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(var(--p1), 0.03) 50%, transparent 70%);
  animation: backgroundShift 10s ease-in-out infinite;
  pointer-events: none;
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--p1), 0.15);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.newsletter-card:hover::before {
  opacity: 1;
}

.newsletter-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2) 0%, rgba(var(--p1), 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(var(--p1), 0.3);
  position: relative;
  overflow: hidden;
}

.newsletter-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

.newsletter-icon i {
  font-size: 1.8rem;
  color: rgb(var(--p1));
  z-index: 1;
}

.newsletter-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(var(--p1), 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-description {
  color: rgba(var(--n5), 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 1.2rem 1.8rem;
  font-size: 1rem;
}

.newsletter-form .form-control::placeholder {
  color: rgba(var(--n5), 0.6);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form .btn {
  background: linear-gradient(135deg, rgba(var(--p1), 0.9) 0%, rgba(var(--p1), 0.7) 100%);
  border: none;
  color: white;
  padding: 1.2rem 1.8rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.newsletter-form .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.newsletter-form .btn:hover::before {
  left: 100%;
}

.newsletter-form .btn:hover {
  background: linear-gradient(135deg, rgba(var(--p1), 1) 0%, rgba(var(--p1), 0.8) 100%);
  transform: translateX(3px);
  box-shadow: 0 8px 25px rgba(var(--p1), 0.4);
}

/* Blog Responsive Design */
@media (max-width: 768px) {
  .blog-header-icon {
    width: 60px;
    height: 60px;
  }
  
  .blog-header-icon i {
    font-size: 2rem !important;
  }
  
  .blog-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 0.8rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .blog-categories {
    gap: 0.5rem;
  }
  
  .category-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .featured-post .post-title {
    font-size: 1.4rem;
  }
  
  .post-content {
    padding: 1.2rem;
  }
  
  .newsletter-card {
    padding: 2rem 1.5rem;
  }
  
  .newsletter-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .category-btn i {
    font-size: 0.9rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .newsletter-form .input-group {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    border-radius: 8px;
    margin-top: 0.5rem;
  }
}

/* Blog Post Page Styles */
.blog-post-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  position: relative;
  overflow: hidden;
}

.blog-post-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(var(--p1), 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(var(--p1), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.post-header {
  position: relative;
  z-index: 2;
}

.post-category-badge {
  background: rgba(var(--p1), 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(var(--p1), 0.3);
  display: inline-block;
  margin-bottom: 1rem;
}

.post-title {
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.post-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(var(--n5), 0.9);
}

/* Blog Post Content */
.blog-post-article {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--p1), 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.blog-post-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--p1), 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.post-featured-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.article-content {
  position: relative;
  z-index: 2;
}

.article-content h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.3;
}

.article-content h3 {
  color: rgb(var(--p1));
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  line-height: 1.4;
}

.article-content p {
  color: rgba(var(--n5), 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-content ul {
  color: rgba(var(--n5), 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-quote {
  background: linear-gradient(135deg, rgba(var(--p1), 0.1) 0%, rgba(var(--p1), 0.05) 100%);
  border-left: 4px solid rgb(var(--p1));
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: #ffffff;
  position: relative;
}

.article-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(var(--p1), 0.3);
  font-family: serif;
}

.code-block {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #e0e0e0;
  overflow-x: auto;
  backdrop-filter: blur(10px);
}

.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.image-caption {
  color: rgba(var(--n5), 0.7);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.5rem;
  text-align: center;
}

/* Author Bio */
.author-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--p1), 0.15);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(var(--p1), 0.3);
}

.author-name {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-description {
  color: rgba(var(--n5), 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(var(--p1), 0.1);
  border: 1px solid rgba(var(--p1), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--p1));
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(var(--p1), 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--p1), 0.3);
}

/* Related Posts */
.related-title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.related-post-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--p1), 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--p1), 0.15);
  border-color: rgba(var(--p1), 0.25);
}

.related-post-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-content h4 {
  margin-bottom: 0.5rem;
}

.related-post-content h4 a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
  color: rgb(var(--p1));
}

.related-post-content p {
  color: rgba(var(--n5), 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Blog Post Responsive Design */
@media (max-width: 768px) {
  .blog-post-article {
    padding: 2rem 1.5rem;
  }
  
  .article-content h2 {
    font-size: 1.6rem;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
  }
  
  .article-content p {
    font-size: 1rem;
  }
  
  .author-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .author-avatar img {
    width: 60px;
    height: 60px;
  }
  
  .related-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .blog-post-article {
    padding: 1.5rem 1rem;
  }
  
  .article-content h2 {
    font-size: 1.4rem;
  }
  
  .article-content h3 {
    font-size: 1.1rem;
  }
  
  .article-quote {
    padding: 1.5rem;
    font-size: 1rem;
  }
  
  .code-block {
    padding: 1rem;
    font-size: 0.8rem;
  }
  
  .related-post-content {
    padding: 1rem;
  }
  
  .related-post-content h4 a {
    font-size: 1rem;
  }
}

/* Focus states for accessibility */
.cta-primary:focus,
.cta-secondary:focus {
  outline: 2px solid rgba(var(--p1));
  outline-offset: 2px;
}

.feature-card:focus-within {
  outline: 2px solid rgba(var(--p1));
  outline-offset: 2px;
}


/* Loading animation for better perceived performance */
.next-project-hero {
  opacity: 0;
  animation: fadeIn 0.7s ease-out 0.1s forwards;
}

/* Blog Animation Keyframes */
@keyframes blogFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blogSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blogPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes blogGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(var(--p1), 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(var(--p1), 0.6);
  }
}

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

/* Blog Post Animation Classes */
.blog-post {
  animation: blogFadeInUp 0.6s ease-out;
}

.blog-post:nth-child(2) {
  animation-delay: 0.1s;
}

.blog-post:nth-child(3) {
  animation-delay: 0.2s;
}

.blog-post:nth-child(4) {
  animation-delay: 0.3s;
}

.blog-post:nth-child(5) {
  animation-delay: 0.4s;
}

.blog-post:nth-child(6) {
  animation-delay: 0.5s;
}

/* Category Button Animations */
.category-btn {
  animation: blogSlideIn 0.5s ease-out;
}

.category-btn:nth-child(1) { animation-delay: 0.1s; }
.category-btn:nth-child(2) { animation-delay: 0.2s; }
.category-btn:nth-child(3) { animation-delay: 0.3s; }
.category-btn:nth-child(4) { animation-delay: 0.4s; }
.category-btn:nth-child(5) { animation-delay: 0.5s; }

/* Newsletter Card Animation */
.newsletter-card {
  animation: blogFadeInUp 0.8s ease-out;
}

/* Loading State Enhancement */
#loading-state {
  animation: blogPulse 2s infinite;
}

#loading-state .spinner-border {
  animation: blogGlow 2s infinite;
}

/* Enhanced Hover Effects */
.blog-post:hover {
  animation: blogFloat 3s ease-in-out infinite;
}

.category-btn.active {
  animation: blogGlow 2s infinite;
}

/* Blog Grid Layout Enhancement */
#blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 1200px) {
  #blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .featured-post {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  #blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-post {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  #blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .featured-post {
    grid-column: span 1;
  }
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.whatsapp-btn:hover::before {
  transform: scale(1);
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 28px;
  animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: whatsappPulse 2s ease-in-out infinite;
  pointer-events: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.whatsapp-tooltip .tooltip-arrow {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(0, 0, 0, 0.9);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-5px);
}

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

@keyframes whatsappPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-btn {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-icon {
    font-size: 24px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* ============================================
   PREMIUM CONTACT PAGE STYLES
   ============================================ */

.premium-contact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(var(--p1), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--p1), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(var(--p1), 0.05) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(var(--p1), 0.1) 50%, 
    rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero-icon-container {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.hero-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--p1), 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: iconGlow 3s ease-in-out infinite;
}

.hero-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border: 2px solid rgba(var(--p1), 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: iconFloat 4s ease-in-out infinite;
}

.hero-icon i {
  font-size: 2.5rem;
  color: rgb(var(--p1));
  animation: iconPulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-line-1 {
  background: linear-gradient(135deg, #ffffff 0%, rgb(var(--p1)) 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 4s ease-in-out infinite;
}

.title-line-2 {
  background: linear-gradient(135deg, rgb(var(--p1)) 0%, #ffffff 50%, rgb(var(--p1)) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 4s ease-in-out infinite 0.5s;
}

.title-line-3 {
  background: linear-gradient(135deg, #ffffff 0%, rgb(var(--p1)) 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 4s ease-in-out infinite 1s;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.premium-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  min-width: 200px;
  text-align: center;
  transition: all 0.4s ease;
  animation: statCardFloat 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
  animation-delay: 1s;
}

.stat-card:nth-child(3) {
  animation-delay: 2s;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--p1), 0.5);
  box-shadow: 0 20px 40px rgba(var(--p1), 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid rgba(var(--p1), 0.3);
}

.stat-icon i {
  font-size: 1.5rem;
  color: rgb(var(--p1));
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
  min-width: 120px;
}

.social-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--p1), 0.5);
  box-shadow: 0 15px 30px rgba(var(--p1), 0.2);
  color: rgb(var(--p1));
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid rgba(var(--p1), 0.3);
  transition: all 0.3s ease;
}

.social-card:hover .social-icon {
  background: linear-gradient(135deg, rgba(var(--p1), 0.4), rgba(var(--p1), 0.2));
  border-color: rgba(var(--p1), 0.6);
  transform: scale(1.1);
}

.social-icon i {
  font-size: 1.2rem;
  color: rgb(var(--p1));
  transition: all 0.3s ease;
}

.social-card:hover .social-icon i {
  color: #ffffff;
}

.social-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.premium-contact-details {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
}

.premium-contact-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(var(--p1), 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(var(--p1), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.details-header {
  text-align: center;
  margin-bottom: 4rem;
}

.header-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(var(--p1), 0.3);
  position: relative;
}

.header-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(var(--p1), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: headerIconGlow 3s ease-in-out infinite;
}

.header-icon i {
  font-size: 2rem;
  color: rgb(var(--p1));
}

.details-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.details-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card.premium {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

.contact-card.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(var(--p1), 0.1) 0%, 
    transparent 50%, 
    rgba(var(--p1), 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card.premium:hover::before {
  opacity: 1;
}

.contact-card.premium:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(var(--p1), 0.5);
  box-shadow: 0 25px 50px rgba(var(--p1), 0.2);
}

.card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--p1), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card.premium:hover .card-glow {
  opacity: 1;
  animation: cardGlow 2s ease-in-out infinite;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(var(--p1), 0.3);
  transition: all 0.3s ease;
}

.contact-card.premium:hover .card-icon {
  background: linear-gradient(135deg, rgba(var(--p1), 0.4), rgba(var(--p1), 0.2));
  border-color: rgba(var(--p1), 0.6);
  transform: scale(1.1);
}

.card-icon i {
  font-size: 2rem;
  color: rgb(var(--p1));
  transition: all 0.3s ease;
}

.contact-card.premium:hover .card-icon i {
  color: #ffffff;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-link,
.card-text {
  font-size: 1.1rem;
  color: rgb(var(--p1));
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 1rem;
}

.card-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(var(--p1), 0.5);
}

.card-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Premium Contact Form Styles */
.contact-form-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(var(--p1), 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(var(--p1), 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-form-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(var(--p1), 0.3);
  position: relative;
}

.contact-form-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--p1), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: formIconGlow 3s ease-in-out infinite;
}

.contact-form-icon i {
  font-size: 2.5rem;
  color: rgb(var(--p1));
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(var(--p1), 0.05) 0%, 
    transparent 50%, 
    rgba(var(--p1), 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-form-card:hover::before {
  opacity: 1;
}

.contact-form-card:hover {
  border-color: rgba(var(--p1), 0.3);
  box-shadow: 0 30px 60px rgba(var(--p1), 0.1);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-form-field {
  position: relative;
}

.contact-input-wrapper,
.contact-textarea-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-input-wrapper:hover,
.contact-textarea-wrapper:hover {
  border-color: rgba(var(--p1), 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.contact-input-wrapper:focus-within,
.contact-textarea-wrapper:focus-within {
  border-color: rgba(var(--p1), 0.6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(var(--p1), 0.2);
}

.contact-input-icon,
.contact-textarea-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.2rem;
  color: rgba(var(--p1), 0.7);
  transition: all 0.3s ease;
}

.contact-input-wrapper:focus-within .contact-input-icon,
.contact-textarea-wrapper:focus-within .contact-textarea-icon {
  color: rgb(var(--p1));
  transform: scale(1.1);
}

.contact-input,
.contact-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
  padding-left: 3rem;
  font-family: inherit;
  resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-input:focus,
.contact-textarea:focus {
  color: #ffffff;
}

.contact-textarea {
  min-height: 120px;
  padding-top: 1rem;
}

.contact-submit-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.contact-submit-btn {
  position: relative;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border: 2px solid rgba(var(--p1), 0.5);
  border-radius: 50px;
  padding: 1.5rem 3rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.contact-submit-btn:hover::before {
  left: 100%;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, rgba(var(--p1), 0.4), rgba(var(--p1), 0.2));
  border-color: rgba(var(--p1), 0.8);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(var(--p1), 0.3);
}

.contact-submit-text {
  position: relative;
  z-index: 2;
}

.contact-submit-icon {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover .contact-submit-icon {
  transform: translateX(5px);
}

/* Premium Animations */
@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes iconGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

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

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes titleGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes headerIconGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes cardGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes formIconGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Responsive Design for Premium Contact */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .premium-stats {
    gap: 1.5rem;
  }
  
  .stat-card {
    min-width: 150px;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .premium-social-links {
    gap: 1rem;
  }
  
  .social-card {
    min-width: 100px;
    padding: 1rem;
  }
  
  .details-title {
    font-size: 2.5rem;
  }
  
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .premium-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-card {
    width: 100%;
    max-width: 250px;
  }
  
  .premium-social-links {
    justify-content: center;
  }
  
  .details-title {
    font-size: 2rem;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .contact-input-wrapper,
  .contact-textarea-wrapper {
    padding: 1rem;
  }
  
  .contact-input-icon,
  .contact-textarea-icon {
    top: 1rem;
    left: 1rem;
  }
  
  .contact-input,
  .contact-textarea {
    padding-left: 2.5rem;
  }
}

/* ============================================
   PREMIUM SOCIAL MEDIA SECTION STYLES
   ============================================ */

.premium-social-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.premium-social-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(var(--p1), 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(var(--p1), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.social-header {
  text-align: center;
  margin-bottom: 4rem;
}

.social-header-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 2px solid rgba(var(--p1), 0.3);
  position: relative;
}

.social-header-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(var(--p1), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: socialHeaderGlow 3s ease-in-out infinite;
}

.social-header-icon i {
  font-size: 2.5rem;
  color: rgb(var(--p1));
}

.social-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.social-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.social-platforms-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.platform-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  display: block;
  min-width: 120px;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(var(--p1), 0.1) 0%, 
    transparent 50%, 
    rgba(var(--p1), 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(var(--p1), 0.5);
  box-shadow: 0 25px 50px rgba(var(--p1), 0.2);
}

.platform-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--p1), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.platform-card:hover .platform-glow {
  opacity: 1;
  animation: platformGlow 2s ease-in-out infinite;
}

.platform-content {
  position: relative;
  z-index: 2;
}

.platform-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid rgba(var(--p1), 0.3);
  transition: all 0.3s ease;
}

.platform-card:hover .platform-icon {
  background: linear-gradient(135deg, rgba(var(--p1), 0.4), rgba(var(--p1), 0.2));
  border-color: rgba(var(--p1), 0.6);
  transform: scale(1.1);
}

.platform-icon i {
  font-size: 1.2rem;
  color: rgb(var(--p1));
  transition: all 0.3s ease;
}

.platform-card:hover .platform-icon i {
  color: #ffffff;
}

.platform-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.platform-description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.platform-arrow {
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, rgba(var(--p1), 0.2), rgba(var(--p1), 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(var(--p1), 0.3);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.platform-card:hover .platform-arrow {
  background: linear-gradient(135deg, rgba(var(--p1), 0.4), rgba(var(--p1), 0.2));
  border-color: rgba(var(--p1), 0.6);
  transform: translateX(5px);
  opacity: 1;
}

.platform-arrow i {
  font-size: 0.7rem;
  color: rgb(var(--p1));
  transition: all 0.3s ease;
}

.platform-card:hover .platform-arrow i {
  color: #ffffff;
}

/* Social Media Section Animations */
@keyframes socialHeaderGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes platformGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Responsive Design for Social Media Section */
@media (max-width: 768px) {
  .social-title {
    font-size: 2.5rem;
  }
  
  .social-platforms-grid {
    gap: 0.8rem;
    max-width: 500px;
  }
  
  .platform-card {
    padding: 1.2rem 0.8rem;
    min-width: 100px;
  }
}

@media (max-width: 576px) {
  .social-title {
    font-size: 2rem;
  }
  
  .social-platforms-grid {
    gap: 0.6rem;
    max-width: 400px;
  }
  
  .platform-card {
    padding: 1rem 0.6rem;
    min-width: 90px;
  }
  
  .platform-icon {
    width: 35px;
    height: 35px;
  }
  
  .platform-icon i {
    font-size: 1rem;
  }
  
  .platform-title {
    font-size: 0.8rem;
  }
  
  .platform-arrow {
    width: 20px;
    height: 20px;
  }
  
  .platform-arrow i {
    font-size: 0.6rem;
  }
}