@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins';
    scroll-behavior: smooth;

}


:root{
    --prime-color: #55C175;
    --prime-dark-color: #42B463;
    --second-color: #FFE600;
    --third-color: #4BC7EB;
    --black-color: #000;
    --white-color: #fff;
    --body-color: #191919;

}

body{
    background-color: var(--body-color);
    color: var(--white-color);
    overflow-x: hidden;
}

section{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5% 8%;
}

html, body {
    scroll-behavior: smooth;
}


/*Start of Section Transition Handling 
==================================================================================
*/


/* Feather both top and bottom edges via mask */
section {
  /* Transparent at top/bottom, opaque in the middle */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black var(--fade-size, 80px),
    black calc(100% - var(--fade-size, 80px)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    black var(--fade-size, 80px),
    black calc(100% - var(--fade-size, 80px)),
    transparent 100%
  );
}

/* Slight overlap to let sections “blend” over each other */
section {
  /* Pull the next section up by the fade size to overlap */
  margin-top: calc(-1 * var(--fade-size, 80px));
  padding-top: calc(var(--fade-size, 80px) + var(--content-top, 24px));
  padding-bottom: calc(var(--fade-size, 80px) + var(--content-bottom, 24px));
  position: relative;
  z-index: 0;
}

/* Ensure stacking order is natural */
section + section {
  position: relative;
  z-index: 1; /* next section sits above the previous feather */
}



/*
==============================================================================================
End of Section Transition Handling*/

img{
    width: 100%;
    height: 100%;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    width: 100%;
    height: 90px;
}

.bars{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--prime-color);
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: .3s;
    display: none;

}

.bars:hover{
    transform: scale(0.8);
}

.logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.logo img{
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 100%;
}

.logo a{
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white-color);
}

.menu{
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu li a{
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    transition: .3s;
}

.menu li a:after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--prime-color);
    transition: .3s;
}

.menu li:hover a:after{
    width: 100%;
}

.menu li:hover a{
    color: var(--prime-color)
}

button{
    width: 150px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--prime-color);
    color: var(--white-color);
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    transition: .3s;
    cursor: pointer;
}

button i{
    transition: .3s;
}

button:hover{
    transform: scale(1.1);
}

button:hover i{
    transform: rotate(180deg);
}



/* Hero Seciton */
.hero{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5.6% 8%;
    position: relative;
    overflow: hidden;
}

.content{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.content h2{
    font-size: 4rem;
    color: var(--second-color);
    font-weight: 600;
    line-height: 4.5rem;
}

.content h1{
    font-size: 6rem;
    font-weight: 600;
    line-height: 6.5rem;
}

.content h3{
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 3.3rem;
    color: var(--prime-color);
}

.content p{
    font-size: 1.2rem;
    font-weight: 500;
    width: 80%;
    margin: 20px 0;
}

.content button{
    margin: 10px 0;
}

.iamge{
    width: 40%;
    overflow: hidden;
    position: relative;
}

.iamge img{
    border-radius: 100%;
    object-fit: contain;
}

.det_box{
    position: absolute;
    top: 70%;
    left: 0;
    width: 220px;
/*    height: 50px;*/
    padding: 10px;
    border-radius: 10px;
    background-color: var(--white-color);
    color: var(--black-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.det_box i{
    font-size: 3rem;
    color: var(--prime-color);
}

.det_box_info{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;

}

.det_box_info h2{
    font-weight: 500;
}

.element{
    width: 100px;
    height: 100px;
    position: absolute;
    border-radius: 30px !important;
    background-color: var(--white-color);
    padding: 15px;
}

.elem1{
    top: 10%;
    left: 10%;
}

.elem2{
    top: 10%;
    right: 10%;
}

.elem3{
    top: 75%;
    right: 10%;
}

.shape1{
    position: absolute;
    top: -15%;
    left: 35%;
    width: 70%;
    z-index: -1;
    opacity: 0.3;
}

.shape2{
    position: absolute;
    top: 25%;
    left: 3%;
    width: 50%;
    z-index: -1;
    opacity: 0.5;
}

.shape3{
    position: absolute;
    top: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    z-index: -1;
    opacity: 0.5;
}


.shape3 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* Turn the flat circle into a soft glow */
  filter: blur(180px) saturate(1) brightness(1);
  opacity: 0.3;
  mix-blend-mode: screen;  /* blends nicely over dark backgrounds */
}



/* Only affects .shape4 and its child <img> */
.shape4{
  position: absolute;
  top: 10%;
  left: 25%;
  width: 800px;
  height: 800px;

  /* keep it behind content but not behind the whole page */
  z-index: -1;              /* was -1; change to 0 to avoid going under everything */
  opacity: 0.4;            /* you set this already—kept */
  pointer-events: none;    /* never intercept clicks */
}

.shape4 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* Soft glow from the existing circle image */
  filter: blur(100px) saturate(1) brightness(1);
  opacity: 0.25;           /* tune 0.6–0.9 as needed */
  mix-blend-mode: screen;  /* great over dark backgrounds */
}



/* Only affects .shape5 and its child <img> */
.shape5{
  position: absolute;
  top: -30%;
  right: -10%;
  width: 800px;
  height: 800px;

  /* keep it behind content, but not behind the whole page */
  z-index: -1;              /* change from -1 to 0 to avoid going under everything */
  opacity: 0.2;            /* you set this already—kept; adjust if too faint */
  pointer-events: none;    /* never intercept clicks */
}

.shape5 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  /* Soft glow from the existing circle image */
  filter: blur(40px) saturate(1) brightness(1);
  opacity: 0.5;           /* tune 0.5–0.9 as needed */
  mix-blend-mode: screen;  /* great over dark backgrounds */
}

/* My Advantages Section */
.my_advantage{
    width: 100%;
    justify-content: space-between;
    padding: 8%;
    position: relative;
    overflow: hidden;
}

.advantage_exp{
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.advantage_exp{
    background: linear-gradient(180deg, #2e2c1f, #1b1b19);
    width: 400px;
    height: 450px;
    border-radius: 10px;
}

.exp_box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    left: 25%;
}

.exp_box h1{
    font-size: 8rem;
    font-weight: 500;
    color: var(--second-color);
}

.exp_box p{
    font-size: 1.1rem;
    font-weight: 400;
}

.exp_small_box{
    width: 350px;
    padding: 7%;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    top: 30%;
    left: 20%;
}

.exp_small_box:after{
    border-radius: 5px;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #939393, rgba(28, 26, 26, .3));
    width: 100%;
    height: 100%;
    z-index: -2;
}

.exp_small_box:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 95%;
    background-color: #2d2b1f;
    z-index: -1;
}

.exp_small_box h2{
    font-size: 2rem;
    font-weight: 600;
    color: var(--prime-color);
}

.exp_small_box p{
    font-weight: 500;
}

.advantage_content{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.advantage_content h1{
    font-size: 4rem;
    font-weight: 500;
}

.advantage_content p{
    font-size: 1.1rem;
    font-weight: 300;
    width: 80%;
}

.advantage_cards{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(3,1fr); */
    gap: 20px;
    margin-top: 30px;
}

.advantage_card{
    width: 300px;
    padding: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    border-radius: 10px;
   /* z-index: -2;*/
}

.advantage_card::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 1;
    background: linear-gradient(180deg, rgba(255, 230, 0, .6), rgba(31, 30, 28, .6) 67.59%);
    z-index: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.advantage_card::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 97%;
    height: 95%;
    border-radius: 10px;
    background:
      linear-gradient(135deg, var(--accent), rgba(255,255,255,0.0) 60%),
      radial-gradient(120% 120% at 20% 0%, var(--accent), transparent 60%),
      radial-gradient(120% 120% at 80% 100%, var(--accent), transparent 60%);
    /* mask leaves only a ring (border) visible */
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
            mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 2px;                    /* border thickness */
    opacity: 0;                      /* hidden by default */
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 1;                      /* above the fill but below text */

/*    background: #1f1e1d;
    z-index: -1;
    pointer-events: none; */
}

.advantage_card h2{
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
        transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.advantage_card p{
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent);
}

.advantage_card:nth-child(1) p{
    color: var(--second-color);
}

.advantage_card:nth-child(2) p{
    color: var(--prime-color);
}

.advantage_card:nth-child(3) p{
    color: #D73A26;
}

.advantage_card:nth-child(4) p{
    color: #F1651A;
}

.advantage_card:nth-child(5) p{
    color: var(--third-color);
}

.advantage_card:nth-child(6) p{
    color: #AD08CC;
}

.advantage_card:nth-child(2):after{
    background: linear-gradient(180deg, rgba(89, 195, 120, .6), rgba(31, 30, 28, .6) 67.59%) !important;
}

.advantage_card:nth-child(3):after{
    background: linear-gradient(180deg, rgba(221, 88, 79, .6), rgba(31, 30, 28, .6) 67.59%) !important;
}

.advantage_card:nth-child(4):after{
    background: linear-gradient(180deg, rgba(255, 154, 0, .6), rgba(31, 30, 28, .6) 67.59%) !important;
}

.advantage_card:nth-child(5):after{
    background: linear-gradient(180deg, rgba(0, 169, 255, .6), rgba(31, 30, 28, .6) 67.59%) !important;
}

.advantage_card:nth-child(6):after{
    background: linear-gradient(180deg, rgba(158, 0, 255, .6), rgba(31, 30, 28, .6) 67.59%) !important;
}

.advantage_card:nth-child(1):hover h2{
    color: var(--second-color);
}

.advantage_card:nth-child(2):hover h2{
    color: var(--prime-color);
}

.advantage_card:nth-child(3):hover h2{
    color: #D73A26;
}

.advantage_card:nth-child(4):hover h2{
    color: #F1651A;
}

.advantage_card:nth-child(5):hover h2{
    color: var(--third-color);
}

.advantage_card:nth-child(6):hover h2{
    color: #AD08CC;
}

.advantage_card:hover::before 
{ 
    opacity: 1; 
}   /* show glow border */


.advantage_card:hover h2{
    color: var(--accent);                          /* h2 adopts accent */
    transform: translateY(-1px) scale(1.02);       /* slight lift & scale */
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.25))
            drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 50%, transparent));
}


.adv_shape{
    position: absolute;
    z-index: -1;
}

.adv_shape1{
    top: 5%;
    left: -3%;
    width: 40%;
    opacity: 0.20;
}

.adv_shape2{
    top: 10%;
    right: 0%;
    width: 40%;
    opacity: 0.40;
}


/* The container */
.adv_shape3{
  position: absolute;
  bottom: -30%;
  left: 0%;
  width: 42%;
  /* keep it behind content if needed */
  z-index: 0;
  /* center the fade */
  display: inline-block;
}

/* The fading + light treatment is applied on the image itself */
.adv_shape3 img{
  display: block;
  width: 100%;
  height: auto;
  z-index: -1;
  opacity: 0.1; /* light/soft overall intensity */
  filter: blur(280px) saturate(280%); /* a little blur to make it glow, optional */

  /* Radial mask that keeps the center and fades edges */
  /* WebKit prefix for Safari */
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
                        rgba(0,0,0,1) 0%,
                        rgba(0,0,0,0.85) 35%,
                        rgba(0,0,0,0.45) 60%,
                        rgba(0,0,0,0.0) 85%);
  mask-image: radial-gradient(circle at 50% 50%,
                        rgba(0,0,0,1) 0%,
                        rgba(0,0,0,0.85) 35%,
                        rgba(0,0,0,0.45) 60%,
                        rgba(0,0,0,0.0) 85%);

  /* Make sure the mask covers the whole image */
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Optional: on dark backgrounds, this makes it “lighten” the backdrop */
.dark-bg .adv_shape3 img{
  mix-blend-mode: screen; /* or 'lighten' depending on your palette */
  opacity: 0.5;           /* adjust to taste */
}


/* The container for the second glow */
.adv_shape4{
  position: absolute;
  top: -20%;      /* your original */
  right: -10%;
  width: 40%;
  opacity: 0.40; /* keeps overall contribution subtle */
  z-index: -1;    /* sits behind content */
  display: inline-block;
}

/* Fading + glow treatment on the image */
.adv_shape4 img{
  display: block;
  width: 100%;
  height: auto;
  z-index: -1;                         /* behind your foreground */
  opacity: 0.2;                       /* slightly stronger than .adv_shape3 base */
  filter: blur(240px) saturate(220%);  /* strong glow; adjust to taste */

  /* Same radial mask fade from center -> edges */
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
                          rgba(0,0,0,1) 0%,
                          rgba(0,0,0,0.85) 35%,
                          rgba(0,0,0,0.45) 60%,
                          rgba(0,0,0,0.0) 85%);
          mask-image: radial-gradient(circle at 50% 50%,
                          rgba(0,0,0,1) 0%,
                          rgba(0,0,0,0.85) 35%,
                          rgba(0,0,0,0.45) 60%,
                          rgba(0,0,0,0.0) 85%);
  -webkit-mask-size: cover;
          mask-size: cover;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

/* Optional blend on dark surfaces (makes it feel like real light) */
.dark-bg .adv_shape4 img{
  mix-blend-mode: screen;  /* or try 'lighter'/'lighten' based on palette */
  opacity: 0.45;           /* stronger contribution under screen */
}



/*Services Section*/
.services{
    position: relative;
    flex-direction: column;
    overflow: hidden;
    background-color: #222121;
}


/* Shared base for both shapes */
.service_shape,
.service_shape2 {
  position: absolute;
  width: 40%;
  z-index: 0;                      /* behind your foreground content */
  display: inline-block;
  pointer-events: none;            /* shapes never block clicks/hover */
}

/* Individual placement (from your code) */
.service_shape {
  top: 0;
  right: -10%;
  /* opacity on the container is optional; we’ll control it on the img */
}
.service_shape2 {
  top: 10%;
  left: -10%;
}

/* The fading + light treatment is applied to the <img> */
.service_shape img,
.service_shape2 img {
  display: block;
  width: 100%;
  height: auto;

  /* Overall intensity and glow “bloom” */
  opacity: 0.18;                   /* subtle base; adjust between .08–.35 */
  filter: blur(220px) saturate(220%);

  /* Radial mask: solid center → transparent edges */
  -webkit-mask-image: radial-gradient(circle at 50% 50%,
                        rgba(0,0,0,1) 0%,
                        rgba(0,0,0,0.85) 35%,
                        rgba(0,0,0,0.45) 60%,
                        rgba(0,0,0,0) 85%);
          mask-image: radial-gradient(circle at 50% 50%,
                        rgba(0,0,0,1) 0%,
                        rgba(0,0,0,0.85) 35%,
                        rgba(0,0,0,0.45) 60%,
                        rgba(0,0,0,0) 85%);
  -webkit-mask-size: cover;
          mask-size: cover;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;

  /* Make the glow feel like real light on dark backgrounds */
  mix-blend-mode: screen;          /* try 'lighten' if your palette needs it */
}

/* Optional: slightly different strengths per asset */
.service_shape img   { opacity: 0.15; filter: blur(240px) saturate(220%); } /* yellow */
.service_shape2 img  { opacity: 0.20; filter: blur(200px) saturate(240%); } /* purple */


.headings{
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.headings h1{
    font-size: 5rem;
    font-weight: 500;
}

.headings p{
    font-size: 1rem;
    font-weight: 300;
    width: 80%;
}

.service_btns{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.btn2{
    width: 200px;
    height: 60px;
    font-size: 1.5rem;
    background-color: #373737;
    color: var(--white-color);
}

.btn2:active, 
.btn2:focus{
    background-color: transparent;
    color: var(--second-color);
    border: 1px solid var(--white-color);
}

.btn2:hover{
    transform: scale(1.0);
}

.services_card{
    display: flex;
    justify-content: center;
    align-items: center;
}

.service_container{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    place-content: center;
    place-items: center;
    gap: 20px;
    margin-top: 50px;
}

.service_card{
    background-color: #232221;
    width: 400px !important;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    border-radius: 10px;
    border: 1px solid rgba(131, 131, 131, 0.5);
}

.service_card .service_icon{
    font-size: 3.5rem;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: #373737;
    color: var(--second-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.service_card:hover .service_icon{
    background-color: var(--prime-color);
    color: var(--white-color);
}

.service_card h2{
    font-size: 2rem;
    font-weight: 400;
}

.service_card p{
    font-size: 1rem;
    font-weight: 300;
}

.service_card{
    display: flex;
    align-items: center;
    gap: 10px;
}

.service_card a{
    color: var(--white-color);
    font-size: 1.1rem;
    margin-top: 10px;
    transition: .3s;
}

.service_card a i{
    font-size: 1.2rem;
}

.service_card a:hover{
    color: var(--second-color);
    letter-spacing: 2px;
}

.service_2, .service_3{
    display: none;
}

/* WORK EXPERIENCE SECTION */
.work_experience{
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.work_box_container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.work_box{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    place-content: center;
    place-items: center;
    gap: 20px;
    background-color: #282828;
    padding: 1.2% 0%;
    border: 1px solid transparent;
}

.company-logo-1 {
  width: 96px;              /* adjust size as needed (e.g., 64px, 120px) */
  height: 96px;
  border-radius: 50%;        /* makes it circular */
  object-fit: cover;         /* crop to center, avoid distortion */
  object-position: center;
  display: block;
  border: 2px solid #e6e6e6; /* optional subtle ring */
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* optional soft shadow */
}

.work_box h2{
    font-size: 2rem;
    font-weight: 500;
}

.work_box_img{
    width: 80px;
    height: 80px;
}

.work_det{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.work_det h2{
    font-size: 1.5rem;
    font-weight: 500;
}

.work_det p{
    font-size: 0.8rem;
    font-weight: 300;
    color: #D73A26;
}

.work_det p span{
    color: #999;
}

.work_box a{
    color: var(--white-color);
    font-size: 1.1rem;
    margin-top: 10px;
    transition: .3s;
}

.work_box a i {
    font-size: 1.2rem;
}

.work_box a:hover{
    color: var(--second-color);
    letter-spacing: 1.5px;
}

.work_box:hover{
    border: 1px solid rgba(131, 131, 131, 0.5);
}

.work_shape{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    opacity: 0.6;
    z-index: -1;
}



/* Targets only the image inside .work_shape */
.work_shape img {
  /* Make sure it fills the current .work_shape box */
  display: block;
  width: 100%;
  height: auto;

  /* Overall transparency (keep subtle) */
  opacity: 0.18;

  /* Feather the edges from center to transparent */
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 75%);
  mask-image: radial-gradient(circle, #000 35%, transparent 75%);

  /* Soften any remaining edge harshness */
  filter: blur(8px);

  /* Optional: better blending over light backgrounds */
  mix-blend-mode: multiply; /* try 'screen' if background is dark */
}

/* RECENT WORK SECTION */
.recent_work{
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding: 5% 12%;
}

.heading2{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head_content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.head_content h1{
    font-size: 5rem;
    font-weight: 500;
}

.head_content p{
    width: 80%;
    font-size: 1rem;
    font-weight: 300;
}

.heading2 i{
    font-size: 3.5rem;
    width: 130px;
    height: 130px;
    border-radius: 100%;
    background-color: #373737;
    color: var(--second-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
    position: relative;
    padding: 10px;
    border: 1px dashed rgba(131, 131, 131, 0.5);
}

.heading2 i:hover{
    background-color: var(--second-color);
    color: var(--white-color);
    cursor: pointer;
}

.heading2 i:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    border: 2px dashed rgba(131, 131, 131, 0.5);
    border-radius: 100%;
}

.RecentWorkSwiper{
    width: 100%;
    margin-top: 50px;
}

.slide{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.slide_img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: .3s;
}

.slide:hover .slide_img{
    transform: scale(1.07);
}

.slide_content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    margin-top: 20px;
}

.slide_content h2{
    font-size: 1.5rem;
    font-weight: 400;
}

.slide_content h2:hover{
    color: var(--prime-color);
    cursor: pointer;
}

.slide_content p{
    font-size: 1rem;
    font-weight: 300;
    color: #999;
}

.recent_work_shape{
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    opacity: 0.6;
    z-index: -1;
}


.recent_work_shape img {
  display: block;
  width: 100%;
  height: auto;

  /* Overall subtlety */
  opacity: 0.18; /* adjust 0.12–0.25 to taste */

  /* Fade from center (opaque) to edges (transparent) */
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 75%);
  mask-image: radial-gradient(circle, #000 35%, transparent 75%);

  /* Soften the edge for a nicer glow */
  filter: blur(8px);

  /* If the page background is light, multiply blends nicely.
     For dark backgrounds, try 'screen' instead. */
  mix-blend-mode: multiply;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after, .swiper-rtl .swiper-button-prev:after{
    display: none;
}

.swiper_btn{
    position: absolute !important;
    top: 96% !important;
    left: 45% !important;
}

.swiper_btn_right{
    left: 50% !important;

}

.swiper_btn i{
    font-size: 2rem;
    color: var(--prime-color);
    height: 50px;
    padding: 10%;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-items: center;
    border: 1px solid var(--prime-color);
    transition: 0.2s;
}

.swiper_btn i:hover{
    background-color: var(--prime-color);
    color: var(--white-color);
}



/*TESTIOMONIAL SECTION*/
.testimonial{
    gap: 0;
    position: relative;
    background-color: #2c2c2c;
    overflow: hidden;
    padding: 10% 8%;
}

.testimonial:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 93% 0, 44% 100%, 0% 100%);
    width: 45%;
    height: 100%;
    background-color: #212121;
}

.testimonial-shape2{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    z-index: -1;
}


.client_images{
    width: 50%;
    position: relative;
    z-index: 1;
}

#main_image{
    width: 300px;
    height: 300px;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.testimonial_shape{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    width: 100%;
    opacity: 0.5;
}

.border_1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 3500px;
    border-radius: 100%;
    border: 1px solid rgba(255, 230, 0, 0.261);
    opacity: 0.5;
    z-index: -1;
}

.border_2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    height: 430px;
    border-radius: 100%;
    border: 1px solid rgba(255, 230, 0, 0.205);
    opacity: 0.5;
    z-index: -1;
}

.border_3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 100%;
    border: 1px solid rgba(255, 230, 0, 0.144);
    opacity: 0.5;
    z-index: -1;
}

.testimonial_img{
    width: 80px;
    height: 80px;
    position: absolute;
    top: -10%;
    left: 26%;
    border-radius: 100%;
    cursor: pointer;
    transition: .3s;
}

.testimonial_img:hover{
    transform: scale(1.2);
}

.test_img2{
    left: 45%;
    top: 170px;
}

.test_img3{
    left: 66%;
}

.test_img4{
    left: 60%;
    top: -200px;
}

.test_img5{
    left: 35%;
    top: -225px;
}

.testimonialSwiper{
    width: 50%;
}

.testimonial_slide{
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.testimonial_slide h2{
    font-size: 3rem;
    font-weight: 400;
}

.testimnonial_slide p{
    font-size: 1.3rem;
    font-weight: 400;
    color: #999;
}

.testimonial_text h3{
    font-size: 1.5rem;
    font-weight: 400;
}

.testimonial_text h3 span{
    font-weight: 300;
    font-size: 1.1rem;
    color: #999;
    margin-left: 10px;
}

.swiper_btn2{
    position: absolute;
    top: 75% !important;
    left: 80% !important;
}

.swiper_btn_right2{
    left: 83% !important;
}

.swiper_btn2{
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 1px solid rgba(131, 131, 131, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    cursor: pointer;  

}

.swiper_btn2 i:hover{
    background-color: var(--prime-color);
    cursor: pointer;
} 

/* CONTACT SECTION */

.contacts{
    flex-direction: column;
}

.contact_container{
    width: 80%;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact_head_text{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_head_text h2{
    font-size: 2rem;
    font-weight: 400;
}

.contact_inputs{
    width: 50%;
    padding: 3%;
    border-radius: 10px;
    border: 1px solid rgba(131, 131, 131, 0.5);
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #222121;
}

.inputs_top{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact_inputs input{
    width: 100%;
    height: 50px;
    padding-left: 2%;
    font-size: 1.2rem;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid rgba(131, 131, 131, 0.5);
    transition: .2s;
    color: white;
    &::placeholder{
        color: var(--white-color);
        font-weight: 200;
    }
}

.contact_inputs input:active,
.contact_inputs input:focus{
    border-color: var(--second-color);
}


.contact_inputs textarea{
    width: 100%;
    height: 120px;
    padding-left: 2%;
    font-size: 1.2rem;
    background-color: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid rgba(131, 131, 131, 0.5);
    transition: .2s;
    color: white;
    &::placeholder{
        color: var(--white-color);
        font-weight: 200;
    }
}

.contact_inputs textarea:active,
.contact_inputs textarea:focus{
    border-color: var(--second-color);
}

.submit_btn{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.submit_btn button{
    width: 200px;
}

.contact_content{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.contact_det_box{
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 3%;
    border-radius: 10px;
    border: 1px solid rgba(131, 131, 131, 0.5);
    background-color: #222121;
}

.contact_det_box h2{
    font-size: 1.5rem;
    font-weight: 400;
    transition: .2s;
}

.contact_det_box h2:hover{
    color: var(--prime-color);
    cursor: pointer;
}

.contact_info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact_info i{
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--second-color);
    background-color: #2e2e2e;
    position:  relative;
    transition: .3s;
}

.contact_info i:after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);;
    width: 120%;
    height: 120%;
    border-radius: 100%;
    border: 1px dashed rgba(131, 131, 131, 0.5);
    transition: .2s;

}

.contact_det_box:hover .contact_info i{
    background-color: var(--prime-color);
    color: var(--white-color);
}

.contact_det_box:hover .contact_info i:after{
    border-color: var(--prime-color);
}

.contact_info p{
    color: #999;
    font-size: 1rem;
    font-weight: 300;
}

/* FOOTER SECTION */
.footer{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    place-content: center;
    place-items: center;
    position: relative;
    z-index: 1;
}

.footer_bg_shape{
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgba(89, 254, 138, 0.175) 0%,
     rgba(148, 187, 233, 0) 100%);
}

.footer_box{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.footer_links{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_box p{
    font-size: 1rem;
    font-weight: 300;
    color: #999;
}

.social_icon{
    display: flex;
    align-items: center;
    gap: 10px;
}

.social_icon i{
    font-size: 1.2rem;
    transition: .2s;
}

.social_icon i:hover{
    color: var(--second-color);
    cursor: pointer;
    transform: scale(1.2);
}

.footer_box h2{
    font-size: 1.5rem;
    font-weight: 400;
}

.footer_links a{
    color: var(--white-color);
    font-weight: 300;
    transition: .2s;
}

.footer_links a:hover{
    color: var(--prime-color);
}

.getEmail{
    width: 300px;
    height: 50px;
    border-radius: 5px;
    background-color: #232925;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.getEmail input{
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1.2rem;
    color: var(--white-color);
}

.getEmail i{
    position: absolute;
    top: 15%;
    right: 5%;
    font-size: 2rem;
}

/* COPYRIGHT SECTION */

.copyright{
    padding: 5% 8%;
}

.copyright p{
    text-align: center;
    font-weight: 300;
}

.copyright p span{
    color: var(--prime-color);
    font-weight: 500;
    font-size: 1.2rem;
}


/* MQ SECTION */
@media(max-width:1600px){
    .test_img1{
        left:13%;
    }
    .test_img3{
        left: 75%;
    }
    .test_img4{
        top: -230px;
    }
    .test_img5{
        top: -230px;
        left: 29%;
    }

    .contact_det_box{
        width: 90%;
    }
}

@media (max-width:1200px){
    .content h1{
        font-size: 5rem;
    }
    .exp_small_box{
        top: 51%;
        left: -18%;
        flex-direction: column;
    }
    .my_advantage{
        gap: 50px;
    }
    .service_container{
        grid-template-columns: repeat(2,1fr) !important;
    }
    .service_shape{
        width: 93%;
        opacity: 0.2
    }
    .service_shape2{
        width: 62%;
        opacity: 0.5;
    }
    .test_img1{
        left: 0px;
    }
    .test_img3{
        left: 83%;
    }
    .test_img5{
        left: 25%;
    }
    .recent_work{
        padding: 7% 12%;
    }
    .testimonialSwiper{
        transform: translateX(20px);
    }
    .swiper_btn_right2{
        left: 85% !important;
    }
    .swiper_btn2{
        top: 85% !important;
    }
    .contact_det_box{
        width: 100%;
    }
    .footer{
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

}

@media (max-width:1100px){
    .hero{
        flex-direction: column-reverse;
    }
    .shape1{
        width: 50%;
    }
    .content{
        width: 100%;
    }
    .iamge{
        width: 70%;
    }
    section{
        flex-direction: column;
    }
    .shape{
        top: 33%;
        left: 30%;
    }
    .advantage_content{
        width: 100%;
        margin-top: 50px;
    }
    .advantage_exp{
        width: 60%;
    }
    .exp_box{
        left: 30%;
    }
    .adv_shape3{
        width: 85%;
        opacity: 0.5;
    }
    .adv_shape4{
        width: 100%;
        opacity: 0.5;
    }
    .services{
        z-index: 1;
    }
    .service_shape,
    .service_shape2{
        z-index: -1;
    }
    .testimonialSwiper{
        width: 100%;
    }
    .client_images{
        display: none;
    }
    .contact_container{
        width: 100%;
    }
    .footer{
        grid-template-columns: repeat(2,1fr);
        gap: 50px;
    }
    .footer_box{
        width: 100%;
    }
}

@media(max-width:900px){
    .bars{
        display: flex;
    }
    nav{
        position: relative;
    }
    .menu{
        position: absolute;
        top: 100%;
        left: -100%;
        opacity: 0;
        width: 100%;
        flex-direction: column;
        z-index: 999;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
        align-items: flex-start;
        padding: 0 8%;
        transition: 0.6s;
    }
    .menu li{
        padding: 15px 0;
    }
    .menu li a{
        font-size: 1.6rem;
    }
    .show_menu{
        left: 0;
        opacity: 1;
    }
    .adv_shape3{
        width: 100%;
    }
    .advantage_card{
        width: 45%;
    }
    .service_shape{
        width: 100%;
        top: 30%;
    }
    .swiper_btn_right2{
        left: 86% !important;
    }

}

@media(max-width:500px){
    .element{
        width: 70px;
        height: 70px;
    }
    .det_box{
        display: none;
    }
    .elem3{
        right: 37%;
    }
    .content{
        margin-top: 50px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .content h2{
        font-size: 2rem;
        line-height: 3rem;
    }
    .content h1{
        font-size: 3rem;
        line-height: 3rem;
    }
    .content h1{
        font-size: 3rem;
        line-height: 3rem;
    }
    .content h3{
        font-size: 1.5rem;
    }
    .content p{
        width: 100%;
        font-size: 1rem;
        font-weight: 400;
    }
    .heading2 i{
        font-size: 2.5rem;
        width: 104px;
        height: 70px;
    }
    .advantage_exp{
        width: 100%;
    }
    .advantage_content{
        margin-top: 60px;
    }
    .advantage_content h1{
        font-size: 3rem;
    }
    .advantage_content p{
        width: 100%;
        font-size: 1rem;
        font-weight: 400;
    }
    .headings{
        width: 100%;
    }
    .headings h1{
        font-size: 2rem;
    }
    .service_btns{
        flex-direction: column;
    }
    .head_content h1{
        font-size: 2rem;
    }
    .head_content p{
        width: 85%;
        font-weight: 300;
    }
    .btn2{
        width: 250px;
    }
    .service_container{
        grid-template-columns: repeat(1,1fr) !important;
    }
    .service_shape{
        width: 100%;
        top: 50%;
    }
    .service_shape2{
        width: 100%;
    }
    .work_box_container{
        width: 100%;
    }
    .work_box{
        grid-template-columns: repeat(1,1fr);
        place-content: center;
        place-items: center;
        border-radius: 10px;
    }
    .work_det{
        align-items: center;
        text-align: center;
    }
    .swiper_btn_right{
        left: 55% !important;
    }
    .swiper_btn2{
        top: 90% !important;
        left: 75% !important;
    }
    .swiper-button-next2{
        left: 86% !important;
    }
    .testimonial_slide p{
        font-size: 1rem;
        font-weight: 400;
    }
    .contact_container{
        flex-direction: column;
    }
    .contact_inputs,
    .content_content{
        width: 100%;
    }
    .footer_bg_shape{
        left: 50%;
    }
    .footer{
        grid-template-columns: repeat(1,1fr);
    }
    .copyright{
        padding: 5% 8%;
    }

}


/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */

/* Tablets and small laptops (768px - 900px) */
@media (max-width: 900px) {
    /* Navigation improvements */
    nav {
        padding: 0 5%;
        height: 80px;
    }
    
    .logo_one,
    .logo_one img {
        height: 35px;
        display: none;
    }
    
    .logo a {
        font-size: 2rem;
    }
    
    /* Hero section */
    .hero {
        padding: 8% 5%;
    }
    
    .iamge {
        width: 60%;
    }
    
    /* Advantage cards */
    .advantage_cards {
        justify-content: center;
    }
    
    .advantage_card {
        width: 48%;
    }
}

/* Mobile devices (501px - 768px) */
@media (max-width: 768px) {
    /* Typography scaling */
    html {
        font-size: 14px;
    }
    
    /* Sections */
    section {
        padding: 8% 5%;
    }
    
    /* Hero adjustments */
    .content h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    
    .content h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }
    
    .content h3 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    
    .content p {
        width: 100%;
        font-size: 1.1rem;
    }
    
    button {
        width: 180px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    /* Advantage section */
    .my_advantage {
        padding: 10% 5%;
    }
    
    .advantage_content h1 {
        font-size: 3.5rem;
    }
    
    .advantage_card {
        width: 48%;
        padding: 5%;
    }
    
    .advantage_card h2 {
        font-size: 2.5rem;
    }
    
    /* Services */
    .headings h1 {
        font-size: 3.5rem;
    }
    
    .service_btns {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn2 {
        width: 180px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    /* Work experience */
    .work_box {
        grid-template-columns: repeat(2, 1fr);
        padding: 4% 3%;
        gap: 15px;
    }
    
    .work_box h2 {
        font-size: 1.5rem;
    }
    
    .work_det h2 {
        font-size: 1.3rem;
    }
    
    /* Recent work */
    .head_content h1 {
        font-size: 3.5rem;
    }
    
    .heading2 i {
        width: 100px;
        height: 100px;
        font-size: 2.8rem;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 12% 5%;
    }
    
    .testimonial_slide h2 {
        font-size: 2rem;
    }
    
    .testimonial_slide p {
        font-size: 1.1rem;
    }
    
    /* Contact */
    .contact_container {
        flex-direction: column;
        width: 100%;
    }
    
    .contact_inputs,
    .contact_content {
        width: 100%;
    }
    
    .contact_det_box {
        width: 100%;
    }
    
    /* Footer */
    .footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 8% 5%;
    }
}

/* Small mobile devices (max-width: 500px) */
@media (max-width: 500px) {
    /* Base font size */
    html {
        font-size: 13px;
    }
    
    /* Navigation */
    nav {
        height: 70px;
        padding: 0 4%;
    }
    
    .bars {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo a {
        font-size: 1.8rem;
    }
    
    /* Hero section */
    .hero {
        padding: 8% 4%;
    }
    
    .iamge {
        width: 90%;
        margin-top: 30px;
    }
    
    /* Advantage section */
    .my_advantage {
        padding: 10% 4%;
        padding-top: 30%;

    }
    
    .exp_box {
        left: 15%;
    }
    
    .exp_box h1 {
        font-size: 6rem;
    }
    
    .exp_small_box {
        width: 280px;
        left: 10%;
        top: 45%;
    }
    
    .exp_small_box h2 {
        font-size: 1.8rem;
    }
    
    .advantage_card {
        width: 100%;
        max-width: 320px;
    }
    
    /* Services */
    .services {
        padding: 10% 4%;
    }
    
    .headings {
        width: 95%;
    }
    
    .headings p {
        width: 100%;
    }
    
    .service_card {
        width: 100% !important;
        max-width: 400px;
    }
    
    /* Work experience */
    .work_experience {
        padding: 10% 4%;
        padding-top: 25%;
    }
    
    .company-logo-1 {
        width: 70px;
        height: 70px;
    }
    
    /* Recent work */
    .recent_work {
        padding: 10% 4%;
        padding-top: 20%;
    }
    
    .heading2 {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .head_content {
        align-items: center;
    }
    
    .head_content p {
        width: 100%;
        text-align: center;
    }
    
    .swiper_btn {
        left: 38% !important;
    }
    
    .swiper_btn_right {
        left: 52% !important;
    }
    
    .slide_content h2 {
        font-size: 1.3rem;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 12% 4%;
    }
    
    .swiper_btn2 {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Contact */
    .contacts {
        padding: 10% 4%;
        padding-top: 25%;
    }
    
    .inputs_top {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact_inputs input,
    .contact_inputs textarea {
        font-size: 1rem;
    }
    
    .contact_det_box h2 {
        font-size: 1.2rem;
    }
    
    .contact_info i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 10% 4%;
    }
    
    .getEmail {
        width: 100%;
        max-width: 280px;
    }
    
    .getEmail input {
        font-size: 1rem;
    }
    
    /* Copyright */
    .copyright {
        padding: 8% 4%;
    }
    
    .copyright p {
        font-size: 0.9rem;
    }
}

/* Extra small devices (max-width: 375px) */
@media (max-width: 375px) {
    .content h2 {
        font-size: 1.8rem;
        line-height: 2.5rem;
    }
    
    .content h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    
    .content h3 {
        font-size: 1.3rem;
    }
    
    .advantage_content h1,
    .headings h1,
    .head_content h1 {
        font-size: 2.5rem;
    }
    
    button {
        width: 160px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .service_card {
        padding: 6%;
    }
    
    .testimonial_slide h2 {
        font-size: 1.5rem;
    }

    .footer{
        padding-top: 60px;
    }

    .copyright{
        padding-top: 50px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
    }
    
    .content h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
    
    .content h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    
    section {
        padding: 5% 5%;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    button,
    .menu li a,
    .service_card a,
    .work_box a,
    .contact_det_box,
    .testimonial_img {
        min-height: 44px;
        min-width: 44px;
    }
    
    .swiper_btn i,
    .swiper_btn2 {
        padding: 12px;
    }
}


/* ============================================
   FOOTER MOBILE FIX
   ============================================ */

/* Fix footer overflow and spacing */
@media (max-width: 1100px) {
    .footer {
        padding: 8% 5%;
        gap: 40px;
    }
    
    .footer_box {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        padding: 10% 5%;
        gap: 40px;
        place-items: start;
    }
    
    .footer_box {
        width: 100%;
        padding: 0;
    }
    
    .footer_box .logo {
        justify-content: flex-start;
        padding-top: 50px ;
    }
    
    .footer_box p {
        width: 100%;
        max-width: 100%;
    }
    
    .getEmail {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 500px) {
    .footer {
        grid-template-columns: 1fr;
        padding: 10% 4%;
        gap: 35px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer_box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer_box p {
        width: 100%;
        word-wrap: break-word;
    }
    
    .footer_links {
        width: 100%;
    }
    
    .footer_links a {
        display: block;
        width: 100%;
        word-wrap: break-word;
    }
    
    .getEmail {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .getEmail input {
        width: 80%;
        font-size: 0.95rem;
    }
    
    .social_icon {
        flex-wrap: wrap;
    }
}

/* Ensure no horizontal overflow on entire page */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    section {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .footer {
        overflow-x: hidden;
    }
}


/* ============================================
   SERVICE CARDS MOBILE FIX
   ============================================ */

/* Fix service container to stack on mobile */
@media (max-width: 1200px) {
    .service_container {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100%;
        gap: 20px;
    }
    
    .service_card {
        width: 100% !important;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .service_container {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .services_card {
        width: 100%;
        padding: 0 2%;
    }
    
    .service_card {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 500px) {
    .service_container {
        grid-template-columns: 1fr !important;
        width: 100%;
        gap: 20px;
    }
    
    .service_1,
    .service_2,
    .service_3 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100%;
    }
    
    .service_card {
        width: 100% !important;
        max-width: 100%;
        padding: 6%;
        box-sizing: border-box;
    }
    
    .service_card h2 {
        font-size: 1.5rem;
    }
    
    .service_card p {
        font-size: 0.95rem;
    }
}

/* ============================================
   FORM SUBMISSION STYLING
   ============================================ */

/* Form messages container */
.form_messages {
    width: 100%;
    margin: 10px 0;
}

.loading_message,
.success_message,
.error_message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading_message {
    background-color: rgba(255, 230, 0, 0.1);
    border: 1px solid rgba(255, 230, 0, 0.3);
    color: var(--second-color);
}

.loading_message i {
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.success_message {
    background-color: rgba(85, 193, 117, 0.1);
    border: 1px solid rgba(85, 193, 117, 0.3);
    color: var(--prime-color);
}

.success_message i {
    font-size: 1.5rem;
}

.error_message {
    background-color: rgba(215, 58, 38, 0.1);
    border: 1px solid rgba(215, 58, 38, 0.3);
    color: #D73A26;
}

.error_message i {
    font-size: 1.5rem;
}

/* Button disabled state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(1) !important;
}

/* Form validation styles */
.contact_inputs input.error,
.contact_inputs textarea.error {
    border-color: #D73A26;
}

.contact_inputs input.success,
.contact_inputs textarea.success {
    border-color: var(--prime-color);
}

/* Mobile responsive */
@media (max-width: 500px) {
    .form_messages {
        font-size: 0.9rem;
    }
    
    .loading_message,
    .success_message,
    .error_message {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* Ensure form displays properly */
.contact_inputs form,
form.contact_inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.submit_btn{
    padding-bottom: 20px;
}