:root {
  --primary-color: #0b2e65;
  --secondary-color: #041d88;
  --dark-color: #212121;
  --light-color: #f9f8f5;
  --text-color: #333;
  --text-light: #ffffff;
  --accent-color: #f8edd6;
  --section-padding: 5rem;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

section {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 80px;
  }
}

/* ========== HEADER & NAVIGATION ========== */
.header {
  position: relative;
  min-height: 400px;
  background: 
    linear-gradient(180deg, rgba(135, 134, 134, 0.5) 53.37%, rgba(33, 33, 33, 0.7) 100%),
    url('../assets/images/services-hero-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 20px 72px;
  box-sizing: border-box;
  flex-direction: column;
  flex-grow: 1;
}

.logo-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-grow: 1;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.logo {
  width: 102.5px;
  height: 55px;
  object-fit: contain;
}

.company-name {
  color: var(--text-light);
  text-align: left;
  white-space: nowrap;
}

.company-name-main {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: block;
  line-height: 1.2;
}

.company-name-sub {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: block;
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  flex-shrink: 0;
}

.main-nav a {
  color: var(--text-light);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s;
  text-decoration: none;
  white-space: nowrap;
  display: block;
  padding: 8px 0;
}

.main-nav a.active {
  color: var(--secondary-color);
  font-weight: 900;
}

.main-nav a:hover {
  color: var(--secondary-color);
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 2px 0;
  background-color: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}

/* Dropdown Menu */
.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 4px;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu li {
  padding: 8px 20px;
}

.main-nav .dropdown-menu li a {
  color: var(--dark-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.main-nav .dropdown-menu li a:hover {
  background-color: #f2f2f2;
  color: var(--primary-color);
}

/* Page Title */
@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.page-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: zoomIn 0.8s ease-out forwards;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* ========== CONTACT HERO SECTION ========== */
.contact-hero {
  background-color: #09042c;
  padding: 5rem 2rem;
  position: relative;
}

.contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
}

.contact-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.contact-form {
  background-color: #e6f0ff;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: left;
  margin-top: 2rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  flex: 0 0 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(11, 46, 101, 0.2);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* ========== ADDRESS SECTION ========== */
.address-section {
  padding: 5rem 2rem;
  background-color: var(--light-color);
}

.address-container {
  max-width: 1200px;
  margin: 0 auto;
  /* align-items: center; */
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.address-column {
  padding: 0 1rem;
}

.address-column h3 {
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

/* .address-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
} */

.address-column address {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: var(--dark-color);
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .address-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .address-column {
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .address-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .address-column {
    padding: 0;
  }
  
  .address-section {
    padding: 3rem 1.5rem;
  }
}

/* ================= FOOTER STYLES ================= */
.footer {
  background-color: dimgray;
  color: var(--text-light);
  padding: 60px 72px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.footer.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
  align-items: flex-start;
}

/* ===== Left Side (Logo, Description, Social, Quick Links) ===== */
.footer-main {
  flex: 1;
  min-width: 300px;
  max-width: 360px;
}

.footer-main img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-main p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Added Follow Us heading */
.follow-us-heading {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-light);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  color: var(--text-light);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* ===== Quick Links ===== */
.footer-quick-links {
  margin-top: 10px;
}

.footer-quick-links h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-light);
}

.footer-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap !important; /* Changed from nowrap to wrap */
  /* Removed overflow-x: auto to eliminate scrollbar */
}

.footer-quick-links li {
  display: inline-block;
}

.footer-quick-links li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-quick-links li a:hover {
  color: var(--accent-color);
}

/* ===== Right Side (Find Us & Contact) ===== */
.footer-right-section {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-find-us {
  flex: 2;
  min-width: 320px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-contact {
  flex: 1;
  min-width: 220px;
  padding: 15px 0;
  margin: 20px 0;
}

.footer-find-us h3,
.footer-contact h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--text-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
}

.contact-item i {
  color: var(--text-light);
  font-size: 16px;
  margin-top: 3px;
  min-width: 16px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
}

/* ===== Bottom Copyright ===== */
.footer-copyright {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }

  /* Hide desktop elements on mobile */
  .desktop-logo,
  .desktop-description,
  .desktop-follow-us,
  .desktop-social,
  .desktop-quick-links,
  .footer-main,
  .footer-right-section {
    display: none !important;
  }

  /* Show mobile layout */
  .mobile-footer-layout {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Mobile Footer Top Section */
  .mobile-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }

  /* Mobile Logo + Text (row) */
  .mobile-logo-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .mobile-logo {
    width: 80px;
    height: auto;
    display: block;
  }

  .mobile-company-name {
    display: flex;
    flex-direction: column;
    color: var(--text-light);
  }

  .mobile-company-name-main {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
  }

  .mobile-company-name-sub {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
  }

  /* Mobile Quick Links */
  .mobile-quick-links {
    flex: 1;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.5); /* Bold vertical separator */
  }

  .mobile-quick-links h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
  }

  .mobile-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-quick-links li {
    margin-bottom: 8px;
  }

  .mobile-quick-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  }

  .mobile-quick-links li a:hover {
    color: var(--accent-color);
  }

  /* Mobile Right Section */
  .mobile-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Mobile Follow Us */
  .mobile-follow-us h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-light);
  }

  .mobile-social-icons {
    display: flex;
    gap: 15px;
  }

  .mobile-social-icons a {
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .mobile-social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
  }

  /* Mobile Contact */
  .mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .mobile-contact-item h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-light);
  }

  .mobile-contact-detail {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-contact-detail i {
    color: var(--text-light);
    font-size: 14px;
  }

  .mobile-contact-detail span {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: underline;
  }

  /* Mobile Addresses */
  .mobile-addresses {
    margin-top: 20px;
  }

  .mobile-addresses .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
  }

  .mobile-addresses .contact-item i {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
    min-width: 14px;
  }

  .mobile-addresses .contact-item span {
    color: var(--text-light);
  }
}

/* Hide mobile layout on desktop */
@media (min-width: 769px) {
  .mobile-footer-layout {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .footer-quick-links ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-copyright {
    font-size: 13px;
    margin-top: 10px;
    padding-top: 12px;
  }

  .contact-label {
    font-size: 13px;
  }
  
  .contact-value {
    font-size: 14px;
  }

  /* Mobile footer adjustments for very small screens */
  .mobile-footer-top {
    flex-direction: column;
    gap: 25px;
  }

  .mobile-quick-links,
  .mobile-right-section {
    width: 100%;
  }

  .mobile-quick-links {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .mobile-quick-links h3,
  .mobile-follow-us h3 {
    font-size: 16px;
  }

  .mobile-quick-links li a {
    font-size: 13px;
  }

  .mobile-contact-item h3 {
    font-size: 14px;
  }

  .mobile-contact-detail span {
    font-size: 13px;
  }

  .mobile-addresses .contact-item {
    font-size: 12px;
  }

  .mobile-addresses .contact-item i {
    font-size: 12px;
  }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
  .header-content {
    padding: 20px 40px;
  }
}

@media (max-width: 992px) {
  .header {
    min-height: 400px;
  }
  
  .logo-nav-container {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
  }
  
  .header-content {
    padding: 15px 20px;
  }
  
  .logo-nav-container {
    margin-bottom: 20px;
  }
  
  .nav-container {
    justify-content: space-between;
    width: 100%;
    order: 1;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .page-title {
    font-size: 1.8rem;
    margin: 15px auto;
  }
  
  .cta-button {
    margin-left: 0;
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer {
    padding: 60px 20px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  
  .logo-brand {
    gap: 10px;
  }
  
  .logo {
    width: 80px;
    height: 43px;
  }
  
  .company-name-main {
    font-size: 16px;
  }
  
  .company-name-sub {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .header {
    min-height: 300px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .logo-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .company-name {
    white-space: normal;
  }
}

/* Hide mobile-only elements on desktop */
.mobile-only {
  display: none;
}

/* Show mobile-only elements on mobile */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  
  /* Optional: Hide the CTA button in mobile view if needed */
  .header .cta-button {
    display: none;
  }
}

/* ========== MOBILE MENU STYLES ========== */
@media (max-width: 768px) {
  /* Mobile menu styling */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #0b2e65, #0a265a, #08308a);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 40px;
    display: flex;
    overflow-y: auto;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-align: center;
  }
  
  .main-nav a {
    font-size: 18px;
    padding: 12px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav a.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
  }
  
  /* Dropdown menu for mobile */
  .main-nav .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    display: none;
    padding: 10px 0;
    margin-top: 10px;
    width: 100%;
  }
  
  .main-nav .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .main-nav .dropdown-menu li {
    padding: 8px 0;
  }
  
  .main-nav .dropdown-menu li a {
    color: var(--text-light);
    font-size: 16px;
    padding: 10px 0;
    border-bottom: none;
  }
  
  /* Mobile menu toggle animation */
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Overlay for when menu is open */
  .header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease;
  }
  
  .header-overlay.active {
    display: block;
  }
  
  /* Prevent scrolling when menu is open */
  body.no-scroll {
    overflow: hidden;
  }
}

/* ========== MOBILE FOOTER QUICK LINKS HORIZONTAL ========== */
@media (max-width: 768px) {
  .footer-quick-links ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: flex-start;
  }
  
  .footer-quick-links li {
    list-style-type: none;
    margin-right: 20px;
    position: relative;
  }
  
  /* Optional: Add separators between links */
  .footer-quick-links li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -18px;
    top: 0;
    color: rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 576px) {
  .footer-quick-links ul {
    gap: 15px 20px;
  }
  
  .footer-quick-links li {
    margin-right: 15px;
  }
  
  .footer-quick-links li:not(:last-child)::after {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .footer-quick-links ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px 15px;
  }
  
  .footer-quick-links li {
    margin-right: 10px;
    font-size: 14px;
  }
  
  .footer-quick-links li:not(:last-child)::after {
    right: -12px;
  }
}

/* Center copyright text on all devices */
.footer-copyright {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

/* Reduce gap between quick links and copyright on mobile */
@media (max-width: 768px) {
  .footer-content {
    margin-bottom: 30px; /* Reduced from 60px */
  }
  
  .footer-copyright {
    margin-top: 20px; /* Added to control spacing */
    padding-top: 15px; /* Reduced padding */
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-copyright {
    margin-top: 15px;
    padding-top: 12px;
    font-size: 12px;
  }
}

/* Adjustments for tablet view (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
  .address-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }
  
  .address-column {
    padding: 0 0.5rem !important;
  }
  
  .address-section {
    padding: 4rem 1.5rem !important;
  }
  
  /* Optional: Adjust font sizes for better fit */
  .address-column h3 {
    font-size: 1.3rem !important;
  }
  
  .address-column address {
    font-size: 0.9rem !important;
  }
}

/* Tablet View Adjustments for Address Section - Text Alignment */
@media (min-width: 769px) and (max-width: 992px) {
  .address-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }
  
  .address-column {
    padding: 0 0.5rem !important;
    text-align: center;
  }
  
  .address-column address {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
  }
  
  /* Force each line to have consistent width */
  .address-column address br {
    display: block;
    content: "";
    margin-bottom: 0.5rem;
  }
  
  /* Ensure all address blocks have the same number of lines */
  .address-column address {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Make sure text doesn't overflow */
  .address-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    white-space: nowrap;
  }
  
  /* Specific adjustments for each office to align text properly */
  .address-column:nth-child(1) address,
  .address-column:nth-child(2) address,
  .address-column:nth-child(3) address {
    line-height: 1.8;
  }
  
  /* Ensure contact info is aligned at the bottom of each card */
  .address-column address br:nth-last-child(2) {
    margin-bottom: auto;
  }
}

/* Mobile View: Company name beside logo */
@media (max-width: 768px) {
  .logo-brand {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .company-name {
    margin-left: 5px;
    text-align: left;
    white-space: nowrap;
  }

  .company-name-main {
    font-size: 16px;
  }

  .company-name-sub {
    font-size: 14px;
  }
}

/* ===== EXTRA SMALL DEVICES (≤360px) ===== */
@media (max-width: 360px) {
  .footer {
    padding: 25px 12px 15px;
  }
  
  /* Tighten footer spacing and prevent overflow */
  .footer-content {
    padding: 0 8px;
    gap: 20px;
  }
  
  /* Mobile footer layout adjustments */
  .mobile-footer-layout {
    padding: 0 8px;
  }
  
  .mobile-footer-top {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
  }
  
  .mobile-quick-links,
  .mobile-right-section {
    width: 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .mobile-quick-links {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    padding-right: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .mobile-right-section {
    padding-left: 10px;
    gap: 10px;
  }
  
  /* Quick links styling */
  .mobile-quick-links h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .mobile-quick-links ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mobile-quick-links li {
    margin-right: 0;
  }
  
  .mobile-quick-links li a {
    font-size: 13px;
    padding: 4px 0;
  }
  
  /* Right section adjustments */
  .mobile-right-section {
    width: 100%;
    gap: 15px;
  }
  
  .mobile-follow-us h3,
  .mobile-contact-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .mobile-social-icons {
    gap: 12px;
    margin-bottom: 5px;
  }
  
  .mobile-social-icons a {
    font-size: 16px;
  }
  
  .mobile-contact-detail {
    font-size: 13px;
  }
  
  .mobile-contact-detail i {
    font-size: 13px;
  }
  
  /* Address section */
  .mobile-addresses {
    margin-top: 15px;
  }
  
  .mobile-addresses .contact-item {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
    align-items: flex-start;
  }
  
  .mobile-addresses .contact-item i {
    font-size: 12px;
    margin-top: 3px;
    min-width: 12px;
  }
  
  /* Ensure long address lines wrap cleanly */
  .mobile-addresses .contact-item span {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  
  /* Copyright section */
  .footer-copyright {
    margin-top: 15px;
    padding-top: 12px;
    font-size: 11px;
    line-height: 1.4;
  }
  
  .footer-copyright a {
    font-size: 11px;
    margin: 0 3px;
  }
  
  /* Logo and company name adjustments */
  .mobile-logo-brand {
    margin-bottom: 15px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .mobile-logo {
    width: 65px;
    margin: 0 auto;
  }
  
  .mobile-company-name-main {
    font-size: 14px;
  }
  
  .mobile-company-name-sub {
    font-size: 12px;
  }
}

/* Additional adjustments for very small heights */
@media (max-width: 360px) and (max-height: 640px) {
  .footer {
    padding: 20px 12px 12px;
  }
  
  .mobile-addresses .contact-item {
    margin-bottom: 8px;
    font-size: 11px;
  }
}

/* Add to contact.css */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(11, 46, 101, 0.2);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Prevent zoom on iOS devices */
@media (max-width: 768px) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

/* Improve button styling */
.submit-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

.submit-btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}