*{
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* ----------------------------------------------- */

.avi{
    height: 30px;
    text-align: center;
    background-color: black;
    color: white;
    padding-top: 5px;
    word-spacing: 5px;
}

/* ----------------------------------------------- */

.actives {
  border-bottom: 2px solid #0f236c;
}

/* Header styling */
#header {
  background-color: white;
  display: grid;
  grid-template-columns: 100px 80px 10fr 3fr;
  align-items: center;
  padding: 10px 20px;
}

/* Logo styling */
.head_logo img {
  width: 80px;
  transition: transform 0.3s ease;
  border-radius: 25px;
}

.head_logo img:hover {
  transform: scale(1.1);
}

/* Navigation styling */
.head_nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.head_nav a {
  text-decoration: none;
  font-size: 1.1rem;
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.head_nav a:hover {
  color: #0f236c;
  border-bottom: 2px solid #f29826;
}

.head_nav a:focus {
  outline: none;
  box-shadow: 0 0 5px #1d3ea8;
}

/* Button container styling */
.head_button {
  display: flex;
  gap: 20px; /* Space between buttons */
}

/* General button styling */
.head_button button {
  background-color: white;
  color: #0f236c;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.head_button button:hover {
  background-color: #0f236c;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 5px #1d3ea8;
}

/* Button-specific styles for #button2 */
.head_button #button2 {
  background-color: #0f236c;
  color: #ffffff;
}

.head_button #button2:hover {
  background-color: white;
  color: #0f236c;
  transform: scale(1.05);
  box-shadow: 0 0 5px #1d3ea8;
}

/* Focus effects for buttons */
.head_button button:focus {
  outline: 2px solid #0f236c;
  box-shadow: 0 0 5px #1d3ea8;
}

.head_button #button2:focus {
  background-color: white;
  color: #0f236c;
}

.head_button #button2:focus a{
  color: #0f236c;
}

/* Link styling inside buttons */
.head_button a {
  text-decoration: none;
  color: inherit; /* Inherit button color */
  font-size: inherit; /* Match button font size */
}

/* Specific link styles */
#button1 a {
  color: #0f236c;
}

#button1:hover a {
  color: #ffffff;
}

#button2 a {
  color: #ffffff;
}

#button2:hover a {
  color: #0f236c;
}

/* ----------------------------------------------------------------------------------------------------- */

.home1 {

    height: 800px;
    background-repeat: no-repeat;
    background-image: url("Public/Images/services.jpg");
    background-position: center; /* Centers the background image */
    background-size: cover; /* Ensures the image covers the entire container */
            
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            
}


.text-container {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 2rem;
}

.text-container h1 {
    margin: 0;
    font-weight: 800;
    font-size: 3.5rem;
    color: #f8f9fa;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.text-container h1:first-child {
    color: #f8f9fa;
}

.underline-path {
    stroke: #f8f9fa;
    stroke-dasharray: 1000;
    animation: drawLineLoop 14s linear infinite;
    filter: drop-shadow(0px 0px 3px  #f8f9fa);
}

@keyframes drawLineLoop {
    0% {
        stroke-dashoffset: 1500;
        opacity: 0;
    }
    14% {
        opacity: 1;
    }
    28% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    85% {  /* Line stays visible until 85% of the animation */
        opacity: 1;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -1500;
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0px 0px 3px rgba(52, 152, 219, 0.3));
    }
    50% {
        filter: drop-shadow(0px 0px 8px rgba(52, 152, 219, 0.5));
    }
}

#home_para {
    color: #ffffff; /* Text color */
    font-size: 25px; /* Font size */
    font-family: 'Times New Roman', Times, serif; /* Optional: Add a font family for consistency */
    line-height: 2; /* Improve readability with line height */
    text-align: center; /* Optional: Center-align the text */
    margin: 20px 0; /* Add spacing around the paragraph */
    width: 1100px;
}

.home_but a{

    text-decoration: none;
    color: #f76803;
     font-family: 'Times New Roman', Times, serif;


}


/* From Uiverse.io by MuhammadHasann */ 
.home_but button {
    position: relative;
    padding: 12px 35px;
    background: transparent;
    font-size: 17px;
    font-weight: 500;
   
   
    border: 3px solid #f76803;
    border-radius: 8px;
    box-shadow: 0 0 0 #e57728;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .star-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
  }
  
  .star-2 {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-3 {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-4 {
    position: absolute;
    top: 20%;
    left: 40%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-5 {
    position: absolute;
    top: 25%;
    left: 45%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
  }
  
  .star-6 {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 0 #fffdef);
    z-index: -5;
    transition: all 0.8s ease;
  }
  
  .home_but button:hover {
    background: transparent;
    color: #fffdef;
    box-shadow: 0 0 25px #fffdef;
  }
  .home_but button:hover a{
    color: #fffdef;
  }
  .home_but button:hover .star-1 {
    position: absolute;
    top: -80%;
    left: -30%;
    width: 25px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-2 {
    position: absolute;
    top: -25%;
    left: 10%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-3 {
    position: absolute;
    top: 55%;
    left: 25%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-4 {
    position: absolute;
    top: 30%;
    left: 80%;
    width: 8px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-5 {
    position: absolute;
    top: 25%;
    left: 115%;
    width: 15px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .home_but button:hover .star-6 {
    position: absolute;
    top: 5%;
    left: 60%;
    width: 5px;
    height: auto;
    filter: drop-shadow(0 0 10px #fffdef);
    z-index: 2;
  }
  
  .fil0 {
    fill: #fffdef;
  }

  /* ------------------------------------------------------------------------ */
  .service {
    width: 100%;
    height: auto;
    background-color: #0f236c;
    color: #f8f9fa;
    padding: 20px;
    box-sizing: border-box;
}

.service h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #fff;
}

.service p {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #d3d3d3;
    text-align: center;
}

/* Image Styles */
.service img {
    height: auto;
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.service img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Grid Containers */
.webser2, .sofser2, .dmser {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid for smaller screens */
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
}

/* Individual Service Boxes */
#webser, #sofser, #digitalser, #seoser, #gdser {
    background-color: #0f236c;
    margin: 10px 0;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

#webser:hover, #sofser:hover, #digitalser:hover, #seoser:hover, #gdser:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(255, 120, 3, 0.4);
}

/* Service Category Styles */
.web_port, .web_static, .web_dynamic, .ecom, .sofcrm, .sofbil, .smm, .im, .em, .cm, .ppc, .video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    background-color: #0f236c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web_port:hover, .web_static:hover, .web_dynamic:hover, .ecom:hover, .sofcrm:hover, .sofbil:hover, 
.smm:hover, .im:hover, .em:hover, .cm:hover, .ppc:hover, .video:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 120, 3, 0.4);
    border: 2px solid #f76803;
}

/* Images for Services */
.gdimg, .seoimg {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

/* SEO and Content Adjustments */
.seocont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Digital Marketing Services */
.dmser {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Responsive alignment for larger content */
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* Responsive Section Heights */
#gdser {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Use flexible fractions for better alignment */
  gap: 20px; /* Add spacing between the columns */
  align-items: center; /* Center align the content vertically */
  justify-content: center; /* Center the grid within the container */
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  /* max-width: 1200px; Restrict the maximum width for a balanced layout */
  background-color: #0f236c; /* Ensure consistent background color */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for aesthetics */
}

#seoser {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Allocates more space to the first column */
  gap: 20px; /* Adds space between columns */
  align-items: center; /* Vertically aligns content */
  justify-content: center; /* Centers the grid within the container */
  margin: 20px auto;
  padding: 20px;
  text-align: left; /* Aligns text for better readability */
  /* max-width: 1200px; Restricts the maximum width for better layout control */
  background-color: #0f236c;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for aesthetics */
}



/* Adjusting Margins for Specific Services */
#seoser {
    margin-bottom: 30px;
}

#gdser {
    margin-bottom: 20px;
}

/* ----------------------------- */


button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
  }
  
  button.learn-more {
    width: 12rem;
    height: auto;
  }
  
  button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    box-shadow: 0 0 5px 1px white;
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
  }
  
  button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #f76803;
  }
  
  button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
  }
  
  button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
  }
  
  button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: rgba(255, 255, 255, 0.493);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
  }
  
  button:hover .circle {
    width: 100%;
    box-shadow: 0 0 10px 2px #f76803;
  }
  
  button:hover .button-text {
    transform: translate(-1.7rem, 0);
  }
  
  button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(8.7rem, 0);
  }
  
  button:active .circle .icon.arrow {
    transform: translate(9.5rem, 0);
    transition: all 0.3s;
  }
  
  button:active .circle {
    transform: scale(0.9);
    transition: all 0.3s;
    box-shadow: 0 0 5px 0.5px white;
  }
  
  button:hover .button-text {
    color: #fff;
  }
  
  button:active .button-text {
    color: rgba(255, 255, 255, 0.459);
  }

  .web_port, .web_static, .web_dynamic, .ecom{

    justify-content: center;
    gap: 10px;
  }

  .service span{

    color: #e57728;
  }

  /* ------------------------------------------------- */


  
/* ---------------------------------------- */
/* Footer Section */
#footer {
  background-color: #0e1041; /* Dark blue background */
  color: #fefefd; /* Light text color */
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

/* Footer Container */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Flexible grid layout */
  gap: 20px;
  max-width: 1200px;
  /* margin: 0 20px; */
  align-items: start;
  justify-items: center; /* Center align items in their grid cells */
  justify-content: center;
  padding: 0 20px;
  margin-left: 100px;
}

/* Footer Logo Section */
.footer_log {
  grid-column: span 1; /* Keeps the logo as a single grid item */
  text-align: center; /* Center-aligns the logo */
}

.footer_log img {
  max-width: 200px; /* Ensures the logo is clearly visible */
  height: auto;
  margin-bottom: 20px;
}

/* About Section */
.footer-section.about h3 {
  color: #ec7a14; /* Highlight color for header */
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section.about p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

/* Quick Links Section */
.footer-section_links h3 {
  color: #ec7a14;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section_links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section_links ul li {
  margin-bottom: 10px;
}

.footer-section_links ul li a {
  color: #fefefd;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease-in-out;
}

.footer-section_links ul li a:hover {
  color: #ec7a14; /* Highlight link color */
}

/* Contact Section */
.footer-section.contact h3 {
  color: #ec7a14;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section.contact p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-section.contact i {
  margin-right: 10px;
  color: #ec7a14;
}

/* Social Media Links */
.footer-section.social h3 {
  color: #ec7a14;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-section.social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section.social ul li {
  margin-bottom: 10px;
}

.footer-section.social ul li a {
  color: #fefefd;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease-in-out;
}

.footer-section.social ul li a i {
  margin-right: 10px;
}

.footer-section.social ul li a:hover {
  color: #ec7a14;
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(236, 122, 20, 0.3); /* Subtle border */
  font-size: 14px;
  margin-top: 30px;
  color: #fefefd;
}


/* -------------------------------------------------- */


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

/* Popup Content */
.popup-content {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(-30px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
  opacity: 1;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff4444;
}

/* Popup Heading */
.popup-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
  color: #333;
  font-weight: bold;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
  border-color: #2196F3;
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.2);
  outline: none;
}

/* Services Grid and Checkbox Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 20px;
}

.service-option {
  display: flex;
  align-items: center;
  position: relative;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-option:hover {
  background: #e9e9e9;
}

.service-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  height: 22px;
  width: 22px;
  margin-right: 10px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.service-option:hover input ~ .checkmark {
  border-color: #4CAF50;
}

.service-option input:checked ~ .checkmark {
  background-color: #4CAF50;
  border-color: #4CAF50;
}

.checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.service-option input:checked ~ .checkmark:after {
  display: block;
}

.service-option span {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
}

.submit-btn:hover {
  background: #1E88E5;
  transform: translateY(-3px);
}

/* Thank You Popup Styles */
.thank-you-icon {
  text-align: center;
  font-size: 50px;
  color: #4CAF50;
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 28px;
  color: #4CAF50;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.thank-you-message {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

.close-thank-you {
  display: block;
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  font-weight: bold;
}

.close-thank-you:hover {
  background: #45a049;
  transform: translateY(-3px);
}

/* Responsive Design
@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr;
  }
} */

/* ------------------------------------ */


/* Media Qurey */
/* Base styles remain the same */

/* Mobile devices (up to 767px) */
@media screen and (max-width: 767px) {
  #header {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    gap: 10px;
  }

  .head_nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .head_nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .head_button {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: center;
    flex-wrap: wrap;
  }

  .head_logo img {
    width: 60px;
  }
}

/* Tablets (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #header {
    grid-template-columns: 80px 1fr;
    padding: 15px;
    gap: 15px;
  }

  .head_nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .head_nav ul {
    gap: 15px;
  }

  .head_button {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: center;
  }

  .head_button button {
    padding: 10px 20px;
  }
}

/* Laptops (1024px to 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  #header {
    grid-template-columns: 90px 1fr 2fr;
    padding: 15px 30px;
  }

  .head_nav ul {
    gap: 15px;
  }

  .head_button button {
    padding: 10px 20px;
  }
}

/* Desktop (1440px and above) */
@media screen and (min-width: 1440px) {
  #header {
    grid-template-columns: 100px 80px 10fr 3fr;
    padding: 10px 40px;
  }

  .head_nav ul {
    gap: 25px;
  }

  .head_button {
    gap: 25px;
  }
}



/* Base styles remain the same */

/* Mobile devices (up to 767px) */
@media screen and (max-width: 767px) {
  .home1 {
    height: 100vh;
    padding: 20px;
  }

  .text-container {
    padding: 1rem;
  }

  .text-container h1 {
    font-size: 2rem;
    letter-spacing: -0.3px;
  }

  #home_para {
    font-size: 16px;
    width: 100%;
    line-height: 1.6;
    margin: 15px 0;
  }

  .home_but button {
    padding: 10px 25px;
    font-size: 15px;
  }

  /* Adjust star animations for smaller screens */
  .home_but button:hover .star-1 { left: -20%; }
  .home_but button:hover .star-2 { left: 5%; }
  .home_but button:hover .star-5 { left: 90%; }
}

/* Tablets (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .home1 {
    height: 100vh;
  }

  .text-container {
    padding: 1.5rem;
  }

  .text-container h1 {
    font-size: 2.8rem;
  }

  #home_para {
    font-size: 20px;
    width: 90%;
    margin: 18px auto;
  }

  .home_but button {
    padding: 11px 30px;
    font-size: 16px;
  }
}

/* Laptops (1024px to 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .home1 {
    height: 700px;
  }

  .text-container h1 {
    font-size: 3rem;
  }

  #home_para {
    font-size: 22px;
    width: 900px;
    margin: 20px auto;
  }

  .home_but button {
    padding: 12px 32px;
    font-size: 16px;
  }
}

/* Desktop (1440px and above) */
@media screen and (min-width: 1440px) {
  .home1 {
    height: 800px;
  }

  .text-container h1 {
    font-size: 3.5rem;
  }

  #home_para {
    width: 1100px;
    font-size: 25px;
  }

  .home_but button {
    padding: 12px 35px;
    font-size: 17px;
  }
}




/* Base styles remain the same */

/* Mobile devices (up to 767px) */
@media screen and (max-width: 767px) {
 .service h1 {
   font-size: 1.8rem;
   margin-bottom: 15px;
 }

 .service p {
   font-size: 1rem;
   line-height: 1.4;
 }

 .service img {
   max-width: 100%;
 }

 .webser2, .sofser2, .dmser {
   grid-template-columns: 1fr;
   gap: 15px;
   padding: 10px;
 }

 #gdser, #seoser {
   grid-template-columns: 1fr;
   gap: 15px;
   text-align: center;
 }

 button.learn-more {
   width: 10rem;
 }

 button:hover .circle .icon.arrow {
   transform: translate(6.7rem, 0);
 }

 button:active .circle .icon.arrow {
   transform: translate(7.5rem, 0);
 }
}

/* Tablets (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
 .service h1 {
   font-size: 2.2rem;
 }

 .service p {
   font-size: 1.1rem;
 }

 .webser2, .sofser2 {
   grid-template-columns: repeat(2, 1fr);
 }

 .dmser {
   grid-template-columns: repeat(2, 1fr);
 }

 #gdser, #seoser {
   grid-template-columns: 1fr;
   max-width: 90%;
   margin: 20px auto;
 }

 .service img {
   max-width: 350px;
 }
}

/* Laptops (1024px to 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
 .service h1 {
   font-size: 2.3rem;
 }

 .webser2, .sofser2 {
   grid-template-columns: repeat(3, 1fr);
   gap: 15px;
 }

 .dmser {
   grid-template-columns: repeat(3, 1fr);
   gap: 15px;
 }

 #gdser {
   grid-template-columns: 1fr 2fr;
 }

 #seoser {
   grid-template-columns: 2fr 1fr;
 }

 .service img {
   max-width: 400px;
 }
}

/* Desktop (1440px and above) */
@media screen and (min-width: 1440px) {
 .service h1 {
   font-size: 2.5rem;
 }

 .webser2, .sofser2 {
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
   padding: 20px 40px;
 }

 .dmser {
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   padding: 20px 40px;
 }

 #gdser {
   grid-template-columns: 1fr 2fr;
   padding: 30px;
 }

 #seoser {
   grid-template-columns: 2fr 1fr;
   padding: 30px;
 }

 .service img {
   max-width: 450px;
 }
}




/* Base styles remain the same */

/* Mobile devices (up to 767px) */
@media screen and (max-width: 767px) {
 #footer {
   padding: 30px 15px;
 }

 .footer-container {
   grid-template-columns: 1fr;
   gap: 30px;
   margin-left: 0;
   padding: 0 15px;
 }

 .footer_log img {
   max-width: 150px;
   margin-bottom: 15px;
 }

 .footer-section.about h3,
 .footer-section_links h3,
 .footer-section.contact h3,
 .footer-section.social h3 {
   font-size: 20px;
   margin-bottom: 12px;
   text-align: center;
 }

 .footer-section.about p {
   font-size: 14px;
   text-align: center;
 }

 .footer-section_links ul,
 .footer-section.social ul {
   text-align: center;
 }

 .footer-section_links ul li a,
 .footer-section.social ul li a {
   font-size: 14px;
   justify-content: center;
 }

 .footer-section.contact p {
   font-size: 14px;
   justify-content: center;
 }

 .footer-bottom {
   font-size: 12px;
   margin-top: 20px;
   padding-top: 15px;
 }
}

/* Tablets (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
 .footer-container {
   grid-template-columns: repeat(2, 1fr);
   gap: 30px;
   margin-left: 0;
   padding: 0 30px;
 }

 .footer_log {
   grid-column: span 2;
 }

 .footer_log img {
   max-width: 180px;
 }

 .footer-section.about h3,
 .footer-section_links h3,
 .footer-section.contact h3,
 .footer-section.social h3 {
   font-size: 20px;
 }

 .footer-section.about p,
 .footer-section_links ul li a,
 .footer-section.contact p,
 .footer-section.social ul li a {
   font-size: 15px;
 }
}

/* Laptops (1024px to 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
 .footer-container {
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
   margin-left: 50px;
   padding: 0 20px;
 }

 .footer_log img {
   max-width: 180px;
 }

 .footer-section.about h3,
 .footer-section_links h3,
 .footer-section.contact h3,
 .footer-section.social h3 {
   font-size: 21px;
 }

 .footer-section.about p,
 .footer-section_links ul li a,
 .footer-section.contact p,
 .footer-section.social ul li a {
   font-size: 15px;
 }
}

/* Desktop (1440px and above) */
@media screen and (min-width: 1440px) {
 .footer-container {
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
   margin-left: 100px;
   padding: 0 20px;
 }

 .footer_log img {
   max-width: 200px;
 }

 .footer-section.about h3,
 .footer-section_links h3,
 .footer-section.contact h3,
 .footer-section.social h3 {
   font-size: 22px;
 }

 .footer-section.about p,
 .footer-section_links ul li a,
 .footer-section.contact p,
 .footer-section.social ul li a {
   font-size: 16px;
 }
}



/* Base styles remain the same */

/* Mobile devices (up to 767px) */
@media screen and (max-width: 767px) {
 .popup-content {
   padding: 1.5rem;
   width: 95%;
   margin: 10px;
 }

 .popup-content h2 {
   font-size: 20px;
   margin-bottom: 15px;
 }

 .form-group {
   margin-bottom: 1rem;
 }

 input[type="text"],
 input[type="email"],
 input[type="tel"] {
   padding: 10px;
   font-size: 14px;
 }

 .services-grid {
   grid-template-columns: 1fr;
   gap: 0.8rem;
 }

 .service-option {
   padding: 12px;
 }

 .checkmark {
   height: 20px;
   width: 20px;
 }

 .service-option span {
   font-size: 13px;
 }

 .submit-btn {
   padding: 12px;
   font-size: 14px;
 }

 .thank-you-icon {
   font-size: 40px;
 }

 .thank-you-title {
   font-size: 24px;
 }

 .thank-you-message {
   font-size: 14px;
 }
}

/* Tablets (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
 .popup-content {
   width: 85%;
   padding: 2rem;
 }

 .services-grid {
   grid-template-columns: repeat(2, 1fr);
 }

 .popup-content h2 {
   font-size: 22px;
 }

 .service-option {
   padding: 13px;
 }

 .service-option span {
   font-size: 13px;
 }

 .thank-you-icon {
   font-size: 45px;
 }

 .thank-you-title {
   font-size: 26px;
 }
}

/* Laptops (1024px to 1439px) */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
 .popup-content {
   width: 80%;
   max-width: 600px;
   padding: 2.3rem;
 }

 .services-grid {
   grid-template-columns: repeat(3, 1fr);
 }

 .service-option span {
   font-size: 14px;
 }

 .thank-you-icon {
   font-size: 48px;
 }
}

/* Desktop (1440px and above) */
@media screen and (min-width: 1440px) {
 .popup-content {
   max-width: 700px;
   padding: 2.5rem;
 }

 .services-grid {
   grid-template-columns: repeat(3, 1fr);
   gap: 1.2rem;
 }

 .service-option {
   padding: 15px;
 }

 .service-option span {
   font-size: 15px;
 }

 .submit-btn {
   padding: 16px;
   font-size: 17px;
 }

 .thank-you-icon {
   font-size: 50px;
 }

 .thank-you-title {
   font-size: 28px;
 }

 .thank-you-message {
   font-size: 16px;
 }
}





