/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2023 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
  * COLOURS
  */

  /* background color */
  --bg-dark-purple: #121426;
--bg-russian-violet: hsla(259, 61%, 14%, 1);
--bg-vivid-violet: hsla(273, 100%, 55%, 1);
--bg-sunglow: hsla(43, 100%, 61%, 1);
--bg-blue-jeans: hsla(202, 100%, 50%, 1);
--bg-white-alpha-10: hsla(0, 0%, 100%, 0.1);

/*text colour */
--text-white: hsla(0, 0%, 100%, 1);
--text-black: hsla(0, 0%, 0%, 1);
--text-sunglow: hsla(43, 100%, 61%, 1);
--text-white-alpha-60: hsla(0, 0%, 100%, 0.6);

/* border color */
--border-blue-jeans: hsla(202, 100%, 50%, 1);
--border-white-alpha-10: hsla(0, 0%, 100%, 0.1);

/* 
* Typography
*/

/* font family */
--fontFamily-open-sans: 'Open Sans', sans-serif;

/* font size */
--fontSize-1: 4rem;
--fontSize-2: 3.2rem;
--fontSize-3: 2.4rem;
--fontSize-4: 2rem;
--fontSize-5: 1.8rem;
--fontSize-6: 1.6rem;
--fontSize-7: 1.4rem;

/* font weight */
--weight-regular: 400;
--weight-medium: 500;
--weight-semiBold: 600;
--weight-bold: 700;

/* spacing */
--section-spacing: 100px;

/* Shadow */
--shadow-1: drop-shadow(0 20px 30px hsla(0, 0%, 0%, 0.1));
--shadow-2: drop-shadow(0 20px 30px hsla(0, 0%, 0%, 0.2));

/* Border Radius */
--radius-24: 24px;
--radius-40: 40px;
--radius-pill: 500px;

/* Transition */
--transition-1: 250ms ease;
--transition-2: 500ms ease;
--cubic-out: cubic-bezier(0, 1, 0.5, 1);
}



/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a,
img,
span,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100;
  outline: none;
}

button { cursor: pointer; }

ion-icon { pointer-events: none;}

address { font-style: normal; }

html {
  font-family: var(--fontFamily-open-sans);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark-purple);
  color: var(--text-white-alpha-60);
  font-size: var(--fontSize-6);
  line-height: 1.8;
}

body.nav-active { overflow: hidden; }
/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.section { padding-block-end: var(--section-spacing); }

.title {
  color: var(--text-white);
  line-height: 1.1;
}

.h1 { font-size: var(--fontSize-1); }

.h2 {
  font-size: var(--fontSize-2);
  font-weight: var(--weight-semiBold);
}

.h3 {
  font-size: var(--fontSize-3);
  font-weight: var(--weight-regular)
}

.btn {
  height: 62px;
  padding-inline: 50px;
  font-weight: var(--weight-semiBold);
  border-radius: var(--radius-pill);
  color: var(--text-black);
  display: grid;
  place-content: center;
  max-width: max-content;
  transition: var(--transition-1);
}

.btn-primary { background-color: var(--bg-sunglow); }

.btn-primary:is(:hover, :focus-visible) {
  background-color: var(--bg-vivid-violet);
  color: var(--text-white);
}

.w-100 { width: 100%; }

.text-center { text-align: center; }

.section-text { margin-block: 15px 50px; }

.grid-list {
display: grid;
gap: 50px;
}

.img-holder { 
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--bg-white-alpha-10);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

body {
  overflow-x: hidden;
}


/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #121426;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo img { 
  width: 150px;
  height: 150px;
  z-index: 1;
 }

.nav-open-btn {
  color: var(--text-white);
  font-size: 3rem;
  background-color: #121426;
  margin-left: 50px;
}

.nav-open-btn:hover {
  background-color: #121426; 
}

.nav-open-btn.active .menu-icon, 
.nav-open-btn .close-icon { display: none; }

.nav-open-btn.active .menu-icon { display: block; }

.navbar {
  position: absolute;
  top: 100%;
  right: 16px;
  background-color: #121426;
  color: var(--text-white);
  padding: 16px 30px;
  border-radius: var(--radius-24);
  opacity: 0;
  visibility: hidden;
  transition: 500ms var(--cubic-out);
  z-index: 1;
}

.navbar.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-15px)
}

.navbar-list > li:not(:last-child) { margin-block-end: 5px; }

.navbar-link { font-weight: var(--weight-medium); }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
 }

.overlay.active { pointer-events: all; }

.header::after {
  content: ""; /* Adds an empty pseudo-element */
  position: absolute;
  bottom: 0; /* Position the line at the bottom of the text */
  left: 0;
  width: 0; /* Start with no width */
  height: 2px; /* Set the line thickness */
  background-color: #fff; /* Line color is white */
  transition: width 0.3s ease; /* Smooth width transition */
}

.header:hover::after {
  width: 100%; /* Expand the line to full width on hover */
}


/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block-start: 130px;
  background-image: url("../images/hero-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-text { margin-block: 25px; }

.input-field {
  height: 62px;
  padding-inline: 30px;
  background-color: var(--bg-white-alpha-10);
  border-radius: var(--radius-pill);
  color: var(--text-white);
}

.input-field::placeholder { color: var(--text-white-alpha-60); }

.input-field:focus { box-shadow: inset 0 0 0 1px var(--border-white-alpha-20); }

.hero .btn { margin-block-start: 15px; }

.hero-banner .w-100 { max-width: max-content; }

.hero .shape { display: none; }

.w-100 {
  border-radius: 10%;
}

/** 
_ Claude Code
*/

.section-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 0 0 50%; /* Take up half the container width */
  padding-right: 2rem; /* Add some spacing between text and image */
}

.hero-banner {
  flex: 0 0 50%; /* Take up half the container width */
  max-width: 50%;
}

.hero-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-hero .container {
      flex-direction: column;
      text-align: center;
  }
  
  .hero-content,
  .hero-banner {
      flex: 0 0 100%;
      max-width: 100%;
      padding-right: 0;
  }
  
  .hero-banner {
      margin-top: 2rem;
  }
}

/*-----------------------------------*\
  #PROCESS
\*-----------------------------------*/

.pocess-banner { display: none;}

.process {
  position: relative;
  z-index: 1;
}

.process::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 100%;
  background-image: url("../images/process-bg.png");
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}

.process-item .item-icon { 
  margin-inline: auto;
  filter: (--shadow-1);
  
}

.process-item .item-title { margin-block: 20px 10px; }

.section.process {
  margin-top: 100px; /* Adjust the value to your desired space */
  padding-bottom: 60px;
}



/*-----------------------------------*\
  #OUR WORK
\*-----------------------------------*/

.work-card .card-banner { 
  border-radius: var(--radius-40);
  margin-block-end: 20px;
}

.work-card:is(:hover, :focus-within) .img-cover { transform: scale(1.1); }

.work-card .card-title {
  margin-block: 12px;
  transition: var(--transition-1);
}

.work-card .card-title:is(:hover, :focus-visible) { color: var(--text-sunglow); }

.works .btn { 
  margin-block-start: 60px;
  margin-inline: auto;
}

.section.works {
  margin-top: 20px; /* Adjust the value to reduce the space as needed */
}

.center-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  list-style: none; /* Optional: Remove any default list styling */
}

.center-item .work-card {
  display: inline-block; /* Ensures the card is treated as a block element for centering */
  text-align: center;
}

.center-item .card-banner {
  display: block;
  margin: 0 auto; /* Centers the image */
}


/*-----------------------------------*\
  #ABOUT US PAGE
\*-----------------------------------*/
.bio-section {
  padding: 3px;
  background-color: #f9f9f9;
  margin-bottom: 80px; /* Adds space between the bio section and footer */
}

.bio-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bio-image {
  flex: 1;
  max-width: 200px;
}

.bio-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.bio-text {
  flex: 2;
  margin-left: 20px;
}

.bio-text h2 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #333;
}

.bio-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.social-links {
  margin-top: 20px;
}

.social-link {
  text-decoration: none;
  font-size: 16px;
  margin-right: 15px;
  color: #555;
  transition: color 0.3s;
}

.social-link:hover {
  color: #0073b1; /* LinkedIn blue for hover */
}

.social-link.linkedin:hover {
  color: #0073b1; /* LinkedIn color */
}

.social-link.twitter:hover {
  color: #1da1f2; /* Twitter blue for hover */
}

/* Style for the icons */
.social-link i {
  margin-right: 8px;
  font-size: 18px;
}

.about-us {
  padding-bottom: 10px; /* Adjust this value to reduce the space */
}

.footer {
  margin-top: -10px; /* Adjust this to bring the footer closer */
}

/*-----------------------------------*\
  #SERVICES
\*-----------------------------------*/

/* Space between the service items */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* Adds space between each service item */
  justify-content: center;
}

/* Space and styling for each service item */
.service-item {
  background-color: rgba(0, 0, 0, 0.7); /* Optional: Adds a slight background to make text more readable */
  padding: 20px;
  border-radius: 8px;
  width: calc(33% - 20px); /* Adjusts the width and ensures spacing */
  box-sizing: border-box;
}

.service-title {
  color: white;
  text-decoration: underline;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .service-item {
      width: 100%; /* Stacks the items on smaller screens */
  }
}


/*-----------------------------------*\
  #CONTACT US PAGE
\*-----------------------------------*/
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 20px;
}

.contact {
  background-color: white;
  color: black;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.contact h2 {
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.email-us {
  color: white;
  text-align:center;
  font-size: 20px;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

button {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.email-us-p {
  display: inline;
  text-align: center; /* Centering the content */
  margin: 0 auto; /* Center the whole paragraph if it's within a block container */
  margin-left: 100px;
}

.email-us-p a {
  display: inline;
  margin-left: 5px; /* optional, for some space between the text and the link */
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.footer {
  background-color: #eedfd2;
  color: #000000;
}

.footer-top { padding-block-start: var(--section-spacing); }

.footer-text { margin-block: 15px; }

.social-list {
display: flex;
align-items: center;
gap: 20px;
margin-block-end: 30px;
}

.social-link {
  color: var(--text-sunglow);
  font-size: 2.2rem;
}

.footer .btn {
  font-size: var(--fontSize-5);
  padding-inline: 60px;
}

.footer-list {
  gap: 15px;
}

.footer-bottom {
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-block-start: 20px;
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-block-start: 20px;
}

.logo-footer {
  border-radius: 100%;
  margin-top: -90px;
}

.section.footer-top {
  display: flex; /* Enable horizontal alignment */
  justify-content: flex-start; /* Align items to the start */
  align-items: center; /* Top-align items */
  gap: 20rem; /* Space between the footer-container and footer-list */
  padding: 10rem;
}

.copyright {
  margin-left: 380px;
}

.btn-footer-contact {
    height: 62px;
    padding-inline: 50px;
    font-weight: var(--weight-semiBold);
    border-radius: var(--radius-pill);
    color: var(--text-black);
    display: grid;
    place-content: center;
    max-width: max-content;
    transition: var(--transition-1);
    background-color: var(--bg-sunglow);
  }
  
  .btn-footer-contact:is(:hover, :focus-visible) {
    background-color: var(--bg-vivid-violet);
    color: var(--text-white);
  }

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
* responsive for max-width: 481px screen 
*/
@media (max-width: 480px) {
/**
  * HERO
  */
  .input-wrapper {
    margin-left: 65px;
  }

  /**
  * PROCESS
  */

  .grid-list {
    margin-top: 20px;
  }

  /**OUR WORK
  **/
  
  .center-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none; /* Optional: Remove any default list styling */
    margin-left: 45px;
    margin-top: 10px;
    width: 220px;
    height: 220px;
  }

  /**
  * FOOTER
  */
  .footer-list {
    gap: 15px;
  }
  
  .footer-bottom {
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-block-start: 20px;
  }
  
  .footer-bottom-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-block-start: 20px;
  }
  
  .logo-footer {
    border-radius: 100%;
    margin-top: -90px;
  }
  
  .section.footer-top {
    display: flex; /* Enable horizontal alignment */
    flex-direction: column; /* Stack items vertically */
    justify-content: flex-start; /* Align items to the start */
    align-items: center; /* Top-align items */
    gap: 5rem; /* Space between the footer-container and footer-list */
    margin-top: 10px;
    margin-left: 0;
  }

  .copyright {
    margin-left: 10px;
  }
  
}
/**
* responsive for min-width: 481px and max-width: 768px screen 
*/
@media (min-width: 481px) and (max-width: 768px) {
  
/**
* HEADER 
*/
  .navbar {
    margin-right:170px;
  }

  .nav-open-btn:hover {
    background-color: #121426;  /* This is likely the green color you are seeing */
}

   /**
  * HERO
  */
  .input-wrapper {
    margin-left: 80px;
  }

   /**
  * PROCESS
  */

  .grid-list {
    margin-top: 20px;
  }

/**
  * OUR WORK
  */
  .center-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style: none; /* Optional: Remove any default list styling */
    margin-left: 100px;
    margin-top: 10px;
    width: 220px;
    height: 220px;
  }

  /**
  * FOOTER
  */
  .footer-list {
    gap: 15px;
  }
  
  .footer-bottom {
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-block-start: 20px;
  }
  
  .footer-bottom-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-block-start: 20px;
  }
  
  .logo-footer {
    border-radius: 100%;
    margin-top: -90px;
  }
  
  .section.footer-top {
    display: flex; /* Enable horizontal alignment */
    justify-content: flex-start; /* Align items to the start */
    align-items: center; /* Top-align items */
    gap: 8rem; /* Space between the footer-container and footer-list */
    margin-top: 10px;
    margin-left: -70px;
  }
  
  .copyright {
    margin-left: 55px;
  }
  
}


/**
* responsive for large than 575px screen 
*/

@media (min-width: 575px) {

  /** 
  * REUSED STYLE
  */

  .container {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
  }

  /**
  * HEADER
  */
  .header .container { max-width: unset; }

  .input-wrapper {
    margin-left: 150px;
  }

}

/**
* responsive for large than 768px screen 
*/

@media (min-width: 768px) {

  /** 
  * CUSTOM PROPERTY
  */

  :root { 

  /** 
  * TYPOGRAPHY
  */

  /* font-size */

  --fontSize-1: 5.5rem;
  --fontSize-2: 4rem;

  /**
  * SPACING
  */

  --section-spacing: 150px;

  }

  /**
  * REUSED STYLE
  */

  .container { max-width: 720px; }

  .section-text { 
    max-width: 500px;
    margin-inline: auto;
  }

  .grid-list { grid-template-columns: 1fr 1fr }

  .btn-secondary {
    color: var(--text-white);
    height: 52px;
    border: 2px solid var(--border-blue-jeans);
    padding-inline: 40px;
  }

  .btn-seconadary:is(:hover, :focus-visible) { background-color: var(--bg-blue-jeans); }

  /**
  * HEADER
  */ 

  .header .btn { 
    display: grid;
    margin-inline: auto 30px;
  
  }

  /**
  * HERO
  */
  .hero { padding-block: 180px; }

  .hero-content { max-width: 560px; }

  .hero .input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .hero .btn {
    margin-block-start: 0;
    min-width: max-content;
  }

  .hero-banner {
    position: relative;
    max-width: 540px;
    margin-inline: auto;
  }

  .hero .shape {
    display: block;
    position: absolute;
    filter: var(--shadow-2);
  }

  .hero .shape-1 {
    width: 13%;
    top: 350px;
    left: 80px;
  }

  .hero .shape-2 {
    width: 16%;
    top: 440px;
    left: -20px;
  }

  .hero .shape-3 {
    width: 20%;
    bottom: -20px;
    left: 80px;
  }

  

  /**
  * FOOTER
  */

  .footer-list { grid-template-columns: repeat(3, 1fr); }
}

/**
* responsive for large than 992px screen 
*/

@media (min-width: 992px) {

  /** 
  * REUSED STYLE
  */

  .container { 
    max-width: 960px;
    padding-inline: 40px;
  }

  body.nav-active { overflow: auto; }

  /** 
  * HEADER
  */

  .nav-open-btn,
  .overlay { display: none; }

  .header .logo img { width: max-content; }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: 80px;
  }

  .navbar-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .navbar-list > li:not(:last-child) { margin-block-end: 0; }

  .navbar-link { 
    color: var(--text-white);
    transition: var(--transition-1);
  }

  .navbar-link:is(hover, :focus-visible) { color: var(--text-white-alpha-60); }

  .header .btn { margin-inline-end: 0; }


  /**
  * HERO
  */

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }


  /**
  * PROCESS
  */

  .process-banner {
    display: block;
    max-width: 540px;
    margin-inline: auto;
  }


  .process .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  .process-item { text-align: left; }

  .process-item .item-icon { margin-inline: 0; }

  .process .grid-list { gap: 30px 40px; }


  /** 
  * WORK
  */

  .works .grid-list { grid-template-columns: repeat(3, 1fr)
  }

  /**
  * FOOTER
  */

  .footer-top .container { grid-template-columns: 0.5fr 1fr; }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom-list {
    margin-block-start: 0;
    gap: 50px;
  }
}

/**
* responsive for large than 1200px screen 
*/

@media (min-width: 1200px) {

  /** 
  * CUSTOM PROPERTY
  */ 

  :root {

    /**
    *TYPOGRAPHY
    */

    /* font-size */

    --fontSize-1: 7rem;
    --fontSize-3: 2.8rem;

  }

  /**
  *REUSED STYLE
  */

  .container { max-width: 1140px; }

  .section-text { max-width: 750px; }
}

/**
* responsive for large than 1400px screen 
*/

@media (min-width: 1400px) {

  /**
  * CUSTOM PROPERTY
  */

  :root {

    /**
    * TYPOGRAPHY
    */

    /* font size */

    --fontSize-1: 8rem;
  }


  /**
  * REUSED STYLE
  */

  .container { max-width: 1350px; }

  .section-text { margin-block-end: 60px; }

  /**
  * HERO
  */ 

  .hero-text { 
    font-size: 1.8rem;
    margin-block: 40px;
  }

  /**
  * PROCESS
  */

  .process .wrapper {
    grid-template-columns: 0.7fr 1 fr;
    gap: 130px;
  }

  .process-item .item-icon { width: 80px; }

  .process-item .item-title { margin-block: 25px 15px; }

  .process .grid-list { row-gap: 50px; }

}

/**
My Adjustments
*/

main {
  margin-top: 150px; /* Adjust this value to match header height */
}

body {
  z-index: 0;
  position: relative;
  z-index: 10;
}



/**
- TEST
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Variables */
  --bg-dark-purple: #121426;
  --bg-sunglow: hsla(43, 100%, 61%, 1);
  --text-white: hsla(0, 0%, 100%, 1);
  --text-white-alpha-60: hsla(0, 0%, 100%, 0.6);
  
  /* Typography */
  --fontFamily-open-sans: 'Open Sans', sans-serif;
  --fontSize-1: 4rem;
  --fontSize-6: 1.6rem;
  
  /* Spacing and Radius */
  --radius-pill: 500px;
  --transition-1: 250ms ease;
}

body {
  font-family: var(--fontFamily-open-sans);
  background-color: var(--bg-dark-purple);
  color: var(--text-white-alpha-60);
  line-height: 1.8;
}

.section-hero2 {
  display: flex;
  align-items: center;
  padding: 100px 16px;
}

.container2 {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.hero-content2 {
  flex: 1;
  max-width: 50%;
  order: 1; /* Ensures text is first */
}

.hero-title2 {
  color: var(--text-white);
  font-size: var(--fontSize-1);
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text2 {
  font-size: var(--fontSize-6);
  margin-bottom: 25px;
}

.btn-primary2 {
  height: 62px;
  padding-inline: 50px;
  background-color: var(--bg-sunglow);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-1);
}

.btn-primary2:hover {
  background-color: #9932cc; /* A vivid violet-like color */
}

.hero-banner2 {
  flex: 1;
  max-width: 50%;
  order: 2; /* Ensures image is second */
}

.w-1002 {
  width: 100%;
  height: auto;
  border-radius: 10%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container2 {
    flex-direction: column;
    text-align: center;
  }

  .hero-content2,
  .hero-banner2 {
    max-width: 100%;
    order: 0; /* Reset order for mobile */
  }

  .hero-banner2 {
    margin-top: 30px;
  }
}
