/*CUSTOM BOOTSRAP */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

html,
body {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed header */
}

body {
  background-color: black;
  width: 100vw !important;
  overflow-x: hidden !important;
}

.overflow-hidden {
  overflow-x: hidden !important;
}
/* Apply overflow-x hidden to specific sections that need it */
.reviews-carousel,
.full-screen-parent,
.ourwork {
  overflow-x: hidden !important;
}

.whatwedo {
  overflow-x: visible !important;
}

/* Ensure main container doesn't overflow */
.container {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}
/* PAGE LOAD ANIMATIONS */
@keyframes slideDownFadeIn {
  0% {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Initial hidden states - removed for CSS-only animations */

/* Animation classes - moved to direct CSS */

:root {
  --bs-primary: #0d6efd;

  --bs-primary-dark: #0056b3; /* Darker variant */
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #ffffff;
  --bs-dark: #000000;
  --bs-grey: #121e32;
}

/* Only change h1, h2, and p sizes - keep everything else default */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap");

h1,
h2,
h3,
h4,
h5 {
  font-family: "Inter", sans-serif !important;
  font-weight: 500 !important;
  color: rgb(212, 212, 212);
}

p {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  font-size: 1rem !important;
  color: white;
}

h1 {
  font-size: 2.6rem !important;
  margin: 0px !important;
}

h2 {
  font-size: 2.4rem !important;
}

.light {
  opacity: 0.5;
}

/* CIRCULAR HEADER */
.circular-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 50px;
  background: transparent;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 30px 30px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: slideDownFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Scrolled state */
.circular-header.scrolled {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 40px;
}

.logo h3 {
  margin: 0;
  font-weight: 700;
  color: white;
  font-size: 1.5rem;
  transition: color 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.circular-header.scrolled .logo h3 {
  color: var(--bs-primary);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.circular-header.scrolled .nav-links a {
  color: #333;
}

.nav-links a:hover {
  color: var(--bs-primary);
  transform: translateY(-2px);
}

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

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

.btn-contact {
  background: white;
  color: black;
  padding: 4px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.circular-header.scrolled .btn-contact {
  background: var(--bs-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-contact:hover {
  background: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.circular-header.scrolled .btn-contact:hover {
  background: var(--bs-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

/* Responsive Header */
@media (max-width: 768px) {
  .circular-header {
    width: 95%;
    height: 70px;
  }

  .header-content {
    padding: 0 20px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .logo h3 {
    font-size: 1.3rem;
  }

  .btn-contact {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 580px) {
  .nav-links {
    display: none;
  }

  .header-content {
    justify-content: space-between;
  }
}

/* HERO */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 0.4s ease-out 0.1s both;
  padding-top:60px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at top right,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.02) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

#hero-text {
  font-size: 3.5rem !important;
  animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}



.hero-description {
  max-width: 750px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media(max-width:1080px){
  .hero-description {
    padding:0 50px;
}

}


@media (max-width:768px){
  #hero-text {
  font-size: 3rem !important;
  }
}

@media (max-width:610px){
  #hero-text {
    font-size: 3rem !important;
  }

  .hero-line-1 {
    display: block;
  }

  .hero-line-2 {
    display: block;
    margin-bottom: 0.5rem;
  }

  #hero-text br {
    display: none;
  }
}

@media (max-width: 480px) {
  #hero-text {
    font-size: 2.5rem !important;
  }

  .hero-line-1,
  .hero-line-2 {
    line-height: 1.1;
  }
}

@media (max-width: 360px) {
  #hero-text {
    font-size: 2.2rem !important;
  }
}

.cta {
  position: relative;
  padding: 10px 20px;
  border-radius: 7px;
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  background: white;
  color: black;
  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.cta:hover {
  background: rgb(61, 106, 255);
  box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  color: white;
}

.cta:hover::before {
  -webkit-animation: sh02 0.5s 0s linear;
  -moz-animation: sh02 0.5s 0s linear;
  animation: sh02 0.5s 0s linear;
}

.cta::before {
  content: "";
  display: block;
  width: 0px;
  height: 86%;
  position: absolute;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -o-transform: skewX(-20deg);
  transform: skewX(-20deg);
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
    left: 100%;
  }
}

.cta:active {
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: box-shadow 0.2s ease-in;
  -moz-transition: box-shadow 0.2s ease-in;
  transition: box-shadow 0.2s ease-in;
}

/* Circle around Special Websites */
.circle-text {
  position: relative;
  display: inline-block;
  margin: 0 10px;
}

.hand-drawn-oval {
  position: absolute;
  pointer-events: none;
  scale: 1;
  z-index: -1;
}

.primary-oval {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: auto;
}

.secondary-oval {
  top: 55%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: auto;
  opacity: 0.6;
}

.primary-oval ellipse {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawPrimaryOval 2.5s ease-in-out 1s forwards;
}

.secondary-oval ellipse {
  stroke-dasharray: 750;
  stroke-dashoffset: 750;
  animation: drawSecondaryOval 2.8s ease-in-out 1.1s forwards;
}

@keyframes drawPrimaryOval {
  0% {
    stroke-dashoffset: 700;
    opacity: 0;
  }
  5% {
    opacity: 0.9;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.9;
  }
}

@keyframes drawSecondaryOval {
  0% {
    stroke-dashoffset: 750;
    opacity: 0;
  }
  5% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.6;
  }
}

/* Responsive styling for hand-drawn ovals */
@media (max-width: 768px) {
  .primary-oval {
    width: 125%;
  }

  .secondary-oval {
    width: 130%;
    top: 56%;
    left: 53%;
  }

  .primary-oval ellipse {
    stroke-width: 2.2;
  }

  .secondary-oval ellipse {
    stroke-width: 1.8;
  }
}

@media (max-width: 480px) {
  .primary-oval {
    width: 130%;
  }

  .secondary-oval {
    width: 135%;
    top: 57%;
    left: 54%;
  }

  .primary-oval ellipse {
    stroke-width: 2;
  }

  .secondary-oval ellipse {
    stroke-width: 1.5;
  }
}

/* Quote Section Styling */
.quote {
  padding: clamp(4rem, 10vw, 8rem) 0;
  display: flex;
  align-items: center;
  position: relative;
  background: black; /* Black background */
  margin-top:-200px;
}

.quote-text {
  font-size: 3rem !important;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
  white-space: pre-wrap; /* Preserve spacing and allow wrapping */
  word-wrap: break-word; /* Ensure long words break properly */
  word-break: keep-all; /* Prevents word breaking */
  overflow-wrap: normal; /* Don't break words */
  hyphens: none; /* No hyphenation */
  /* Apply gradient to text */
  background: linear-gradient(45deg, #ffffff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.quote-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.15s ease-out;
  min-width: 0; /* Prevent layout shifts */
  /* Apply gradient to individual letters */
  background: linear-gradient(45deg, #d5d5d5 0%, #414141 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.quote-letter.visible {
  opacity: 1;
  transform: translateY(0);
}

.quote-letter.space {
  width: 0.3em;
  min-width: 0.3em; /* Ensure consistent space width */
}

/* Quote word wrapping styles */
.quote-word {
  display: inline-block;
  white-space: nowrap; /* Prevents word from breaking */
}

/* STATS SECTION */

.stats-section {
  margin: 100px 0;
  padding: 40px 0;
  background: transparent;
  border-radius: 0;
  position: relative;
  overflow: visible!important;
  z-index:9999;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  bottom: -200px;
  background: linear-gradient(
    180deg,
    transparent 0%,



    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}

.stats-section::after {
  content: "";
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  bottom: -150px;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.01) 70%,
    transparent 90%
  );
  pointer-events: none;
  z-index: -1;
}

.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat-box {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  min-width: 220px;
  margin: 10px 0;
  overflow: hidden;
  z-index: 999999;
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.stat-box:hover::before {
  left: 100%;
}

.stat-box:hover {
  transform: translateY(-10px);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.stat-number {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* Responsive styles for stats section */
@media (max-width: 992px) {
  .stats-section {
    margin: 80px 0;
    padding: 60px 0;
  }

  .stats-container {
    gap: 40px;
  }

  .stat-box {
    padding: 35px 25px;
    min-width: 200px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .stats-section {
    margin: 60px 0;
    padding: 50px 20px;
  }

  .stats-container {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    padding: 30px 20px;
    min-width: 180px;
    width: 100%;
    max-width: 280px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .stats-section {
    margin: 50px 0;
    padding: 40px 15px;
  }

  .stats-container {
    gap: 25px;
  }

  .stat-box {
    padding: 25px 15px;
    min-width: 160px;
    max-width: 250px;
  }

  .stat-number {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
}

/* WHAT WE DO SECTION */
.whatwedo {
  position: relative;
  transition: opacity 1s ease;
  z-index: -10; /* Higher than imagecarousel to ensure proper stacking */
}

.whatwedo-sticky {


  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1; /* Higher z-index to ensure proper stacking */
}


.whatwedo-title {
  font-size: 6rem !important;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0; /* Remove bottom margin */
  background: linear-gradient(185deg, #949494 0%, #000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  z-index: 10;
  position: sticky;
  top: 50%;
  margin-top:100px;
  margin-bottom:400px;
  transform: translateY(-50%);
  pointer-events: none;
}

.services-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 1000px; /* Slightly smaller for better centering */
  padding: 0 40px;
  z-index: 20;
  height: auto;

}



.service-box {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  min-height: 10vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, rgb(31, 31, 31) 0%, black 100%);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 25;
  transition: box-shadow 0.3s;
  opacity: 0.98;
  transition: opacity 0.3s;
  height:400px;
}

@media (max-width:530px){

  .service-box {

  height:450px;
}
}

/* Service box hover effects - kept for image scaling */
.service-box:hover .service-image img {
  transform: scale(1.1);
}



.service-content {
  flex: 1;
  padding-right: 40px;
}

.service-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-content p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.service-image {
  flex: 0 0 400px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.service-box:hover .service-image img {
  transform: scale(1.1);
}

/* Service Shapes */


/* Ecommerce - Shopping Cart */
.shape-ecommerce {
  background: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.cart-icon {
  position: relative;
}

.cart-body {
  width: 80px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  position: relative;
  border: 3px solid #000000;
}

.cart-body::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 10px;
  width: 40px;
  height: 15px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px 8px 0 0;
  border: 3px solid #000000;
  border-bottom: none;
}

.cart-wheels {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  margin-left: 15px;
}

.wheel {
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 50%;
}

/* Business - Building */
.shape-business {
  background: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.building {
  position: relative;
}

.building-base {
  width: 100px;
  height: 120px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px 8px 0 0;
  border: 3px solid #000000;
}

.building-windows {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.window {
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 2px;
}

/* Portfolio - Grid */
.shape-portfolio {
  background: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.grid-item {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  border: 3px solid #000000;
}

.grid-item.main {
  grid-column: span 2;
  height: 35px;
}

/* Real Estate - House */
.shape-realestate {
  background: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.house {
  position: relative;
}

.house-roof {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 40px solid rgba(255, 255, 255, 0.95);
}

.house-body {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  margin: 0 10px;
  border-radius: 0 0 8px 8px;
  border: 3px solid #000000;
  border-top: none;
}

.door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 40px;
  background: #000000;
  border-radius: 8px 8px 0 0;
}

.house-window {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  background: #000000;
  border-radius: 4px;
}

/* Blog - Document */
.shape-blog {
  background: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.blog-post {
  width: 100px;
  height: 130px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 15px;
  position: relative;
  border: 3px solid #000000;
}

.post-header {
  width: 100%;
  height: 20px;
  background: #000000;
  border-radius: 4px;
  margin-bottom: 15px;
}

.line {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 2px;
  margin-bottom: 8px;
}

.line.short {
  width: 60%;
}

/* Education - Graduation Cap & Book */
.shape-education {
  background: #000000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  flex-direction: column;
  gap: 20px;
}

.graduation-cap {
  position: relative;
}

.cap-top {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
  border-radius: 8px;
  border: 3px solid #000000;
}

.cap-tassel {
  position: absolute;
  top: -5px;
  right: -10px;
  width: 3px;
  height: 30px;
  background: #ffffff;
  border-radius: 2px;
}

.cap-tassel::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: -4px;
  width: 10px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

.book {
  width: 50px;
  height: 35px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  position: relative;
  border: 3px solid #000000;
}

.book-pages {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 44px;
  height: 29px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.6) 3px,
    rgba(0, 0, 0, 0.6) 4px
  );
  border-radius: 2px;
}



@media(min-width:994px){
  .service-shape {
  flex: 0 0 400px;
  height: 300px;
  display: block;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
}



/* Responsive */
@media (max-width: 992px) {
  .whatwedo-title {
    font-size: 5rem !important;
margin-bottom:300px;
  }

  .service-box {

height:300px;
  }

  .service-content {
      display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding-right: 0!important;
  }

  .service-content h3 {
    font-size: 2.2rem;
  }

  .service-image {
    flex: 0 0 250px;
    height: 200px;
  }

  .service-shape {
  display:none;
}


}

@media (max-width: 768px) {


  .whatwedo-title {
    font-size: 4rem !important;
  }

  .services-container {
    padding: 0 20px;
  }

  .service-content h3 {
    font-size: 1.8rem;
  }

  .service-content p {
    font-size: 1rem;
  }
}

@media(max-width:460px){
    .service-box {

height:400px;
  }
}

@media(max-width:360px){
    .service-box {

height:auto;
  }
}

/*OUR WORK */

.ourwork {
  background-color: black;
  opacity: 1;
  padding: 100px 0;
}

.ourwork-title {
  font-size: 8rem !important;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(185deg, #949494 0%, #000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Featured Projects Styles */

.featured-projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.projects-box {
  padding: 0px;
  margin: 0px 0px 40px 0px;
  border-top: solid #d9d9d930 1.5px;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  display: block;
}

.projects-box:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
  cursor: pointer;
}

.projects-box:hover {
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.projects-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.projects-text .first {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.projects-text .first img {
  width: 20px;
  height: auto;
}

.projects-img1 {
  overflow: hidden;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#special-img {
  height: 85vh;
  max-height: 600px;
}

#special-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-img1 img {
  filter: grayscale(100%);
  transition: all 0.3s linear;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-text p {
  padding-bottom: 0px;
  margin-bottom: 0px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: white;
}

.year {
  color: #999;
  font-size: 14px;
}

/* Projects Row Layout */
.projects-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* Add Button Styles */
.add-button {
  font-size: 90px;
  font-weight: 100;
  transition: all 0.3s ease-in;
  color: grey;
  text-decoration: none;
  display: inline-block;
}

.add-button:hover {
  font-size: 110px;
  font-weight: 100;
  transform-origin: center center;
  color: white;
  text-decoration: none;
}

.projects-img1.special {
  border: #ffffff30 solid 2px;
  width: 100%;
}

#featured-work {
  transform: perspective(1200px) rotateX(10deg) rotateY(-10deg) rotateZ(10deg);
}

/* Responsive Design */

@media only screen and (min-width: 1401px) {
  .featured-projects {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .featured-projects > .projects-box:first-child {
    width: 100%;
  }

  .projects-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 0;
  }

  .featured-projects > .projects-box:not(:first-child) {
    margin-bottom: 0;
  }

  .featured-projects > .projects-box:nth-child(2),
  .featured-projects > .projects-box:nth-child(3) {
    grid-column: span 1;
  }

  .featured-projects > .projects-box:nth-child(4),
  .featured-projects > .projects-box:nth-child(5) {
    grid-column: span 1;
  }

  /* Create rows for the non-first projects */
  .featured-projects > .projects-box:nth-child(2) {
    grid-row: 1;
    grid-column: 1;
  }

  .featured-projects > .projects-box:nth-child(3) {
    grid-row: 1;
    grid-column: 2;
  }

  .featured-projects > .projects-box:nth-child(4) {
    grid-row: 2;
    grid-column: 1;
  }

  .featured-projects > .projects-box:nth-child(5) {
    grid-row: 2;
    grid-column: 2;
  }

  /* Restructure layout */
  .featured-projects {
    display: block;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
  }


}

@media only screen and (max-width: 1400px) {
  #featured-work {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }

  .projects-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-img1 {
    width: 100%;
    height: 70vw;
    max-height: 500px;
  }

  #special-img {
    width: 100%;
    height: 70vw;
    max-height: 500px;
  }
    .ourwork-title {
  font-size: 12vw !important;

}
}

@media (max-width: 500px) {
  .whatwedo-title {
    font-size: 10vw!important;
  }

}


/* CTA SECTION */

.calltoaction {
  margin-top: 250px;
  margin-bottom: 200px;
  opacity: 1;
  transition: opacity 1s ease, transform 1s ease;
  position: relative;
  padding: 0 20px;
}

.calltoaction::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  bottom: -100px;
  background: radial-gradient(
    ellipse at center,
    rgba(13, 110, 253, 0.15) 0%,
    rgba(13, 110, 253, 0.08) 30%,
    rgba(13, 110, 253, 0.04) 50%,
    rgba(13, 110, 253, 0.02) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}

.cta-section {
  padding: 5rem 3rem;
  border-radius: 30px;
  color: var(--bs-light);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 110, 253, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

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

.cta-section:hover {

  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(13, 110, 253, 0.3),
    0 0 0 1px rgba(13, 110, 253, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(13, 110, 253, 0.4);
}

.cta-title {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.cta-subtitle {

  line-height: 1.6 !important;
  margin-bottom: 2.5rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.calltoactioncta {
  
  background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 
    0 8px 25px rgba(13, 110, 253, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.calltoactioncta::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;
}

.calltoactioncta:hover::before {
  left: 100%;
}

.calltoactioncta:hover {
  box-shadow: 
    0 15px 40px rgba(13, 110, 253, 0.6),
    0 0 30px rgba(13, 110, 253, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  background: linear-gradient(135deg, #0056b3 0%, #004494 100%) !important;
}

.calltoactioncta:active {
  transform: translateY(-1px) scale(1.02) !important;
}

/* Responsive CTA */
@media (max-width: 992px) {
  .calltoaction {
    margin-top: 150px;
    margin-bottom: 150px;
  }

  .cta-section {
    padding: 4rem 2.5rem;
    max-width: 900px;
  }

  .cta-title {
    font-size: 3rem !important;
  }

  .cta-subtitle {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .calltoaction {
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0 15px;
  }

  .cta-section {
    padding: 3rem 2rem;
    border-radius: 20px;
  }

  .cta-title {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
  }

  .cta-subtitle {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }

  .calltoactioncta {
    padding: 16px 30px !important;
    font-size: 1rem !important;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 2.5rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem !important;
  }

  .cta-subtitle {
    font-size: 1rem !important;
  }

  .calltoactioncta {
    padding: 14px 25px !important;
    font-size: 0.9rem !important;
  }
}

/* RATING SECTION */
.rating {
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.rating-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rating-badge {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeIn 0.6s ease-out;
}

.stars {
  display: flex;
  gap: 3px;
}

.star {
  color: #e6e6e6;
  font-size: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.rating-text {
  font-size: 12px !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .rating {
    padding: 30px 0;
  }

  .rating-badge {
    padding: 12px 25px;
    gap: 12px;
  }

  .star {
    font-size: 16px;
  }

  .rating-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .rating-badge {
    padding: 10px 20px;
    gap: 10px;
  }

  .star {
    font-size: 14px;
  }

  .rating-text {
    font-size: 11px;
  }
}

/* FAQ SECTION */
.faq {
  background-color: #000000;
  padding: 6rem 0;
  color: white;
}

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

.faq-title {
  font-size: 4rem !important;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--bs-primary);
}

.faq-question h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

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

.faq-icon {
  fill: white;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-toggle {
  background: var(--bs-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 0 2rem 0;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* SCROLLING CONTACT SECTION */
.full-screen-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  overflow: hidden;
  margin: 100px 0;
  width: 100vw;
  position: relative;
}

.full-screen-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 350px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 126px;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 100;
  white-space: nowrap;
  width: 100%;
  transition: all 0.1s linear;
  overflow: hidden;
  position: relative;
}

.scrolling-text {
  white-space: nowrap;
  font-size: inherit;
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
  display: flex;
  animation: scrollLeft 20s linear infinite;
}

.talk-with-us .scrolling-text {
  animation: scrollRight 20s linear infinite;
}

.text-content {
  flex-shrink: 0;
  display: inline-block;
}

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

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

/* Remove old styles */
.contactText,
.talkText {
  display: none;
}

/* Responsive styles for scrolling section */
@media only screen and (max-width: 1024px) {
  .full-screen-section {
    height: 180px;
  }

  .row {
    font-size: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .full-screen-section {
    height: 100px;
  }

  .row {
    font-size: 40px;
  }
}

/*FOOTER*/

.last-cta {
  border-top: solid rgba(255, 255, 255, 0.215) 1px;
  border-bottom: solid rgba(255, 255, 255, 0.215) 1px;
  background-color: black;
  display: flex;
  justify-content: center;
  text-align: center;
}

/* Footer Contact Styles */
.footer-contact {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.contact-link {
  color: #0d6dfd;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
    gap: 15px;
  }

  .contact-item {
    justify-content: center;
  }
}

/* REVIEWS SECTION */
.reviews-section {
  padding: 80px 0;
  background: black;
  overflow: hidden;
}

.reviews-title {
  text-align: center;
  font-size: 4rem !important;
  font-weight: 500 !important;
  color: rgb(212, 212, 212) !important;
  margin-bottom: 60px !important;
}

.reviews-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.reviews-track {
  display: flex;
  gap: 30px;
  animation: scrollReviews 40s linear infinite;
  width: fit-content;
}

.review-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  min-width: 350px;
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.review-stars {
  color: #d3d3d3;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.review-text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  font-style: italic;
}

.review-author h4 {
  color: white !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 5px !important;
}

.review-author span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Infinite scroll animation */
@keyframes scrollReviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Shadow effects on left and right */
.carousel-shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 2;
}

.left-shadow {
  left: 0;
  background: linear-gradient(to right, black 0%, transparent 100%);
}

.right-shadow {
  right: 0;
  background: linear-gradient(to left, black 0%, transparent 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 0;
  }

  .reviews-title {
    font-size: 2rem !important;
    margin-bottom: 40px !important;
  }

  .review-box {
    min-width: 280px;
    max-width: 280px;
    padding: 25px;
  }

  .carousel-shadow {
    width: 50px;
  }
}

/* GALLERY MODAL */
.gallery-modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-modal.active {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  opacity: 1;
  visibility: visible;
}

.gallery-container {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border-radius: 20px;
  max-width: 90vw;
  max-height: 90vh;
  width: 1200px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.gallery-modal.active .gallery-container {
  transform: scale(1);
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.gallery-header {
  padding: 30px 30px 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-header h3 {
  color: white !important;
  font-size: 1.8rem !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

.gallery-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  height: 60vh; /* Fixed height instead of max-height */
  width: 100%; /* Ensure full width */
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 15px;
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.gallery-nav:hover {
  background: rgba(13, 110, 253, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

.gallery-thumbnails {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.gallery-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.gallery-thumbnail.active {
  border-color: #0d6efd;
  transform: scale(1.05);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all 0.3s ease;
}

.gallery-thumbnail:hover .video-indicator {
  background: rgba(13, 110, 253, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 992px) {
  .gallery-container {
    max-width: 95vw;
    max-height: 95vh;
  }

  .gallery-content {
    padding: 20px;
    gap: 20px;
  }

  .gallery-header {
    padding: 20px 20px 15px 20px;
  }

  .gallery-header h3 {
    font-size: 1.5rem !important;
  }

  .gallery-main {
    height: 50vh; /* Fixed height for tablet */
  }

  .gallery-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .gallery-prev {
    left: 15px;
  }

  .gallery-next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .gallery-container {
    max-width: 98vw;
    max-height: 98vh;
  }

  .gallery-content {
    padding: 15px;
    gap: 15px;
  }

  .gallery-header {
    padding: 15px 15px 10px 15px;
  }

  .gallery-main {
    height: 40vh; /* Fixed height for mobile */
  }

  .gallery-thumbnail {
    width: 60px;
    height: 45px;
  }

  .gallery-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-content {
    padding: 10px;
    gap: 10px;
  }

  .gallery-main {
    height: 35vh; /* Fixed height for small mobile */
  }

  .gallery-thumbnails {
    gap: 10px;
  }

  .gallery-thumbnail {
    width: 50px;
    height: 40px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }
}

/* Add smooth scrolling offset for anchor links */
#hero,
#whatwedo,
#featured-work,
#faq,
#contact {
  scroll-margin-top: 80px; /* Accounts for fixed header height */
}
