/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --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%);
  --emerald: hsl(152, 95%, 39%);
  --emerald_70: hsla(152, 95%, 39%, 0.7);
  /**
   * gradient color
   */

   --gradient: linear-gradient(to left top, #FEBD59, #1A596B);


  /**
   * typography
   */

  --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;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * shadow
   */

  --shadow-1: 0 6px 24px var(--black_5);
  --shadow-2: 0 2px 28px var(--black_10);

  /**
   * border radius
   */

  --radius-2: 2px;
  --radius-5: 5px;
  --radius-8: 8px;

  /**
   * transition
   */

  --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 STYLE
\*-----------------------------------*/

.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: 300% 300%;
  transition: background-position 0.4s ease-in-out, transform 0.2s ease-in-out;
}

.btn-primary:is(:hover, :focus) {
  background-position: bottom right;
  transform: scale(1.05);
  animation: gradientShift 0.8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% {
    background-position: left top;
  }
  100% {
    background-position: bottom right;
  }
}


.btn-secondary {
  background-color: var(--white-1);
  color: var(--eerie-black);
  margin-bottom: 10px;
  margin-top: 10px;
}

.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;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
.logo-container {

  display: flex;
  align-items: center; /* Align image and text vertically */
  gap: 10px; /* Adds spacing between the image and text */
}
.logo {
  font-size: 40px;
  /* Adjust size as needed */
  font-weight: bold;
  text-decoration: none;
  color: #3e6672;
  /* Default text color */
}

.logo:hover {
  background: rgb(34, 195, 182);
  background: linear-gradient(0deg, rgb(26, 89, 107) 0%, rgb(254, 189, 89) 97%);
  /* Gradient effect */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Makes the gradient visible */
  transform: scale(1.1);
  /* Slightly enlarges the text */
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-1);
  padding-block: 15px;
  border-block-end: 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;
}



.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%;
  padding-inline: 0;
  border: 1px solid var(--cultured);
  transition: 0.3s var(--cubic-out);
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.navbar.active {
  max-height: none; /* No height limit */
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list {
  padding: 20px 15px;
  padding-block-start: 10px;
  opacity: 0;
  transition: var(--transition-1);
}

.navbar.active .navbar-list { opacity: 1; }

.navbar-link {
  display: inline-block;
  padding: 10px 15px;
  color: var(--eerie-black);
  font-size: var(--fs-4);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease-in-out;
}

.navbar-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left top, #FEBD59, #1A596B);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-in-out;
  z-index: -1;
}

.navbar-link:hover::before {
  transform: scaleX(1);
}

.navbar-link:hover {
  color: white;
}


.header .btn { margin-block-start: 10px; }





/*-----------------------------------*\
  #HEO
\*-----------------------------------*/

.hero {
  padding-block-start: calc(var(--section-padding) + 50px);
  text-align: center;
}

.hero-content { margin-block-end: 30px; }

.hero-subtitle {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
}

.hero-title { margin-block: 12px 8px; }

.hero-text { font-size: var(--fs-5); }

.hero .btn {
  margin-inline: auto;
  margin-block-start: 20px;
}





/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

.testi {  
  background: linear-gradient(to left top, #FEBD59, #1A596B); 
}

.testi-content { padding: var(--section-padding) 15px; 
  color: #ffffff;}

.testi .section-title {
  color: #ffffff;
  margin-block: 10px 40px;
  
}

.testi-card {   color: #ffffff; }

.testi-text,
.testi-name { font-size: var(--fs-8); }

.testi-text,
.testi-title { font-family: var(--ff-inter); }

.testi-text {
  color: #ffffff;
  padding-block-end: 30px;
  border-block-end: 1px solid var(--white_10);
  margin-block: 20px 30px;
}

.testi-title {
  color: var(--white_50);
  font-size: var(--fs-10);
}

.testi-banner { background-color: white; }



/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service { background-color: var(--white-2); }

.service .section-text { margin-block: 5px 35px; }

.service-card {
  background-color: var(--white-1);
  padding: 20px 15px;
  border: 1px solid var(--platinum);
  border-radius: var(--radius-5);
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: var(--transition-2);
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}



.service-card:is(:hover, :focus-within) {
  transform: translateY(-20px);
  background: linear-gradient(to left top, #FEBD59, #1A596B);
  color: white;
}

.service-card:is(:hover, :focus-within) .card-title {
  color: white;
}

.service-card:is(:hover, :focus-within) .card-icon {
  filter: brightness(1.2); /* Slightly brighten icons */
}

.service-card .card-icon {
  color: var(--white-1);
  font-size: 25px;
  max-width: max-content;
  margin-inline: auto;
  padding: 18px;
  border-radius: 50%;
}

.service-card .card-title { margin-block: 20px 8px; }

.service-card .card-text { font-size: var(--fs-6); }


.service .grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

@media (min-width: 768px) {
  .service .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }
}



/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project .section-text { margin-block: 5px 35px; }

.project-card {
  position: relative;
  border-radius: var(--radius-8);
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.5;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within)::after { opacity: 0.8; }

.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 1;
  transition: var(--transition-2);
}

.project-card:is(:hover, :focus-within) .card-content { transform: translateY(-20px); }

.project-card .card-subtitle {
  color: var(--lavender-gray);
  font-size: var(--fs-6);
  line-height: 1;
}

.project-card .card-title {
  color: var(--white-1);
  margin-block: 12px 15px;
}





/*-----------------------------------*\
  #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; }


.card-details {
  color: white;
}



/*-----------------------------------*\
  #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; }





/*-----------------------------------*\
  #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: linear-gradient(to left top, #FEBD59, #1A596B);
  padding: 20px;
  min-height: 250px;
  color: white;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-card .card-icon {
  background-color: #FEBD59;
  color: white;
  font-size: 25px;
  padding: 13px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.contact-card:is(:hover, :focus) .card-icon {
  background-color:#1A596B;
  color: white;
}

.contact-card .card-title { margin-block-end: 5px; }

.contact-card :is(.card-link, .card-address) {
  font-size: var(--fs-6);
  transition: var(--transition-1);
}



/*-----------------------------------*\
  #PARTNER
\*-----------------------------------*/

.partner { background-color: #FEBD59; }

.partner .section-subtitle { color: var(--white); }

.partner .section-title {
  color: var(--white);
  margin-block-end: 40px;
}

.partner-logo {
  max-width: max-content;
  margin-inline: auto;
  transition: transform 1s ease-in-out, background-color 0.3s;
  padding: 10px; /* Adds space for the circular effect */
  display: inline-flex; /* Ensures proper shape */
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Makes it circular */
}

.partner-logo:hover {
  z-index: 10;
  background-color: #1A596B;
  transform: rotate(360deg); /* Spins the logo */
}

.partner-item {
  /* background-color: #1A596B; */
  min-width: 30%;
  scroll-snap-align: center;
}
.has-scrollbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px; /* Adjust spacing between partner items */
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory;
  padding-bottom: 10px; /* Space for better scrollbar visibility */
}

.partner-item {
  flex: 0 0 auto; /* Prevents items from shrinking */
  scroll-snap-align: center;
}



/*-----------------------------------*\
  #APPLY NOW PAGE
\*-----------------------------------*/

.form-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Section Title Styles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.section-text {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

/* Form Row Styles */
.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .form-row {
      flex-direction: column;
      gap: 16px;
  }
}

/* Form Group Styles */
.form-group {
  flex: 1;
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;  /* Increased from 0.95rem */
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;  /* Increased padding */
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  font-size: 1.15rem;  /* Increased from 1rem */
  color: #333;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3B5998;
  box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.1);
  background-color: #fff;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* File Upload Styles */
.file-upload {
  margin: 24px 0;
}

.file-upload label {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;  /* Increased from 0.95rem */
  font-weight: 500;
  color: #333;
}

.file-upload input[type="file"] {
  width: 100%;
  padding: 16px;  /* Increased padding */
  border: 2px dashed #e1e1e1;
  border-radius: 8px;
  background-color: #f8f9fa;
  cursor: pointer;
  font-size: 1.15rem;  /* Increased font size */
}

.file-upload input[type="file"]:hover {
  border-color: #3B5998;
}

/* Submit Button Styles */
.submit-btn {
  display: block;
  width: 100%;
  max-width: 250px;  /* Increased from 200px */
  margin: 32px auto 0;
  padding: 18px 36px;  /* Increased padding */
  background-color: #3B5998;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;  /* Increased from 1rem */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #2d4373;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 67, 115, 0.2);
}

.submit-btn:active {
  transform: translateY(0);
}



/* Placeholder Styles */
::placeholder {
  color: #999;
  opacity: 1;
  font-size: 1.15rem;  /* Increased from default */
}

/* Required Field Indicator */
.form-group label::after {
  content: "*";
  color: #dc3545;
  margin-left: 4px;
  font-size: 1.2rem;  /* Increased to match label size */
}
/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

footer {
  background: var(--raisin-black-1);
  color: var(--white-opacity);
  font-weight: var(--fw-500);
}


.footer-map {
  text-align: center;
  margin-bottom: 20px;
}

.footer-map .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--eerie-black);
  margin-bottom: 10px;
}

.footer-map iframe {
  width: 100%;
  /* max-width: 1200px; */
  height: 300px;
  border-radius: 10px;
  border: 2px solid var(--cultured);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-top { padding-block: var(--section-padding); }

.footer-brand { margin-bottom: 60px; }

footer .logo { margin-bottom: 25px; }

.footer-text {
  font-size: var(--fs-6);
  line-height: 1.8;
  margin-bottom: 25px;
}

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.social-link {
  color: var(--white-opacity);
  font-size: 25px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:is(:hover, :focus) {
  color: var(--white);
  transform: scale(2); /* Increases size on hover */
}



.social-link:is(:hover, :focus) { color: var(--white); }

.footer-link-box {
  display: grid;
  gap: 50px;
}

.footer-list li:first-child { margin-bottom: 20px; }

.footer-item-title {
  color: var(--white);
  font-family: var(--ff-mulish);
  font-weight: var(--fw-700);
}

.footer-link {
  color: var(--white-opacity);
  font-size: var(--fs-6);
  transition: var(--transition);
  padding-block: 10px;
}

.footer-link:is(:hover, :focus) {
  background: linear-gradient(0deg, rgb(26, 89, 107) 0%, rgb(254, 189, 89) 97%);
  /* Gradient effect */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Makes the gradient visible */
  transform: scale(1.1);
  /* Slightly enlarges the text */
  transform: translateX(5px);
}

.footer-bottom {
  background: var(--raisin-black-2);
  padding-block: 20px;
  text-align: center;
}

.copyright a {
  display: inline-block;
  color: var(--white-opacity);
  transition: var(--transition);
}
.file-upload 


.copyright a:is(:hover, :focus) { color: var(--white); }


.footer-list li a {
  display: inline-block;
  font-size: var(--fs-6);
  color: var(--white-opacity);
  transition: var(--transition);
  padding: 10px 15px;
  border-radius: 5px;
}

.footer-list li a:is(:hover, :focus) {
  background: linear-gradient(to left top, #FEBD59, #1A596B);
  color: white; /* Ensure the text remains readable */
  transform: scale(1.05);
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--eerie-black);
  color: var(--white-1);
  padding: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

.back-top-btn:is(:hover, :focus) { opacity: 0.9; }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/
@media (max-width: 310px) { /* Smallest screens */
  .card-details {
      font-size: 5px; /* Adjust text size for very small screens */
  }

  .project-card .btn-secondary {
      display: none; /* Hide subtitle */
  }
}


@media (max-width: 350px) { /* Smallest screens */
  .card-details {
      font-size: 8px; /* Adjust text size for very small screens */
  }
  .project-card .btn-secondary {
    background-color: var(--white-1);
    color: var(--eerie-black);
    margin-bottom: 2px;
    margin-top: 2px;
}
}
@media (max-width: 480px) { /* Smallest screens */
  .card-details {
      font-size: 12px; /* Adjust text size for very small screens */
  }
}
/**
 * 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;
    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;

  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .section-text {
    max-width: 65ch;
    margin-inline: auto;
  }


  /**
   * HERO
   */

  .hero-text {
    max-width: 60ch;
    margin-inline: auto;
  }

  /**
   * TESTIMONIALS
   */
 .testi .container{
  padding-left: 10px;
  padding-right: 10px;
  
 }
   .testi-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }
 
  .testi-banner {
    max-width: 80%; /* Reduce banner size */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Centers the image */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  .testi-banner:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
  }  
  
  

  .testi-text { margin-block-start: 0; }



  /**
   * 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); }


    /**
   * FOOTER
   */

   .footer-link-box { grid-template-columns: repeat(3, 1fr); }

}





/**
 * 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: 1160px; }
  /* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

  .grid-list { grid-template-columns: repeat(2, 1fr); }

  /* .grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Adjust spacing as needed */
  


  /**
   * 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; }

 

  /**
   * TESTIMONIALS
   */

   .testi .containerr{
    padding-left: 10px;
    padding-right: 10px;
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  .testi-content { padding-inline: 30px 50px; }



  /**
   * 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; }


    /**
   * FOOTER
   */

   .footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
  }

  .footer-brand {
    margin-bottom: 0;
    max-width: 300px;
  }

  .footer-list { width: 140px; }

}





/**
 * 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; }


  /**
   * PARTNER
   */

   /* .partner {
    padding-block: 150px;
    background-image: url("../images/partner-left-bg.png"), url("../images/partner-right-bg.png");
    background-repeat: no-repeat, no-repeat;
    background-position: bottom left, top right;
  } */

  .partner-item { min-width: 16.66%; }
  /**
   * CONTACT
   */

  .contact-form { padding: 50px; }

  .contact-card { gap: 20px; }

  .contact-card .card-icon { padding: 15px; }


  
  /**
   * FOOTER
   */

   .footer-link-box { margin-right: 40px; }

   .footer-list { width: 170px; }
}