/* ------------------------------
   Global Styles
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #222;
  background-color: #f7f9fc;
  line-height: 1.6;
  overflow-x: hidden;
}

.section-container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------------------
   Navbar
------------------------------ */
.navbar {
  width: 100%;
  background: #ffffff;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  color: #0a58ca;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #0a58ca;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-weight: bold;
}

.logo:hover {
  color: #0a58ca;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu li a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-menu li a.active {
  color: #0a58ca;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0a58ca;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-menu li a:hover {
  color: #0a58ca;
}

.login-btn {
  background: #0a58ca;
  color: white !important;
  padding: 15px 29px;
  border-radius: 7px;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #0842a0;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #0a58ca;
  margin: 3px 0;
  transition: 0.3s;
}

/* ------------------------------
   Dropdown Menu Styles
------------------------------ */
.nav-menu li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.dropdown-menu li {
  margin: 0;
  width: 100%;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  border-left: 3px solid transparent;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background: #f0f3f9;
  color: #0a58ca;
  border-left-color: #0a58ca;
}

.dropdown-menu li a i {
  width: 18px;
  text-align: center;
  color: #0a58ca;
  font-size: 0.9rem;
}

.nav-menu li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.dropdown-toggle::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.nav-menu li:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(10,88,202,0.6), rgba(0,43,107,0.6)), 
              url(./Image/H1B.webp) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeIn 1.5s ease forwards;
}

.hero-content h4 {
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content .highlight {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.primary-btn {
  background: #ffffff;
  color: #222;
}

.primary-btn:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.secondary-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.secondary-btn:hover {
  background: #fff;
  color: #222;
  transform: translateY(-3px);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 100px;
  left: -50px;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 200px;
  right: 200px;
}

/* ------------------------------
   About Section
------------------------------ */
.about-section {
  padding: 100px 0;
  background: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-images {
  position: relative;
  width: 45%;
}

.about-images .img1 img,
.about-images .img2 img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-images .img1 img:hover {
  transform: translateY(-5px);
}

.about-images .img2 {
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: 60%;
  z-index: 1;
}

.about-text {
  width: 50%;
  padding-left: 40px;
}

.about-text .sub-heading {
  color: #0a58ca;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  margin: 30px 0;
  gap: 30px;
}

.stat-item h3 {
  font-size: 2rem;
  color: #0a58ca;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  margin: 0;
}

.learn-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #0a58ca;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease, box-shadow 0.3s ease;
}

.learn-btn:hover {
  background: #ff9800;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

/* ------------------------------
   Services Section
------------------------------ */
.services-section {
  padding: 100px 0;
  background: #f0f3f9;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header .sub-heading {
  color: #0a58ca;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin: 10px 0 15px;
  color: #111;
}

.section-header p {
  color: #555;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-box {
  background: #fff;
  padding: 40px 25px;
  border-radius: 15px;
  transition: 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  width: calc(25% - 30px);
  text-align: center;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #f0f3f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon img {
  width: 40px;
  height: 40px;
}

.service-box h3 {
  color: #0a58ca;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-box p {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-box a {
  color: #ff9800;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.service-box a:hover {
  color: #0a58ca;
}

/* ------------------------------
   Marketing Section
------------------------------ */
.marketing-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a58ca, #002b6b);
  color: #fff;
}

.marketing-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.marketing-left {
  width: 45%;
}

.marketing-left h2 {
  font-size: 1.8rem;
  line-height: 1.5;
}

.marketing-right {
  width: 50%;
}

.marketing-right h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #ffcc00;
}

.marketing-right .services {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marketing-right .service-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.marketing-right .service-box:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.marketing-right .icon {
  font-size: 2rem;
  margin-right: 15px;
}

.marketing-right .service-box h3 {
  margin-bottom: 10px;
  color: #fff;
}

.marketing-right .service-box p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ------------------------------
   Why Choose Us
------------------------------ */
.why-choose-us {
  padding: 100px 0;
  background: #fff;
}

.choose-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.image-box {
  width: 45%;
}

.image-box img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.content-box {
  width: 50%;
  padding-left: 40px;
}

.content-box h5 {
  color: #0a58ca;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.content-box h2 {
  font-size: 2.2rem;
  margin: 10px 0 20px;
  color: #111;
}

.content-box p {
  color: #555;
  margin-bottom: 30px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: #0a58ca;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 5px;
  color: #111;
}

.feature-text p {
  margin: 0;
  font-size: 0.95rem;
}

/* ------------------------------
   Footer
------------------------------ */
.footer {
  background: #002b6b;
  color: #fff;
  padding: 80px 0 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-about {
  width: 30%;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a img {
  width: 30px;
  transition: 0.3s;
  filter: brightness(0) invert(1);
}

.social-links a:hover img {
  transform: translateY(-3px);
}

.footer-links {
  width: 20%;
}

.footer-contact {
  width: 25%;
}

.footer h3 {
  color: #ffcc00;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #ffcc00;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer-contact p strong {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------
   Animations
------------------------------ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   Reveal on Scroll
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */

/* Tablet Styles */
@media (max-width: 1024px) {
  .service-box {
    width: calc(50% - 30px);
  }
  
  .about-text, .about-images {
    width: 100%;
  }
  
  .about-images {
    margin-bottom: 60px;
  }
  
  .about-text {
    padding-left: 0;
  }
  
  .marketing-left, .marketing-right {
    width: 100%;
  }
  
  .marketing-left {
    margin-bottom: 40px;
  }
  
  .image-box, .content-box {
    width: 100%;
  }
  
  .content-box {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .footer-about, .footer-links, .footer-contact {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    padding: 10px 20px;
    display: block;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 0;
    padding-left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
  }

  .nav-menu.active .dropdown-menu {
    display: block;
  }

  .dropdown-toggle::after {
    margin-left: auto;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn {
    width: 200px;
    text-align: center;
  }
  
  .service-box {
    width: 100%;
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-images .img2 {
    position: relative;
    bottom: 0;
    right: 0;
    width: 80%;
    margin-top: -60px;
    margin-left: 20%;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .about-text h2, .section-header h2, .content-box h2 {
    font-size: 1.8rem;
  }
  
  .nav-container {
    width: 90%;
  }
  
  .section-container {
    width: 90%;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .marketing-right h2 {
    font-size: 1.6rem;
  }
  
  .marketing-left h2 {
    font-size: 1.5rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
}