/*-----------------------------------*\
  #RESPONSIVE MOBILE-FIRST CSS
\*-----------------------------------*/

/**
 * Mobile-first responsive design
 * Bug-free and optimized for all devices
 */

/*-----------------------------------*\
  #CUSTOM PROPERTIES
\*-----------------------------------*/

html {
  scroll-behavior: smooth;
}

:root {
  /* Colors */
  --st-patricks-blue: hsl(236, 57%, 28%);
  --amaranth-purple: hsl(335, 88%, 38%);
  --royal-blue-dark: hsl(233, 83.30%, 14.10%);
  --chrome-yellow: hsl(39, 100%, 52%);
  --space-cadet-1: hsl(230, 41%, 25%);
  --space-cadet-2: hsl(230, 59%, 16%);
  --winter-sky_50: hsla(335, 87%, 53%, 0.5);
  --purple-navy: hsl(236, 26%, 43%);
  --ksu-purple: hsla(241, 91.50%, 9.20%, 0.90);
  --winter-sky: hsl(335, 50.80%, 12.70%);
  --razzmatazz: hsl(232, 54.60%, 36.30%);
  --platinum: hsl(0, 0%, 90%);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --rajah: hsl(223, 92.70%, 51.80%);
  --white: hsl(0, 0%, 100%);
  --primary-pink: #f02781;
  --primary-green: rgb(11, 127, 15);

  --gradient-1: linear-gradient(90deg, rgb(0, 2, 10) 0%, var(--ksu-purple) 51%, var(--royal-blue-dark));
  --gradient-2: linear-gradient(90deg, var(--razzmatazz), var(--rajah));

  /* Typography */
  --ff-source-sans-pro: 'Source Sans Pro', sans-serif;
  --ff-poppins: 'Poppins', sans-serif;

  /* Mobile-first font sizes */
  --fs-1: clamp(2.5rem, 5vw, 4.2rem);
  --fs-2: clamp(2.2rem, 4vw, 3.8rem);
  --fs-3: clamp(2rem, 3.5vw, 3.2rem);
  --fs-4: clamp(1.8rem, 3vw, 2.5rem);
  --fs-5: clamp(1.6rem, 2.5vw, 2.4rem);
  --fs-6: clamp(1.4rem, 2vw, 2rem);
  --fs-7: clamp(1.3rem, 1.8vw, 1.8rem);
  --fs-8: clamp(1.2rem, 1.5vw, 1.5rem);

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /* Border radius */
  --radius-4: 4px;
  --radius-12: 12px;

  /* Spacing - responsive */
  --section-padding: clamp(40px, 8vw, 80px);
  --container-padding: clamp(15px, 4vw, 30px);

  /* Transitions */
  --transition-1: 0.15s ease;
  --transition-2: 0.35s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

  /* Shadow */
  --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a,
img,
span,
input,
button,
ion-icon {
  display: block;
}

button,
input {
  background: none;
  border: none;
  font: inherit;
}

button {
  cursor: pointer;
}

input {
  width: 100%;
}

ion-icon {
  pointer-events: none;
}

img {
  height: auto;
  max-width: 100%;
  display: block;
}

address {
  font-style: normal;
}

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background: var(--gradient-1);
  background-attachment: fixed;
  color: var(--purple-navy);
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

body.noscroll {
  overflow: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 95%);
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary-pink);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(335, 88%, 30%);
}

/*-----------------------------------*\
  #REUSED STYLES
\*-----------------------------------*/

.container {
  padding-inline: var(--container-padding);
  max-width: 100%;
  margin-inline: auto;
}

.h2,
.h3 {
  font-family: var(--ff-source-sans-pro);
}

/* Responsive Button */
.btn {
  background: linear-gradient(135deg, var(--primary-pink), #e91e63);
  background-size: 200%;
  color: white;
  padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 35px);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border-radius: 0 25px;
  border: none;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(240, 39, 129, 0.4);
}

.btn:active {
  transform: scale(0.98);
}

.w-100 {
  width: 100%;
}

.section {
  padding-block: var(--section-padding);
  padding-inline: var(--container-padding);
}

.section-title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-3);
  margin-block-end: clamp(30px, 6vw, 60px);
  text-align: center;
  max-width: 100%;
}

.underline {
  position: relative;
}

.underline::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-green);
  border-radius: 10px;
}

.underline1::before {
  background: var(--primary-pink);
}

.title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-bottom: 15px;
}

.text {
  font-size: var(--fs-8);
  line-height: 1.6;
  margin-bottom: 15px;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animation */
.banner-animation {
  animation: waveAnim 2s linear infinite alternate;
}

@keyframes waveAnim {
  0% {
    transform: translate(0, 0) rotate(0);
  }

  100% {
    transform: translate(2px, 2px) rotate(1deg);
  }
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  --color: var(--white);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 14px;
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  --color: var(--st-patricks-blue);
  position: fixed;
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  color: var(--color);
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
}

.logo-image {
  width: clamp(150px, 30vw, 300px);
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.nav-open-btn {
  color: var(--color);
  font-size: 28px;
  padding: 4px;
  display: block;
}

.header .btn {
  display: none;
}

/* Mobile Navigation */
.navbar {
  background-color: var(--primary-pink);
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 280px;
  min-height: 100vh;
  padding: 20px;
  visibility: hidden;
  z-index: 10;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  left: 0;
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px 30px;
  margin-bottom: 40px;
}

.navbar-top .logo {
  color: var(--white);
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
}

.nav-close-btn {
  color: var(--white);
  font-size: 24px;
  padding: 4px;
}

.navbar-item {
  position: relative;
  margin-bottom: 10px;
}

.navbar-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.navbar-link {
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  padding: 12px 0;
  display: block;
  border-radius: 8px;
  transition: var(--transition-1);
}

.navbar-link:hover {
  color: var(--chrome-yellow);
  padding-left: 10px;
}

.line {
  /*all: unset;*/
  width: 0;
  height: 2px;
  background-color: var(--chrome-yellow);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.navbar-item:hover .line {
  width: 100%;
}

.navbar-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
}

.navbar-social a {
  color: var(--white);
  font-size: 20px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-1);
}

.navbar-social a:hover {
  background: var(--white);
  color: var(--primary-pink);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_70);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-2);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("../images/hero-bg.png"), var(--gradient-1);
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom, center;
  background-size: contain, cover;
  padding: clamp(120px, 15vh, 200px) var(--container-padding) clamp(60px, 10vh, 100px);
  min-height: 100vh;
  text-align: center;
}

.hero-content {
  z-index: 10;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-subtitle {
  color: var(--primary-pink);
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-7);
  margin-bottom: 15px;
  font-weight: var(--fw-600);
}

.hero-title {
  color: var(--white);
  font-size: var(--fs-1);
  margin-bottom: 20px;
  font-weight: var(--fw-700);
  line-height: 1.2;
}

.hero-text {
  color: var(--white);
  font-size: var(--fs-8);
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-banner {
  position: relative;
  max-width: 100%;
  width: clamp(300px, 50vw, 500px);
}

.hero-banner img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/*-----------------------------------*\
  #POPUP STYLES
\*-----------------------------------*/

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in-out;
}

.popup-overlay.active {
  display: flex;
}

.popup-container {
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 30px);
  border-radius: 15px;
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #000000 50%, #6600cc 100%);
  box-shadow: 0 20px 60px rgba(102, 0, 204, 0.7);
  color: white;
  animation: slideIn 0.4s ease-in-out;
}

.popup-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.8);
  border: 3px solid white;
  margin: 0 auto 20px;
  transition: transform 0.3s ease-in-out;
}

.popup-image:hover {
  transform: scale(1.1);
}

.popup-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 5px 15px rgba(138, 43, 226, 0.8);
  margin-bottom: 15px;
}

.popup-text p {
  font-size: var(--fs-8);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  background: rgba(255, 0, 0, 0.8);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.popup-close:hover {
  background: red;
  transform: scale(1.1);
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about-banner {
  margin-bottom: 30px;
}

.about .section-title {
  text-align: left;
  margin-inline: 0;
}

.about .underline::before {
  left: 0;
  transform: none;
}

.about-text {
  font-size: var(--fs-8);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.stats-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.stats-card {
  text-align: center;
  padding: clamp(15px, 3vw, 25px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-12);
  background-color: white;
  transition: transform 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
}

.stats-title {
  color: var(--primary-green);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
  margin-bottom: 5px;
}

.stats-text {
  font-size: var(--fs-8);
  color: var(--primary-green);
}

/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-list {
  display: grid;
  gap: 30px;
}

.service-card {
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-12);
  background: white;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .card-icon {
  background-image: url("../images/service-banner-pattern.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #ffa1cb;
  aspect-ratio: 1 / 1;
  max-width: 120px;
  display: grid;
  place-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.service-card:hover .card-icon {
  background-color: var(--primary-pink);
  transform: scale(1.1);
}

.service-card .card-icon ion-icon {
  font-size: 3rem;
  color: white;
  --ionicon-stroke-width: 20px;
}

.service-card .title {
  color: var(--primary-pink);
  text-align: center;
  margin-bottom: 15px;
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
}

.service-card .text {
  text-align: center;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .card-btn {
  margin: 0 auto;
  padding: 12px;
  border: 2px solid var(--primary-pink);
  border-radius: 50%;
  color: var(--primary-pink);
  background: transparent;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-1);
  cursor: pointer;
}

.service-card .card-btn:hover {
  background-color: var(--primary-pink);
  color: white;
  transform: scale(1.1);
}

/*-----------------------------------*\
  #MODAL
\*-----------------------------------*/

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 30px);
  border-radius: var(--radius-12);
  position: relative;
  text-align: left;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  font-size: var(--fs-3);
  color: var(--st-patricks-blue);
  margin-bottom: 15px;
  font-weight: var(--fw-700);
}

.modal-content p {
  font-size: var(--fs-8);
  color: var(--purple-navy);
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal-content ul {
  padding: 0;
  margin-top: 15px;
}

.modal-content ul li {
  font-size: var(--fs-8);
  padding: 8px 0;
  color: var(--purple-navy);
  position: relative;
  padding-left: 20px;
}

.modal-content ul li::before {
  content: "•";
  color: var(--primary-pink);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: var(--purple-navy);
  background: none;
  border: none;
  cursor: pointer;
}

.go-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5px);
}

.go-top:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(240, 39, 129, 0.6);
}

/*-----------------------------------*\
  #ANIMATIONS
\*-----------------------------------*/

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes glowText {
  from {
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
  }

  to {
    text-shadow: 0 0 30px rgba(138, 43, 226, 1);
  }
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/* Small tablets: 550px and up */
@media (min-width: 550px) {
  .container {
    max-width: 550px;
    margin-inline: auto;
  }

  .section-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
  }

  .header .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-inline-start: auto;
  }

  .navbar-social {
    display: none;
  }

  .hero {
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
    margin-bottom: 0;
  }

  .hero-banner {
    flex: 1;
  }

  .stats-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

.blog-card {
  display: flex;            /* use flex */
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center everything horizontally */
  padding: 25px;
  background-color: #240d39 !important;
  gap: 15px;                /* space between text and image */
  text-align: center;
}

/* Remove column grid from inner elements */
.blog-card .banner {
  width: 100%;
  max-width: 400px;        /* adjust image size */
}

.blog-card .banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;      /* optional rounded corners */
}

.blog-card .content {
  width: 100%;
}

  .footer-brand,
  .footer-list:not(:last-child) {
    margin-bottom: 0;
  }

  .footer-top .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    text-align: left;
  }

  .social-list {
    justify-content: flex-start;
  }
}

/* Tablets: 768px and up */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .hero {
    min-height: 80vh;
    padding: 120px var(--container-padding) 80px;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    max-width: 100%;
  }

  .stats-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top .container {
    grid-template-columns: repeat(3, 1fr);
  }

  .form {
    max-width: 600px;
  }

  .main-form {
    padding: 40px;
  }
}

/* Desktop: 992px and up */
@media (min-width: 992px) {
  :root {
    --fs-1: 5.4rem;
    --section-padding: 100px;
  }

  .container {
    max-width: 950px;
  }

  .header {
    padding-block: 20px;
  }

  .overlay,
  .nav-open-btn,
  .navbar-top {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .header .btn {
    margin-inline-start: 0;
  }

  .navbar-list {
    display: flex;
    gap: 30px;
  }

  .navbar-item:not(:last-child) {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .navbar-link {
    color: var(--color);
    font-size: var(--fs-8);
    padding: 8px 0;
  }

  .navbar-link:hover {
    color: var(--primary-pink);
    padding-left: 0;
  }

  .hero {
    min-height: 90vh;
  }

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: 1 / 5;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-brand .text {
    max-width: 600px;
    margin: 0 auto 20px;
  }
}

/* Large Desktop: 1200px and up */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .section-title {
    font-size: 4.6rem;
  }

  .hero {
    min-height: 100vh;
  }

  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card {
    height: 100%;
  }

  .service-card {
    min-height: 400px;
  }

  .footer-top .container {
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  }

  .footer-brand {
    grid-column: auto;
    text-align: left;
  }

  .social-list {
    justify-content: flex-start;
  }
}

/* Extra Large Desktop: 1400px and up */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero-banner {
    max-width: 600px;
  }

  .service-card {
    padding: 40px;
  }

  .section-padding {
    --section-padding: 120px;
  }
}

/* Print styles */
@media print {

  .header,
  .go-top,
  .navbar,
  .overlay {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero {
    min-height: auto !important;
    page-break-after: always;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --shadow: 0 5px 20px 1px rgba(0, 0, 0, 0.3);
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {

  .modal-content,
  .service-card,
  .blog-card,
  .stats-card,
  .form {
    background: hsl(230, 59%, 16%);
    color: var(--white);
  }

  .form input {
    background: hsl(230, 41%, 25%);
    color: var(--white);
    border-color: hsl(236, 26%, 43%);
  }

  .form input:focus {
    border-color: var(--primary-pink);
  }
}

.modal-close{
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: var(--transition-1);
}

.modal-close:hover {
  background: var(--primary-pink);
  color: white;
}

/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
  padding-bottom: clamp(60px, 10vw, 120px);
}

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card {
  padding: 20px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-12);
  background: white;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .banner {
  border-radius: var(--radius-12);
  overflow: hidden;
  margin-bottom: 15px;
}

.blog-card .banner img {
  transition: var(--transition-2);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .banner a:hover img {
  transform: scale(1.1);
}

.blog-card .title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-6);
  line-height: 1.2;
  margin-bottom: 15px;
}

.blog-card .title>a {
  color: inherit;
  transition: var(--transition-1);
}

.blog-card .title>a:hover {
  color: var(--primary-pink);
}

.blog-card .text {
  margin-bottom: 15px;
}

.blog-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: var(--fs-8);
  color: var(--purple-navy);
  font-weight: var(--fw-500);
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.blog-card .meta ion-icon {
  color: var(--primary-pink);
  font-size: 18px;
  --ionicon-stroke-width: 35px;
}

.publish-date,
.comment {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-navy);
}

/* Title variants */
.h3.title {
  color: var(--primary-pink);
  font-size: var(--fs-5);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  margin-top: 10px;
}

.h3.title1 {
  color: var(--primary-green);
  font-size: var(--fs-5);
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
  margin-top: 10px;
}

.h3.title2 {
  color: var(--primary-pink);
  font-size: var(--fs-5);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  margin-top: 10px;
}

/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

.card {
  width: 100%;
  max-width: 400px;
  padding: clamp(20px, 4vw, 30px);
  background: linear-gradient(135deg, black, violet);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin: 20px auto;
  color: white;
  font-size: var(--fs-7);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, black, violet);
  padding: clamp(20px, 4vw, 30px);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
  width: 90%;
  max-width: 500px;
  display: none;
  z-index: 1001;
  color: white;
  text-align: center;
}

.overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 1000;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
  color: white;
  background: red;
  padding: 8px 12px;
  border-radius: 50%;
  border: none;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*-----------------------------------*\
  #FORM
\*-----------------------------------*/

.main-form {
  padding: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(20px, 4vw, 40px);
}

.form {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease-in-out;
}

.form:hover {
  transform: translateY(-5px);
}

.form div {
  display: flex;
  flex-direction: column;
}

.form label {
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  margin: 12px 0 5px;
  text-align: left;
  color: var(--purple-navy);
}

.form input {
  width: 100%;
  padding: clamp(10px, 2vw, 12px);
  font-size: var(--fs-8);
  border: 2px solid #ccc;
  border-radius: 6px;
  transition: border 0.3s, box-shadow 0.3s;
}

.form input:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 8px rgba(240, 39, 129, 0.3);
  outline: none;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-pink), #e91e63);
  color: white;
  padding: clamp(12px, 2vw, 16px);
  border: none;
  border-radius: 6px;
  margin-top: 15px;
  cursor: pointer;
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  width: 100%;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #e91e63, #c2185b);
  transform: scale(1.02);
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  font-size: var(--fs-8);
}

.footer a {
  color: inherit;
  transition: var(--transition-1);
}

.footer-top {
  background-image: url("../images/footer-bg.png"), var(--gradient-1);
  background-repeat: no-repeat;
  background-size: auto, 200%;
  background-position: center, center;
  color: var(--white);
  padding: var(--section-padding) var(--container-padding);
}

.footer-brand {
  margin-bottom: 30px;
  text-align: center;
}

.footer-brand .logo {
  font-weight: var(--fw-700);
  margin-bottom: 15px;
  font-size: var(--fs-4);
}

.footer-brand .text {
  font-size: var(--fs-8);
  margin-bottom: 20px;
  opacity: 0.9;
}

.social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-top .social-link {
  background-color: var(--white);
  color: var(--winter-sky);
  font-size: 18px;
  padding: 10px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.footer-top .social-link:hover {
  background-image: var(--gradient-2);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-list {
  margin-bottom: 25px;
}

.footer-list-title {
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  margin-bottom: 15px;
  color: var(--white);
}

.footer-link {
  padding-block: 5px;
  display: inline-block;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--chrome-yellow);
}

.footer-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
}

.footer-item-icon {
  background-image: var(--gradient-2);
  padding: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-bottom {
  background-color: var(--space-cadet-2);
  padding: 20px;
  text-align: center;
  color: var(--white);
}

.copyright-link {
  display: inline-block;
  text-decoration: underline;
  color: var(--chrome-yellow);
}

.copyright-link:hover {
  text-decoration: none;
}

/*-----------------------------------*\
  #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-pink);
  color: var(--white);
  font-size: 20px;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(240, 39, 129, 0.4);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
  border: none;
  cursor: pointer
}

/*-----------------------------------*\
  #GO TO TOP
\*-----------------------------------*/

.go-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-15px);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 550px screen
 */
@media (min-width: 550px) {

  /**
   * REUSED STYLE
   */
  .container {
    max-width: 550px;
    margin-inline: auto;
    padding: 0 15px;
  }

  .section-title {
    --fs-3: 3.6rem;
  }

  /**
   * HEADER
   */
  .header .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-inline-start: auto;
  }

  /**
   * ABOUT
   */
  .stats-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  /**
   * BLOG
   */
  .blog-card {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  .blog-card .banner {
    margin-block-end: 0;
  }

  .blog-card .banner a {
    height: 100%;
    display: block;
  }

  /**
   * FOOTER
   */
  .footer-brand,
  .footer-list:not(:last-child) {
    margin-block-end: 0;
  }

  .footer-top .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
  }
}

/**
 * responsive for larger than 768px screen
 */
@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */
  .container {
    max-width: 720px;
    padding: 0 20px;
  }

  /**
   * HERO
   */
  .hero {
    min-height: 600px;
    display: grid;
    place-items: center;
  }

  .hero-content {
    margin-block-end: 0;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  /**
   * SERVICE
   */
  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /**
   * FEATURES
   */
  .features-list>li:first-child {
    margin-block-end: 0;
  }

  .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  /**
   * FOOTER
   */
  .footer-top .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/**
 * responsive for larger than 992px screen
 */
@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */
  :root {
    --fs-1: 5.4rem;
  }

  /**
   * REUSED STYLE
   */
  .container {
    max-width: 950px;
    padding: 0 30px;
  }

  /**
   * HEADER
   */
  .header {
    padding-block: 20px;
  }

  .overlay,
  .nav-open-btn,
  .navbar-top {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .header .btn {
    margin-inline-start: 0;
  }

  .navbar-list {
    display: flex;
    gap: 25px;
  }

  .navbar-item:not(:last-child) {
    border-bottom: none;
  }

  .navbar-link {
    color: var(--color);
  }

  /**
   * HERO
   */
  .hero {
    min-height: 700px;
  }

  /**
   * ABOUT
   */
  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /**
   * SERVICE
   */
  .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  /**
   * FEATURES
   */
  .features-list {
    grid-template-columns: 1fr;
  }

  .features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .features .section-title {
    grid-column: 1 / 4;
  }

  .features-banner {
    margin-block: 0;
    display: grid;
    place-items: center;
  }

  /**
   * FOOTER
   */
  .footer-top .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: 1 / 5;
  }

  .footer-brand .text {
    max-width: 45ch;
  }
}

/**
 * responsive for larger than 1200px screen
 */
@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */
  .container {
    max-width: 1200px;
    padding: 0 40px;
  }

  .section-title {
    --fs-3: 4.6rem;
  }

  /**
   * HERO
   */
  .hero {
    min-height: 800px;
  }

  /**
   * BLOG
   */
  .blog-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .blog-card {
    height: 100%;
  }

  .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /**
   * FOOTER
   */
  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.7fr 0.5fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/*-----------------------------------*\
  #FORM STYLES
\*-----------------------------------*/

/* Mobile-first styles (base) */
.main-form {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

.form {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
  transition: transform 0.3s ease-in-out;
  padding: 20px;
  box-sizing: border-box;
}

.form:hover {
  transform: translateY(-5px);
}

.form div {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 8px 0;
  text-align: left;
  color: #333;
}

input {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 2px solid #ccc;
  border-radius: 6px;
  transition: border 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

input:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
  outline: none;
}

.submit-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  transition: background 0.3s, transform 0.2s;
  box-sizing: border-box;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
  transform: scale(1.02);
}

/* Tablet View */
@media (min-width: 600px) {
  .main-form {
    padding: 30px;
    margin-bottom: 40px;
  }

  .form {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }

  label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  input {
    padding: 14px;
    font-size: 15px;
  }

  .submit-btn {
    padding: 16px;
    font-size: 17px;
  }
}

/* Desktop View */
@media (min-width: 1024px) {
  .main-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
  }

  .form {
    max-width: 600px;
    padding: 35px;
  }

  label {
    font-size: 16px;
  }

  input {
    padding: 16px;
    font-size: 16px;
  }

  .submit-btn {
    padding: 18px;
    font-size: 18px;
  }
}

/* Large Desktop */
@media (min-width: 1440px) {
  .main-form {
    padding: 50px;
  }

  .form {
    max-width: 700px;
    padding: 40px;
  }
}

/*NAV LINKS*/
.nav-link {
  padding-block: 5px;
  display: inline-block;
}

.nav-link:hover {
  text-decoration: underline;
  color: var(--chrome-yellow);
}



/*GOOGLE FORM FILLUP*/
.form-btn {
  display: inline-block;
  background: var(--primary-pink);
  color: white;
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-8);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-btn:hover {
  background: var(--st-patricks-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.form-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
