
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: #1a1a1a;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  overflow-anchor: none;
}

.section {
  padding: 80px 0;              /* vertical spacing only */
  border-top: 1px solid #dde6f0;
  border-bottom: 1px solid #e3ebf5;
  scroll-margin-top: 100px;
}
.tagline {
  font-size: 20px;
  color: #E3AD3F !important;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
  letter-spacing: 0.5px;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.login-btn{
    background-color: #E3AD3F;
    color: white;
    font-size: 17px;
    margin-right: 8px;
    width:110px;
    height:38px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition:opacity 0.15s;
}
.login-btn:hover{
    background-color: rgb(28, 28, 107);
    border: solid 2px;
    border-color: white;
}
.login-btn:active{
    opacity: 0.7;
}
.cta-btn{
    background-color: white;
    color:rgb(28, 28, 107) ;
    border: solid 2px;
    width:105px;
    height:40px;
    border-radius: 20px;
    cursor: pointer;
    border-color: rgb(28, 28, 107);
    transition:opacity 0.15s;
}
.cta-btn:hover{
    background-color: rgb(28, 28, 107);
    color: white;
    
}
.cta-btn:active{
    opacity: 0.7;
}

.navbar {   
  background-color: #1F4E8C;   
  color: #ffffff;   
  display: flex;   
  align-items: center;   
  padding: 18px 60px;   
  justify-content: space-between;
  position: fixed;   
  top: 0;   
  width: 100%;   
  z-index: 1000; 
  height: 95px;
}

.navbar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
}
.navbar a:hover 
{
    text-decoration: underline;
    color: #E3AD3F;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 30px;
  position: relative;   /* 🔥 controls space before Login */
}
/* basic */


/* ===== MAIN DROPDOWN ===== */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}
.dropdown-menu {
  position: absolute;
  top: 99%;
  left: 0;
  margin-top: 10px;
  width: 260px;
  background: #fff;
  list-style: none;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.17);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* show dropdown */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* arrow on top */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 20px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 15px solid #fff;
}

/* dropdown items */
.dropdown-menu li {
  position: relative;
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

/* 🔥 FIX HERE */
.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
}

/* text takes remaining space */
.dropdown-menu a .text {
  flex: 1;
}

/* arrow column – fixed width */
.dropdown-menu a .arrow {
  width: 20px;
  text-align: right;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: #f3f3f3;
}

/* ===== SUBMENU ===== */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  width: 250px;
  background: #fff;
  list-style: none;
  border-radius: 10px;
  right: auto;
  margin-top: -6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.17);

  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* show submenu */
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  left: auto;
  right: 100%;
}

/* hover bridge (prevents flicker) */
.has-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  width: 15px;
  height: 100%;
}
.has-submenu:hover > a {
  color: #f5a623;
}
/*--Benefits-->*/
.benefits {
  padding: 60px 20px;
  text-align: center;
}

.benefits h2 {
  font-size: 30px;
  margin-bottom: 35px;
}

.benefit-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.benefit-box {
  max-width: 180px;
  color: #333;
}

.benefit-box .icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.benefit-box p {
  font-size: 14px;
  line-height: 1.5;
}

/* subtle highlight */
.benefit-box.highlight {
  position: relative;
}


.hero {
  min-height: 100vh;              /* full screen */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 90px;              /* space for fixed navbar */
}

.hero-text {
  max-width: 50%;
  margin-top: 0px;
  position: relative;
  z-index: 2; /* above background */
  color: white; /* or a visible color over the bg */
  padding: 0 20px;
}

.hero h1 {
  color: #123b7a;;
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  color: #555;
  margin-bottom: 40px;
  font-size: 18px;
  
}
.hero-image{
  position: relative;
  margin-top: 70px;   /* move image down */
}
.logo-box {
  display: flex;
  align-items: center;
}


.logo-img {
  width: 40px;
  margin-right: 20px;
}
.hero-img{
  background-image: url("images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh; /* full viewport height */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1; 
}



#business,#projects, #about, #contact {
  padding: 50px ;
  margin: 0;
  background-size: cover;
  border-top: 1px solid #dde6f0;
  border-bottom: 1px solid #e3ebf5;
  min-height: auto; 
}
.section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 32px;
  font-weight: 600;
  padding-left: 25px;
  color: #1a1a1a;
}
.section p,.highlights {
  font-size: 19px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}
.light-blue {
  background-color: #EEF3F9;
  width: 100%;
}
.white {
  background-color: white;
}
.quote {
  font-size: 20px;
  font-style: italic;
  color: #E3AD3F;
  text-align: center;
}
/*home section */
#home {
 padding: 50px;
}
/* CONTACT SECTION */
.contact-page {
  max-width: 1200px;
  margin: 120px auto 0; /* keeps space below fixed navbar */
  padding: 60px;
  text-align: center;
  background: #fff;
}

/* Title */
.contact-title {
  font-size: 28px;
  letter-spacing: 1px;
  padding-top: 20px;
}

.contact-sub {
  color: #666;
  margin: 10px 0 40px;
  line-height: 1.6;
}

/* MAIN LAYOUT */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
}

/* LEFT BOX */
.contact-left {
  flex: 1;
  border-top: 3px solid #235e88;
  padding-top: 25px;
}

.contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  width: 45px;
  height: 45px;
  background: #eaf6ff;
  color: #1b4b6d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-text h4 {
  margin: 0;
  color: #1f4e8c;
  font-size: 16px;
}

.info-text p {
  margin: 6px 0 0;
  color: #555;
  line-height: 1.5;
}

/* RIGHT FORM */
.contact-right {
  flex: 1;
  border-top: 3px solid #235e88;
  padding-top: 25px;
}

.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
}

.contact-form button {
  width: 100%;
  background: #3da9fc;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}
icon {
color: #0056b3;
}
/* SERVICES SECTION */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;    /* safe inner padding */
  text-align: center;
}
.service-content {
  margin-top: auto;     /* ⭐ pushes ALL text to bottom */
  text-align: center;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding: 20px;
}
.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.09);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  transition: all 0.3s ease;     /* ANIMATION */
  cursor: pointer;               /* better UX */
}
.service-card:hover,
.service-card:active {            /* for mobile tap */
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}
.service-card h3 {
  margin: 15px 0 10px;
}
.service-card a {
  color: #1F4E8C;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
}
.service-card img {
  height: 220px;       /* ⭐ SAME IMAGE HEIGHT */
  object-fit: contain;
  margin: 0 auto;
}
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: auto;
  background-color: #25D366;
  color: white;
  height: 47px;
  padding: 0 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.2s;
}

.whatsapp-icon i {
  font-size: 24px;
}

.whatsapp-text {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.whatsapp-icon:hover {
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  background-color: #1F4E8C;
  color: #ffffff;
  padding: 60px 0 20px;
  font-size: 15px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #E3AD3F;
}

.footer-col p {
  line-height: 1.6;
  color: #e6e6e6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #E3AD3F;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
  color: #ddd;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hide checkbox */
.nav-toggle {
  display: none;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 95px;
    right: 0;
    width: 100%;
    background-color: #1F4E8C;
    flex-direction: column;
    display: none; /* hide by default */
    padding: 20px 0;
  }

  .nav-links a,
  .nav-links button {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: block; /* show hamburger on mobile */
  }

  /* Checkbox toggle: show menu when checked */
  .nav-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }

  /* Dropdown menu inside responsive */
  .dropdown-menu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
  }

  .dropdown-menu li {
    border: none;
  }

  .dropdown-menu a {
    color: #fff;
    padding: 8px 20px;
  }

  .has-submenu:hover > .submenu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent;
    box-shadow: none;
  }

  .submenu a {
    color: #fff;
  }
}
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small tablets / large phones - 2 columns narrower */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 20px;
  }

  .service-card img {
    height: 180px; /* slightly smaller images */
  }
}

/* Mobile phones - single column, padding adjustment */
@media (max-width: 500px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }

  .service-card {
    min-height: auto;
    padding: 15px;
  }

  .service-card img {
    height: 150px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }
}