/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap");
@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');
/* Global */
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  
}

html, body {
  overflow-x: hidden !important;
}


body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  font-size: 12px;
  background-color: #fff;  
}

body h1 {
  color: #282f59;
}
body p {
  color: #7c7c7c;
}
body a {
  text-decoration: none;
  color: whitesmoke;
}
/* Gradient Colors */
:root {
  --gradient-1: linear-gradient(to bottom right, rgb(107, 107, 255), blue);

  --gradient-2: linear-gradient(
    to bottom right,
    rgb(80, 80, 255),
    rgb(253, 119, 119)
  );

  --gradient-3: linear-gradient(
    to bottom right,
    rgb(255, 207, 145),
    rgb(255, 111, 92)
  );

  --gradient-4: linear-gradient(to bottom right, #2af598, #009efd);
}

header{
  width: 100%;
  position: relative;
  z-index: 1;
  color: grey;
  z-index: 100;
}
nav {
  display: flex;
  justify-content: space-between;
  height: 8rem;
  transition: all 400ms ease-in-out;
}

.nav-child {
  display: flex;
  align-items: center;
}
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px; /* Reduced padding */
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: relative;
  position: relative;
  top: 0;
  z-index: 999;
  color: white;
  width: 100vw;
  height: 100px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
/* Align items on the left */
.navbar-left {
  display: flex;
  align-items: center;
  padding: 0 40px;
}
/* Align items on the right and add spacing */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 40px;
  cursor: pointer;
}
.navbar-left img {
  max-width: 100px;
  height: auto;
  /* margin: 1rem; */
  
}
.navbar__links, .navbar__reg {
  color: rgb(76, 74, 74);
  text-decoration: none;
  font-weight: 600;
  cursor:  pointer;
  font-size: 1rem;
}
.navbar-right i {
  font-size: 3rem;
}
/* Reduced Height for Register Button */
.navbar__reg {
  background-color: #fff;
  text-decoration: none;
  text-align: center;
  color: rgb(7, 35, 89);
  padding: 5px 12px; /* Reduced padding for height adjustment */
  border-radius: 20px;
  border: 1px solid rgb(7, 35, 89);
  font-weight: 600;
  font-size: 1rem; /* Adjusted font size */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar__reg:hover {
  background-color: rgb(7, 35, 89);
  color: #fff;
}

/* Default Style for Navbar Icons */
#navbar-toggle .toggle-icon-bars {
  display: none;
  font-size: 24px;
  color: rgb(76, 74, 74);
  cursor: pointer;
  transition: color 0.3s ease;
  
}

/* Remove background and extra bar styling */
#navbar-toggle i {
  background: none; /* Removes any default background */
}
/* Responsive Styles */
@media (max-width: 768px) {
  
  .navbar-left img {
    max-width: 80px; /* Reduced the size further */
    margin-left: -40px; /* Shifted the logo slightly to the left */
  }
  .theme{
    margin-left: 40px;
    margin-top: 10px;
  }

  /* Adjust the toggle bar */
  #navbar-toggle .toggle-icon-bars {
    /* display: flex;
    margin-right: -40px; */

    display: flex;
    margin-right: -20px;   /* push right */
    margin-left: auto;    /* automatically shifts to right end */

  }

  /* Align the navbar-right items properly */
  .navbar-right {
    justify-content: flex-end;
  }
  /* Hide Support and Register on Mobile */
  .navbar__links, .navbar__reg {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

@media (min-width: 769px) {
  /* Ensure mobile menu is hidden on larger screens */
  .mobile-menu {
    display: none;
  }

  .navbar-right {
    display: flex; /* Show navbar items on larger screens */
  }
}
/* Overlay */
.register-form-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Form Container */
.register-form-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* Form Elements */
.register-form-container h2 {
  margin-bottom: 1rem;
  color: #009688;
}

.register-form-container label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.register-form-container input,
.register-form-container textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.register-form-container button {
  background: #009688;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.register-form-container button:hover {
  background: #00796b;
}
/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  top: 100;
  left: 100%;
  width: 250px; /* Full width */
  height: 100vh; /* Full screen height */
  background-color: rgba(0, 61, 145, 0.95); /* Dark blue */
  flex-direction: column;
  padding: 20px;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  /* border-radius: 10px 0 0 10px; */
}

/* Mobile Menu Active */
.mobile-menu.active {
  transform: translateX(0);
  display: flex;
}

/* Close Icon */
.close-icon {
  align-self: flex-end;
  font-size: 24px;
  cursor: pointer;
  color: white;
  margin-bottom: 20px;
}

/* Company Logo */
.mobile-menu .logo {
  display: block;
  margin: 10px auto 30px; /* Centered with margin */
  width: 60px; /* Adjust size as needed */
  height: auto;
}

/* Divider line */
.divider {
  height: 3px;
  background-color: white;
  margin: 10px 0;
  margin-bottom: 20px;
}

/* Navigation Items */
.mobile-menu .navbar__links {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}
.mobile-menu .navbar__reg {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  background-color: white;
  color: rgb(7, 35, 89);
  padding: 5px 12px; /* Reduced padding for height adjustment */
  border-radius: 20px;
  border: 1px solid rgb(7, 35, 89);
  font-weight: 600;
  font-size: 1rem; /* Adjusted font size */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Nav item styling */
.mobile-menu a {
  color: white;
  text-decoration: none;
  margin: 15px 0; /* Spacing between items */
  font-size: 18px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px; /* Rounded corners */
}

/* Hover effect */
.mobile-menu a:hover {
  color: #ffcc00;
  background-color: rgba(255, 255, 255, 0.1);
}

/* First layer (Hero) */
.first-layer {
  position: fixed;
  top: 100px; /* sits below navbar height */
  left: 0;
  width: 100%;
  height: calc(80vh - 100px); /* full height minus navbar */
  z-index: 0; /* base layer */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* stays clean, can overlay bg if needed */
}


/* Hero Section */
/* Hero text */

.hero {
  text-align: left;
  padding: 2vh 2vw;
  color: #fff;
  max-width: 1200px;
  z-index: 0;
  word-wrap: break-word;      /* Ensure long words wrap */
  overflow-wrap: break-word;
}


.hero-content {
  max-width: 1200px;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 100%; 
}

.highlighted-word {
  position: relative;
  display: inline-block;
  padding: 0 0.3em;
}

.highlighted-word svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 180%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.highlighted-word ellipse {
  fill: none;
  stroke: #282f59; /* border color */
  stroke-width: 3;
  stroke-dasharray: 880; /* total perimeter length of ellipse */
  stroke-dashoffset: 880; /* start hidden */
  animation: drawOval 2.5s ease forwards;
}

body.dark .highlighted-word ellipse {
  stroke: #fff;
}

@keyframes drawOval {
  to {
    stroke-dashoffset: 0; /* reveals stroke */
  }
}

.hero-subtitle {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #222;
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #444;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .first-layer {
    top: 20px;
    padding: 0 1rem;          /* Add breathing space */
  }
  .hero-title {
    font-size: 1.8rem;        /* Smaller heading */
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.8rem;
    max-width: 90%;           /* Prevents overflow */
  }
  .hero-content {
    max-width: 100%;          /* Let it scale with screen */
  }
  .hero-image {
    border-radius: 10px;      /* Softer curve on mobile */
  }

  .hero-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
  }
}


/* Second layer */
.second-layer {
  position: relative;
  background-color: #fff; /* Light mode */
  z-index: 3; 
  margin-top: 70vh; 
  transition: background-color 0.3s ease; /* Smooth transition */
}

/* Dark mode */
body.dark .second-layer {
  background-color: #282f59; /* Dark theme background */
}


@media (max-width: 768px) {
  .second-layer {
    margin-top: 50vh;
  }
}

/* Hero Image Container */
.hero-image {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 100%;
  overflow: hidden;
  z-index: 1;
  border-radius: 20px; /* Curved edges */
  transition: border-radius 0.5s ease;
}

/* Hero Image */
.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;               /* Keeps aspect ratio */
  display: block;
  object-fit: cover;          /* Ensures no stretching */
  transition: transform 0.8s ease, border-radius 0.5s ease;
}

/* When Scrolled (Active State) */
.hero-image.scrolled {
  border-radius: 0; /* Edges disappear */
}

.hero-image.scrolled img {
  transform: scale(1.2); /* Zoom out effect */
}




/* Services */
.services {
  display: flex; /* Enable Flexbox for centering */
  justify-content: center; /* Horizontally center content */
  align-items: center; /* Vertically center content */
  min-height: 100vh; /* Full viewport height */
  padding: 50px 0; /* Add some padding */
  box-sizing: border-box; /* Include padding in height calculation */
  
}
.container {
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.grid-wrapper,
.services-content {
  flex-basis: 50%;
}
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  grid-gap: 2em;
  padding: 2rem;
}
.grid-box {
  height: 200px;
  padding: 2rem;
  text-align: center;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.438);
  z-index: 0;
}
.grid-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: scaleup 6s ease-in-out infinite;
}
.grid-box h1 {
  color: whitesmoke;
  font-weight: 500;
}
.mobileapp {
  background: var(--gradient-1);
}
.webdesign {
  background: var(--gradient-2);
  /* margin-top: 30px; */
}
.marketing {
  background: var(--gradient-3);
}
.branding {
  background: var(--gradient-4);
  /* margin-top: 30px; */
}
.services-content {
  padding: 1rem;
  position: relative;
}

.services-content h1 {
  font-size: 6vmin;
  margin-bottom: 30px;
}
.services-content p {
  font-size: 14px;
  max-width: 90%;
  margin-bottom: 30px;
}
.circle img {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 750px;
  z-index: -1;
  animation: scaleup 6s ease-in-out infinite;
}
@keyframes scaleup {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.ctn {
  display: inline-block; /* Ensures the anchor behaves like a button */
  background-color: orange; /* Sets the background color to orange */
  color: white; /* Sets the text color to white for better contrast */
  text-decoration: none; /* Removes the underline */
  padding: 10px 20px; /* Adds padding for the button shape */
  border-radius: 8px; /* Rounds the edges */
  font-size: 16px; /* Adjusts the font size */
  font-weight: bold; /* Makes the text bold */
  text-align: center; /* Ensures the text is centered */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Adds smooth hover effects */
}

/* Hover effect */
.ctn:hover {
  background-color: darkorange; /* Changes background to a darker shade on hover */
  transform: translateY(-2px); /* Slightly lifts the button */
  text-decoration: none; /* Ensures no underline appears on hover */
}
/* Responsive Styles */
@media (max-width: 768px) {
  .services-content h1 {
    font-size: 1.5rem; /* Adjust font size */
  }

  .services-content p {
    display: flex;
    font-size: 12px; /* Reduce font size for smaller screens */
    max-width: 90%; /* Limit the width to 80% of the container */
  }
  .container {
    display: flex;
    flex-direction: column; /* Stack content vertically */
  }
  .circle img {
    top: 0.5%;
    left: 0.5%;
  }

}

/* Numbers Section */
.numbers {
  display: flex; /* Enable Flexbox for centering */
  justify-content: center; /* Horizontally center content */
  align-items: center; /* Vertically center content */
  min-height: 100vh; /* Full viewport height */
  padding: 50px 0; /* Add some padding */
  box-sizing: border-box; /* Include padding in height calculation */
}

.numbers-container {
  display: flex;
  gap: 20px;
  align-items: stretch; /* Ensures uniform height */
  flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

.projects-numbers {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.num-text {
  padding-left: 3rem;
  padding-right: 20%;
  font-size: 40px;
  margin-bottom: 20px;
}

.projects-numbers p {
  padding-left: 3rem;
  padding-right: 20%;
  font-size: 16px;
  margin-bottom: 20px;
}

.numbers-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  grid-gap: 2em;
  padding: 2rem;
}

.number-grid-box {
  height: 200px;
  padding: 2rem;
  text-align: center;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.438);
  z-index: 0;
}
.number-grid-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: scaleup 6s ease-in-out infinite;
}

.numbers .number-grid-box h2 {
  color: whitesmoke;
  font-weight: 400;
  margin-top: 30px;
  font-size: 20px;
}
.numbers .number-grid-box h1 {
  font-size: 40px;
  color: whitesmoke;
}
.numbers .number-grid-box {
  transition: transform 1s ease-in-out;
}
.numbers .number-grid-box:hover {
  transform: translateY(-20px);
}

.hpyclients {
  background: var(--gradient-1);
}

.prjcompleted {
  background: var(--gradient-2);
}

.runningprj {
  background: var(--gradient-3);
}

.designs {
  background: var(--gradient-4);
}

.mockup-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-img img {
  max-width: 80%;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .numbers-container {
    flex-direction: column; /* Stacks columns */
  }

  .numbers-grid-wrapper {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }

  .num-text {
    font-size: 1.5rem;
  }

  .projects-numbers p {
    font-size: 14px;
  }
}

/* Projects */
.projects {
  margin-top: 80px;
  text-align: center;
}
.projects h1 {
  font-size: 40px;
}
.projects-images {
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, auto));
}
.prj-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.prj-img img {
  max-height: 100%;
  min-width: 100%;
}
.details {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 255, 0.962);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.prj-img:hover .details {
  transform: scaleX(1);
}
.details h1,
h2,
i {
  color: whitesmoke;
}

.details i {
  font-size: 30px;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .projects h1 {
    font-size: 1.5rem; /* Adjust font size */
  }
  .projects-images {
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  }
}
/* team section*/
.team {
  margin-top: 80px;
}
.team-h1 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 50px;
}
.team .grid-wrapper {
  background: var(--gradient-2);
  padding: 4rem;
}
.team-mem {
  background: white;
  height: 400px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: transform 1s ease;
}
.team-mem:hover {
  transform: translateY(-20px);
}
.team-mem h2 {
  color: grey;
  margin-bottom: 20px;
  font-size: 18px;
}
.team-mem i {
  color: grey;
  margin: 20px;
  transition: transform 0.5s ease;
  cursor: pointer;
}
.team-mem i:hover {
  color: blue;
  transform: scale(1.4);
}

.team-mem img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;   /* crop instead of stretch */
}


/* Responsive Styles */
@media (max-width: 768px) {
  .team-h1 {
    font-size: 1.5rem; /* Adjust font size */
  }
}
/* Testimonials Section */
.testimonials {
  margin-top: 80px;
}
.testimonials-h1 {
  font-size: 40px;
  padding-left: 5rem;
  margin-bottom: 30px;
}
.testimonials-p {
  padding-left: 5rem;
  padding-right: 20%;
  font-size: 14px;
}
.testimonials .grid-wrapper {
  padding: 3rem;
}
.review {
  min-height: 400px;
}
.review .profile {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.review .profile img {
  width: 100px;
  border-radius: 50%;
  margin-right: 20px;
}
.review i {
  font-size: 30px;
  color: grey;
  margin-bottom: 50px;
}
.review p {
  padding-left: 80px;
}
/* Default Styling for Quote Icon */
.review .fa-quote-right {
  font-size: 24px; /* Default size */
  color: #999; /* Set a suitable color */
  margin-bottom: 10px; /* Add spacing below the icon */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonials-h1 {
    font-size: 1.5rem; /* Adjust font size */
  }
  .review .fa-quote-right {
    font-size: 20px; /* Smaller size for mobile screens */
  }

  
}
/* Blogs Section*/
.blogs {
  margin-top: 20px;
}
.blogs-header {
  display: flex;
  flex-direction: column; /* Stacks the children vertically */
  align-items: stretch; /* Stretches children across the container */
  margin-bottom: 20px;
  position: relative;
}

.blogs-header .blog-h1 {
  padding-left: 5rem;
  font-size: 2rem;
  text-align: left; /* Aligns text to the left */
  margin-bottom: 10px; /* Adds spacing between the header and the icon */
}

.icon-wrapper {
  background-color: orange;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 5rem; /* Aligns to the right end of the header */
  cursor: pointer;
}

.icon-wrapper i {
  color: white;
  font-size: 14px;
}

.blogs .grid-wrapper {
  padding: 4rem;
}
.blog {
  min-height: 400px;
}
.blog h1 {
  margin: 20px 0;
  font-size: 20px;
}
.blog a {
  color: #282f59;
}
.blog img {
  width: 100%;
  max-height: 300px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .blogs-header {
    align-items: flex-start; /* Keeps items aligned properly for mobile */
    position: relative;
  }

  .icon-wrapper {
    margin-top: 10px; /* Adjusts spacing for small screens */
    right: 0;
  }

  .blog-h1 {
    font-size: 1.5rem; /* Adjust font size */
  }
  .blog h1 {
    font-size: 16px;
  }
  
}
/* Call to Action */
.getstarted {
  margin-top: 20px;
  padding: 10rem;
}

.ctn-container {
  display: flex;
  width: 80%;
  padding: 2rem;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.212);
  margin: 10px auto;
  justify-content: space-around;
  align-items: center; /* Ensure alignment for flex items */
  border-radius: 10px;
  gap: 1rem; /* Add spacing between elements */
}

/* Styling for the Text Section */
.ctn-text h1 {
  font-size: 18px;
  font-weight: bold;
}

.ctn-text p {
  font-size: 14px; /* Optional: Adjust font size for responsiveness */
  margin-top: 5px;
}

/* Button Styles */
.ctn-btn {
  padding: 10px 40px;
  color: white;
  background: var(--gradient-2);
  border: none;
  font-size: 20px;
  border-radius: 2px;
  box-shadow: 0 0 20px 5px rgba(0, 0, 255, 0.479);
  cursor: pointer;
  outline: none;
}

.ctn-btn:hover {
  background: var(--gradient-4);
}

/* Responsive Design for Mobile and Small Screens */
@media (max-width: 768px) {
  .ctn-container {
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center align the items */
    text-align: center;
    width: 90%; /* Center the text */
  }

  .ctn-btn {
    margin-top: 1rem; /* Add space above the button */
  }

  .ctn-text h1 {
    font-size: 16px; /* Adjust text size for small screens */
  }

  .ctn-text p {
    font-size: 12px; /* Reduce paragraph font size */
    width: 90%; /* Adjust width for better readability */
  }
}

@media (max-width: 576px) {
  .getstarted {
    padding: 5rem 1rem; /* Reduce padding for very small screens */
  }

  .ctn-container {
    width: 80%; /* Make the container take full width */
  }

  .ctn-text h1 {
    font-size: 14px; /* Further reduce heading size */
  }

  .ctn-text p {
    font-size: 10px; /* Further reduce paragraph font size */
  }

  .ctn-btn {
    padding: 15px 40px; /* Reduce button padding */
    font-size: 16px; /* Adjust button text size */
  }
}

/* Footer */
.footer {
  margin-top: 20px;
  background-image: url("./images/footer-agency.png");
  background-size: cover;
}
.col-4 {
  min-height: 200px;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.footer1 h1 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}
/* Footer Socials */
.footer-socials i {
  font-size: 20px; /* Reduced default size */
  margin-right: 10px; /* Add spacing between icons */
}
.footer-socials i{
  color: grey;
  font-size: 18px; /* Reduced default size */
  margin: 5px;
  transition: transform 0.5s ease;
  cursor: pointer;
}
.footer-socials i:hover {
  color: rgb(206, 204, 84);
  transform: scale(1.4);
}

.footer2 h1, .footer3 h1, .footer4 h1{
  font-size: 20px;
}
.footer1 i {
  margin: 50px 20px;
  font-size: 25px;
  color: grey;
}
.footer2 h4,
.footer3 h4,
.footer4 h4 {
  color: grey;
  font-weight: 400;
  cursor: pointer;
}
.footer3 h4 a,
.footer4 h4 a {
  text-decoration: none;   /* remove underline */
  color: grey;             /* same color as your footer h4 */
  font-weight: 400;
  cursor: pointer;
  display: inline-block;   /* makes the link behave like the text */
  transition: color 0.3s ease;
}

.footer3 h4 a:hover,
.footer4 h4 a:hover {
  color: rgb(206, 204, 84); /* same hover effect as socials */
}

.footer hr {
  width: 90%;
  margin: 0 auto;
}
.copyright {
  display: flex;
  justify-content: space-around;
  color: grey;
  padding: 30px;
  font-weight: 400;
}
/* Scroll to top */
#scrolltp {
  color: white;
  background: tomato;
  padding: 15px;
  border-radius: 50%;
  position: fixed;
  right: 50px;
  bottom: 50px;
  cursor: pointer;
  transition: opacity 0.5s;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .footer1 h1 {
    font-size: 20px;
  }
  .footer2 h1, .footer3 h1, .footer4 h1{
    font-size: 16px;
  }
  .footer-socials i {
    font-size: 16px; /* Further reduce size for mobile screens */
  }
  .copyright {
    flex-direction: column; /* Arrange items vertically */
    text-align: center; /* Center-align text */
  }

  .copyright h4 {
    margin: 10px 0; /* Add spacing between items */
    font-size: 12px; /* Reduce font size for mobile screens */
  }
  
}
/* Theme Toggle */
.theme {
  position: absolute;
  top: 30px;
  left: 30%;
}
.label {
  width: 50px;
  height: 20px;
  background: rgb(169, 165, 165);
  display: flex;
  align-items: center;
  border-radius: 50px;
  cursor: pointer;
}
.label .ball {
  width: 15px;
  height: 15px;
  background: #282f59;
  border-radius: 50%;
  margin: 5px;
  transition: transform 0.5s;
}
.checkbox {
  opacity: 0;
  position: absolute;
}
.checkbox:checked ~ .label {
  background: rgb(169, 165, 165);
}
.checkbox:checked ~ .label .ball {
  background-color: whitesmoke;
  transform: translateX(25px);
}
/* Dark mode colors */
body.dark .navbar__reg {
  color: rgb(7, 35, 89);;
}
body.dark {
  background: #282f59;
}
body.dark p {
  color: #cbcdda;
}
body.dark h1 {
  color: whitesmoke;
}
body.dark .team h1 {
  color: #282f59;
}

body.dark .footer h4 {
  color: #cbcdda;
}
body.dark .copyright {
  color: #cbcdda;
}
body.dark .circle {
  opacity: 0.5;
}
body.dark a {
  color: whitesmoke;
}
body.dark .team .team-h1 {
  color: whitesmoke;
}

/* Animations // Services  section*/
@keyframes scaleup {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

