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

/**
 * copyright 2022 codewithsadee
 */






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

:root {

  /**
   * colors
   */

  --sky-blue-crayola: hsl(188, 64%, 60%);
  --raisin-black_90: hsla(240, 8%, 12%, 0.9);
  --raisin-black-1: hsl(240, 8%, 17%);
  --raisin-black-2: hsl(240, 8%, 12%);
  --majorelle-blue: hsl(241, 77%, 63%);
  --blue-ryb_80: hsla(241, 88%, 60%, 0.8);
  --bittersweet: hsl(0, 100%, 69%);
  --eerie-black: hsl(0, 0%, 13%);
  --ghost-white: hsl(230, 60%, 98%);
  --light-gray: hsl(0, 0%, 80%);
  --slate-gray: hsl(225, 8%, 48%);
  --cool-gray: hsl(225, 11%, 59%);
  --gainsboro: hsl(217, 16%, 90%);
  --mustard: hsl(47, 100%, 69%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --onyx: hsl(240, 5%, 26%);
  --jet: hsl(0, 0%, 21%);

  /**
   * gradient
   */

  --gradient: radial-gradient(ellipse at center, hsla(0, 0%, 0%, 0.25), transparent 80%);

  /**
   * typography
   */

  --ff-dm-sans: 'DM Sans', sans-serif;

  --fs-1: 4rem;
  --fs-2: 3.5rem;
  --fs-3: 2.4rem;
  --fs-4: 2.2rem;
  --fs-5: 2rem;
  --fs-6: 1.8rem;
  --fs-7: 1.7rem;
  --fs-8: 1.5rem;
  --fs-9: 1.4rem;

  --fw-500: 500;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 100px;

  /**
   * shadow
   */

  --shadow-1: 0px 2px 50px hsla(223, 40%, 76%, 0.3);
  --shadow-2: 0px -2px 12px hsl(252, 29%, 93%);
  --shadow-3: 0px 4px 4px hsla(231, 20%, 49%, 0.06);
  --shadow-4: 0px 15px 30px hsla(210, 30%, 32%, 0.05);
  --shadow-5: 0px 15px hsla(241, 62%, 34%, 0.04);

  /**
   * radius
   */

  --radius-8: 8px;
  --radius-10: 10px;
  --radius-15: 15px;
  --radius-20: 20px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --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,
img,
span,
input,
button,
ion-icon { display: block;
font-size: larger;
 }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-dm-sans);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--slate-gray);
  font-size: 1.6rem;
  line-height: 1.75;
}

:focus-visible { outline-offset: 4px; }

::-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%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

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

.h1,
.h2 { letter-spacing: -2px; }

.h1 {
  color: var(--black);
  font-size: 4.2rem;
  line-height: 1.1;
}

.h2,
.h3 { color: var(--raisin-black-1); }

.h2 {
  font-size: var(--fs-2);
  line-height: 1.2;
}

.h3 {
  font-size: var(--fs-3);
  line-height: 1.3;
  font-weight: var(--fw-500);
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}




/* Basic styles for letters */
.loading06 {
  display: flex;
  flex-wrap: wrap;
}

.loading06 span {
  position: relative;
  color: rgba(255, 218, 10, 0.89); /* Default yellow color */
  display: inline-block;
  animation: colorChange 3s infinite; /* Color animation loop */
}

/* Keyframe animation for color change */
@keyframes colorChange {
  0%, 50% {
    color: rgba(255, 218, 10, 0.89); /* Yellow */
  }
  51%, 100% {
    color: rgba(23, 173, 211, 0.89); /* Blue */
  }
}

/* Flipping animation for text change */
@keyframes flipText {
  0%, 50% {
    transform: rotateY(0);
  }
  50%, 100% {
    transform: rotateY(180deg);
  }
}

.change {
  display: inline-block;
  animation: flipText 8s infinite; /* Text flip animation */
  transform-origin: center;
}



/* For the word-change spans */

/* Optional: Style for underline effect on specific letters */


/* Basic styles for words */
.word-animation {
  display: inline-block; /* Allows animation transformations */
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Initial slide effect */
  animation: fadeInUp 1s forwards; /* 1s duration animation */
}

/* Keyframes for the animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Starting position */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Ending position */
  }
}

/* Adding delays to each word */
.word-animation:nth-child(1) { animation-delay: inherit; }
.word-animation:nth-child(2) { animation-delay: 0.2s; }
.word-animation:nth-child(3) { animation-delay: 0.4s; }
.word-animation:nth-child(4) { animation-delay: 0.6s; }
.word-animation:nth-child(5) { animation-delay: 0.8s; }
.word-animation:nth-child(6) { animation-delay: 1s; }
.word-animation:nth-child(7) { animation-delay: 1.2s; }
.word-animation:nth-child(8) { animation-delay: 1.4s; }

/* Underline effect for specific words */
.underline {
  /* text-decoration: underline; */
  color: rgb(223, 209, 14); /* Adds underline */
}


/* Default styles for all devices */
body {
  margin: 0;
}

/* Custom cursor styles for devices with a cursor */
@media (pointer: fine) {
  .cursor__ball--big {
    width: 30px;
    height: 30px;
    background-color: rgba(223, 220, 17, 0.7);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
  }

  .cursor__ball--small {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
  }

  .cursor__ball circle {
    fill: rgb(223, 220, 17); /* Cursor color */
  }

  /* Optionally, hide the default cursor if needed */
  /* body {
    cursor: none;
  } */
}

/* For touch devices, where there is no cursor, the custom cursor is not applied */
@media (pointer: coarse) {
  /* Hide or disable the custom cursor elements if necessary */
  .cursor__ball--big, .cursor__ball--small {
    display: none;
  }
}


html, body {
  
  overflow-x: hidden; /* Hide horizontal scrollbar */
  overflow-y: scroll; /* Add vertical scrollbar */
}





.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

:is(.h1, .h2) .has-before { display: inline-block; }

:is(.h1, .h2) .has-before::before {
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--mustard);
  z-index: -1;
}

.btn {
  max-width: max-content;
  font-weight: var(--fw-700);
  height: 55px;
  display: flex;
  align-items: center;
  padding-inline: 50px;
  border-radius: var(--radius-10);
  overflow: hidden;
  transition: var(--transition-2);
}

.btn::before,
.btn::after {
  right: 0;
  width: 100%;
  height: 50%;
  transform: scaleX(0);
  background-color: var(--mustard);
  z-index: -1;
  transition: transform var(--transition-1);
}

.btn::before {
  top: 0;
  transform-origin: left;
}

.btn::after {
  top: 50%;
  transform-origin: right;
}

.btn:is(:hover, :focus)::before,
.btn:is(:hover, :focus)::after { transform: scaleX(1); }

.btn:is(:hover, :focus)::before { transform-origin: right; }

.btn:is(:hover, :focus)::after { transform-origin: left; }

.btn-primary {
  background-color: var(--majorelle-blue);
  color: var(--white);
}

.btn-primary:is(:hover, :focus) { color: var(--raisin-black-1); }

.btn-secondary {
  background-color: var(--mustard);
  color: var(--raisin-black-1);
  gap: 15px;
}

.btn-secondary::before,
.btn-secondary::after { background-color: var(--sky-blue-crayola); }

.btn-secondary:is(:hover, :focus) { color: var(--white); }

.social-list { 
  display: flex;
  position: relative;
  z-index: 2; /* Ensure it's above other elements */ }

.w-100 { width: 80%;
height: 96%; }

.section-subtitle {
  color: var(--cool-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  line-height: 1.2;
}

.section-subtitle::before {
  position: static;
  width: 12px;
  height: 12px;
  background-color: var(--mustard);
  display: inline-block;
  border-radius: 50%;
  margin-inline-end: 10px;
}

.text-center { text-align: center; }

.section-title { margin-block: 30px 50px; }

.grid-list {
  display: grid;
  gap: 30px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog22{
  width: 200px;
  height: 200px;
}




.has-bg-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

/* Hide buttons on larger screens */
.header .btn { 
  display: none; 
}

/* Basic Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 25px;
  transition: padding var(--transition-1);
  z-index: 4;
}

/* Active header for scroll effect */
.header.active {
  background-color: var(--white);
  padding-block: 15px;
  box-shadow: var(--shadow-1);
}

/* Container layout */
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px; /* Default max width for larger screens */
  margin: 0 auto; /* Center the container */
  box-sizing: border-box; /* Ensure padding doesn't affect total width */
}

/* Responsive Adjustments */

/* Medium devices (tablets, 1024px and up) */
/* @media (max-width: 1024px) {
  .header .container {
    max-width: 900px; 
    padding: 0 15px;
  }
}


@media (max-width: 768px) {
  .header .container {
    max-width: 700px; 
    padding: 0 10px;
  }
}


@media (max-width: 576px) {
  .header .container {
    max-width: 100%; 
    padding: 0 5px;
    flex-direction: column;
    align-items: flex-start;
  }
} */


/* Logo styles */
.logo {
  color:white;
  font-size: 2.6rem;
  font-weight: var(--fw-700);
}

.logo img {
  height: 90px;
  width: auto;
  max-height: 100%;
  max-width: 100%;
}

/* Nav Open Button */
.nav-open-btn {
  background-color: var(--white);
  color: var(--eerie-black);

  padding: 10px;
  box-shadow: var(--shadow-2);
  border-radius: var(--radius-10);
  display: none; /* Hide on large screens */
}

/* Navbar default styles */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  background-color: var(--raisin-black-2);
  color: var(--white);
  max-width: 300px;
  width: 100%;
  height: 100%;
  padding: 30px;
  z-index: 1;
  transform: translateX(100%);
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

/* Navbar active state */
.navbar.active {
  transform: translateX(0);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

/* Wrapper inside navbar */
.navbar .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 60px;
}

/* Close button inside navbar */
.nav-close-btn {
  color: var(--white);
  font-size: 30px;
  transition: var(--transition-1);
}

/* Hover effect for close button */
.nav-close-btn:is(:hover, :focus) { 
  color: var(--bittersweet); 
}

/* Navbar list items */
.navbar-item:not(:last-child) { 
  border-block-end: 1px solid var(--jet); 
}

/* Navbar links */
.navbar-link {
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  padding-block: 15px;
  text-transform: uppercase;
  transition: var(--transition-1);
}

/* Hover effect for links */
.navbar-link:is(:hover, :focus) { 
  color: var(--mustard); 
}

/* Overlay for navbar */
.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--raisin-black_90);
  transition: var(--transition-2);
  opacity: 0;
  pointer-events: none;
}

/* Active state for overlay */
.overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
  .header .container {
    padding: 0 10px;
  }

  .nav-open-btn {
    display: block; /* Show menu button on small screens */
  }

  .btn { 
    display: block; /* Show buttons on small screens */
    margin-left: auto;
  }

  .navbar {
    max-width: 250px; /* Slightly narrower for smaller screens */
  }

  .logo img {
    height: 70px; /* Reduce logo size on smaller screens */
  }

  .header.active {
    padding-block: 10px; /* Less padding when active */
  }
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

/* General hero styles */
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 25px;
  transition: padding var(--transition-1);
  z-index: 4;
}

/* Active header for scroll effect */
.header.active {
  background-color: var(--white);
  padding-block: 15px;
  box-shadow: var(--shadow-1);
}

/* Container layout */
.header .container {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Responsive Adjustments */
/* @media (max-width: 1024px) {
  .header .container {
    max-width: 900px;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .header .container {
    max-width: 700px;
    padding: 0 10px;
  }
}

@media (max-width: 576px) {
  .header .container {
    max-width: 100%;
    padding: 0 5px;
    flex-direction: row;
    align-items: flex-start;
  }
} */

/* Hero Section */
.hero {
  padding-block-start: calc(var(--section-padding) + 60px);
  margin-top: 80px; /* Ensure hero section is below the header */
}

/* Responsive Padding Adjustments for Hero Section */
@media (max-width: 768px) {
  .hero {
    margin-top: 70px; 
  }
}

@media (max-width: 576px) {
  .hero {
    margin-top: 60px; 
  }
}

/* Remaining CSS (unchanged) */
.hero .container {
  display: grid;
  gap: 70px;
}

.hero-text {
  font-size: var(--fs-7);
  margin-block: 30px 35px;
}

.hero-content :is(.wrapper, .hero-btn) {
  display: flex;
  align-items: center;
}

.hero-content .wrapper {
  flex-wrap: wrap;
  gap: 30px;
  margin-block-end: 30px;
}

.hero-btn {
  gap: 15px;
  color: var(--raisin-black-1);
  transition: var(--transition-1);
}

.hero-btn:is(:hover, :focus) { color: var(--majorelle-blue); }

.hero-btn ion-icon { font-size: 24px; }

.hero-btn .span {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.hero .social-link .span { display: none; }

.hero .social-list { gap: 1rem; }

.hero .social-link {
  background-color: var(--white);
  /* border: 2px solid red; */
  color: var(--color);
  padding: 0.3rem .6rem;
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-8);
  transition: var(--transition-2);
}

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

/* Read More Link Styles */
.read-more {
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  position: relative;
  z-index: 2; /* Ensure it's above other elements */
}

.read-more:hover {
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
  position: relative;
  z-index: 2; /* Ensure it's above other elements */
}

/* Responsive Read More Styles */
.read-more:focus {
  outline: none;
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
}

.more-text {
  display: none;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin-top: 0;
  animation: fadeIn 0.3s ease-in;
}

/* Mobile Media Queries */
@media (max-width: 480px) {
  .hero {
    padding-block-start: 50px;
  }

  .h1.hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-text {
    font-size: 1rem;
    max-width: 100%;
    padding-inline: 10px;
  }

  .social-link {
    width: 35px;
    height: 35px;
    
  }

  .hero-banner video {
    max-width: 100%;
  }
}

/* Tablet Media Queries */
@media (min-width: 481px) and (max-width: 768px) {
  .h1.hero-title {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1rem;
    max-width: 600px;
    padding-inline: 15px;
  }

  .hero-banner video {
    max-width: 500px;
  }
}

/* Small Laptops Media Queries */
@media (min-width: 769px) and (max-width: 1024px) {
  .h1.hero-title {
    font-size: 2.6em;
  }

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

  .hero-banner video {
    max-width: 360px;
  }
}

/* Additional Navbar and Button Styles (Unchanged) */


@media (min-width: 1024px) and (max-width: 1200px) {
  .hero-banner video {
    max-width: 390px;
  }
}



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

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

.service .section-title { margin-block: 30px 60px; }

.service-card,
.service .link-card {
  padding: 45px;
  border-radius: var(--radius-20);
}

.service-card {
  height: 100%;
  background-color: var(--white);
  padding-block-end: 40px;
  border-block-end: 3px solid transparent;
  box-shadow: var(--shadow-3);
  transition: var(--transition-1);
}

.service-card:is(:hover, :focus-within) { border-color: hsl(var(--color)); }

.service-card .card-icon {
  max-width: max-content;
  padding: 15px;
  border-radius: var(--radius-8);
  background-color: hsla(var(--color), 0.15);
  margin-block-end: 25px;
  transition: var(--transition-2);
}

.service-card:is(:hover, :focus-within) .card-icon { transform: rotateY(0.5turn); }

.service-card .card-title { transition: var(--transition-1); }

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

.service .link-card {
  background-color: hsla(var(--color), 0.15);
  text-align: center;
}

.service .link-card .span {
  color: var(--raisin-black-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  margin-block-end: 20px;
  transition: var(--transition-1);
}

.service .link-card:is(:hover, :focus) .span { color: var(--majorelle-blue); }

.service .link-card ion-icon {
  color: var(--majorelle-blue);
  font-size: 150px;
  transform: rotate(-45deg);
  margin: -25px auto;
  transition: var(--transition-1);
}

.service .link-card:is(:hover, :focus) ion-icon { color: hsl(var(--color)); }





/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/

.feature .container,
.feature-list {
  display: grid;
  gap: 60px;
}

.feature-card .card-icon {
  background-color: hsla(var(--color), 0.15);
  font-size: 24px;
  max-width: max-content;
  padding: 18px;
  border-radius: 50%;
  margin-block-end: 20px;
  transition: var(--transition-2);
}

.feature-card .card-icon ion-icon {
  color: hsl(var(--color));
  transition: var(--transition-1);
}

.feature-card .card-text {
  color: var(--cool-gray);
  font-size: var(--fs-7);
  margin-block-start: 10px;
}

.feature-card:is(:hover, :focus) .card-icon {
  box-shadow: inset 0 0 0 30px hsla(var(--color), 0.9);
}

.feature-card:is(:hover, :focus) .card-icon ion-icon { color: var(--white); }



@media (max-width: 768px) {
  .read-more-btn {
    display: none;
  }
}

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

.project { background-color: var(--ghost-white); }

.project .section-title { margin-block: 20px 60px; }

.filter-list {
  max-width: 90%;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-block-end: 70px;
}

.filter-btn {
  color: var(--cool-gray);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  padding: 11px 20px;
  border-radius: var(--radius-8);
  transition: var(--transition-1);
}

.filter-btn:is(:hover, :focus) { color: var(--raisin-black-1); }

.filter-btn.active {
  background-color: var(--white);
  color: var(--raisin-black-1);
  box-shadow: var(--shadow-4);
}

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

.project-card .card-banner img { transition: var(--transition-2); }

.project-card:is(:hover, :focus-within) .card-banner img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.project-card .card-content {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  background-color: var(--mustard);
  border-radius: var(--radius-10);
  padding: 30px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(calc(-50% + 20px));
  transition: var(--transition-2);
}

.project-card .card-tag {
  color: var(--raisin-black-1);
  font-size: var(--fs-9);
}

.project-card:is(:hover, :focus-within) .card-content {
  opacity: 1;
  transform: translateY(-50%);
}





/*-----------------------------------*\
  #NEWSLETTER
\*-----------------------------------*/

.newsletter { color: var(--white); }

.newsletter .container {
  display: grid;
  gap: 50px;
}

.newsletter-banner { max-width: max-content; }

.newsletter .section-subtitle { color: var(--light-gray); }

.newsletter .section-title {
  color: var(--white);
  margin-block: 20px 35px;
}

.email-field {
  background-color: var(--majorelle-blue);
  color: var(--white);
  font-size: var(--fs-9);
  min-height: 60px;
  padding-inline: 20px;
  border-radius: var(--radius-8);
  margin-block-end: 20px;
  box-shadow: var(--shadow-5);
  outline: 3px solid transparent;
  outline-offset: 0;
  transition: var(--transition-1);
}

.email-field:focus { outline-color: var(--white); }

.email-field::placeholder { color: inherit; }

/* blog details */



/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog { background-color: var(--ghost-white); }

.blog .section-title { margin-block: 20px 70px; }

.blog-list {
  display: grid;
  gap: 40px;
}

.blog-card .card-banner {
  border-radius: var(--radius-20);
  overflow: hidden;
  margin-block-end: 20px;
}

.blog-card.large .card-banner { margin-block-end: 40px; }

.blog-card.large .card-title {
  font-size: var(--fs-2);
  line-height: 1.2;
  margin-block-end: 20px;
}

.blog-card .card-text { color: var(--cool-gray); }

.blog-card .card-banner img { transition: var(--transition-2); }

.blog-card:is(:hover, :focus-within) .card-banner img { transform: scale(1.1); }

.blog-card .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-block-end: 20px;
}

.blog-card .tag {
  color: var(--majorelle-blue);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  transition: var(--transition-1);
}

.blog-card .tag:is(:hover, :focus) { color: var(--raisin-black-1); }

.blog-card .publish-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cool-gray);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.blog-card .publish-date ion-icon {
  font-size: 18px;
  --ionicon-stroke-width: 40px;
}

.blog-card .publish-date:is(:hover, :focus) { color: var(--raisin-black-1); }

.blog-card .card-title {
  color: var(--raisin-black-1);
  font-size: var(--fs-4);
  letter-spacing: -1px;
  transition: var(--transition-1);
}

.blog-card .card-title:is(:hover, :focus) { color: var(--majorelle-blue); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--raisin-black-1);
  color: var(--cool-gray);
}

.footer-top {
  padding-block-end: 60px;
  display: grid;
  gap: 50px;
}

.footer-list-title {
  color: var(--white);
  font-size: var(--fs-5);
  font-weight: var(--fw-500);
  margin-block-end: 20px;
}

.footer-text { margin-block-end: 30px; color: #f9f9f9;}

.footer .social-list { gap: 12px; }

.footer .social-link {
  background-color: var(--onyx);
  padding: 7px;
  border-radius: 50%;
  transition: var(--transition-1);
}

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

.footer-link {
  font-size: var(--fs-8);
  margin-block-start: 15px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus) { color: var(--mustard); }

.insta-post {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

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

.insta-card .card-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  background-color: var(--blue-ryb_80);
  color: var(--white);
  font-size: 25px;
  opacity: 0;
  transition: var(--transition-1);
}

.insta-card:is(:hover, :focus-within) .card-content { opacity: 1; }

.footer-bottom {
  color: var(--white);
  font-size: var(--fs-8);
  padding-block: 40px;
  border-block-start: 1px solid var(--onyx);
}

.copyright { margin-block-end: 15px; color: var(--white);}

.footer-bottom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
}

.footer-bottom-link { transition: var(--transition-1); }

.footer-bottom-link:is(:hover, :focus) { color: var(--mustard); }





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

.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  background-color: var(--majorelle-blue);
  color: var(--white);
  font-size: 18px;
  padding: 16px;
  border-radius: var(--radius-8);
  z-index: 4;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
}

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

.back-top-btn::after {
  bottom: -12px;
  right: 0;
  width: 100%;
  height: 10px;
  background-image: var(--gradient);
}





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .container { max-width: unset; }




  /**
   * PROJECT
   */

  .project-card .card-content {
    max-width: max-content;
    width: calc(100% - 40px);
    left: 50%;
    right: auto;
    padding: 50px 80px;
    transform: translate(-50%, calc(-50% + 20px));
  }

  .project-card:is(:hover, :focus-within) .card-content { transform: translate(-50%, -50%); }

  .project-card .card-title { margin-block-end: 10px; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5.5rem;
    --fs-2: 3.8rem;
    --fs-7: 1.8rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .btn { height: 60px; }

  .grid-list { grid-template-columns: 1fr 1fr; }



  /**
   * HERO
   */

  .hero .container { gap: 120px; }

  .hero .wrapper {
    gap: 50px;
    margin-block-end: 60px;
  }

  .hero .social-link .span {
    display: block;
    font-size: 1.1vmax;
    color: var(--raisin-black-1);
    font-weight: var(--fw-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-2);
  }

  .hero .social-link {
    display: flex;
    align-items: center;
    gap: 0.2vmax;
    background: none;
    box-shadow: none;
  }

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

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



  /**
   * FEATURE
   */
   .feature .container,
   .feature-list {
     display: grid;
     gap: 5px; /* Tighter gap between cards */
   }
   
   .feature-list {
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
   }
   
   /* Feature card icon styling */
   .feature-card .card-icon {
     background-color: hsla(var(--color), 0.15);
     font-size: 24px;
     max-width: max-content;
     padding: 18px;
     border-radius: 50%;
     margin-block-end: 20px;
     transition: var(--transition-2);
   }
   
   /* Ion icon within card icon */
   /* .feature-card .card-icon ion-icon {
     color: hsl(var(--color));
     transition: var(--transition-1);
   } */
   
   /* Feature card text styling */
   .feature-card .card-text {
     color: var(--cool-gray);
     font-size: var(--fs-7);
     margin-block-start: 10px;
     max-width: 32ch; /* Limits line length for readability */
   }
   
   /* Card hover effects */
   /* .feature-card:is(:hover, :focus) .card-icon {
     box-shadow: inset 0 0 0 30px hsla(var(--color), 0.9);
   }
   
   .feature-card:is(:hover, :focus) .card-icon ion-icon { 
     color: var(--white); 
   }
    */
   /* Read More button styling */
   .hidden {
     display: none; /* Hides the additional feature cards */
   }
   
   .read-more-btn {
    display: block;
    margin: 20px auto;
    padding: 12px 20px; /* Increase padding for better interaction */
    background-color: #007bff; /* Blue background */
    color: #f8fe45; /* Yellow text */
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 16px; /* Increase font size for better readability */
    position: relative;
    z-index: 2; /* Ensure it's above other elements */
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover */
    margin-left: 80px; /* Adjust this value to move to the right */
  }
  
  .read-more-btn:hover {
    background-color: #f8fe45; /* Change background to yellow */
    color: #007bff; /* Change text color to blue */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Add shadow effect on hover */
    transform: translateY(-5px); /* Slight upward movement on hover */
    position: relative;
    z-index: 2; /* Ensure it stays above other elements */
  }
  
  .read-more-btn:active {
    transform: translateY(0); /* Button returns to its original position when clicked */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow on click */
  }
   
   /* Feature banner image styling */
   .feature-banner img {
     width: 100%;
     height: auto; /* Maintains aspect ratio */
     object-fit: cover; /* Ensures the image fits within its container without distortion */
   }
   
   

  /**
   * PROJECT
   */

  .project .grid-list > li:first-child { grid-column: 1 / 3; }



  /**
   * NEWSLETTER
   */

  .newsletter-form { position: relative; }

  .email-field { margin-block-end: 0; }

  .newsletter-form .btn-secondary {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    height: auto;
    padding-inline: 25px;
  }



  /**
   * BLOG
   */

  .blog-card:not(.large) {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .blog-card:not(.large) .card-banner {
    margin-block-end: 0;
    flex-shrink: 0;
  }

  .blog-card .card-title { --fs-4: 2.6rem; }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

  .copyright { text-align: center; }

  .footer-bottom-list { justify-content: center; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

 

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }

  .btn { height: 70px; }

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



  /**
   * HEADER
   */

  .header { padding-block-start: 47px; }

  .nav-open-btn,
  .overlay,
  .navbar .wrapper { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-item:not(:last-child) { border: none; }

  .navbar-list {
    display: flex;
    gap: 30px;
  }
 

  .navbar-link {
    position: relative;
    color: var(--cool-gray);
    text-transform: capitalize;
    font-size: unset;
    font-weight: var(--fw-500);
  }

  .navbar-link:is(:hover, :focus) { color: var(--raisin-black-1); }

  .navbar-link::before {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 5px;
    background-color: var(--majorelle-blue);
    transition: var(--transition-1);
  }

  .navbar-link:is(:hover, :focus)::before { width: 100%; }

  .header .btn { display: inline-flex; }

  .header .btn::before,
  .header .btn::after { background-color: var(--raisin-black-1); }

  .header .btn:is(:hover, :focus) { color: var(--white); }



  /**
   * HERO
   */

  .hero {
    background-image: linear-gradient(to right, var(--white) 80%, rgb(255,198,21) 20%);
    overflow: hidden;
    margin-top: -1px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero .wrapper { flex-wrap: wrap; }

  .hero .btn,
  .hero-btn .span { flex-shrink: 0; }


  /**
   * FEATURE
   */

  .feature .container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }



  /**
   * PROJECT
   */

  .filter-btn {
    --fs-9: 1.8rem;
    padding: 20px 25px;
  }



  /**
   * NEWSLETTER
   */

  .newsletter .container {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
  }

  .newsletter-banner {
    order: 1;
    margin-inline-start: auto;
  }

  .email-field {
    min-height: 80px;
    padding-inline: 40px;
  }

  .newsletter-form .btn-secondary {
    top: 10px;
    right: 10px;
    bottom: 10px;
  }



  /**
   * BLOG
   */

  .blog-list {
    grid-template-columns: 1fr 1fr;
    gap: 40px 70px;
  }

  .blog-list > li:first-child { grid-row: 1 / 4; }

  .blog-card:not(.large) .wrapper {
    gap: 10px;
    flex-wrap: nowrap;
    margin-block-end: 10px;
  }

  .blog-card:not(.large) .publish-date {
    flex-shrink: 0;
    font-size: var(--fs-9);
    gap: 5px;
  }

  .blog-card .card-title { --fs-4: 1.8rem; }



  /**
   * FOOTER
   */

  .footer-top {
    grid-template-columns: 1fr 0.5fr 0.5fr 0.9fr;
    padding-block: 120px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright { margin-block-end: 0; }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5.5rem;
    --fs-2: 4.5rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1140px; }

  .section-title.text-center {
    max-width: 20ch;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .container { padding-inline: 30px; }

  .navbar-list { gap: 50px; }



  /**
   * HERO
   */

  .hero-content {
    display: flex;
    flex-direction: column;
    margin-block-start: 50px;
  }

  .hero-text { margin-block: 40px 45px; }

  .hero .wrapper { margin-block-end: auto; }

  .hero-banner {
    margin-inline-end: 200px;
    min-width: max-content;
    margin-left: 28px;
    
  }



  /**
   * SERVICE
   */

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

  .service-card .h3 { --fs-3: 2rem; }



  /**
   * PROJECT
   */

  .filter-btn { padding-inline: 40px; }



  /**
   * BLOG
   */

  .blog-list { column-gap: 35px; }

  .blog-card.large {
    padding-inline-end: 35px;
    border-inline-end: 1px solid var(--gainsboro);
  }

  .blog-card:not(.large) .publish-date { --fs-9: 1.6rem; }

  .blog-card:not(.large) .wrapper {
    gap: 25px;
    margin-block-end: 20px;
  }

  .blog-card .card-title { --fs-4: 2.4rem; }

}
/*  */
/* contact css */
/*  */

/* Contact Section */
.contact-section {
  background-color: #f9f9f9; /* Light Gray */
  padding: 60px 0;
} 

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-heading {
  font-size: 2.5rem; /* Large Heading */
  text-align: center;
  color: #222222; /* Dark Text */
  margin-bottom: 15px;
}

.contact-description {
  margin-block: 5px 35px;
  font-size: 2rem; /* Medium Text */
  color: #333333; /* Dark Gray */
  text-align: center;
}

/* Contact Form */
.contact-form-custom {
  background-color: #ffffff; /* White */
  padding: 30px;
  border-radius: 8px; /* Rounded Corners */
  margin-block-end: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle Shadow */
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Ensure it's above other elements */
}

.form-group {
  display: flex;
  gap: 20px;
  margin-block-end: 20px;
  position: relative;
  z-index: 2; /* Ensure the input fields are clickable */
}

.form-input {
  background-color: #f2f2f2; /* Light Gray Background */
  color: #333333; /* Dark Text */
  font-size: 1.5rem; /* Standard Text Size */
  padding: 15px;
  border-radius: 6px;
  width: 100%;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #ff4500; /* Orange when focused */
}

textarea.form-textarea {
  background-color: #f2f2f2;
  color: #333333;
  font-size: 1.5rem;
  padding: 15px;
  border-radius: 6px;
  width: 100%;
  border: 1px solid transparent;
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
  transition: border-color 0.3s ease;
  outline: none;
}

textarea.form-textarea:focus {
  border-color: #ff4500;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 20px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #ff4500; /* Orange Checkbox */
}

.form-label {
  font-size: 1rem;
  color: #333333;
}

.form-link {
  color: #ff4500; /* Orange Link */
  text-decoration: none;
}

.form-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.contact-submit-btn {
  background-color: #11e1d0; /* Orange Button */
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #5edef2; /* Darker Orange on Hover */
}

/* Contact Information List */
.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* Space between items */
  justify-content: center; 
  margin-top: 40px;/* Center items */
}

/* Individual Contact Info Item */
.contact-info-item {
  flex: 1 1 calc(33.333% - 30px); /* Adjust the width */
  max-width: calc(33.333% - 30px); /* Adjust the width */
  box-sizing: border-box; /* Ensure padding is included in width */
}

/* Contact Info Card */
.info-card {
  background-color: #ffffff; /* White Background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle Shadow */
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px; /* Space between cards */
}

/* Card Icon */
.card-icon {
  background-color: #f2f2f2; /* Light Gray */
  color: #61d3fd; /* Orange Icon */
  font-size: 25px;
  padding: 15px;
  border-radius: 50%;
}

/* Card Details */
.card-details {
  flex: 1;
}

/* Card Title */


/* Card Detail Links and Address */
.card-detail-link,
.card-detail-address {
  font-size: 1rem;
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block; /* Make each link/address on a new line */
}

.card-detail-link:hover {
  color: #ffb300; /* Orange on Hover */
}

.card-detail-address {
  line-height: 1.5; /* Improve readability */
}

.card-title {
  display: inline-block; /* Ensure it behaves like a block or inline-block */
  padding: 10px; /* Add some padding for easier clicking */
  /* color: #131314;  */
  text-decoration: none; /* Remove underline */
  cursor: pointer; /* Ensure cursor changes to a pointer */
}

/* Optional: Ensure no other CSS is interfering */
.card-title {
  position: relative;
  z-index: 1; /* Ensure it is above other elements */
}


/*-----------------------------------*  #MEDIA QUERIES
\*-----------------------------------*/

/* For mobile screens (including Surface Duo) */
@media (max-width: 540px) {
  .contact-info-item {
    flex: 1 1 100%; 
    max-width: 100%;
  }
}

/* For tablets */
@media (min-width: 541px) and (max-width: 768px) {
  .contact-info-item {
    flex: 1 1 calc(50% - 30px); 
  }
}

/* For larger devices */
/* @media (min-width: 769px) {
  .contact-info-item {
    flex: 1 1 calc(33.333% - 30px); 
  }
} */


/* more blogs */
.visit-blogs {
  text-align: center; /* Center the link */
  margin-top: 40px; /* Space above the link */
  position: relative;
    z-index: 2;
}

.visit-blogs-link {
  font-size: 2.5rem; /* Adjust font size */
  color: #0c6dce; /* Orange color */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth color transition */
}

.visit-blogs-link:hover {
  color: #dcbd24; /* Change color on hover */
  text-decoration: underline; /* Optional: underline on hover */
}




/* for gif  */

.wrapper {
  position: relative;
  text-align: center;
  padding: 5px; /* Add padding to avoid overlap with other content */
}


.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it's above all other content */
}

.overlay-image {
  max-width: 80%; /* Limit the maximum width of the image */
  max-height: 80%; /* Limit the maximum height of the image */
  border-radius: 8px; /* Rounded corners */
  object-fit: contain; /* Maintain aspect ratio */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  background: blue; /* Gradient from yellow to blue */
  color: yellow;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.close-btn:hover {
  transform: translateY(-3px); /* Slight lift on hover */
  background: yellow; /* Reverse gradient on hover */
  color: #007bff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}

.close-btn:active {
  transform: translateY(0); /* Reset lift on click */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Reset shadow on click */
}





/* Bot Logo */
.bot-logo {
  position: fixed;
  bottom: 100px;
  right: 30px;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effects */
}

.bot-logo img {
  width: 50px;
  height: 50px;
  border-radius: 30px;
}

/* Hover Effect */
.bot-logo:hover {
  transform: scale(1.1); /* Scale up slightly */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add shadow effect */
  border-radius: 30px;
}

/* Message Bar */
.bot-container {
  position: fixed;
  bottom: 160px;
  right: 80px;
  width: 300px;
  max-width: 90%;
  height: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  z-index: 999;
}

/* Hidden class */
.hidden {
  display: none;
}

/* Active state for message bar */
.bot-container.active {
  display: block;
  transform: translateY(0);
}

/* Pop-up Message */
.bot-popup-message {
  position: fixed;
  bottom: 160px;
  right: 20px;
  background-color: #007bff;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0; /* Start hidden */
  transform: translateY(10px); /* Start slightly below */
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 999;

}

/* Active State with Animation */
.bot-popup-message.active {
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}

/* Animation Keyframes */
@keyframes popIn {
  0% {
      transform: translateY(10px); /* Start below */
      opacity: 0; /* Start invisible */
  }
  100% {
      transform: translateY(0); /* Move to original position */
      opacity: 1; /* Fade in */
  }
}

/* Close Popup Button */
.bot-popup-message .close-popup {
  position: absolute;
  top: 5px;
  right: 6px;
  cursor: pointer;
  font-size: 12px;
}

/* Back to Top Button */
.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
}



.read-more-btn {
  display: inline-block; /* Ensures button is visible */
  /* padding: 10px 20px; */
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 30px; /* Space above the button */
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
  .read-more-btn {
    width: 50%; /* Make button full width on small screens */
  }
}

/* Show the nav-open button between 778px and 980px */
@media (min-width: 778px) and (max-width: 980px) {
  .nav-open-btn {
    display: block; /* Make the button visible */
  }

  /* Optionally, you can control the navbar visibility */
  .navbar {
    display: none; /* Hide navbar by default */
  }

  /* If you want the navbar to show when a certain class is active */
  .navbar.active {
    display: block; /* Show the navbar when active */
    transform: translateX(0); /* Bring navbar into view */
    visibility: visible; /* Make navbar visible */
  }
}

/* Ensure the nav-open button is hidden on larger screens */
@media (min-width: 981px) {
  .nav-open-btn {
    display: none; /* Hide the button */
  }
}



/* tool css */
.branding-tool-section {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  text-align: center;
  border-radius: 20px;
  margin: 3rem auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branding-tool-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.branding-tool-content {
  position: relative;
  z-index: 2;
}

.branding-tool-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.branding-tool-content p {
  font-size: 1.1rem;
  color: #546e7a;
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Button Styling */
.branding-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(45deg, #5a58e9, #7b6cf6);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
}

.branding-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px rgba(90, 88, 233, 0.3);
}

.branding-btn:active {
  transform: translateY(1px);
}

/* Advanced Animation Effects */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(90, 88, 233, 0.1) 0%, rgba(90, 88, 233, 0) 70%);
  top: -50px;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(123, 108, 246, 0.1) 0%, rgba(123, 108, 246, 0) 70%);
  bottom: -75px;
  right: 15%;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, 20px) rotate(180deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Interactive Hover Effects */
.branding-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.branding-btn:hover::before {
  left: 100%;
}

/* Modern Loading Effect */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.loading {
  animation: pulse 2s infinite ease-in-out;
}

/* Enhanced Media Queries */
@media (max-width: 992px) {
  .branding-tool-section {
    margin: 2rem 1rem;
    padding: 2.5rem 1.5rem;
  }

  .branding-tool-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .branding-tool-content h2 {
    font-size: 1.8rem;
  }

  .branding-tool-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .branding-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .branding-tool-section {
    padding: 2rem 1rem;
  }

  .branding-tool-content h2 {
    font-size: 1.5rem;
  }

  .branding-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .branding-tool-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }

  .branding-tool-content p {
    color: #e0e0e0;
  }

  .branding-tool-content h2 {
    background: linear-gradient(45deg, #64b5f6, #2196f3);
    -webkit-background-clip: text;
  }
}

/* Fullscreen overlay */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.3s ease;
}

.loader-overlay.hidden {
  display: none;
}

/* Main loader style */
.circle-loader {
  position: relative;
  width: 120px;
  height: 120px;
}

.circle-loader .ripple {
  position: absolute;
  border: 4px solid #00e0ff;
  opacity: 1;
  border-radius: 50%;
  animation: rippleEffect 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.circle-loader .ripple:nth-child(2) {
  animation-delay: 0.5s;
}

.circle-loader .ripple:nth-child(3) {
  animation-delay: 1s;
}

/* Loader Text */
.circle-loader .loader-text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #aafaff;
  font-weight: 600;
}

/* Ripple animation */
@keyframes rippleEffect {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0.8;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}
