/* ===== SUPER ADMIN MENU STYLES ===== */
.super-admin-menu {
    background: rgba(80, 80, 80, 0.95) !important;
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.super-admin-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.super-admin-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.default-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    font-size: 16px;
}

/* Navigation */
.super-admin-nav {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    position: relative;
}

.super-admin-nav li {
    margin: 0;
    position: relative;
}

.super-admin-nav > li > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 6px;
    background: rgba(100, 100, 100, 0.9);
    display: block;
    position: relative;
}

.super-admin-nav > li > a:hover,
.super-admin-nav > li > a:focus {
    background: rgba(70, 70, 70, 0.9);
}

/* Dropdown Submenu */
.super-admin-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(90, 90, 90, 0.95);
    min-width: 200px;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 1001;
}

.super-admin-submenu li {
    margin: 0;
}

.super-admin-submenu a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 2px 8px;
}

.super-admin-submenu a:hover {
    background: rgba(70, 70, 70, 0.9);
}

/* Show dropdown on hover */
.super-admin-nav li:hover .super-admin-submenu {
    display: block;
}

/* Dropdown arrow */
.super-admin-nav li.has-dropdown > a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 8px;
}

/* ===== SUPER ADMIN FOOTER STYLES ===== */
.super-admin-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); 
    color: white; 
    padding: 40px 20px; 
    margin-top: 60px; 
    border-top: 3px solid #3498db;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-column a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    color: #3498db;
    font-weight: bold;
    font-size: 18px;
}

.status-online {
    color: #2ecc71;
}

.copyright {
    color: #95a5a6;
    margin: 10px 0 0 0;
    font-size: 12px;
}

/* ===== MAIN STYLES ===== */
html, body { 
    margin:0; 
    height:100%; 
    font-family:"Rubik", system-ui, sans-serif; 
}

:root{
  --b1:#5cb8ff; --b2:#70c4ff; --b3:#85d0ff; --b4:#99dbff;
  --b5:#aae5ff; --b6:#bcefff; --b7:#9ad9ff; --b8:#7ac4ff;
}

body{
  background: linear-gradient(120deg,
    var(--b1) 0%, var(--b2) 12.5%, var(--b3) 25%, var(--b4) 37.5%,
    var(--b5) 50%, var(--b6) 62.5%, var(--b7) 75%, var(--b8) 100%
  );
  background-size: 800% 800%;
  animation: blueShift 24s ease-in-out infinite;
}

@keyframes blueShift {
  0% { background-position: 0% 50%; }
  50%{ background-position:100% 50%; }
  100%{background-position: 0% 50%; }
}

/* ===== Hero ===== */
.landing-page{ 
    width:100%; 
    padding:24px 16px 40px; 
    box-sizing:border-box; 
}

.hero-section{ 
    text-align:center; 
    max-width:1100px; 
    margin:0 auto; 
}

.hero-section h1{
  margin:0 0 6px;
  font-weight:700;
  font-size:clamp(24px, 7vw, 42px);
  line-height:1.15;
  word-break:break-word;
  overflow-wrap:anywhere;
  color: #1a365d;
}

.hero-section h3{
  margin:0 0 24px;
  font-size:clamp(14px, 3.8vw, 20px);
  line-height:1.35;
  color: #2d3748;
}

/* ===== Feature tiles grid ===== */
.features{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:28px;
  align-items:stretch;
}

.feature-item{
  text-align:center;
  background:#ffffffc8;
  border:1px solid #e5f1ff;
  border-radius:14px;
  padding:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.10);
  backdrop-filter:saturate(120%) blur(2px);
  cursor: pointer;
}

.feature-item:hover{ 
  box-shadow:0 12px 28px rgba(0,0,0,0.25);
}

.feature-item p{ 
  margin:8px 0 0; 
  color:#0c2b45; 
  font-weight:600; 
  font-size:clamp(13px, 2.8vw, 16px); 
}

.feature-item img{ 
  display:block; 
  margin:0 auto; 
}

/* ===== Languages Modal ===== */
.languages-modal{
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.languages-modal.open{ 
  display: flex !important; 
}

.languages-modal-content{
  width:50vw; 
  max-width:640px; 
  min-width:520px;
  background:#fff; 
  color:#000; 
  border-radius:16px;
  padding:20px; 
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
  overflow:hidden; 
  max-height:80vh;
  cursor: pointer;
}

.languages-list{
  display:grid; 
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px 16px;
  max-height: 80vh;
  overflow:auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.languages-list::-webkit-scrollbar {
  display: none;
}

.lang-item{
  display:flex; 
  align-items:center; 
  gap:12px;
  padding:12px;
  background:#fff; 
  border:2px solid #fff;
  border-radius:20px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  cursor:pointer; 
  transition: background .2s ease;
}

.lang-item:hover{ 
  background:#f8fafc; 
}

.lang-flag{ 
  width:44px; 
  height:32px; 
  border-radius:6px; 
  overflow:hidden; 
  border:1px solid #ddd; 
  flex:0 0 auto; 
}

.lang-text{ 
  display:flex; 
  flex-direction:column; 
  min-width:0; 
  flex: 1;
}

.lang-country{ 
  font-size:15px; 
  font-weight:700; 
  color:#000; 
  line-height:1.25; 
}

.lang-native{  
  font-size:13px; 
  color:#666; 
  margin-top: 2px;
}

.lang-currency {
  font-size: 12px;
  color: #888;
  margin-top: 1px;
  font-weight: 500;
}

/* ===== Content sections with white background ===== */
.content-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 40px 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.content-section h2 {
  color: #1a365d;
  font-size: clamp(20px, 5vw, 28px);
  margin-bottom: 20px;
  font-weight: 600;
  text-align: left;
}

.content-section p {
  color: #000000;
  font-size: clamp(14px, 3vw, 16px);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 860px){
    .features{ grid-template-columns: repeat(3, minmax(0,1fr)); gap:20px; }
}

@media (max-width: 768px) {
    .super-admin-menu {
        padding: 1rem;
    }
    
    .super-admin-nav {
        flex-direction: column;
        gap: 5px;
    }
    
    .super-admin-submenu {
        position: static;
        background: rgba(80, 80, 80, 0.95);
        box-shadow: none;
        margin-left: 20px;
    }
    
    .super-admin-nav li:hover .super-admin-submenu {
        display: none;
    }
    
    .super-admin-nav li.active .super-admin-submenu {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .languages-modal-content{
        width:95vw; 
        max-width:none; 
        min-width:0;
        border-radius:14px;
        padding:16px;
    }
    
    .languages-list{
        gap:10px 12px;
    }
}

@media (max-width: 640px){
    .features{
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap:14px;
    }
    .feature-item{
        padding:8px;
        border-radius:12px;
        background:#ffffffe6;
    }
    .feature-item img{ width:88px !important; height:88px !important; }
}

@media (max-width: 480px) {
    .super-admin-footer {
        padding: 30px 15px !important;
    }
    
    .footer-grid {
        gap: 20px !important;
    }
}