/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/* CUSTOM PROPERTIES */
:root {
  --safety-orange: hsl(25, 100%, 50%);
  --lavender-gray: hsl(230, 19%, 81%);
  --persian-rose: hsl(328, 100%, 59%);
  --red-crayola: hsl(341, 100%, 49%);
  --eerie-black: hsl(240, 6%, 10%);
  --light-gray: hsl(0, 0%, 80%);
  --cultured-2: hsl(210, 60%, 98%);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(220, 5%, 49%);
  --cultured: hsl(0, 0%, 93%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_5: hsla(0, 0%, 0%, 0.05);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 14%, 98%);
  --black: hsl(0, 0%, 0%);

  --gradient: linear-gradient(to left top, var(--persian-rose), var(--safety-orange));

  --ff-roboto: 'Roboto', sans-serif;
  --ff-league-spartan: 'League Spartan', sans-serif;

  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.1rem;
  --fs-4: 1.7rem;
  --fs-5: 1.4rem;
  --fs-6: 1.3rem;

  --fw-700: 700;
  --fw-500: 500;

  --section-padding: 60px;

  --shadow-1: 0 6px 24px var(--black_5);
  --shadow-2: 0 2px 28px var(--black_10);

  --radius-2: 2px;
  --radius-5: 5px;
  --radius-8: 8px;

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }
a { text-decoration: none; color: inherit; }

a, img, span, time, label, input, button, textarea, ion-icon {
  display: block;
}

img { height: auto; }

input, button, textarea {
  background: none;
  border: none;
  font: inherit;
}

input, textarea { width: 100%; }

button { cursor: pointer; }
ion-icon { pointer-events: none; }
address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-1);
  color: var(--gray-web);
  font-size: 1.6rem;
  line-height: 1.8;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }
::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }
::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }
:focus-visible { outline-offset: 4px; }

/* REUSED STYLES */
.container { padding-inline: 15px; }

.btn {
  max-width: max-content;
  color: var(--white-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  padding: 10px 30px;
  border-radius: var(--radius-5);
  transition: var(--transition-1);
}

.btn-primary {
  background-image: var(--gradient);
  background-size: 200%;
  background-position: left;
}

.btn-primary:is(:hover, :focus) {
  background-position: right;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.3), 0 0 30px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
  background-color: var(--white-1);
  color: var(--eerie-black);
}

.btn-secondary:is(:hover, :focus) {
  background-color: var(--eerie-black);
  color: var(--white-1);
}

.section { padding-block: var(--section-padding); }

.h1, .h2, .h3 {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  line-height: 1.2;
}

.h1 { font-size: var(--fs-1); }
.h2 { font-size: var(--fs-2); }
.h3 { font-size: var(--fs-3); }

.w-100 { width: 100%; }

.section-title, .section-text { text-align: center; }
.section-text { font-size: var(--fs-6); }

.grid-list {
  display: grid;
  gap: 30px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}


/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-1);
  padding-block: 15px;
  border-bottom: 1px solid var(--cultured);
  z-index: 4;
  transition: var(--transition-1);
}

.header.active { filter: drop-shadow(var(--shadow-2)); }

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--ff-league-spartan);
  color: var(--black);
  font-size: 3.5rem;
  font-weight: var(--fw-700);
  line-height: 1;
}

.nav-toggle-btn { font-size: 40px; }

.nav-toggle-btn.active .open,
.nav-toggle-btn .close { display: none; }

.nav-toggle-btn .open,
.nav-toggle-btn.active .close { display: block; }

.navbar {
  background-color: var(--white-1);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 30px);
  width: 100%;
  border: 1px solid var(--cultured);
  transition: 0.3s var(--cubic-out);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.navbar.active {
  max-height: 320px;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list {
  padding: 20px 15px;
  padding-top: 10px;
  opacity: 0;
  transition: var(--transition-1);
}

.navbar.active .navbar-list { opacity: 1; }

.navbar-link {
  color: var(--eerie-black);
  font-family: var(--ff-league-spartan);
  font-size: var(--fs-4);
  line-height: 1.2;
  padding-block: 8px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { color: var(--red-crayola); }

.header .btn { margin-top: 10px; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-padding) 15px;
  overflow: hidden;
  z-index: 1;
  background-color: var(--white-1);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../assets/images/home-image-1.jpg') no-repeat center center/cover;
  opacity: 0.5;
  filter: brightness(0.85) saturate(1.2);
  z-index: 0;
  animation: floatBg 18s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.3));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 50px 25px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
  animation: fadeUp 1s ease forwards;
}

.hero-subtitle {
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  color: var(--red-crayola);
  margin-bottom: 8px;
}

.hero-title {
  font-size: var(--fs-1);
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-block: 20px 15px;
  font-weight: var(--fw-700);
}

.hero-text {
  font-size: var(--fs-5);
  color: var(--eerie-black);
  max-width: 700px;
  margin-inline: auto;
}

.hero .btn {
  margin-top: 25px;
}

/* ✨ Floating Decorative Bubbles ✨ */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.3;
  z-index: 0;
  animation: float 8s ease-in-out infinite alternate;
}

.bubble1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.bubble2 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 10%;
  animation-delay: 1.5s;
}

.bubble3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 20%;
  animation-delay: 3s;
}


/* Animations */
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  100% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.4;
  }
}

@keyframes floatBg {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.05) translateY(-10px); }
}




/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background-color: var(--white-2);
  padding-block: 60px;
  animation: fadeInUp 1s ease-in-out;
}

.service .section-text {
  margin-block: 5px 35px;
  font-size: 1.125rem;
  color: #444;
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

.service-card {
  background-color: var(--white-1);
  padding: 25px 20px;
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center;
  cursor: pointer;
}

.service-card:is(:hover, :focus-within) {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.service-card .card-icon {
  color: var(--white-1);
  font-size: 28px;
  margin-inline: auto;
  padding: 20px;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.service-card:hover .card-icon {
  transform: rotate(10deg) scale(1.1);
}

.service-card .card-title {
  margin-block: 20px 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.service-card .card-text {
  font-size: var(--fs-6);
  color: #666;
  line-height: 1.5;
}

/* Glassmorphism styling */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.4s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.15);
}

/* Icon circle */
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: white;
  transition: transform 0.3s ease;
}

.gradient-icon.purple {
  background: linear-gradient(45deg, #6a11cb, #2575fc);
}
.gradient-icon.teal {
  background: linear-gradient(45deg, #11998e, #38ef7d);
}
.gradient-icon.yellow {
  background: linear-gradient(45deg, #f7971e, #ffd200);
}
.gradient-icon.red {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
}
.gradient-icon.gold {
  background: linear-gradient(45deg, #f7971e, #f7b733);
}
.gradient-icon.blue {
  background: linear-gradient(45deg, #43cea2, #185a9d);
}

.service-title {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

/* 🌟 Project Section Text */
.project .section-text {
  margin-block: 10px 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  font-weight: 500;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

/* 🔥 Project Card Styling */
.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* 🖼️ Image Styling */
.project-card .card-banner {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 🎨 Gradient Overlay */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.2) 70%, transparent);
  z-index: 1;
  pointer-events: none;
}

/* 📦 Content Container */
.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}

.project-card:hover .card-content {
  transform: translateY(-15px);
}

/* 🔸 Subtitle */
.project-card .card-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #eaeaea;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 🔹 Title */
.project-card .card-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 🚀 View More Button */
.view-more-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.view-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* 📱 Responsive Enhancements */
@media (max-width: 768px) {
  .project-card .card-content {
    padding: 18px 14px;
  }

  .project-card .card-title {
    font-size: 20px;
  }

  .project-card .card-subtitle {
    font-size: 13px;
  }

  .view-more-btn {
    padding: 9px 18px;
    font-size: 12px;
  }
}



/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { background-color: var(--white-2); }

.about-banner {
  position: relative;
  border-radius: var(--radius-5);
  overflow: hidden;
  margin-block-end: 25px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white-1);
  color: var(--red-crayola);
  font-size: 32px;
  padding: 16px;
  border-radius: 50%;
  animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 1px var(--white-1); }
  100% { box-shadow: 0 0 0 25px transparent; }
}

.about :is(.section-title, .section-text) { text-align: left; }

.about .section-title { margin-block-end: 5px; }

.about .section-text:not(:last-child) { margin-block-end: 18px; }

.about .h3 { margin-block-end: 8px; }

.about-list { margin-block: 15px 18px; }

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.about-item ion-icon {
  color: var(--red-crayola);
  flex-shrink: 0;
  margin-block-start: 2px;
}

.about-item:not(:last-child) { margin-block-end: 12px; }





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--gradient);
  opacity: 0.95;
  z-index: -1;
}

.cta-subtitle,
.cta .section-title { color: var(--white-1); }

.cta-subtitle {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-align: center;
}

.cta .section-title { margin-block: 12px 18px; }

.cta .btn { margin-inline: auto; }





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .section-text { margin-block: 5px 35px; }

.blog-card { background-color: var(--white-2); }

.blog-card .card-banner { overflow: hidden; }

.blog-card .card-banner img { transition: var(--transition-2); }

.blog-card:is(:hover, :focus-within) .card-banner img { transform: scale(1.05); }

.blog-card .card-content { padding: 15px; }

.blog-card .time {
  color: var(--red-crayola);
  font-size: var(--fs-6);
  line-height: 1;
  margin-block-end: 10px;
}

.blog-card .card-title { transition: var(--transition-1); }

.blog-card .card-title:is(:hover, :focus) { color: var(--red-crayola); }





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact { background-color: var(--white-2); }

.contact .section-text { margin-block: 5px 35px; }

.contact-form {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  margin-block-end: 30px;
  box-shadow: var(--shadow-1);
}

.input-field {
  background-color: var(--white-2);
  color: var(--eerie-black);
  font-size: var(--fs-5);
  padding: 15px;
  border-radius: var(--radius-2);
  outline: 1px solid transparent;
  outline-offset: 0;
  margin-block-end: 15px;
}

.input-field::-webkit-inner-spin-button { display: none; }

.input-field:focus { outline-color: var(--red-crayola); }

.input-field::placeholder { transition: var(--transition-1); }

.input-field:focus::placeholder { opacity: 0; }

textarea.input-field {
  resize: vertical;
  min-height: 80px;
  height: 100px;
  max-height: 200px;
  overscroll-behavior: contain;
}

.checkbox {
  width: max-content;
  margin-block-start: 5px;
  accent-color: var(--red-crayola);
}

.label-link {
  display: inline-block;
  color: var(--red-crayola);
}

.label-link:is(:hover, :focus) { text-decoration: underline; }

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-end: 15px;
}

.checkbox-wrapper .label { font-size: var(--fs-6); }

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 25px;
}

.contact-item { min-width: 100%; }

.contact-card {
  background-color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-card .card-icon {
  background-color: var(--cultured-2);
  color: var(--red-crayola);
  font-size: 25px;
  padding: 13px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.contact-card:is(:hover, :focus) .card-icon {
  background-color: var(--red-crayola);
  color: var(--white-1);
}

.contact-card .card-title { margin-block-end: 5px; }

.contact-card :is(.card-link, .card-address) {
  font-size: var(--fs-6);
  transition: var(--transition-1);
}

.contact-card .card-link:is(:hover, :focus) { color: var(--red-crayola); }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }



  /**
   * BLOG
   */

  .blog .grid-list { grid-template-columns: 1fr; }

  .blog-card.grid {
    display: grid;
    grid-template-columns: 0.47fr 1fr;
    align-items: center;
    gap: 10px;
  }



  /**
   * CONTACT
   */

  .input-wrapper {
    display: flex;
    gap: 15px;
  }

  .contact-item { min-width: calc(50% - 18px); }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.5rem;
    --fs-2: 3.7rem;
    --fs-3: 2.3rem;
    --fs-4: 1.8rem;
    --fs-5: 1.5rem;
    --fs-6: 1.4rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero-text .p{
    max-width: 60ch;
    margin-inline: auto;
  }

/* Wrapper for Description + Button */
.hero-description-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin: 40px auto 0;
  padding: 0 20px;
  gap: 20px;
}

/* Hero Text Style */
.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-color, #333);
  margin: 0;
}

/* CTA Button Style */
.btn-primary {
  background-color: #25d366;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}

/* ✅ Responsive for Mobile Devices */
@media screen and (max-width: 768px) {
  .hero-text {
    font-size: 16px;
  }

  .btn-primary {
    font-size: 15px;
    padding: 10px 22px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  .hero-text {
    font-size: 15px;
  }

  .btn-primary {
    font-size: 14px;
    padding: 10px 20px;
  }

  .hero-title {
    font-size: 24px;
  }
}


  /**
   * ABOUT
   */

  .about-banner { max-width: 550px; }

  .about .section-text {
    max-width: unset;
    margin-inline: 0;
  }



  /**
   * CONTACT
   */

  .contact-form { padding: 30px; }

  .contact-item { min-width: calc(50% - 12.5px); }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5rem;
    --fs-2: 4rem;
    --fs-3: 2.5rem;

    /**
     * spacing
     */

    --section-padding: 100px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }

  .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HEADER
   */

  .nav-toggle-btn { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar-link { position: relative; }

  .navbar-link:is(:hover, :focus) { color: var(--eerie-black); }

  .navbar-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-image: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-2);
  }

  .navbar-link:is(:hover, :focus)::after { transform: scaleX(1); }

  .header .btn { margin-block-start: 0; }



  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  .hero-content { margin-block-end: 0; }

  .hero-subtitle {
    position: relative;
    padding-inline-start: 15px;
  }

  .hero-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--red-crayola);
  }

  .hero-text,
  .hero .btn { margin-inline: 0; }



  /**
   * SERVICE
   */

  .service-card { padding: 20px; }

  .service-card .h3 { --fs-3: 2.3rem; }



  /**
   * PROJECT
   */

  .project-card .card-subtitle { --fs-6: 1.5rem; }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner { margin-block-end: 0; }



  /**
   * BLOG
   */

  .blog .grid-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
  }

  .blog .grid-list > li:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  .blog-card:not(.grid) { height: 100%; }

  .blog-card .card-content { padding-block: 10px; }

  .blog-card:not(.grid) .card-content { padding: 25px; }

  .blog-card.grid .h3 { --fs-3: 2rem; }

  .blog-card .time { --fs-6: 1.6rem; }



  /**
   * CONTACT
   */

  .checkbox-wrapper { margin-block: 20px; }

  .contact-item { min-width: calc(33.33% - 16.66px); }

  .contact-card { padding: 30px; }

  .contact-card .card-icon { font-size: 32px; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 6.8rem;
    --fs-2: 4.5rem;
    --fs-4: 1.9rem;
    --fs-5: 1.6rem;
    --fs-6: 1.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1140px; }

  .btn { --fs-6: 1.5rem; }



  /**
   * SERVICE
   */

  .service-card { padding: 30px; }

  .service-card .h3 { --fs-3: 2.5rem; }



  /**
   * PROJECT
   */

  .project-card .card-content { padding: 30px; }

  .project-card .card-subtitle { --fs-6: 1.6rem; }



  /**
   * ABOUT
   */

  .about .container { gap: 60px; }

  .about-item { gap: 7px; }

  .about-item ion-icon { font-size: 20px; }



  /**
   * CTA
   */

  .cta .section-title { margin-block: 15px 24px; }



  /**
   * BLOG
   */

  .blog-card .time { --fs-6: 1.6rem; }

  .blog-card.grid .h3 { --fs-3: 2.4rem; }



  /**
   * CONTACT
   */

  .contact-form { padding: 50px; }

  .contact-card { gap: 20px; }

  .contact-card .card-icon { padding: 15px; }

}

/* Portfolio Section */

.portfolio .section-title {
  font-size: 4rem;           /* Increased size */
  font-weight: 900;          /* Extra bold for better visibility */
  text-align: center;
  margin-bottom: 24px;
  color: #111;
  line-height: 1.2;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.portfolio .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;               /* Slightly longer underline */
  height: 5px;
  background: #6a11cb;
  border-radius: 2.5px;
}

.portfolio .section-text {
  font-size: 1.4rem;         /* Increased for better readability */
  font-weight: 500;
  color: #444;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.75;
}


/* Portfolio Card Styles */
.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.portfolio-card h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 10px;
  position: relative;

}

.portfolio-card h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #ff6b6b;
  margin-top: 8px;
  border-radius: 2px;
  transition: width 0.3s ease;
  cursor: pointer;
}

.portfolio-card:hover h3::after {
  width: 70px;
}

.portfolio-card ul {
  margin: 0;
  padding-left: 18px;
  list-style: none;
}

.portfolio-card ul li {
  margin: 10px 0;
  transition: transform 0.3s ease;
  position: relative;
}

.portfolio-card ul li a {
  color: #444;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-left: 18px;
  display: inline-block;
  transition: color 0.3s ease;
}

.portfolio-card ul li a::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #ff6b6b;
  transition: left 0.3s ease;
}

.portfolio-card ul li a:hover {
  color: #ff6b6b;
}

.portfolio-card ul li a:hover::before {
  left: -5px;
}

/* Grid */
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.hero-title {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  opacity: 1;
  transform: scale(1);
}

/* Optional: Add this class dynamically if you want deeper control */
.hero-title.animate-out {
  opacity: 0;
  transform: scale(0.95);
}

.hero-title.animate-in {
  opacity: 1;
  transform: scale(1);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  background-color: #fef3f7;
  padding: 1rem;
  border-radius: 50%;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon ion-icon {
  font-size: 1.8rem;
  color: #e91e63;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-link,
.card-address {
  color: #666;
  font-size: 1rem;
}

/* === Footer Section Styling === */
.footer {
  background: var(--footer-bg);
  padding: 90px 20px 50px;
  margin-top: 100px;
  border-top: 1px solid #333;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  border-radius: 80px 80px 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--footer-text);
}

.footer::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--accent), var(--accent-light));
  border-radius: 0 0 80px 80px;
  z-index: -1;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 26px;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-brand .logo:hover {
  color: var(--accent-light);
}

.footer-text {
  margin-top: 12px;
  font-size: 15px;
  color: var(--footer-link);
  line-height: 1.8;
}

.footer-list-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-link {
  display: inline-block;
  font-size: 15px;
  color: var(--footer-link);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.footer-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-link:hover::after {
  width: 100%;
}

.social-list {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  list-style: none;
  padding-left: 0;
}

.social-link {
  font-size: 18px;
  color: var(--accent);
  background: var(--social-bg);
  padding: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(246, 193, 119, 0.15);
}

.social-link ion-icon {
  font-size: 22px;
}

.social-link:hover {
  background: var(--accent);
  color: #1a1a1a;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(246, 193, 119, 0.3);
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  padding-top: 25px;
  border-top: 1px solid #333;
}
:root {
  /* Brand Gradient */
  --gradient: linear-gradient(90deg, #ff6a00, #ff2d55); /* orange to pink */

  /* Core Colors */
  --primary-orange: #ff6a00;  /* strong orange */
  --primary-pink: #ff2d55;    /* strong pink */
  --white: #ffffff;
  --black: #000000;
  --dark-gray: #1e1e1e;
  --text-gray: #4a4a4a;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f8f8f8;
  --bg-footer: #1a1a1a;

  /* Footer & Accent Colors */
  --footer-bg: #1a1a1a;
  --footer-text: #f1f1f1;
  --footer-link: #d0d0d0;
  --accent: #ff2d55;
  --accent-light: #ff6a00;
  --social-bg: #262626;

  /* Shadows and Effects */
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  --circle-gradient: radial-gradient(circle at center, #ffc0cb, #ffa07a); /* soft pink-orange */

  /* Fonts */
  --ff-primary: 'Poppins', sans-serif;

  /* Font Sizes */
  --fs-xl: 3rem;
  --fs-lg: 2rem;
  --fs-md: 1.2rem;
  --fs-sm: 1rem;

  /* Border Radius */
  --radius: 16px;

  /* Transitions */
  --transition: 0.3s ease;
}

.custom-view-more-wrapper {
  text-align: center;
  margin-top: 50px;
  animation: fadeInUp 1s ease-in-out;
}

.custom-view-more-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 16px;
  background: linear-gradient(90deg, #ff6a00, #ff2d55);
  color: white;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(255, 107, 0, 0.3);
  transition: all 0.3s ease;
}

.custom-view-more-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(255, 107, 0, 0.45);
}