:root {
  --mint: #b8f2e6;
  --coral: #ffb5a7;
  --lavender: #cdb4f6;
  --gold: #ffe066;
  --deep-navy: #22223b;
  --white: #f9f9fb;
  --gray: #e0e0e0;
  --shadow: 0 4px 24px rgba(34, 34, 59, 0.08);
  --radius: 1.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Manrope", sans-serif;
  background: linear-gradient(120deg, var(--mint) 0%, var(--lavender) 100%);
  color: var(--deep-navy);
  margin: 0;
  min-height: 100vh;
  cursor: none;
}

header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Modern Navbar Styles */
.modern-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s;
  z-index: 200;
  box-shadow: none;
  animation: navbar-fadein 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-navbar.scrolled {
  background: rgba(255, 245, 255, 0.92);
  box-shadow: 0 2px 16px rgba(205, 180, 246, 0.1);
  backdrop-filter: blur(6px);
}
@keyframes navbar-fadein {
  0% {
    opacity: 0;
    transform: translateY(-32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-navbar {
  opacity: 0;
  animation: navbar-fadein 0.8s 0.1s forwards;
}

/* Creative Logo */
.creative-logo span {
  font-family: "Orbitron", "Manrope", sans-serif;
  letter-spacing: 0.18em;
  font-size: 1.45rem;
  color: var(--deep-navy);
  text-shadow: 0 2px 8px rgba(205, 180, 246, 0.08);
  font-weight: 700;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Add transition for fade/slide on mobile */
  transition: opacity var(--transition), transform var(--transition);
}
.nav-link {
  position: relative;
  padding: 0.2em 0;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.nav-link::after {
  content: "";
  display: block;
  height: 2.5px;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--coral),
    var(--gold),
    var(--lavender)
  );
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  left: 0;
  bottom: -5px;
}
.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--coral);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3em;
}
.hamburger .bar {
  fill: var(--deep-navy);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
}
.nav-toggle.open .hamburger .top {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle.open .hamburger .middle {
  opacity: 0;
}
.nav-toggle.open .hamburger .bottom {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  position: relative;
  background: linear-gradient(120deg, #f9f9fb 0%, #ffe066 60%, #b8f2e6 100%);
  overflow: hidden;
  border-radius: 0 0 2.5rem 2.5rem;
  box-shadow: 0 8px 32px rgba(205, 180, 246, 0.08);
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  background: linear-gradient(120deg, var(--mint), var(--lavender));
  animation: float-particle 8s infinite alternate;
}
.particle:nth-child(1) {
  width: 60px;
  height: 60px;
  left: 8%;
  top: 18%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 36px;
  height: 36px;
  left: 70%;
  top: 12%;
  background: linear-gradient(120deg, var(--coral), var(--gold));
  animation-delay: 2s;
}
.particle:nth-child(3) {
  width: 44px;
  height: 44px;
  left: 55%;
  top: 70%;
  background: linear-gradient(120deg, var(--lavender), var(--mint));
  animation-delay: 1.2s;
}
.particle:nth-child(4) {
  width: 28px;
  height: 28px;
  left: 80%;
  top: 60%;
  background: linear-gradient(120deg, var(--gold), var(--coral));
  animation-delay: 3.5s;
}
.particle:nth-child(5) {
  width: 22px;
  height: 22px;
  left: 20%;
  top: 80%;
  background: linear-gradient(120deg, var(--mint), var(--gold));
  animation-delay: 5s;
}
@keyframes float-particle {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-24px) scale(1.12);
  }
}

.hero-content {
  flex: 1.2;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.hero-headline {
  font-size: 2.7rem;
  font-weight: 800;
  margin: 0 0 0.7rem 0;
  color: var(--deep-navy);
  letter-spacing: -1.5px;
  line-height: 1.13;
  text-shadow: 0 2px 12px rgba(205, 180, 246, 0.08);
}
.hero-subheading {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-cta {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.primary-cta {
  background: linear-gradient(90deg, var(--coral), var(--gold));
  color: var(--deep-navy);
  border: none;
  border-radius: var(--radius);
  padding: 1rem 2.3rem;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.primary-cta:hover {
  transform: translateY(-3px) scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(255, 181, 167, 0.18);
}
.ripple-btn:active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 181, 167, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 0.5s linear;
  pointer-events: none;
}
@keyframes ripple {
  to {
    width: 220%;
    height: 220%;
    opacity: 0;
  }
}
.secondary-cta {
  background: transparent;
  color: var(--deep-navy);
  border: 2px solid var(--lavender);
  border-radius: var(--radius);
  padding: 1rem 2.1rem;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), color var(--transition),
    background var(--transition);
}
.secondary-cta:hover {
  background: var(--lavender);
  color: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 4px 18px rgba(205, 180, 246, 0.13);
}
.secondary-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.secondary-cta:hover::after {
  width: 100%;
}

.hero-illustration {
  flex: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration img {
  width: 370px;
  max-width: 100%;
  animation: floatY 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 32px rgba(205, 180, 246, 0.1));
}

/* Staggered fade-in for hero text */
.stagger-fade {
  opacity: 0;
  transform: translateY(24px);
  animation: staggerFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes staggerFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Global Styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--deep-navy);
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--deep-navy);
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transition: width var(--transition);
  position: absolute;
  left: 0;
  bottom: -4px;
}
.nav-links a:hover {
  color: var(--coral);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Sections */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about article {
  flex: 1.2;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--deep-navy);
}
.about-illustration img {
  width: 220px;
  max-width: 100%;
  animation: spin 8s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.services {
  background: var(--white);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
}
.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--deep-navy);
}
.service-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.service-card {
  background: linear-gradient(120deg, var(--mint) 60%, var(--lavender) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03) rotate(1deg);
  box-shadow: 0 12px 36px rgba(205, 180, 246, 0.16);
}
.service-icon img {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  animation: bounce 2.5s infinite alternate cubic-bezier(0.6, 0, 0.4, 1);
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}
.service-card h3 {
  margin: 0.5rem 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--deep-navy);
}
.service-card p {
  color: #444;
  text-align: center;
  font-size: 1rem;
}
.team {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.team h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--deep-navy);
}
.team-members {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.team-member {
  background: var(--mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  flex: 1 1 180px;
  max-width: 220px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-member:hover {
  box-shadow: 0 8px 32px rgba(184, 242, 230, 0.18);
  transform: scale(1.04) rotate(-1deg);
}
.team-member img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(34, 34, 59, 0.06);
}
.team-member h4 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1.1rem;
  color: var(--deep-navy);
}
.team-member p {
  color: #555;
  font-size: 0.95rem;
}
.contact {
  background: var(--lavender);
  padding: 3rem 2rem;
}
.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--deep-navy);
}
.contact-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--gray);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  background: #fff;
  color: var(--deep-navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px var(--mint);
}
.contact-form button {
  align-self: flex-end;
}
footer {
  background: var(--deep-navy);
  color: var(--white);
  text-align: center;
  padding: 1.2rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* About Section Styles */
.about-creative-bg {
  background: linear-gradient(120deg, #f9f9fb 0%, #b8f2e6 100%);
  border-radius: 2.5rem;
  margin: 3rem auto 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 8px 32px rgba(205, 180, 246, 0.08);
  position: relative;
  overflow: hidden;
}

.about-creative-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
}
.about-creative-svg {
  width: 320px;
  max-width: 100%;
  opacity: 0.85;
  transition: filter 0.5s;
  filter: blur(0.5px) brightness(1.05);
  will-change: filter, transform;
}
.about-creative-svg.in-view {
  filter: blur(0) brightness(1.1)
    drop-shadow(0 8px 32px rgba(205, 180, 246, 0.13));
  animation: about-svg-float 3.5s ease-in-out infinite alternate;
}
@keyframes about-svg-float {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-18px) scale(1.04);
  }
}

.about-content {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  z-index: 1;
}
.about-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}
.about-desc {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}
.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.about-highlight {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--deep-navy);
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(24px);
  animation: staggerFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.about-highlight .about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 0.2rem;
}
.about-highlight svg {
  display: block;
  width: 32px;
  height: 32px;
}

/* Staggered fade-in for About text */
.about-title,
.about-desc,
.about-highlight {
  opacity: 0;
  transform: translateY(24px);
  animation: staggerFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes staggerFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive for About Section */
@media (max-width: 900px) {
  .about-creative-bg {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 1rem;
  }
  .about-creative-illustration {
    margin-bottom: 1.5rem;
  }
  .about-content {
    align-items: center;
  }
  .about-highlights {
    align-items: center;
  }
}
@media (max-width: 600px) {
  .about-creative-bg {
    padding: 1.2rem 0.3rem;
    border-radius: 1.2rem;
  }
  .about-creative-svg {
    width: 90vw;
    max-width: 260px;
  }
}

/* Responsive Styles */
@media (max-width: 900px) {
  .modern-hero {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    padding: 7rem 1rem 2rem 1rem;
  }
  .hero-illustration img {
    margin: 0 auto;
    width: 90vw;
    max-width: 340px;
  }
  .hero-content {
    align-items: center;
  }
}
@media (max-width: 700px) {
  .modern-navbar {
    padding: 1rem;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 1.5rem;
    width: 180px;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow);
    border-radius: 0 0 0 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
  .modern-hero {
    padding: 6rem 0.5rem 1.5rem 0.5rem;
    gap: 1.5rem;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 16px;
  }
  .hero,
  .about,
  .services,
  .team,
  .contact {
    padding: 2rem 0.5rem;
  }
  .service-card,
  .team-member,
  .contact-form {
    padding: 1rem 0.5rem;
  }
  .modern-hero {
    padding: 5rem 0.2rem 1rem 0.2rem;
    gap: 1rem;
  }
  .hero-headline {
    font-size: 1.5rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* CrocX Services Section Styles */
.crocx-services {
  background: none;
  box-shadow: none;
  padding: 4rem 2rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto 0 auto;
}

.services-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--deep-navy);
  margin-bottom: 2.5rem;
  letter-spacing: -1px;
}

.crocx-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  align-items: stretch;
}

.crocx-service-card {
  background: var(
    --card-bg,
    linear-gradient(135deg, #b8f2e6 60%, #cdb4f6 100%)
  );
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(34, 34, 59, 0.1);
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s,
    filter 0.35s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  will-change: transform, box-shadow, filter, opacity;
}

.crocx-service-card.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.crocx-service-card:hover,
.crocx-service-card:focus-within {
  transform: scale(1.045) translateY(-6px);
  box-shadow: 0 12px 36px rgba(205, 180, 246, 0.18),
    0 2px 16px rgba(34, 34, 59, 0.08);
  filter: brightness(1.04) drop-shadow(0 0 16px #ffe06633);
  z-index: 2;
}

.crocx-service-card .service-icon {
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crocx-service-card .service-icon img {
  width: 64px;
  height: 64px;
  display: block;
  animation: crocx-icon-float 3.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 16px rgba(205, 180, 246, 0.1));
}
@keyframes crocx-icon-float {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-10px) scale(1.06);
  }
}

.crocx-service-card h3 {
  margin: 0.2rem 0 0.7rem 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--deep-navy);
  letter-spacing: 0.01em;
  text-align: center;
}
.crocx-service-card p {
  color: #333;
  text-align: center;
  font-size: 1.01rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* Custom Cursor Styles */
.crocx-cursor,
.crocx-cursor-dot {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  opacity: 1;
  transition: opacity 0.25s;
  will-change: transform, opacity;
}

.crocx-cursor {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2.5px solid var(--mint, #b8f2e6);
  background: linear-gradient(120deg, #fafdff 60%, #b8f2e6 100%);
  box-shadow: 0 2px 16px 0 #b8f2e633;
  mix-blend-mode: lighten;
  transition:
    border-color 0.22s,
    background 0.22s,
    transform 0.18s cubic-bezier(.4,1.2,.4,1),
    opacity 0.22s;
  transform: translate3d(0,0,0) scale(1);
}

.crocx-cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, #ffe066 60%, #cdb4f6 100%);
  box-shadow: 0 0 8px 2px #ffe06655;
  transition:
    background 0.22s,
    box-shadow 0.22s,
    transform 0.18s cubic-bezier(.4,1.2,.4,1),
    opacity 0.22s;
  transform: translate3d(0,0,0) scale(1);
}

.crocx-cursor.crocx-cursor-hover {
  border-color: var(--coral, #ffb5a7);
  background: linear-gradient(120deg, #ffe066 60%, #ffb5a7 100%);
  transform: scale(0.7);
}

.crocx-cursor-dot.crocx-cursor-hover {
  background: linear-gradient(120deg, #ffb5a7 60%, #ffe066 100%);
  box-shadow: 0 0 16px 4px #ffb5a755;
  transform: scale(1.4);
}

.crocx-cursor.crocx-cursor-click {
  animation: crocx-cursor-pulse 0.35s cubic-bezier(.4,1.2,.4,1);
}
@keyframes crocx-cursor-pulse {
  0% { transform: scale(0.7); }
  50% { transform: scale(1.2); }
  100% { transform: scale(0.7); }
}

.crocx-cursor.crocx-cursor-hide,
.crocx-cursor-dot.crocx-cursor-hide {
  opacity: 0 !important;
  transition: opacity 0.22s;
}

/* Hide cursor on small screens/touch devices */
@media (max-width: 767px) {
  .crocx-cursor,
  .crocx-cursor-dot {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Portfolio Section */
#portfolio.crocx-portfolio-section {
  padding: 64px 0 48px 0;
  background: #fafdff;
}

.portfolio-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5em;
  color: #2d3142;
  letter-spacing: 1px;
}

.portfolio-subtext {
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 2.5em;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.2em;
  max-width: 1200px;
  margin: 0 auto 2.5em auto;
  padding: 0 1em;
}

.portfolio-card {
  position: relative;
  border-radius: 1.5em;
  overflow: hidden;
  box-shadow: 0 4px 32px 0 rgba(44, 62, 80, 0.09);
  background: #fff;
  transition: transform 0.22s cubic-bezier(0.4, 1.2, 0.4, 1), box-shadow 0.22s;
  cursor: pointer;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 8px 40px 0 rgba(44, 62, 80, 0.16);
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: #eaf6fb;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5em 1.5em 0 0;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.1) 0%,
    rgba(44, 62, 80, 0.32) 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2em 1.5em 1.5em 1.5em;
  transition: opacity 0.28s cubic-bezier(0.4, 1.2, 0.4, 1);
  pointer-events: none;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-tag {
  display: inline-block;
  background: #ffe066;
  color: #2d3142;
  font-size: 0.92em;
  font-weight: 700;
  border-radius: 1em;
  padding: 0.25em 1em;
  margin-bottom: 0.7em;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px 0 rgba(255, 224, 102, 0.13);
}

.portfolio-project-title {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7em;
  text-shadow: 0 2px 8px rgba(44, 62, 80, 0.13);
}

.portfolio-view-icon {
  display: inline-flex;
  align-items: center;
  margin-top: 0.2em;
  transition: transform 0.18s;
}

.portfolio-card:hover .portfolio-view-icon {
  transform: translateX(6px) scale(1.08);
}

.portfolio-btn {
  display: block;
  margin: 2em auto 0 auto;
  padding: 0.9em 2.5em;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 2em;
  background: linear-gradient(90deg, #b8f2e6 60%, #cdb4f6 100%);
  color: #2d3142;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(44, 62, 80, 0.09);
  cursor: not-allowed;
  opacity: 0.7;
  letter-spacing: 0.5px;
  transition: background 0.18s;
}

@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  .portfolio-title {
    font-size: 1.5rem;
  }
  .portfolio-card {
    min-height: 180px;
  }
  .portfolio-overlay {
    padding: 1.2em 1em 1em 1em;
  }
}

/* CrocX Contact Section */
.crocx-contact-section {
  background: linear-gradient(120deg, #fafdff 60%, #b8f2e6 100%);
  padding: 64px 0 48px 0;
  border-radius: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 48px auto;
  box-shadow: 0 8px 32px rgba(205, 180, 246, 0.08);
}

.contact-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5em;
  color: #2d3142;
  letter-spacing: 1px;
}

.contact-subtext {
  text-align: center;
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 2.5em;
}

.contact-content {
  display: flex;
  gap: 2.5em;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-details {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 380px;
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
  padding: 2.2em 1.5em 1.5em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 2.2em;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5em;
}

.contact-info-label {
  font-size: 0.97em;
  font-weight: 700;
  color: #b8f2e6;
  letter-spacing: 0.5px;
  margin-bottom: 0.1em;
}

.contact-info-value {
  font-size: 1.07em;
  color: #2d3142;
  font-weight: 500;
  word-break: break-word;
}

.contact-link {
  color: #cdb4f6;
  text-decoration: none;
  transition: color 0.18s;
}
.contact-link:hover {
  color: #ffb5a7;
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  gap: 1.1em;
  margin-top: 0.5em;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  background: #fafdff;
  box-shadow: 0 2px 8px 0 rgba(44, 62, 80, 0.07);
  width: 44px;
  height: 44px;
  cursor: pointer;
  outline: none;
}
.social-link:focus,
.social-link:hover {
  transform: scale(1.13) rotate(-3deg);
  background: #ffe066;
  box-shadow: 0 4px 16px 0 rgba(255, 224, 102, 0.13);
}
.social-icon {
  width: 26px;
  height: 26px;
  display: block;
  transition: filter 0.18s;
}
.social-link:hover .social-icon,
.social-link:focus .social-icon {
  filter: brightness(1.2) drop-shadow(0 0 6px #ffe06688);
}

/* Contact Form */
.crocx-contact-form {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 420px;
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 4px 24px rgba(44, 62, 80, 0.07);
  padding: 2.2em 1.5em 1.5em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.crocx-contact-form.in-view {
  opacity: 1;
  transform: none;
}

.crocx-contact-form input,
.crocx-contact-form textarea {
  font-family: inherit;
  font-size: 1.07em;
  border: 1.5px solid #e0e0e0;
  border-radius: 1em;
  padding: 0.9em 1.1em;
  background: #fafdff;
  color: #2d3142;
  transition: border-color 0.22s, box-shadow 0.22s;
  outline: none;
  resize: none;
  box-shadow: 0 1px 4px 0 rgba(184, 242, 230, 0.07);
}
.crocx-contact-form input:focus,
.crocx-contact-form textarea:focus {
  border-color: #b8f2e6;
  box-shadow: 0 0 0 2px #ffe06655;
}

.crocx-contact-btn {
  align-self: flex-end;
  background: linear-gradient(90deg, #b8f2e6 60%, #cdb4f6 100%);
  color: #2d3142;
  border: none;
  border-radius: 2em;
  padding: 0.9em 2.5em;
  font-size: 1.1em;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(44, 62, 80, 0.09);
  letter-spacing: 0.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.18s, box-shadow 0.18s, filter 0.18s;
}
.crocx-contact-btn:hover,
.crocx-contact-btn:focus {
  filter: brightness(1.08) drop-shadow(0 0 8px #ffe06655);
  box-shadow: 0 4px 18px 0 rgba(205, 180, 246, 0.13);
}
.crocx-contact-btn:active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(205, 180, 246, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 0.5s linear;
  pointer-events: none;
}
@keyframes ripple {
  to {
    width: 220%;
    height: 220%;
    opacity: 0;
  }
}

/* Responsive Contact Section */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column-reverse;
    gap: 2em;
    align-items: stretch;
  }
  .crocx-contact-form,
  .contact-details {
    max-width: 100%;
    width: 100%;
  }
  .crocx-contact-btn {
    width: 100%;
    align-self: stretch;
  }
}
@media (max-width: 600px) {
  .crocx-contact-section {
    padding: 1.2rem 0.3rem;
    border-radius: 1.2rem;
  }
  .contact-title {
    font-size: 1.5rem;
  }
  .contact-details,
  .crocx-contact-form {
    padding: 1.2em 0.7em 1em 0.7em;
    border-radius: 1em;
  }
  .contact-socials {
    gap: 0.7em;
  }
}

/* CrocX Footer Styles */
.crocx-footer {
  position: relative;
  background: linear-gradient(120deg, #fafdff 60%, #b8f2e6 100%);
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-radius: 2.5rem 2.5rem 0 0;
  box-shadow: 0 -4px 32px rgba(205, 180, 246, 0.08);
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  animation: footerBgFloat 12s ease-in-out infinite alternate;
  opacity: 0.25;
  filter: blur(1.5px) brightness(1.08);
}
@keyframes footerBgFloat {
  0% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1.04) translateY(-16px);
  }
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2.2rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.footer-col {
  flex: 1 1 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

.footer-logo-col {
  justify-content: flex-start;
  align-items: flex-start;
}
.footer-logo-text {
  font-family: "Orbitron", "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #2d3142;
  display: inline-block;
  background: linear-gradient(90deg, #b8f2e6, #ffe066, #cdb4f6, #ffb5a7);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s linear infinite alternate;
  text-shadow: 0 2px 8px rgba(205, 180, 246, 0.08);
  transition: letter-spacing 0.4s cubic-bezier(0.4, 1.2, 0.4, 1);
}
.footer-logo-text:hover {
  letter-spacing: 0.28em;
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.footer-links-col {
  align-items: center;
  justify-content: center;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  align-items: center;
}
.footer-link {
  font-size: 1.08rem;
  font-weight: 600;
  color: #2d3142;
  text-decoration: none;
  position: relative;
  transition: color 0.22s cubic-bezier(0.4, 1.2, 0.4, 1);
  padding: 0.2em 0;
  cursor: pointer;
}
.footer-link::after {
  content: "";
  display: block;
  height: 2.5px;
  width: 0;
  background: linear-gradient(90deg, #ffb5a7, #ffe066, #cdb4f6);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 1.2, 0.4, 1);
  position: absolute;
  left: 0;
  bottom: -5px;
}
.footer-link:hover,
.footer-link:focus {
  color: #cdb4f6;
}
.footer-link:hover::after,
.footer-link:focus::after {
  width: 100%;
}

.footer-contact-col {
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.6em;
}
.footer-contact-link {
  color: #2d3142;
  font-size: 1.07em;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(0.4, 1.2, 0.4, 1);
  display: block;
  margin-bottom: 0.2em;
  word-break: break-all;
}
.footer-contact-link:hover,
.footer-contact-link:focus {
  color: #ffb5a7;
}

.footer-bottom-bar {
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 1rem;
  color: #6c757d;
  padding: 1.1rem 0 0.7rem 0;
  margin-top: 0.5rem;
  border-top: 1.5px solid #e0e0e0;
  letter-spacing: 0.5px;
  z-index: 2;
  position: relative;
}

/* Footer fade-in animation */
.crocx-footer .fade-in-on-scroll {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.crocx-footer .fade-in-on-scroll.in-view {
  opacity: 1;
  transform: none;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    padding: 2.5rem 1rem 1.5rem 1rem;
  }
  .footer-col,
  .footer-logo-col,
  .footer-contact-col {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }
  .footer-links {
    flex-direction: row;
    gap: 1.2em;
  }
}
@media (max-width: 600px) {
  .crocx-footer {
    border-radius: 1.2rem 1.2rem 0 0;
  }
  .footer-container {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
    gap: 1.2rem;
  }
  .footer-logo-text {
    font-size: 1.1rem;
  }
}
    font-size: 1.1rem;
  }
}
