/* в•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђ
   РљРЈР”Р•РЎРќРРљ вЂ” ENDLESS SKY & CLOUDS
   Ethereal, premium theme with light fluffy glassmorphism clouds
   в•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђ */

:root {
  /* Heavenly Sky Transition (Dark to Blue) */
  --sky-top: #140202;     /* Blends with 3D animation */
  --sky-mid: #5a7b9e;     /* Transition to blue twilight/morning */
  --sky-base: #a4c9e8;    /* Heavenly light blue */
  
  /* Cloud Islands (Bright Ethereal Glassmorphism) */
  --cloud-bg: rgba(255, 255, 255, 1);
  --cloud-border: rgba(255, 255, 255, 1);
  --cloud-shadow: rgba(0, 0, 0, 0.15);

  /* Typography (Dark on Light Clouds) */
  --text-dark: #1a0505;
  --text-body: #4a1515;
  --text-muted: #8c3535;
  --accent: #d33f1f;

  /* Form & UI */
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------------------------------------------------------------
   LANDING WRAPPER (Sky Background)
   --------------------------------------------------------------- */
.landing-wrap {
  position: relative;
  width: 100%;
  z-index: 5;
  margin-top: -40vh;
  padding-top: 40vh; /* Offset the margin so content doesn't overlap the animation */
  background: linear-gradient(180deg, 
    transparent 0vh,
    rgba(58, 43, 74, 0.8) 20vh, /* Twilight purple */
    var(--sky-mid) 40vh, /* Heavenly blue */
    var(--sky-base) 80vh, 
    #e0f0ff 100%
  );
  color: var(--text-dark);
  font-family: var(--font-body);
}

.global-landing-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.landing-bg-cloud {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   FOREST FOOTER PARALLAX (Moved to footer)
   --------------------------------------------------------------- */
.forest-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-repeat: repeat-x;
  background-position: bottom;
}
.forest-layer-back {
  height: 350px;
  background-size: 800px 350px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 350' preserveAspectRatio='none'%3E%3Cpath fill='%231e293b' d='M0,250 Q200,180 400,260 T800,240 L800,350 L0,350 Z'/%3E%3Cpath fill='%231e293b' d='M50,350 L50,150 L30,150 L50,90 L40,90 L60,40 L80,90 L70,90 L90,150 L70,150 L70,350 Z M250,350 L250,180 L230,180 L250,120 L240,120 L260,70 L280,120 L270,120 L290,180 L270,180 L270,350 Z M550,350 L550,130 L520,130 L550,60 L540,60 L570,10 L600,60 L590,60 L620,130 L590,130 L590,350 Z M750,350 L750,160 L730,160 L750,100 L740,100 L760,50 L780,100 L770,100 L790,160 L770,160 L770,350 Z'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.forest-layer-mid {
  height: 250px;
  background-size: 600px 250px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 250' preserveAspectRatio='none'%3E%3Cpath fill='%230f172a' d='M0,180 Q150,140 300,190 T600,170 L600,250 L0,250 Z'/%3E%3Cpath fill='%230f172a' d='M100,250 L100,80 L80,80 L100,30 L90,30 L110,0 L130,30 L120,30 L140,80 L120,80 L120,250 Z M350,250 L350,100 L330,100 L350,50 L340,50 L360,10 L380,50 L370,50 L390,100 L370,100 L370,250 Z M500,250 L500,110 L480,110 L500,60 L490,60 L510,20 L530,60 L520,60 L540,110 L520,110 L520,250 Z'/%3E%3C/svg%3E");
  opacity: 0.8;
}
.forest-layer-front {
  height: 150px;
  background-size: 400px 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 150' preserveAspectRatio='none'%3E%3Cpath fill='%23020617' d='M0,100 Q100,80 200,110 T400,90 L400,150 L0,150 Z'/%3E%3Cpath fill='%23020617' d='M50,150 L50,40 L35,40 L50,10 L45,10 L55,0 L65,10 L60,10 L75,40 L60,40 L60,150 Z M250,150 L250,60 L235,60 L250,20 L245,20 L255,0 L265,20 L260,20 L275,60 L260,60 L260,150 Z M150,150 L150,50 L135,50 L150,15 L145,15 L155,5 L165,15 L160,15 L175,50 L160,50 L160,150 Z'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------
   PREMIUM TYPOGRAPHY
   --------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, #d33f1f 0%, #8c3535 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
  font-weight: 800;
}
.card-desc {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #1a202c; /* Strong contrast against cloud bg */
  font-weight: 500;
  margin-bottom: 0;
}
.float-card {
  background: rgba(255, 255, 255, 0.95) !important; /* Opaque white glass */
  box-shadow: 0 30px 60px rgba(0,0,0,0.08), inset 0 0 40px rgba(255,255,255,1) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}
.float-card::before, .float-card::after {
  background: rgba(255, 255, 255, 0.95) !important; /* Ensure pseudo elements are opaque too */
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* ---------------------------------------------------------------
   TYPOGRAPHY & UTILS
   --------------------------------------------------------------- */
.section-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 32px;
  color: var(--text-dark);
}
.section-heading i {
  font-weight: 400;
  color: var(--text-muted);
}

.section-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 600px;
  margin-bottom: 24px;
  font-weight: 400;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

section {
  padding: 140px 0;
  position: relative;
}

/* Abstract floating shapes behind content */
.ambient-cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: floatCloud 10s ease-in-out infinite alternate;
}
@keyframes floatCloud {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}
@keyframes floatCloudHorizontal {
  0% { transform: translate(0px, 0px) scale(1); opacity: 0.2; }
  50% { transform: translate(40px, -20px) scale(1.05); opacity: 0.5; }
  100% { transform: translate(0px, 0px) scale(1); opacity: 0.2; }
}
@keyframes floatCardHorizontal {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(40px, -20px) scale(1.05); }
  100% { transform: translate(0px, 0px) scale(1); }
}

/* ---------------------------------------------------------------
   BEAUTIFUL CLOUDS (Organic, fluffy bright glassmorphism)
   --------------------------------------------------------------- */
.beautiful-cloud {
  background: var(--cloud-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--cloud-border);
  /* Organic cloud shape instead of a rectangle */
  border-radius: 120px 80px 140px 90px;
  padding: 60px;
  position: relative;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.12),
    inset 0 4px 30px rgba(255, 255, 255, 0.9),
    inset 0 -10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s var(--ease-soft), border-radius 0.6s var(--ease-soft);
  z-index: 2;
}

/* Fluffy lobes for the cloud using pseudo elements */
.beautiful-cloud::before, .beautiful-cloud::after {
  content: '';
  position: absolute;
  background: var(--cloud-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--cloud-border);
  border-radius: 50%;
  box-shadow: inset 0 4px 30px rgba(255, 255, 255, 0.9);
  z-index: -1;
  pointer-events: none;
}
.beautiful-cloud::before {
  width: 180px; height: 180px;
  top: -60px; left: 10%;
}
.beautiful-cloud::after {
  width: 260px; height: 260px;
  top: -90px; right: 15%;
}

.beautiful-cloud:hover {
  transform: translateY(-8px);
  border-radius: 90px 140px 80px 120px; /* Morphs gently on hover! */
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.15),
    inset 0 4px 30px rgba(255, 255, 255, 1),
    inset 0 -10px 30px rgba(0, 0, 0, 0.05);
}

/* ---------------------------------------------------------------
   CREATIVE ABOUT SECTION
   --------------------------------------------------------------- */
.creative-about {
  position: relative;
  padding: 100px 0 150px;
  min-height: 500px;
}
.about-hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  position: relative;
  z-index: 2;
}
.about-hero-text .section-heading {
  font-size: 4rem;
  margin-bottom: 24px;
}
.about-hero-text .section-desc {
  font-size: 1.4rem;
}
.about-float-cards {
  position: relative;
  height: 380px;
  max-width: 1050px;
  margin: 160px auto 0 auto;
}
.float-card {
  position: absolute;
  padding: 40px 50px;
  max-width: 440px;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
}
.float-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 40px 80px rgba(0,0,0,0.12), inset 0 0 50px rgba(255,255,255,1) !important;
}
.float-card.left-card {
  top: 0;
  left: 0;
  animation: floatCardHorizontal 8s ease-in-out infinite alternate;
}
.float-card.right-card {
  bottom: 0;
  right: 0;
  animation: floatCardHorizontal 10s ease-in-out infinite alternate-reverse;
  animation-delay: -2s;
}
.float-card h4 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.minimal-cloud {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   COMIC STORY SECTION
   --------------------------------------------------------------- */
.comic-panel {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px;
  margin-bottom: 80px;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Chaotic layout offsets */
.comic-panel:nth-child(1) {
  transform: translateX(-40px) rotate(-1deg);
}
.comic-panel:nth-child(2) {
  transform: translateX(40px) rotate(1.5deg);
}
.comic-panel:nth-child(3) {
  transform: translateX(-20px) rotate(-0.5deg);
}
.comic-panel.reverse {
  flex-direction: row-reverse;
}
.comic-panel:hover {
  transform: translateY(-15px) scale(1.02) rotate(0deg) !important;
  z-index: 10;
}
.comic-text {
  flex: 1;
}
.comic-image-wrap {
  width: 450px;
  height: 350px;
  flex-shrink: 0;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 0 50px rgba(255, 255, 255, 1);
  border: 4px solid var(--cloud-border);
  position: relative;
  background: var(--cloud-bg);
}
.comic-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.comic-panel:hover .comic-image {
  transform: scale(1.05);
}

/* ---------------------------------------------------------------
   PROJECTS SECTION
   --------------------------------------------------------------- */
.projects-header {
  margin-bottom: 80px;
}
.projects-layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.project-cloud-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px;
  margin-bottom: 60px;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s var(--ease-soft);
}
.project-cloud-wrapper:hover {
  transform: translateY(-10px) scale(1.02);
}
.project-cloud-wrapper.reverse {
  flex-direction: row-reverse;
}
.project-abstract-visual {
  width: 400px;
  height: 400px;
  flex-shrink: 0;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.project-cloud-wrapper:hover .project-abstract-visual {
  transform: scale(1.03) rotate(-2deg);
  box-shadow: 0 30px 60px rgba(211,63,31,0.25);
}
.project-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  background: var(--sky-mid);
  color: #ffffff;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}
.project-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
.project-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 30px;
}
.project-features {
  list-style: none;
}
.project-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
}
.project-features li:last-child {
  border-bottom: none;
}
.project-features li::before {
  content: 'вњ¦';
  color: var(--accent);
  margin-right: 12px;
  font-size: 0.8rem;
}

/* ---------------------------------------------------------------
   CTA & FOOTER
   --------------------------------------------------------------- */
.section-cta {
  text-align: center;
  padding: 160px 0;
  position: relative;
  z-index: 10;
}
.cta-cloud {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  position: relative;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 100px;
  text-decoration: none;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(211, 63, 31, 0.4);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(211, 63, 31, 0.6);
  background: #eb4926;
}

.site-footer {
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding-top: 420px; /* Push content down onto the solid ground (which starts at 350px) */
    padding-bottom: 60px;
    background: transparent;
    color: #fff;
    margin-top: -150px; /* Overlap with the sky CTA section */
  }
.site-footer::after {
    content: '';
    position: absolute;
    top: 349px; /* Solid ground starts at the bottom of the tallest tree layer */
    left: 0;
    width: 100%;
    bottom: -500px; /* Cover any overscroll or gaps */
    background: #020617; /* Matches forest-layer-front */
    z-index: -2;
  }
.site-footer .forest-layer {
  top: 0;
  bottom: auto; 
  z-index: -1;
  background-position: bottom; /* Align trees to the bottom of their respective div! */
}
/* Ensure the divs extend all the way down to 350px so they hit the solid ground! */
.site-footer .forest-layer-back { height: 350px; }
.site-footer .forest-layer-mid { height: 350px; }
.site-footer .forest-layer-front { height: 350px; }
.footer-content-wrap {
  position: relative;
  z-index: 2; /* Sits completely ON TOP of the forest */
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-tagline {
  color: #ffb4a2;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contacts a {
  color: #ffb4a2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-contacts a:hover {
  color: #fff;
}
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: #ffb4a2;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------
   REVEAL ANIMATIONS
   --------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-soft), transform 1.2s var(--ease-soft);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------
   PORTFOLIO MODAL
   --------------------------------------------------------------- */
.portfolio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-soft);
}
.portfolio-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.portfolio-modal {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--cloud-bg);
  border-radius: 40px;
  padding: 60px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2), inset 0 0 50px rgba(255, 255, 255, 1);
  border: 4px solid var(--cloud-border);
  position: relative;
  overflow-y: auto;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s var(--ease-soft);
}
.portfolio-modal-overlay.active .portfolio-modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.modal-close:hover {
  transform: rotate(90deg);
}
.modal-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.modal-hero-image {
  width: 100%;
  height: 300px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 1), rgba(255,200,200,0.5));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
}
.modal-body h3 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}
.modal-details {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.modal-detail-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 20px;
}
.modal-detail-card h4 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 10px;
}



/* ---------------------------------------------------------------
   PREMIUM TYPOGRAPHY
   --------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, #d33f1f 0%, #8c3535 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
  font-weight: 800;
}
.card-desc {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #1a202c; /* Strong contrast against cloud bg */
  font-weight: 500;
  margin-bottom: 0;
}
.float-card {
  background: rgba(255, 255, 255, 0.95) !important; /* Whiter glass for contrast */
  box-shadow: 0 30px 60px rgba(0,0,0,0.08), inset 0 0 40px rgba(255,255,255,1) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.site-footer .forest-layer {
  top: 0;
  bottom: auto; 
  z-index: -1;
  background-position: bottom; /* Align trees to the bottom of their respective div! */
}
/* Ensure the divs extend all the way down to 350px so they hit the solid ground! */
.site-footer .forest-layer-back { height: 350px; }
.site-footer .forest-layer-mid { height: 350px; }
.site-footer .forest-layer-front { height: 350px; }
.footer-content-wrap {
  position: relative;
  z-index: 2; /* Sits completely ON TOP of the forest */
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-tagline {
  color: #ffb4a2;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contacts a {
  color: #ffb4a2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-contacts a:hover {
  color: #fff;
}
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: #ffb4a2;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------
   REVEAL ANIMATIONS
   --------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-soft), transform 1.2s var(--ease-soft);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------
   PORTFOLIO MODAL
   --------------------------------------------------------------- */
.portfolio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-soft);
}
.portfolio-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.portfolio-modal {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--cloud-bg);
  border-radius: 40px;
  padding: 60px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2), inset 0 0 50px rgba(255, 255, 255, 1);
  border: 4px solid var(--cloud-border);
  position: relative;
  overflow-y: auto;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s var(--ease-soft);
}
.portfolio-modal-overlay.active .portfolio-modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.modal-close:hover {
  transform: rotate(90deg);
}
.modal-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.modal-hero-image {
  width: 100%;
  height: 300px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 1), rgba(255,200,200,0.5));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
}
.modal-body h3 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 20px;
}
.modal-details {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.modal-detail-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 20px;
}
.modal-detail-card h4 {
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 10px;
}



/* ---------------------------------------------------------------
   PREMIUM TYPOGRAPHY
   --------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(135deg, #d33f1f 0%, #8c3535 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-style: italic;
  font-weight: 800;
}
.card-desc {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #1a202c; /* Strong contrast against cloud bg */
  font-weight: 500;
  margin-bottom: 0;
}
.float-card {
  background: rgba(255, 255, 255, 0.95) !important; /* Whiter glass for contrast */
  box-shadow: 0 30px 60px rgba(0,0,0,0.08), inset 0 0 40px rgba(255,255,255,1) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

.float-card::before, .float-card::after {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

@keyframes driftCloudLeft {
  0% { transform: translate(10vw, 5vh) scale(1); }
  50% { transform: translate(-5vw, 15vh) scale(1.1); }
  100% { transform: translate(10vw, 5vh) scale(1); }
}

@keyframes driftCloudRight {
  0% { transform: translate(-10vw, -5vh) scale(1); }
  50% { transform: translate(15vw, 10vh) scale(1.15); }
  100% { transform: translate(-10vw, -5vh) scale(1); }
}

/* ---------------------------------------------------------------
   MOBILE RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 768px) {
  .landing-wrap {
    margin-top: -20vh;
    padding-top: 20vh;
  }

  section {
    padding: 30px 0;
  }

  .section-inner {
    padding: 0 20px;
  }

  .creative-about {
    padding: 60px 0 80px;
    min-height: auto;
  }

  .about-hero-text .section-heading {
    font-size: 2rem;
  }

  .about-hero-text .section-desc {
    font-size: 1.1rem;
  }

  .about-float-cards {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .float-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    animation: none !important;
  }

  .beautiful-cloud {
    padding: 30px;
    border-radius: 60px 40px 70px 45px;
  }

  .beautiful-cloud::before {
    width: 90px;
    height: 90px;
    top: -30px;
    left: 10%;
  }

  .beautiful-cloud::after {
    width: 130px;
    height: 130px;
    top: -45px;
    right: 15%;
  }

  .comic-panel {
    flex-direction: column !important;
    gap: 20px;
    padding: 25px;
    margin-bottom: 40px;
  }

  .comic-panel:nth-child(1),
  .comic-panel:nth-child(2),
  .comic-panel:nth-child(3) {
    transform: none;
  }

  .comic-panel.reverse {
    flex-direction: column !important;
  }

  .comic-image-wrap {
    width: 100%;
    height: 250px;
  }

  .project-cloud-wrapper {
    flex-direction: column !important;
    gap: 20px;
    padding: 25px;
    margin-bottom: 30px;
  }

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

  .site-footer {
    padding-top: 400px;
  }

  .portfolio-modal {
    width: 95%;
    padding: 30px;
    border-radius: 20px;
  }

  .modal-hero-image {
    height: 180px;
    font-size: 1.3rem;
  }

  .modal-body h3 {
    font-size: 1.6rem;
  }

  .modal-details {
    flex-direction: column;
  }

  .minimal-cloud {
    display: none;
  }

  #titleGroup {
    padding: 0 10px;
  }

  #titleGroup h1 {
    font-size: clamp(1.4rem, 6vw, 2.5rem) !important;
  }

  #titleGroup p,
  #titleGroup .hero-sub {
    font-size: clamp(0.75rem, 3vw, 1rem) !important;
  }

  .scroll-hint {
    bottom: 8vh;
    font-size: 0.75rem;
  }

  .flying-bird {
    width: 40px !important;
    height: 40px !important;
  }

  .paper-plane {
    width: 25px !important;
    height: 25px !important;
  }

  .portfolio-modal-body {
    padding: 20px !important;
  }

  #pModalImage {
    height: 150px !important;
    min-height: 150px !important;
  }

  .saas-layout {
    grid-template-columns: 1fr !important;
  }

  .saas-showcase {
    display: none !important;
  }

  .modal-card {
    width: 95vw !important;
    max-height: 90vh !important;
    padding: 20px !important;
  }

  .section-problems {
    padding: 60px 10px;
  }
}

@media (max-width: 480px) {
  .about-hero-text .section-heading {
    font-size: 1.6rem;
  }

  .section-heading {
    font-size: 1.6rem !important;
  }

  .beautiful-cloud {
    padding: 20px;
    border-radius: 40px 30px 50px 35px;
  }

  .beautiful-cloud::before,
  .beautiful-cloud::after {
    display: none;
  }

  .float-card h4 {
    font-size: 1.5rem;
  }

  .project-abstract-visual {
    height: 150px;
  }


}

@media (max-width: 480px) {
  .about-hero-text .section-heading {
    font-size: 1.6rem;
  }

  .section-heading {
    font-size: 1.6rem !important;
  }

  .beautiful-cloud {
    padding: 20px;
    border-radius: 40px 30px 50px 35px;
  }

  .beautiful-cloud::before,
  .beautiful-could::after {
    display: none;
  }

  .float-card h4 {
    font-size: 1.5rem;
  }

  .project-abstract-visual {
    height: 150px;
  }
}
}

/* ---------------------------------------------------------------
   ELEGANT PROBLEMS SECTION (formerly Comic)
   --------------------------------------------------------------- */
.section-problems {
    padding: 120px 20px;
    position: relative;
    z-index: 10;
}

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

.comic-flip-card {
    background-color: transparent;
    perspective: 1200px;
    height: 340px;
    cursor: pointer;
}

.comic-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.comic-flip-card:hover .comic-flip-inner {
    transform: rotateY(180deg);
}

.comic-flip-front, .comic-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    color: var(--text-dark);
}

.comic-flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,240,240,0.95) 100%);
    border: 1px solid rgba(211, 63, 31, 0.2);
    box-shadow: 0 20px 40px rgba(211, 63, 31, 0.15);
}

.comic-icon {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    color: rgba(211, 63, 31, 0.15);
    margin-bottom: 20px;
    line-height: 1;
}

.comic-flip-back .comic-icon {
    color: var(--accent);
    font-size: 50px;
    filter: drop-shadow(0 4px 10px rgba(211, 63, 31, 0.3));
}

.comic-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.comic-flip-back .comic-title {
    color: var(--accent);
}

.comic-desc {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
}

@media (max-width: 1100px) {
    .comic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .comic-grid { grid-template-columns: 1fr; }
    .comic-flip-card { height: 280px; }
}

/* ---------------------------------------------------------------
   GOD RAYS (Background Effect)
   --------------------------------------------------------------- */
.god-rays-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -3; /* Behind everything */
    overflow: hidden;
    opacity: 0.6;
    mix-blend-mode: overlay;
}

.god-ray {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
        rgba(255,255,255,0) 0deg, 
        rgba(255,255,255,0.05) 10deg, 
        rgba(255,255,255,0) 20deg, 
        rgba(255,255,255,0) 40deg, 
        rgba(255,255,255,0.08) 50deg, 
        rgba(255,255,255,0) 60deg,
        rgba(255,255,255,0) 90deg,
        rgba(255,255,255,0.03) 100deg,
        rgba(255,255,255,0) 110deg,
        rgba(255,255,255,0) 360deg);
    transform-origin: 50% 50%;
    animation: rotateRays 60s linear infinite;
    transform: translateX(-50%) translateY(-25%);
}

.god-ray:nth-child(2) {
    background: conic-gradient(from 45deg at 50% 50%, 
        rgba(255,255,255,0) 0deg, 
        rgba(255,255,255,0.06) 15deg, 
        rgba(255,255,255,0) 30deg, 
        rgba(255,255,255,0) 360deg);
    animation-duration: 80s;
    animation-direction: reverse;
}

.god-ray:nth-child(3) {
    background: conic-gradient(from -30deg at 50% 50%, 
        rgba(255,255,255,0) 0deg, 
        rgba(255,255,255,0.04) 5deg, 
        rgba(255,255,255,0) 10deg, 
        rgba(255,255,255,0) 360deg);
    animation-duration: 45s;
}

@keyframes rotateRays {
    0% { transform: translateX(-50%) translateY(-25%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-25%) rotate(360deg); }
}

/* ---------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   --------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ---------------------------------------------------------------
   ROADMAP SECTION
   --------------------------------------------------------------- */
.section-roadmap {
    padding: 120px 20px;
    position: relative;
    z-index: 10;
}

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

/* The vertical line */
.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(211,63,31,0) 0%, rgba(211,63,31,0.5) 15%, rgba(211,63,31,0.5) 85%, rgba(211,63,31,0) 100%);
    transform: translateX(-50%);
}

.roadmap-step {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 60px;
}

.roadmap-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.roadmap-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

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

.roadmap-dot {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(211,63,31,0.5);
    z-index: 2;
}

.roadmap-step:nth-child(odd) .roadmap-dot {
    right: -10px;
}

.roadmap-step:nth-child(even) .roadmap-dot {
    left: -10px;
}

.roadmap-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(211,63,31,0.1);
}

.roadmap-number {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 900;
    color: rgba(211, 63, 31, 0.1);
    position: absolute;
    top: -10px;
    line-height: 1;
    z-index: -1;
}

.roadmap-step:nth-child(odd) .roadmap-number { right: 20px; }
.roadmap-step:nth-child(even) .roadmap-number { left: 20px; }

.roadmap-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.roadmap-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 20px;
    }
    
    .roadmap-step {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 0 0 0 60px;
    }
    
    .roadmap-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .roadmap-step:nth-child(odd) .roadmap-number,
    .roadmap-step:nth-child(even) .roadmap-number {
        left: 20px;
        right: auto;
    }
}
