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

:root {
  --gold: #d4af37;
  --gold-light: #f4e4b0;
  --gold-dark: #b8941f;
  --black: #000000;
  --black-soft: #0a0a0a;
  --gray-dark: #1a1a1a;
  --gray: #333333;
  --gray-light: #666666;
  --white: #ffffff;
  --white-soft: #f5f5f5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Added preloader styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  width: 140px;
  height: 140px;
  border: 2px solid rgba(212, 175, 55, 0.1);
  border-top: 2px solid var(--gold);
  border-radius: 50%;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-text {
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  animation: pulse 0.5s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Custom Cursor */
.cursor,
.cursor-follower {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 30002;
  transition: transform 0.2s ease;
}

.cursor {
  background-color: var(--gold);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  background-color: transparent;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease, width 0.3s ease, height 0.3s ease;
}

body:hover .cursor-follower {
  width: 50px;
  height: 50px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: var(--gold);
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--gold);
}

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

.nav-cta {
  padding: 0.75rem 1.5rem;
  background-color: var(--gold);
  color: var(--black) !important;
  border-radius: 2px;
  font-weight: 500;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background-color: var(--gold-light);
  color: var(--black) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
}

.hero-content {
  max-width: 1200px;
  text-align: center;
}

.hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.2s;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-light);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.scroll-indicator {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* Stats Section */
.stats {
  padding: 6rem 3rem;
  background-color: var(--black-soft);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background-color: rgba(212, 175, 55, 0.2);
}

/* Services Section */
.services {
  padding: 8rem 3rem;
  background-color: var(--black);
}

.section-header {
  max-width: 1400px;
  margin: 0 auto 5rem;
  text-align: center;
}

.section-label {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--gray-dark);
  padding: 3rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  background-color: var(--black-soft);
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.service-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.9rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  display: block;
}

.service-expand {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.875rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  width: 100%;
  justify-content: center;
}

.service-expand:hover {
  background-color: var(--gold);
  color: var(--black);
}

.service-expand svg {
  transition: transform 0.3s ease;
}

.service-expand:hover svg {
  transform: rotate(90deg);
}
/* Portfolio Section */
.portfolio {
  padding: 10rem 3rem;
  background-color: var(--black);
  position: relative;
}

.portfolio .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.portfolio .section-title span {
  color: var(--gold);
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-light);
  margin-bottom: 4rem;
  font-weight: 300;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-dark);
  border: 1px solid rgba(212, 175, 55, 0.1);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  group: "portfolio";
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 60%);
  z-index: 2;
  transition: all 0.4s ease;
}

.portfolio-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.portfolio-item p {
  font-size: 0.9rem;
  color: var(--gray-light);
  font-weight: 300;
  line-height: 1.5;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

/* Approach Section */
.approach {
  padding: 8rem 3rem;
  background-color: var(--black-soft);
}

.approach-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.approach-text {
  position: sticky;
  top: 150px;
}

.approach-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin-top: 2rem;
  font-weight: 300;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.approach-step {
  padding: 2.5rem;
  background-color: var(--gray-dark);
  border-left: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.approach-step:hover {
  background-color: var(--black);
  transform: translateX(10px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.step-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
}

.step-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--white);
}

.step-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-light);
  padding-left: 4.5rem;
  font-weight: 300;
}

/* Process Section */
.process {
  padding: 120px 0;
  background-color: var(--black-light);
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.process-step {
  display: flex;
  gap: 48px;
  margin-bottom: 80px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--gray);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
  background-color: var(--gold);
  color: var(--black);
  transform: scale(1.1);
}

.process-step-content {
  flex: 1;
  padding-top: 8px;
}

.process-step-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}

.process-step-description {
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}

.process-step-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.process-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--gray);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  font-size: 14px;
  color: var(--white-dim);
}

.process-detail svg {
  color: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .process {
    padding: 80px 0;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-step {
    gap: 24px;
    margin-bottom: 60px;
  }

  .process-step-number {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .process-step-title {
    font-size: 28px;
  }

  .process-step-description {
    font-size: 15px;
  }
}

/* Contact Section */
.contact {
  padding: 8rem 3rem;
  background-color: var(--black-soft);
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
}

.contact-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-light);
  margin: 2rem 0 3rem;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.contact-detail a,
.contact-detail span {
  font-size: 1.125rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: var(--gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--white);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--gray-dark);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--white);
  padding: 1rem;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background-color: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  background-color: var(--black);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 5rem 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo img {
  width: 250px;
 
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.logo-divider {
  width: 2px;
  height: 24px;
  background-color: var(--gold);
}

.logo-subtext {
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--gray-light);
  margin-top: 1rem;
  font-style: italic;
  font-weight: 300;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 300;
}

.footer-column a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-light);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .approach-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .approach-text {
    position: static;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-container {
    flex-direction: column;
    gap: 3rem;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .portfolio {
    padding: 6rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .service-card {
    padding: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal styles for project details */
.project-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}
.project-modal.open {
  display: flex;
}
.project-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}
.project-modal .modal-content {
  position: relative;
  max-width: 1100px;
  width: calc(100% - 48px);
  background: linear-gradient(180deg, rgba(10,10,10,0.98), rgba(5,5,5,0.98));
  border: 1px solid rgba(212,175,55,0.12);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  z-index: 20001;
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  z-index: 20002;
}
.modal-left { display: flex; flex-direction: column; gap: 12px; }
.modal-image-wrap { width: 100%; height: 420px; background: var(--gray-dark); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.modal-image { width:100%; height:100%; object-fit:contain; display:block; }
.modal-controls { display:flex; gap:8px; justify-content:center; }
.modal-prev, .modal-next { background: rgba(255,255,255,0.04); border:1px solid rgba(212,175,55,0.08); color:var(--white); padding:10px 14px; cursor:pointer; border-radius:4px; }
.modal-right { padding: 8px 12px; display:flex; flex-direction:column; gap:12px; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin:0; color:var(--gold); }
.modal-desc { color: var(--gray-light); line-height:1.6; }
.modal-thumbs { display:flex; gap:8px; flex-wrap:wrap; margin-top: 8px; }
.modal-thumbs button { width:72px; height:56px; border:1px solid rgba(212,175,55,0.08); background:var(--gray-dark); padding:0; cursor:pointer; overflow:hidden; }
.modal-thumbs img { width:100%; height:100%; object-fit:cover; display:block; }
.modal-thumbs button.active { outline: 2px solid var(--gold); }

@media (max-width: 900px) {
  .project-modal .modal-content { grid-template-columns: 1fr; max-width: 920px; }
  .modal-right { order: 2; }
  .modal-left { order: 1; }
  .modal-image-wrap { height: 320px; }
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 8rem 3rem;
  background-color: var(--black);
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.why-card {
  padding: 2.5rem;
  background-color: var(--gray-dark);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.why-card:hover::before {
  transform: translateX(100%);
}

.why-card:hover {
  background-color: var(--black-soft);
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.why-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background-color: var(--gold);
  color: var(--black);
  transform: scale(1.1);
}

.why-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}

.why-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-light);
  font-weight: 300;
}

/* Technologies Section */
.technologies {
  padding: 8rem 3rem;
  background-color: var(--black-soft);
}

.tech-container {
  max-width: 1400px;
  margin: 0 auto;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.tech-category {
  background-color: var(--gray-dark);
  padding: 2.5rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-category:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.tech-category-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--black);
  border: 1px solid rgba(212, 175, 55, 0.05);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background-color: var(--black-soft);
  border-color: var(--gold);
  transform: translateX(8px);
}

.tech-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.tech-item span {
  font-size: 1rem;
  color: var(--white);
  font-weight: 400;
}

/* Testimonials Section */
.testimonials {
  padding: 8rem 3rem;
  background-color: var(--black);
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  padding: 2.5rem;
  background-color: var(--gray-dark);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: var(--gold);
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--white);
  font-weight: 300;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.author-position {
  font-size: 0.875rem;
  color: var(--gray-light);
  font-weight: 300;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .why-choose-us,
  .technologies,
  .testimonials {
    padding: 6rem 1.5rem;
  }

  .why-grid,
  .tech-categories,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tech-category {
    padding: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }
}

/* Enhanced Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

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

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Ripple effect for buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

button, .btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}

/* Smooth scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hover animations enhancements */
.service-card,
.why-card,
.tech-category,
.testimonial-card,
.portfolio-item {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover,
.why-card:hover,
.tech-category:hover,
.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.portfolio-item:hover {
  transform: translateY(-12px) scale(1.03);
}

/* Glowing effect on hover for cards */
.service-card::after,
.why-card::after,
.tech-category::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover::after,
.why-card:hover::after,
.tech-category:hover::after,
.testimonial-card:hover::after {
  opacity: 1;
}

/* Text shimmer animation */
.section-title {
  background: linear-gradient(90deg, var(--white) 0%, var(--gold) 50%, var(--white) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Stagger animation for grid items */
.services-grid > *,
.why-grid > *,
.tech-categories > *,
.testimonials-grid > *,
.portfolio-grid > * {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.services-grid > *:nth-child(1),
.why-grid > *:nth-child(1),
.tech-categories > *:nth-child(1),
.testimonials-grid > *:nth-child(1),
.portfolio-grid > *:nth-child(1) { animation-delay: 0.1s; }

.services-grid > *:nth-child(2),
.why-grid > *:nth-child(2),
.tech-categories > *:nth-child(2),
.testimonials-grid > *:nth-child(2),
.portfolio-grid > *:nth-child(2) { animation-delay: 0.2s; }

.services-grid > *:nth-child(3),
.why-grid > *:nth-child(3),
.tech-categories > *:nth-child(3),
.testimonials-grid > *:nth-child(3),
.portfolio-grid > *:nth-child(3) { animation-delay: 0.3s; }

.services-grid > *:nth-child(4),
.why-grid > *:nth-child(4),
.tech-categories > *:nth-child(4),
.testimonials-grid > *:nth-child(4),
.portfolio-grid > *:nth-child(4) { animation-delay: 0.4s; }

.services-grid > *:nth-child(5),
.why-grid > *:nth-child(5),
.tech-categories > *:nth-child(5),
.testimonials-grid > *:nth-child(5),
.portfolio-grid > *:nth-child(5) { animation-delay: 0.5s; }

.services-grid > *:nth-child(6),
.why-grid > *:nth-child(6),
.tech-categories > *:nth-child(6),
.testimonials-grid > *:nth-child(6),
.portfolio-grid > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bounce animation for scroll indicator */
.scroll-indicator {
  animation: scrollPulse 2s ease-in-out infinite, bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Rotate on hover for service numbers */
.service-number,
.process-step-number {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-number,
.process-step:hover .process-step-number {
  transform: rotate(360deg) scale(1.1);
}

/* Tech item slide-in animation */
.tech-item {
  opacity: 0;
  animation: slideInFromLeft 0.5s ease forwards;
}

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

/* Modal entrance animation */
.project-modal.open .modal-content {
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.project-modal.open .modal-overlay {
  animation: fadeIn 0.3s ease;
}

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

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .section-title {
    animation: none;
    -webkit-text-fill-color: var(--white);
  }
}

