:root {
  --color-primary: #0f2744;
  --color-secondary: #1e3a5f;
  --color-accent: #4eb8d8;
  --color-accent-light: #6bc5e8;
  --color-accent-dark: #3a9cc0;
  --color-bg: #0a1828;
  --color-bg-light: #132238;
  --color-text: #f5f5f5;
  --color-text-muted: #b8c5d6;
  --color-border: rgba(78, 184, 216, 0.2);
  --font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  --max-width: 1200px;
  --navbar-height: 70px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Use Inter font when loaded */
.fonts-loaded {
  --font-family:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(15, 39, 68, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 24, 40, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.logo-t {
  font-size: 36px;
  color: var(--color-accent);
  font-weight: 800;
  position: relative;
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-accent-light),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text {
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--color-text);
}

.logo-sub {
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 3px;
  margin-left: 8px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link:hover {
  color: var(--color-accent);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-accent);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-bg) 100%
  );
  overflow: hidden;
  padding-bottom: 120px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20% 50%, var(--color-accent) 0%, transparent 50%),
    radial-gradient(
      circle at 80% 80%,
      var(--color-accent-light) 0%,
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-accent-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
  transform: translateX(-1px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-dark)
  );
  color: white;
  box-shadow: 0 4px 15px rgba(78, 184, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(78, 184, 216, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 12px 24px;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Section Styles */
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-accent-light) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(78, 184, 216, 0.1);
}

.service-card.featured {
  border: 2px solid var(--color-accent);
  background: linear-gradient(
    135deg,
    rgba(78, 184, 216, 0.15),
    rgba(78, 184, 216, 0.05)
  );
  box-shadow: 0 15px 50px rgba(78, 184, 216, 0.25);
  position: relative;
  transform: scale(1.02);
}


.service-card.premium {
  border-color: rgba(78, 184, 216, 0.5);
  background: linear-gradient(
    135deg,
    var(--color-bg-light),
    rgba(78, 184, 216, 0.03)
  );
}

.service-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 6px 20px 8px;
  border-radius: 0 0 12px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(78, 184, 216, 0.3);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-dark)
  );
  border-radius: 20px;
  color: white;
}

.service-card.featured .service-icon {
  background: linear-gradient(
    135deg,
    var(--color-accent-light),
    var(--color-accent)
  );
  box-shadow: 0 8px 25px rgba(78, 184, 216, 0.3);
  position: relative;
  animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(78, 184, 216, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(78, 184, 216, 0.5);
  }
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-text);
}

.service-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 30px;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  padding: 8px 0;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 25px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.service-features .feature-rainx {
  color: var(--color-accent-light);
  font-weight: 600;
}

.btn-premium {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.btn-premium:hover {
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-dark)
  );
  color: white;
  border-color: transparent;
}

/* Technology Section */
.technology {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    var(--color-bg-light) 50%,
    var(--color-bg) 100%
  );
}

.tech-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.tech-intro p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.tech-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 35px 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    var(--color-accent-light)
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.tech-card:hover::before {
  transform: translateX(0);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 15px 35px rgba(78, 184, 216, 0.15);
}

.tech-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(78, 184, 216, 0.1),
    rgba(107, 197, 232, 0.1)
  );
  border-radius: 15px;
  color: var(--color-accent);
}

.tech-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.tech-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.tech-cta {
  text-align: center;
}

.tech-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1px;
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--color-bg-light) 0%,
    var(--color-bg) 100%
  );
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  cursor: pointer;
}

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

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(78, 184, 216, 0.2);
  border-color: var(--color-accent);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery lightbox effect on hover */
.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(10, 24, 40, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: block;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  animation: zoomIn 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--color-text-muted);
  padding: 15px 0;
  height: auto;
  animation: slideUp 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 45px;
  color: var(--color-accent-light);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--color-accent);
  transform: scale(1.1);
}

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

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

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

/* Self-Serve Section */
.self-serve {
  padding: 100px 0;
  background: var(--color-bg);
}

.self-serve-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.self-serve-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition);
}

.self-serve-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(78, 184, 216, 0.1);
}

.self-serve-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-dark)
  );
  border-radius: 20px;
  color: white;
}

.self-serve-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--color-text);
}

.self-serve-description {
  color: var(--color-text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.self-serve-features {
  list-style: none;
}

.self-serve-features li {
  padding: 10px 0;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 30px;
  border-bottom: 1px solid rgba(78, 184, 216, 0.1);
}

.self-serve-features li:last-child {
  border-bottom: none;
}

.self-serve-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Payment Methods */
.payment-methods {
  background: var(--color-bg-light);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.payment-methods h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 10px;
}

.payment-methods > p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.payment-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.payment-item svg {
  color: var(--color-accent);
  transition: var(--transition);
}

.payment-item:hover svg {
  color: var(--color-accent-light);
  transform: scale(1.1);
}

.payment-item span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* About Section */
.about {
  padding: 80px 0 100px 0;
  background: var(--color-bg-light);
  position: relative;
  margin-top: -2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(78, 184, 216, 0.2);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.about-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: var(--color-bg-light);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Location Section */
.location {
  padding: 100px 0;
  background: var(--color-bg);
}

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

.location-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  background: var(--color-bg-light);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
}

.info-card h3 {
  color: var(--color-accent);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.info-card address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.hours-item:last-child {
  border-bottom: none;
}

.location-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.location-map iframe {
  filter: brightness(0.8) contrast(1.1) saturate(0.8);
}

/* Contact Section */
.contact {
  padding: 60px 0;
  background: linear-gradient(
    135deg,
    var(--color-bg) 0%,
    var(--color-bg-light) 100%
  );
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    var(--color-accent) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(78, 184, 216, 0.3);
  border-color: var(--color-accent);
}

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

.contact-card-primary {
  background: linear-gradient(
    135deg,
    var(--color-accent-dark),
    var(--color-accent)
  );
  border-color: var(--color-accent);
}

.contact-card-primary:hover {
  box-shadow: 0 10px 40px rgba(78, 184, 216, 0.5);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(78, 184, 216, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.contact-card-primary .contact-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
}

.contact-card-primary h3 {
  color: white;
}

.contact-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.contact-card-primary .contact-card-value {
  color: white;
}

.contact-card-cta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.contact-card:hover .contact-card-cta {
  color: var(--color-accent);
}

.contact-card-primary .contact-card-cta {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card-primary:hover .contact-card-cta {
  color: white;
}

.contact-card-badge {
  display: inline-block;
  padding: 5px 15px;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand .logo {
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
  :root {
    --navbar-height: 65px;
  }

  .container {
    padding: 0 30px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .tech-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .about-content {
    gap: 40px;
  }

  .hero-title-main {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
  }
}

/* Tablets */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    order: -1;
    margin-bottom: 30px;
  }

  .about-stats {
    justify-content: center;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .location-map {
    height: 400px;
  }

  .tech-features {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 80px 0;
  }

  .hero {
    min-height: 90vh;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
  }

  .container {
    padding: 0 20px;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(
      135deg,
      var(--color-primary) 0%,
      var(--color-bg-light) 100%
    );
    flex-direction: column;
    padding: calc(var(--navbar-height) + 30px) 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

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

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    padding-top: var(--navbar-height);
  }

  .hero-title-main {
    font-size: clamp(2rem, 8vw, 3.5rem);
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 20px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
    gap: 15px;
  }

  .btn {
    width: 100%;
    padding: 16px 24px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  /* Technology */
  .tech-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .tech-intro {
    margin-bottom: 40px;
  }

  .tech-tagline {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Lightbox */
  .lightbox-close {
    top: 15px;
    right: 25px;
    font-size: 35px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 70vh;
  }

  /* Self-Serve */
  .self-serve-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .self-serve-card {
    padding: 30px 20px;
  }

  .payment-methods {
    padding: 30px 20px;
  }

  .payment-icons {
    gap: 20px;
  }

  /* About */
  .about-stats {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .stat {
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 15px;
    border: 1px solid var(--color-border);
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  /* Logo adjustments */
  .logo-text {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .logo-sub {
    display: none;
  }

  .logo-t {
    font-size: 28px;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding: 10px;
  }

  /* Services */
  .service-price {
    font-size: 2rem;
  }

  /* Tech cards */
  .tech-icon {
    width: 60px;
    height: 60px;
  }

  /* Location */
  .location-map {
    height: 300px;
  }

  .info-card {
    padding: 20px;
  }

  /* Reduce animations on mobile for performance */
  * {
    animation-duration: 0.3s !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .hero-title-main {
    font-size: 1.8rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 14px 20px;
  }

  section {
    padding: 50px 0;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .nav-menu {
    padding-top: calc(var(--navbar-height) + 20px);
  }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-t,
  .hero-title-main {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-wave,
  .btn,
  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  * {
    background: white !important;
    color: black !important;
  }
}
