:root {
  --alpha-gold: #d4a44a;
  --alpha-dark: #0a1628;
  --alpha-gray: #f8f9fa;
  --alpha-nav: #1a365d;
  --black: #0a1628;
  --gold: #d4a44a; /* Professional gold - justice & excellence */
  --law-blue: #1a365d; /* Deep navy - trust & authority */
  --light-blue: #234876; /* Royal blue - technology & professionalism */
  --white: #ffffff;
  --dark-navy: #0d1b2a; /* Darkest background */
  --slate: #64748b; /* Neutral text */
  --light-slate: #94a3b8; /* Secondary text */
}


body {
  font-family: "Inter", sans-serif;
  color: #fff; /* Changed base text color for dark sections */
  background: var(--light-blue);
  overflow-x: hidden;
}


/* Custom Toggler for Mobile */
.custom-toggler {
  border: none;
  background-color: transparent !important;
  padding: 0;
  outline: none;
}

.custom-toggler:focus {
  box-shadow: none;
}

.toggle-icon {
  font-size: 24px;
  color: var(--gold); /* Gold color for the icon */
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

/* Toggle icon animation when menu is open */
.toggle-icon.fa-xmark {
  transform: rotate(90deg);
}

.toggle-icon.fa-bars {
  transform: rotate(0deg);
}

/* Buttons */
.btn-gold {
  background: var(--gold);
  color: #000;
  font-weight: bold;
  padding: 10px 22px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4,
.serif-font {
  font-family: "Playfair Display", serif;
}

.text-alpha-gold {
  color: var(--alpha-gold);
}
.bg-alpha-gold {
  background-color: var(--alpha-gold);
  margin-right: 0 !important;
}
.bg-alpha-dark {
  background-color: var(--alpha-dark);
}
.btn.bg-alpha-gold:hover {
  background-color: #b08d4b; /* darker gold on hover */
  color: #0f172a; /* text color changes */
}

/* Removed negative margin that was causing overflow */
.hero-bg {
  background-image: linear-gradient(
      to bottom,
      rgba(10, 22, 40, 0.9),
      rgba(10, 22, 40, 0.7)
    ),
    url("asset/aboutheroimage.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  height: 100vh;
}

.hero-bg .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card-overlay {
  max-width: 900px;
  width: 90%;
  padding: 2rem;
  background-color: #0a1628;
  color: white;
  border-radius: 1rem;
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  margin: 30px auto; /* Center horizontally */
  position: relative;
  bottom: auto;
  transform: none;
  transition: transform 0.3s ease;
}



#contact {
  margin-top: 100px;
  background: linear-gradient(135deg, #0a1628, #1a365d);
  padding: 4rem 0;
  border-radius: 1rem;
  color: #f8fafc;
}
#contactForm {
  padding: 2rem;
  background: linear-gradient(135deg, #1a365d, #0a1628);
  border-radius: 1.2rem;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: white;
}
#contact p {
  color: #cbd5e1;
}
.form-input {
  width: 100%;
  padding: 12px 0;
  background: #e0e1e2;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  color: #09090a;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  border-radius: 10px;
}
.form-input:focus {
  border-bottom-color: var(--alpha-gold);
  padding-left: 5px;
}
.form-input::placeholder {
  color: #9ca3af;
  font-style: italic;
}
select.form-input {
  appearance: none;
}

.hero-buttons a {
  min-width: 200px;
}

.map-wrapper iframe {
  border: 0;
  filter: grayscale(10%) contrast(1.1) opacity(0.9);
}

/* FOOTER */
:root {
  --gold: #d4a44a;
}

/* Button Styles - Matching Home Page */
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 16px;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: black;
}

/* Footer styles - ensure proper display */
.footer .row {
  display: flex !important;
  visibility: visible !important;
}

/* Social Media Grid */
.social-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 280px;
}

.social-box {
  width: 55px;
  height: 55px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.social-box:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Social icon colors */
.social-box .fa-youtube { color: #ff0000; }
.social-box .fa-facebook-f { color: #1877f2; }
.social-box .fa-linkedin-in { color: #0a66c2; }
.social-box .fa-telegram-plane { color: #0088cc; }
.social-box .fa-tiktok { color: #fff; }
.social-box .fa-instagram { color: #e4405f; }
.social-box .fa-whatsapp { color: #25d366; }
.social-box.x-icon { 
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
}

/* Contact Info List */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #b0b8c4;
  font-size: 14px;
  line-height: 1.6;
}

.contact-info-list li i {
  color: var(--gold);
  font-size: 16px;
  margin-right: 12px;
  margin-top: 3px;
  min-width: 20px;
}

.contact-info-list li a {
  color: #b0b8c4;
  text-decoration: none;
}

.contact-info-list li a:hover {
  color: var(--gold);
}

/* Desktop: overlay floats above map */
@media (min-width: 992px) {
  /* .contact-card-overlay {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  .contact-card-overlay:hover {
    transform: translateX(-50%) translateY(-5px);
  } */
}

@media (max-width: 991.98px) {
  /*
    Overwriting desktop logo layout for mobile view.
    Stack the image and text vertically for space saving on small screens.
  */
  .logo {
    /* Set right margin of the logo container */
    margin-right: 5px; 
    
    flex-direction: column; 
    align-items: flex-start;
    gap: 0; /* Remove gap */
  }
 
  .alpha-symbol img {
    /* Nudge the image slightly to the left to reduce left margin */
    margin-left: -5px; 
    width: 80px; /* Adjusted size for better mobile fit */
  }
 
  .logo-text {
    text-align: left;
    font-size: 14px; /* Slightly smaller text on mobile */
    margin-top: 5px; /* Add slight separation */
    
    /* Nudge the text slightly to the left to reduce left margin */
    margin-left: -5px; 
  }

  /* Mobile Menu Background */
  .navbar-collapse {
    background-color: var(--light-blue); /* Dark background for the expanded menu */
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .nav-link {
    margin-left: 0;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-link::after {
    display: none; /* Remove underline on mobile view */
  }

  .btn-gold {
    width: 100%;
    margin-top: 15px !important;
  }

  /* Auth buttons mobile styles */
  .auth-buttons {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .auth-buttons .btn {
    width: 100%;
  }
  
  .guest-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .user-menu {
    width: 100%;
  }
  
  .user-menu .dropdown {
    width: 100%;
  }
  
  .user-menu .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  
  .user-menu .dropdown-menu {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
    /* Optional: Further refinement for smaller phones if needed */
}

/* Navbar Links - prevent text wrapping */
.navbar-nav .nav-link {
  white-space: nowrap;
}

/* Auth Buttons in Nav */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-buttons .btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

.user-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

.user-menu .dropdown-menu {
  background: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 180px;
}

.user-menu .dropdown-item {
  padding: 10px 20px;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.user-menu .dropdown-item:hover {
  background: var(--gold);
  color: #000;
}

.user-menu .dropdown-item i {
  width: 20px;
}

/* Desktop navbar alignment fix */
@media (min-width: 992px) {
  .auth-buttons {
    margin-left: auto;
  }
  
  .user-menu .dropdown-toggle {
    white-space: nowrap;
  }
}

/* --- FIX HORIZONTAL SCROLLING (DO NOT CHANGE ANYTHING ELSE) --- */

/* Prevent any container from becoming wider than the screen */
* {
  box-sizing: border-box;
}

/* Fix for grids or flex items pushing outside screen */
body, html {
  overflow-x: hidden !important;
  width: 100% !important;
}


/* Additional Mobile Responsive Fixes */
@media (max-width: 576px) {
  .hero-bg {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 50px;
  }
  
  .contact-card-overlay {
    padding: 1.5rem;
    width: 95%;
  }
  
  #contact {
    margin-top: 60px;
    padding: 2rem 0;
  }
  
  #contactForm {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 40px 0 15px;
  }
  
  .footer-title {
    font-size: 18px;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  h1 {
    font-size: 1.8rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
}

/* Tablet Responsive */
@media (min-width: 577px) and (max-width: 991px) {
  .hero-bg {
    height: auto;
    min-height: 80vh;
  }
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
}