* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
 
  overflow-x: hidden;
}



/* ————————————————————— */
/* GLOBAL OVERFLOW & BOX-SIZING FIXES */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;      /* hide horizontal overflow on mobile */
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

span{
  color: #007bff;
}


/*=== topbar ===*/
.topbar {
  background:white;
  position: sticky;
  top: 0;
  z-index: 1000;  
  width: 100%;
}


/*=== header ===*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background:rgba(25, 25, 172, 0.058) ;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 50px;
  
}
.header .logo img {
  height: 40px;
  width: auto;
}
.header .logo h2 {
  margin: 0;
  font-size: 1.5rem;
  color:black;
}
.header .contact {
  text-align: right;
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.header .contact .contact1{
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.header .contact .contact1>p{
    margin: 0;
    line-height:1px;
    color: #555;
    font-weight: bold;
}
.header .contact .time>p{
    margin: 0;
    font-size:11px;
    line-height:1px;
    font-weight: bold;
    cursor: pointer;
    /* color:white; */
    color:black;
     /* Animation */
    animation: pulse-effect 2s ease-in-out infinite;
}
@keyframes pulse-effect {
  0% {
    transform: scale(1.10);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.header .contact a {
  color: rgb(36, 4, 4);
  text-decoration: none;
  transition: color 0.2s;
}
.header .contact a:hover {
  color:black;
}
.header .contact .time>p:hover{
    color: black;
}


/*=== navbar ===*/
.navBar {
  display: block;
  background: white;
  border-top: 1px solid white;
  padding: 10px;
  
}
.navBar .navLinks {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
}
.navBar .linkRight {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  gap: 1.5rem;
}
.linkRight li {
  position: relative;
}
.linkRight li a {
  text-decoration: none;
  font-size: 1.03rem;
  color:black;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  transition: background 0.3s, color 0.3s;
}
.linkRight li a:hover {
  /* background:white; */
  color:blue;
}
.linkRight li.sign button {
  background: black;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  box-sizing: border-box;
    /* Pulse animation */
  animation: pulse-btn 2s ease-in-out infinite;
}
/* @keyframes for pulse */
@keyframes pulse-btn {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.linkRight li.sign button:hover {
    background-color: blue;
    color: black;
}


/*=== Dropdown menu ===*/
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  min-width: 180px;
  padding: 0.5rem 0;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5);
}
.dropdown-menu li a {
  display: block;
  color:black;
  margin-top:-22px;
  font-size:1rem;
}
/* Hamburger button styling */
.hamburger {
  display: none;
  font-size:2rem;
  color:black;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

/* Mobile / small-screen styles */
@media (max-width: 450px) {
  .header{
    height: 150px;
  }
  .header .contact {
    text-align: center;
    /* font-size: 0.8rem; */
    /* margin-top: 0.5rem; */
    display: flex;
    flex-direction: column;
  }
  .header .contact .contact1{
    display: flex;
    flex-direction: column;
  }
  .navBar {
    display: none;
    width: 100%;
  }
  .navBar.active {
    display: block;
    background:rgb(208, 205, 205);
  }
  .navBar .navLinks {
    padding: 1rem;
  }
  .navBar .linkRight {
    flex-direction: column;
    gap: 0;
  }
  .linkRight li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }
  .linkRight li a {
    display: block;
    width: 100%;
    color:#007bff;
    padding: 0.75rem 1rem;
    background: transparent;
  }
  .linkRight li.sign button {
    width: 100%;
    text-align: center;
    background: #ffffff;
    color: #007bff;
    margin-top: 0.5rem;
  }
    /* Ensure last items appear correctly */
  .linkRight li.sign,
  .linkRight li:last-child {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Make Contact Us button visible and spaced */
  .linkRight li.sign button {
    background: red;
    color: white;
    margin: 10px 0;
    width: 90%;
  }

  /* Style Log In link for better visibility */
  .linkRight li a[href*='Log In'] {
    color: white;
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3);
  }

  /* Allow scrolling if list is long */
  .navBar.active .linkRight {
    overflow-y: auto;
    max-height: 80vh;
    padding-bottom: 100px; /* space for button visibility */
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
  }
   /* .dropdown:hover .dropdown-menu {
    visibility: visible;
  }  */
  .dropdown-menu li a {
    color:black;
    padding-left: 2rem;
  }
  .hamburger{
    display: block;
  }
}


































































/* SECTION GLOBAL */
.section {
  padding: 70px 5%;
}
.section-title {
  text-align: center;
  font-size: 34px;
}
.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

/* HERO */
.success-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('success-bg.jpg');
  padding: 100px 5%;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
}
.success-hero h1 {
  font-size: 48px;
  font-weight: 700;
}

/* CASE STUDIES */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.case-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(40px);
  opacity: 0;
}
.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.case-content {
  padding: 20px;
}
.case-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  color: #fff;
  background: #007bff;
  border-radius: 6px;
  text-decoration: none;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.testimonial-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transform: scale(0.85);
  opacity: 0;
}
.testimonial-card h3 {
  margin-top: 10px;
  color: #007bff;
}

/* CTA */
.cta-section {
  background: #007bff;
  color: #fff;
  text-align: center;
  padding: 60px 5%;
}
.cta-btn {
  background: #fff;
  color: #007bff;
  padding: 12px 25px;
  border-radius: 6px;
  margin-top: 15px;
  display: inline-block;
  text-decoration: none;
}
















































/* ================= FOOTER STYLE ================= */
.it-footer {
  background: blue;
  color: #eee;
  padding: 60px 20px 20px;
  font-family: Poppins, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ddd;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #00a8ff;
  padding-left: 5px;
}

.footer-logo {
  font-size: 26px;
  color: #fff;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 22px;
  color: #ccc;
}

/* Social Icons */
.footer-social a {
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #00a8ff;
}

/* Newsletter */
.newsletter-box {
  display: flex;
  margin-top: 10px;
}

.newsletter-box input {
  width: 80%;
  padding: 10px;
  border: none;
  outline: none;
  background: #162433;
  color: #fff;
}

.newsletter-box button {
  width: 20%;
  border: none;
  background: #00a8ff;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-box button:hover {
  background: #0084cc;
}

.contact-info {
  margin-top: 20px;
  font-size: 14px;
  line-height: 24px;
}

/* Bottom Footer */
.footer-bottom {
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px solid #2e475f;
  margin-top: 40px;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-box {
    justify-content: center;
  }

  .newsletter-box input {
    width: 70%;
  }

  .newsletter-box button {
    width: 30%;
  }
}
