@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: rgba(29, 78, 216, 0.1);
  --bg: #ffffff;
  --surface: #f8fafc;
  --fg: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius: 12px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* Sections */
.section { padding: 100px 0; padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background-color: var(--surface); }

.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-title { font-size: 42px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin-bottom: 20px; position: relative; color: var(--fg); }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }
.section-subtitle { color: var(--muted); font-size: 20px; font-size: clamp(15px, 1.6vw, 20px); font-weight: 400; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }

@media (max-width: 992px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
}

/* Institutional Luxury Header */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.header-top-bar {
  background: #0f172a;
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info-list { display: flex; gap: 25px; }
.top-info-list span { display: flex; align-items: center; gap: 8px; opacity: 0.85; }

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  transition: 0.3s;
}
.whatsapp-btn:hover { background: #128c7e; transform: scale(1.05); }

.header-main {
  background: #fff;
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { height: 100px; width: auto; display: block; }

.header-banner img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-nav-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0;
}

.nav-menu { display: flex; align-items: center; justify-content: center; }

.nav-link {
  color: var(--fg);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 25px 30px;
  transition: all 0.4s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--primary);
  transition: 0.4s;
  transform: translateX(-50%);
  border-radius: 10px;
}

.nav-link:hover { color: var(--primary); background: var(--surface); }
.nav-link:hover::after, .nav-link.active::after { width: 30px; }
.nav-link.active { color: var(--primary); }

.mobile-nav-toggle {
  display: none;
  background: var(--surface);
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--fg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  min-width: 260px;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1100;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: var(--fg) !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: var(--surface);
  color: var(--primary) !important;
  padding-left: 25px;
}

@media (max-width: 992px) {
  .header-top-bar { display: none; }
  .header-main { padding: 15px 0; }
  .brand img { height: 70px; }
  .header-banner { display: none; }
  .mobile-nav-toggle { display: block; }
  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-height: 80vh;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-menu-wrapper.open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 15px 20px; border-bottom: 1px solid #f8fafc; font-size: 14px; }
  .nav-link::after { display: none; }
  .dropdown-menu { 
    position: static; 
    transform: none; 
    opacity: 1; 
    visibility: visible; 
    box-shadow: none; 
    border: none; 
    display: none; 
    padding-left: 30px; 
  }
  .nav-item.has-dropdown:hover .dropdown-menu { display: block; }
}

/* Footer Styles */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-links a { color: #94a3b8; transition: 0.3s; }
.footer-links a:hover { color: #fff; transform: translateX(5px); }

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(148, 163, 184, 0.8);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-bottom {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* Welcome Card Redesign */
.welcome-card {
  background: #fff;
  border-radius: 32px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
}

.welcome-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(29, 78, 216, 0.15);
  border-color: transparent;
}

.welcome-card:hover::before { opacity: 1; }

.welcome-card .icon-box {
  width: 70px;
  height: 70px;
  background: var(--surface);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--primary);
  transition: all 0.5s;
}

.welcome-card:hover .icon-box {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: rotateY(180deg);
}

.welcome-card h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  transition: color 0.5s;
}

.welcome-card:hover h3 { color: #fff; }

.welcome-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
  transition: color 0.5s;
}

.welcome-card:hover p { color: rgba(255,255,255,0.8); }

.welcome-card .read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--primary);
  transition: all 0.5s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.welcome-card:hover .read-more { color: #fff; gap: 15px; }

/* General Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 15px;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.2);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(29, 78, 216, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.view-all-container {
  margin-top: 40px;
  padding: 20px 0;
  display: block;
  text-align: center;
  clear: both;
}

.btn-view-all {
  display: inline-flex;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 14px 40px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 100px;
  transition: all 0.4s;
}
.btn-view-all:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(29, 78, 216, 0.2);
}

/* Slider */
.slider-container { width: 100%; height: 650px; height: clamp(420px, 65vh, 650px); position: relative; overflow: hidden; background: #0f172a; }
.slides { display: flex; height: 100%; transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-content { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; width: 100%; max-width: 900px; padding: 0 24px; z-index: 2; }
.slide-content h2 { font-size: 64px; font-size: clamp(30px, 5vw, 64px); font-weight: 800; margin-bottom: 24px; }
.slide-content p { font-size: 20px; font-size: clamp(15px, 2vw, 20px); }
.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.3s; }
.dot.active { background: #fff; width: 40px; border-radius: 6px; }

/* Page Hero */
.page-hero {
  background: #0f172a;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.page-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 15px; color: #fff; }
.page-hero p { opacity: 0.8; font-size: 20px; }
.page-hero h1 { font-size: 48px; font-size: clamp(28px, 4vw, 48px); }
.page-hero p { font-size: 20px; font-size: clamp(15px, 2vw, 20px); }

/* Ticker */
.ticker-wrapper { background: #fff; border-bottom: 1px solid var(--border); height: 60px; overflow: hidden; display: flex; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.ticker-label { background: var(--primary); color: #fff; padding: 0 30px; height: 100%; display: flex; align-items: center; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; z-index: 10; flex-shrink: 0; }
.ticker-content { display: flex; animation: marquee 40s linear infinite; align-items: center; }
.ticker-item { white-space: nowrap; padding: 0 40px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.2s; }
.ticker-item:hover { color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Forms */
.form-grid { display: grid; gap: 25px; }
.form-group { display: flex; flex-direction: column; gap: 10px; }
.label { font-weight: 700; font-size: 14px; color: var(--fg); text-transform: uppercase; letter-spacing: 0.5px; }
.input, .textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 16px; background: var(--surface); transition: all 0.3s; }
.input:focus, .textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-light); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@supports not (aspect-ratio: 4 / 3) {
  .gallery-item { height: 0; padding-top: 75%; }
  .gallery-item img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
}

.content, .card, p, a, li, span { overflow-wrap: anywhere; }

.admin-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  opacity: 0.9;
  transition: 0.3s;
}
.admin-lock:hover { opacity: 1; transform: translateY(-1px); color: #fff; border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.12); }
.admin-lock:focus-visible { outline: 3px solid rgba(255,255,255,0.22); outline-offset: 3px; }

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active { display: flex; }

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: lightboxZoom 0.3s ease-out;
}

@keyframes lightboxZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 50%;
  transition: 0.3s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 50%;
  transition: 0.3s;
  user-select: none;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: -100px; }
.lightbox-next { right: -100px; }

@media (max-width: 1200px) {
  .lightbox-prev { left: 20px; position: fixed; }
  .lightbox-next { right: 20px; position: fixed; }
  .lightbox-close { top: 20px; right: 20px; }
}

.lightbox-counter {
  margin-top: 20px;
  color: #fff;
  font-weight: 600;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}
