/* FILE: assets/css/style.css */
/* ----- GLOBAL & RESET - FULLY RESPONSIVE ----- */
:root {
  --primary-navy: #0a2342;
  --primary-gold: #9e7e4b;
  --accent-gold-light: #b89b6e;
  --light-bg: #f5f3f0;
  --dark-text: #1e2b37;
  --body-bg: #ffffff;
  --box-bg: #ffffff;
  --footer-bg: #0a1a2b;
  --transition-smooth: all 0.3s ease;
  --header-height: 70px;
  --header-height-md: 80px;
}

/* Base responsive typography */
html {
  font-size: 14px;
}

@media (min-width: 576px) {
  html { font-size: 15px; }
}

@media (min-width: 992px) {
  html { font-size: 16px; }
}

body {
  font-family: 'Roboto', 'Poppins', sans-serif;
  color: var(--dark-text);
  background-color: var(--body-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.3;
}

/* Responsive headings */
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

/* Container fluid padding */
.container, .container-fluid {
  padding-left: clamp(1rem, 5vw, 3rem);
  padding-right: clamp(1rem, 5vw, 3rem);
  width: 100%;
}

/* Buttons - responsive */
.btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: white;
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: #112b4f;
  border-color: #112b4f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 35, 66, 0.3);
}

.btn-outline-primary {
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline-primary:hover {
  background-color: var(--primary-navy);
  color: white;
}

.btn-outline-light {
  border-width: 2px;
  border-color: var(--primary-gold);
  color: white;
}

.btn-outline-light:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--primary-navy);
}

/* ----- HEADER - FULLY RESPONSIVE ----- */
#header {
  background: rgba(10, 35, 66, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
}

@media (min-width: 768px) {
  #header {
    height: var(--header-height-md);
    padding: 0.75rem 0;
  }
}

#header .sitename {
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #fff 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Navigation */
#navmenu ul {
  margin: 0;
  padding: 0;
}

#navmenu a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  font-size: 0.95rem;
  display: block;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  #navmenu a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
}

#navmenu a:hover {
  color: var(--primary-gold);
}

#navmenu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.25s ease;
}

@media (min-width: 768px) {
  #navmenu a:hover::before {
    width: 100%;
  }
}

/* Mobile menu toggle */
.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: block;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  z-index: 1001;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile menu styles */
@media (max-width: 767px) {
  #navmenu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--primary-navy);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(158, 126, 75, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  
  #navmenu.active {
    display: block;
    animation: slideDown 0.3s ease;
  }
  
  #navmenu ul {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem;
  }
  
  #navmenu a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  #navmenu a:last-child {
    border-bottom: none;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- HERO SLIDER - FULLY RESPONSIVE ----- */
.hero-section {
  margin-top: var(--header-height);
}

@media (min-width: 768px) {
  .hero-section {
    margin-top: var(--header-height-md);
  }
}

.swiper {
  width: 100%;
  height: 400px;
}

@media (min-width: 576px) {
  .swiper { height: 450px; }
}

@media (min-width: 768px) {
  .swiper { height: 500px; }
}

@media (min-width: 992px) {
  .swiper { height: 600px; }
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 35, 66, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 1.2rem;
  max-width: 500px;
  border-left: 4px solid var(--primary-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (min-width: 576px) {
  .slide-content {
    bottom: 30px;
    left: 30px;
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .slide-content {
    bottom: 40px;
    left: 40px;
    padding: 1.8rem;
    max-width: 550px;
  }
}

.slide-content h2 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: clamp(1.3rem, 4vw, 2rem);
}

.slide-content p {
  color: #e0e0e0;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

/* Swiper navigation - hidden on mobile for better UX */
.swiper-button-next, 
.swiper-button-prev {
  display: none;
}

@media (min-width: 768px) {
  .swiper-button-next, 
  .swiper-button-prev {
    display: flex;
    color: white;
    background: rgba(10,35,66,0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(158, 126, 75, 0.5);
  }
  
  .swiper-button-next:after, 
  .swiper-button-prev:after {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  .swiper-button-next, 
  .swiper-button-prev {
    width: 50px;
    height: 50px;
  }
  
  .swiper-button-next:after, 
  .swiper-button-prev:after {
    font-size: 1.3rem;
  }
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.6;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

.swiper-pagination-bullet-active {
  background: var(--primary-gold);
  opacity: 1;
  width: 24px;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .swiper-pagination-bullet-active {
    width: 30px;
  }
}

/* ----- CONTENT CARDS - FULLY RESPONSIVE ----- */
.content-section {
  background-color: var(--light-bg);
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .content-section {
    padding: 4rem 0;
  }
}

@media (min-width: 992px) {
  .content-section {
    padding: 5rem 0;
  }
}

.custom-box {
  background-color: var(--box-bg);
  border: none;
  border-radius: 12px;
  transition: var(--transition-smooth);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.custom-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(10, 35, 66, 0.15);
  border-bottom-color: var(--primary-gold);
}

@media (min-width: 992px) {
  .custom-box:hover {
    transform: translateY(-8px);
  }
}

.custom-box img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 576px) {
  .custom-box img {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .custom-box img {
    height: 200px;
  }
}

.custom-box h5 {
  color: var(--primary-navy);
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.custom-box p {
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (min-width: 576px) {
  .custom-box p {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  .custom-box p {
    font-size: 0.95rem;
  }
}

/* ----- GLOBAL OFFICES SECTION - FULLY RESPONSIVE ----- */
.global-offices-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  min-height: 350px;
  display: flex;
  align-items: center;
  background-attachment: scroll;
}

@media (min-width: 768px) {
  .global-offices-section {
    min-height: 450px;
    background-attachment: fixed;
  }
}

@media (min-width: 992px) {
  .global-offices-section {
    min-height: 500px;
  }
}

.global-offices-section .overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 35, 66, 0.95) 0%, rgba(10, 35, 66, 0.8) 100%);
  z-index: 1;
}

.global-offices-section .container {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
}

.global-offices-section h1 {
  color: white;
  font-size: clamp(1.8rem, 6vw, 3rem);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.global-offices-section h4 {
  color: var(--primary-gold);
  font-weight: 300;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
}

.global-offices-section p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto;
}

/* ----- FOOTER - FULLY RESPONSIVE ----- */
#footer {
  background: var(--footer-bg);
  color: #cdd9e6;
  border-top: 3px solid var(--primary-gold);
  width: 100%;
  overflow-x: hidden;
}

#footer .sitename {
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #fff 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#footer a {
  color: #b0c4de;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  #footer a {
    font-size: 0.95rem;
  }
}

#footer a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer-links ul {
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footer-links li {
    margin-bottom: 0.7rem;
  }
}

.social-links {
  gap: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1e3a5f;
  border-radius: 50%;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

.social-links a:hover {
  background: var(--primary-gold);
  color: #0a1a2b;
  transform: translateY(-3px);
  border-color: white;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footer-contact p {
    font-size: 0.9rem;
  }
}

/* Utility classes for responsive spacing */
.gap-responsive {
  gap: clamp(0.5rem, 2vw, 1rem);
}

/* Prevent overflow issues */
img, iframe, video {
  max-width: 100%;
  height: auto;
}

/* Touch-friendly targets on mobile */
@media (max-width: 768px) {
  button, a {
    min-height: 44px;
    min-width: 44px;
  }
  
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}