@import url("https://fonts.googleapis.com/css?family=Cinzel%20Decorative:700|Cinzel%20Decorative:400");

/* --- Unique Color Theme Variables --- */
:root {
  --primary: #ff5e62; /* Vibrant Coral */
  --secondary: #3a8dde; /* Sky Blue */
  --accent: #f7b32b; /* Golden Yellow */
  --background: #f6f7fb; /* Soft Light Gray */
  --surface: #fff;
  --text: #232946; /* Deep Navy */
  --text-secondary: #6b7280; /* Muted Gray */
  --gradient-main: linear-gradient(90deg, #ff5e62 0%, #3a8dde 100%);
  --gradient-alt: linear-gradient(90deg, #f7b32b 0%, #3a8dde 100%);
}

:root[data-theme="light"] {
  --text: #0c070e;
  --background: #f9f6fa;
  --primary: #9556aa;
  --secondary: #d3a7b0;
  --accent: #bf897f;
}

:root[data-theme="dark"] {
  --text: #f6f1f8;
  --background: #09050a;
  --primary: #9555aa;
  --secondary: #582c35;
  --accent: #814b41;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px */
}

body {
  font-family: "Cinzel Decorative";
  font-weight: 400;
  background: var(--background);
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Cinzel Decorative";
  font-weight: 700;
}

h1 {
  font-size: 4.21rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
} /* 67.36px */
h2 {
  font-size: 3.158rem;
} /* 50.56px */
h3 {
  font-size: 2.369rem;
} /* 37.92px */
h4 {
  font-size: 1.777rem;
} /* 28.48px */
h5 {
  font-size: 1.333rem;
} /* 21.28px */
small {
  font-size: 0.75rem;
} /* 12px */

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(4, 3, 22, 0.1);
}

.top-bar {
  background: var(--background-100);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  margin-right: 20px;
  color: var(--text-600);
  text-decoration: none;
}

.social-links a {
  margin-left: 15px;
  color: var(--text-600);
}

.navbar {
  background: var(--background);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(4, 3, 22, 0.1);
}

[data-theme="dark"] .navbar {
  border-bottom: 1px solid rgba(255, 251, 224, 0.1);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 4px;
  background: transparent;
  transition: transform 0.3s ease;
}

.navbar .logo:hover {
  transform: scale(1.05);
}

.navbar .logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

[data-theme="light"] .navbar .logo img,
[data-theme="light"] .footer-logo {
  filter: brightness(0) saturate(100%) invert(33%) sepia(45%) saturate(826%)
    hue-rotate(248deg) brightness(89%) contrast(93%);
}

[data-theme="dark"] .navbar .logo img,
[data-theme="dark"] .footer-logo {
  filter: brightness(0) saturate(100%) invert(92%) sepia(93%) saturate(27%)
    hue-rotate(202deg) brightness(106%) contrast(105%);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--background);
}

.nav-menu li {
  position: relative;
  margin: 0 15px;
}

.nav-menu a {
  font-family: "Cinzel Decorative";
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background-50);
  box-shadow: 0 2px 5px rgba(var(--text-900), 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  padding: 10px 0;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 20px;
  display: block;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(var(--background), 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 0;
    transition: 0.3s ease;
    display: none;
  }

  .nav-menu.active {
    left: 0;
    display: flex;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .hero {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.theme-toggle button {
  background: var(--primary-500);
  color: var(--background-50);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.theme-toggle button:hover {
  transform: scale(1.1);
  background: var(--primary-600);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--background);
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-mascot {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 600px;
  width: 45vw;
  min-width: 320px;
  opacity: 0.95;
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--background) 60%, transparent 100%);
  z-index: 3;
}

.hero-flex {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  gap: 3rem;
}

@media (max-width: 992px) {
  .hero-flex {
    flex-direction: column;
    align-items: flex-start;
    min-height: 70vh;
    gap: 2rem;
  }

  .hero-mascot {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 350px;
    margin: 0 auto 2rem auto;
    display: block;
  }

  .hero-bg {
    position: static;
    height: auto;
  }
}

.hero-main-text {
  flex: 2;
  max-width: 600px;
  padding: 4rem 0 4rem 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
  animation: fadeInUp 1.2s cubic-bezier(0.77, 0, 0.18, 1) 1.4s both;
}

.hero-cta {
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-primary.hero-cta {
  background: var(--primary);
  color: var(--background);
  border: none;
}

.btn-primary.hero-cta:hover {
  background: var(--accent);
  color: var(--background);
}

.btn-secondary.hero-cta {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary.hero-cta:hover {
  background: var(--primary);
  color: var(--background);
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
  color: var(--primary);
  font-size: 1rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-side-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.stat-block {
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.7;
}

.hero-award {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-main-text {
    padding: 2rem 0 2rem 0;
    max-width: 100%;
  }

  .hero-side-card {
    padding: 1.5rem 1rem;
    min-width: 0;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* Redesigned Hero Section Animation Styles */
.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(2px);
  animation: floatShape 8s ease-in-out infinite;
}
.shape1 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}
.shape2 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  top: 60%;
  left: 10%;
  animation-delay: 2s;
}
.shape3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  top: 20%;
  right: 8%;
  animation-delay: 4s;
}
.shape4 {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  bottom: 5%;
  right: 12%;
  animation-delay: 1s;
}
@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.08);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-animate-main {
  display: block;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1.2s cubic-bezier(0.77, 0, 0.18, 1) 0.2s both;
}
.hero-animate-highlight {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
  animation: fadeInUp 1.2s cubic-bezier(0.77, 0, 0.18, 1) 0.6s both;
}
.hero-animate-sub {
  display: block;
  font-size: 1.3rem;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.5;
  animation: fadeInUp 1.2s cubic-bezier(0.77, 0, 0.18, 1) 1s both;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animated-bounce {
  animation: bounceBtn 1.5s infinite alternate;
}
@keyframes bounceBtn {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}
.animated-fadein {
  opacity: 0;
  animation: fadeInBtn 1.2s 2s forwards;
}
@keyframes fadeInBtn {
  to {
    opacity: 1;
  }
}
.hero-mascot.floating-mascot {
  animation: mascotFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 32px rgba(149, 86, 170, 0.18));
}
@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-animate-highlight {
    font-size: 1.3rem;
  }
}

/* Next Section */
.next-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--background),
    rgba(144, 208, 202, 0.1)
  );
  overflow: hidden;
}

.tech-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  opacity: 0.05;
  animation: gridMove 20s linear infinite;
}

.next-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.next-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(144, 208, 202, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.next-card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--background);
  position: relative;
  overflow: hidden;
}

.card-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.next-card:hover .card-icon::after {
  transform: translateX(100%);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.card-description {
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: var(--background);
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Section Headings */
.section-heading {
  position: relative;
  text-align: center;
  margin-bottom: 5rem;
  padding-top: 2rem;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-10px);
  animation: headingFloat 3s ease-in-out infinite;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

.section-heading p {
  font-size: 1.3rem;
  color: var(--text);
  max-width: 650px;
  margin: 2rem auto 0;
  opacity: 0.9;
  line-height: 1.6;
  transform: translateY(-5px);
}

@keyframes headingFloat {
  0%,
  100% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

/* About Section */
.about-section {
  position: relative;
  padding: 100px 0 60px 0;
  background: var(--background, #fff);
  overflow: hidden;
}
.about-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 180px;
  z-index: 0;
  overflow: hidden;
}
.about-svg-bg {
  width: 100vw;
  height: 180px;
  display: block;
}
.about-flex {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.about-header {
  text-align: center;
  margin-bottom: 32px;
}
.about-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary, #9556aa);
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.about-desc {
  font-size: 1.15rem;
  color: var(--text-secondary, #555);
  max-width: 600px;
  margin: 0 auto;
}
.about-grid-animated {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  width: 100%;
  margin-bottom: 32px;
}
.about-highlight-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(149, 86, 170, 0.08),
    0 1.5px 8px 0 rgba(18, 155, 146, 0.08);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.22s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.22s;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.about-highlight-card:hover {
  transform: translateY(-6px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 36px 0 rgba(149, 86, 170, 0.13),
    0 2px 10px 0 rgba(18, 155, 146, 0.1);
}
.about-icon {
  font-size: 2.2rem;
  color: var(--primary, #9556aa);
  margin-bottom: 12px;
  animation: floatAboutIcon 2.5s ease-in-out infinite alternate;
}
@keyframes floatAboutIcon {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}
.about-highlight-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--primary, #9556aa);
}
.about-highlight-card p {
  font-size: 1rem;
  color: var(--text-secondary, #555);
  margin-bottom: 0;
}
.about-metrics-animated {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 10px;
}
.about-metric-item {
  background: rgba(149, 86, 170, 0.07);
  border-radius: 14px;
  padding: 18px 32px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 2px 8px 0 rgba(149, 86, 170, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: aboutMetricFadeIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) both;
}
@keyframes aboutMetricFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-metric-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary, #9556aa);
  margin-bottom: 4px;
}
.about-metric-label {
  font-size: 1rem;
  color: var(--text-secondary, #555);
}
@media (max-width: 900px) {
  .about-grid-animated {
    grid-template-columns: 1fr 1fr;
  }
  .about-metrics-animated {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .about-grid-animated {
    grid-template-columns: 1fr;
  }
  .about-section {
    padding: 60px 0 30px 0;
  }
  .about-highlight-card {
    padding: 18px 10px 14px 10px;
    min-height: 140px;
  }
  .about-metric-item {
    padding: 12px 10px;
    min-width: 90px;
  }
}

/* --- Animated Testimonials Section Styles --- */
.testimonials {
  position: relative;
  padding: 100px 0 60px 0;
  background: var(--background, #fff);
  overflow: hidden;
}
.testimonials-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 180px;
  z-index: 0;
  overflow: hidden;
}
.testimonials-svg-bg {
  width: 100vw;
  height: 180px;
  display: block;
}
.testimonials-flex {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 32px;
}
.testimonials-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary, #9556aa);
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.testimonials-desc {
  font-size: 1.15rem;
  color: var(--text-secondary, #555);
  max-width: 600px;
  margin: 0 auto;
}
.testimonials-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.testimonial-card-animated {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(149, 86, 170, 0.08),
    0 1.5px 8px 0 rgba(18, 155, 146, 0.08);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.22s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.22s;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  animation: testimonialFadeIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) both;
}
.testimonial-card-animated:hover {
  transform: translateY(-6px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 36px 0 rgba(149, 86, 170, 0.13),
    0 2px 10px 0 rgba(18, 155, 146, 0.1);
}
@keyframes testimonialFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testimonial-quote {
  font-size: 1.6rem;
  color: var(--primary, #9556aa);
  margin-bottom: 10px;
  opacity: 0.7;
}
.testimonial-text {
  font-size: 1.08rem;
  color: var(--text, #222);
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-client {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #9556aa;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(149, 86, 170, 0.1);
  animation: floatTestimonialAvatar 2.5s ease-in-out infinite alternate;
}
.testimonial-card-animated:nth-child(2) .testimonial-avatar {
  background: #129b92;
}
.testimonial-card-animated:nth-child(3) .testimonial-avatar {
  background: #bf897f;
}
@keyframes floatTestimonialAvatar {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}
.testimonial-client-info h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--primary, #9556aa);
}
.testimonial-client-info span {
  font-size: 0.98rem;
  color: var(--text-secondary, #555);
}
@media (max-width: 900px) {
  .testimonials-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .testimonials-cards-grid {
    grid-template-columns: 1fr;
  }
  .testimonials {
    padding: 60px 0 30px 0;
  }
  .testimonial-card-animated {
    padding: 18px 10px 14px 10px;
    min-height: 180px;
  }
}

/* --- Contact Section Styles --- */
.contact-section {
  position: relative;
  padding: 100px 0 60px 0;
  background: var(--background, #fff);
  overflow: hidden;
}
.contact-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 180px;
  z-index: 0;
  overflow: hidden;
}
.contact-svg-bg {
  width: 100vw;
  height: 180px;
  display: block;
}
.contact-flex {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.contact-header {
  text-align: center;
  margin-bottom: 32px;
}
.contact-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary, #9556aa);
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.contact-desc {
  font-size: 1.15rem;
  color: var(--text-secondary, #555);
  max-width: 600px;
  margin: 0 auto;
}
.contact-form {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(149, 86, 170, 0.08),
    0 1.5px 8px 0 rgba(18, 155, 146, 0.08);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 320px;
  max-width: 400px;
  margin: 0 auto;
  animation: contactFormFadeIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) both;
}
@keyframes contactFormFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 1rem;
  color: #888;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 10px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: transparent;
  color: var(--text, #222);
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary, #9556aa);
}
.btn-primary {
  background: linear-gradient(90deg, #9556aa 0%, #129b92 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(149, 86, 170, 0.1);
  transition: background 0.2s, transform 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #129b92 0%, #9556aa 100%);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .contact-section {
    padding: 60px 0 30px 0;
  }
  .contact-form {
    padding: 18px 10px 14px 10px;
    min-width: unset;
    max-width: 100%;
  }
}

/* --- Footer Styles --- */
.footer {
  background: #18122b;
  color: #fff;
  padding: 48px 0 0 0;
  position: relative;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 24px;
}
.footer-logo img {
  width: 120px;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links a:hover {
  color: #9556aa;
  opacity: 1;
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  color: #fff;
  font-size: 1.3rem;
  background: #2d2146;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.footer-socials a:hover {
  background: #9556aa;
  color: #fff;
  transform: scale(1.12);
}
.footer-bottom {
  background: #181c2f;
  padding: 18px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Digital Arsenal Section Styles */
.services {
  position: relative;
  padding: 120px 0;
  background: var(--background);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--primary) 0%,
    transparent 70%
  );
  opacity: 0.05;
}

.services .section-heading {
  margin-bottom: 80px;
}

.services .section-heading h2 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowText 2s ease-in-out infinite;
}

.services .section-heading h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  position: relative;
  z-index: 1;
}

.service-card-animated {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(149, 86, 170, 0.08),
    0 1.5px 8px 0 rgba(18, 155, 146, 0.08);
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.service-card-animated:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 16px 48px 0 rgba(149, 86, 170, 0.16),
    0 3px 16px 0 rgba(18, 155, 146, 0.12);
}

.service-icon-animated {
  font-size: 2.6rem;
  color: var(--primary, #9556aa);
  margin-bottom: 18px;
  animation: floatIcon 2.5s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

.service-card-animated h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary, #9556aa);
}

.service-card-animated p {
  font-size: 1.05rem;
  color: var(--text-secondary, #555);
  margin-bottom: 18px;
}

.service-features-animated {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features-animated li {
  font-size: 1rem;
  color: var(--text, #222);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
  transition: color 0.2s;
}

.service-card-animated:hover .service-features-animated li {
  color: var(--primary, #9556aa);
}

@media (max-width: 900px) {
  .services-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 60px 0 30px 0;
  }
  .service-card-animated {
    padding: 28px 14px 20px 14px;
    min-height: 260px;
  }
}

/* --- Contact Info Cards Styles --- */
.contact-info-cards {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(149, 86, 170, 0.08),
    0 1.5px 8px 0 rgba(18, 155, 146, 0.08);
  padding: 24px 28px 20px 24px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
}
.contact-info-card i {
  font-size: 2rem;
  color: #9556aa;
  margin-top: 2px;
  min-width: 32px;
  text-shadow: 0 2px 8px rgba(149, 86, 170, 0.08);
}
.contact-info-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #9556aa;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 1rem;
  color: #444;
  margin: 0;
  text-decoration: none;
  word-break: break-word;
}
.contact-info-card a:hover {
  color: #129b92;
  text-decoration: underline;
}
.contact-info-card:hover {
  box-shadow: 0 8px 32px 0 var(--primary), 0 3px 16px 0 var(--secondary);
  transform: translateY(-4px) scale(1.03);
}
@media (max-width: 900px) {
  .contact-info-cards {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .contact-info-card {
    min-width: 200px;
    max-width: 100%;
    width: 100%;
  }
}
/* --- End Contact Info Cards Styles --- */
