/* Moved from index.html <style> */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Almarai', sans-serif;
  background-color: #f8f9fa;
}

.container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.container {
  width: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.navbar {
  background-color: #0e2133;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-nav .nav-link {
  color: white;
  position: relative;
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  right: 0;
  background-color: #ffc107;
  transition: width 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.navbar-nav .nav-link:hover {
  color: #ffc107;
}
.hero-section {
  background-color: #0e2c4c;
  padding: 1rem 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.hero-section .row {
  margin: 0;
  width: 100%;
}
.hero-section .col-6 {
  padding: 0.5rem;
}
.hero-section .card {
  background-color: #24508c;
  color: white;
  border: none;
  border-bottom: 5px solid #ffc107;
  transition: transform 0.2s ease-in-out;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem !important;
  cursor: pointer;
  margin: 0;
  height: 100%;
}
.hero-section .card:hover {
  transform: translateY(-5px);
}
.hero-section .card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-section .card div {
  font-size: 1.1rem;
  font-weight: 500;
}
.section-title {
  text-align: center;
  margin: 2rem 0 1rem;
}
.services-icons i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.footer {
  background-color: #0e2133;
  color: #fff;
  padding: 3rem 0 1rem 0;
  border-top: 10px solid #ffc107;
  font-family: 'Almarai', sans-serif;
}
.footer .footer-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.footer .footer-title-line {
  border-top: 2px solid #fff;
  width: 60%;
  margin: 0.5rem auto 2rem auto;
  opacity: 0.2;
}
.footer .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.footer .footer-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.footer .footer-logo span {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.8;
}
.footer .footer-col-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 1rem;
}
.footer .footer-link, .footer .footer-contact, .footer .footer-service {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  text-decoration: none;
  display: block;
}
.footer .footer-link:hover {
  color: #ffc107;
  text-decoration: underline;
}
.footer .footer-contact strong {
  color: #ffc107;
}
.footer .footer-social {
  margin-top: 1.5rem;
  text-align: right;
}
.footer .footer-social a {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-left: 0.5rem;
  transition: background 0.2s;
}
.footer .footer-social a:hover {
  background: #ffc107;
  color: #10253a;
}
.footer .footer-bottom {
  text-align: center;
  color: #fff;
  opacity: 0.8;
  margin-top: 2rem;
  font-size: 1.1rem;
}
@media (max-width: 991px) {
  .footer .row {
    flex-direction: column;
    text-align: center;
  }
  .footer .footer-social {
    text-align: center;
    margin-top: 1rem;
  }
}
.scroll-top-btn {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  background-color: #ffc107;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* Services Section Styling */
.services-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-width: 180px;
  min-height: 180px;
  max-width: 220px;
  max-height: 220px;
  margin: 0 auto;
  background: none;
  box-shadow: none;
  border: none;
  padding: 1.5rem 0 0.5rem 0;
}
.services-box i {
  font-size: 5rem;
  color: #14283d;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.services-box p {
  font-size: 1.35rem;
  font-weight: 700;
  color: #14283d;
  margin: 0;
  font-family: 'Almarai', sans-serif;
}
@media (max-width: 767px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
  }
  
  .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  
  .col-6, .col-md-3 {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .hero-section {
    padding: 0.5rem 0;
  }
  
  .hero-section .card {
    padding: 0.5rem !important;
  }
  
  .hero-section .card i {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-section .card div {
    font-size: 0.9rem;
  }
  
  .services-box {
    min-width: 90px;
    min-height: 90px;
    max-width: 120px;
    max-height: 120px;
    margin: 0 auto;
  }
  
  .footer {
    padding: 2rem 10px 1rem 10px;
  }
}
@media (max-width: 767.98px) {
  .desktop-navbar {
    display: none !important;
  }
  .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 50px !important;
    background: #0e2133 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1030;
  }
  .navbar-brand.mobile-only {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .navbar-brand.mobile-only img {
    height: 40px !important;
    margin: 0 auto !important;
    display: block !important;
  }
}
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
  
  .navbar {
    display: block;
    position: sticky;
  }
  
  .navbar .navbar-nav {
    display: flex;
  }
  
  .navbar .navbar-toggler {
    display: block;
  }
  .navbar-brand.mobile-only {
    display: none !important;
  }
}
@media (max-width: 575.98px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .row {
    margin-left: -4px;
    margin-right: -4px;
  }
  
  .col-6, .col-md-3 {
    padding-left: 4px;
    padding-right: 4px;
  }
  
  .hero-section .card i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .hero-section .card div {
    font-size: 0.8rem;
  }
  
  .services-box {
    min-width: 90px;
    min-height: 90px;
    max-width: 110px;
    max-height: 110px;
    padding: 0.5rem 0.25rem 0.25rem 0.25rem;
  }
  
  .services-box i {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
  }
  
  .services-box p {
    font-size: 0.75rem;
    line-height: 1.1;
    margin-top: 0.15rem;
  }
}
.country-section img {
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  animation: float-flag 2.5s ease-in-out infinite alternate;
}
@keyframes float-flag {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px); }
}
.country-section h2 {
  font-family: 'Almarai', sans-serif;
  font-weight: 800;
}
.country-section p {
  font-family: 'Almarai', sans-serif;
}
html {
  scroll-behavior: smooth;
}
@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    text-align: right;
    background: #0e2133;
    padding-bottom: 1rem;
  }
  .navbar .navbar-brand img {
    height: 40px;
  }
}
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 2rem;
  }
  .country-section h2 {
    font-size: 1.5rem;
  }
  .country-section p {
    font-size: 1rem !important;
  }
  .country-section img {
    max-height: 140px !important;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero-section .card {
    padding: 1rem !important;
  }
  .services-box {
    min-width: 100px;
    min-height: 100px;
    max-width: 130px;
    max-height: 130px;
  }
}
@media (max-width: 575.98px) {
  .navbar .navbar-brand span {
    font-size: 1rem;
  }
  .footer .footer-title {
    font-size: 1.3rem;
  }
  .footer .footer-logo img {
    width: 70px;
    height: 70px;
  }
  .hero-section .card div {
    font-size: 0.9rem;
  }
  .hero-section .card i {
    font-size: 2rem;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0e2133;
  padding: 0.5rem 0;
  z-index: 1030;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-item i {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: #ffc107;
}

@media (max-width: 767.98px) {
  .navbar {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  /* Add padding to body to prevent content from being hidden behind the mobile nav */
  body {
    padding-bottom: 4rem;
  }
  
  /* Hide desktop navbar on mobile */
  .navbar {
    display: none;
  }
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
  
  .navbar {
    display: block;
  }
} 