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

:root {
  --green: #1a6b3a;
  --green-dark: #124d29;
  --navy: #1b2a47;
  --navy-dark: #0f182b;
  --text-light: #f8fafc;
  --text-dark: #0f172a;
  --gold: #dfb23f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  height: 100vh;
  overflow: hidden;
  background: var(--navy-dark);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.umbrella-container {
  display: flex;
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Split Sides */
.split-side {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  position: relative;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* Background overlays with images or patterns */
.split-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
  transition: transform 0.8s ease, opacity 0.5s ease;
}

.split-side:hover::before {
  transform: scale(1.05);
  opacity: 0.95;
}

/* AwazeKhalq Side (Urdu) */
.side-ak {
  background: linear-gradient(135deg, #124d29 0%, #1a6b3a 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.side-ak::before {
  background: radial-gradient(circle at 30% 30%, rgba(223, 178, 63, 0.15) 0%, transparent 60%);
}

/* BPLF Side (English) */
.side-bplf {
  background: linear-gradient(135deg, #0f182b 0%, #1b2a47 100%);
}
.side-bplf::before {
  background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

/* Hover Expanding Effect */
.umbrella-container:hover .split-side {
  flex: 0.85;
}
.umbrella-container .split-side:hover {
  flex: 1.25;
}

/* Content Styling */
.side-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  transition: transform 0.5s ease;
}

.split-side:hover .side-content {
  transform: translateY(-8px);
}

.side-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 24px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  transition: transform 0.5s ease;
}

.split-side:hover .side-logo {
  transform: rotate(5deg) scale(1.05);
}

.side-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.side-ak .side-title {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 2.2rem;
  line-height: 1.8;
  color: var(--text-light);
}

.side-tagline {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.5;
}

.side-ak .side-tagline {
  font-size: 1.2rem;
  line-height: 1.8;
}

.side-btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.side-ak .side-btn {
  background: var(--gold);
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}
.side-ak .side-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(223, 178, 63, 0.4);
}

.side-bplf .side-btn {
  background: #fff;
  color: var(--navy-dark);
}
.side-bplf .side-btn:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

/* Center Umbrella Branding (Floating Badge) */
.umbrella-center {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(15, 24, 43, 0.85);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  pointer-events: none;
}

.umbrella-center h1 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
    height: auto;
  }
  
  .umbrella-container {
    flex-direction: column;
    height: 100vh;
  }
  
  .split-side {
    height: 50vh;
    padding: 30px 20px;
  }
  
  .umbrella-container:hover .split-side,
  .umbrella-container .split-side:hover {
    flex: 1; /* Disable flex accordion on mobile */
  }
  
  .side-title {
    font-size: 1.8rem;
  }
  
  .side-ak .side-title {
    font-size: 1.6rem;
  }
  
  .side-tagline {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .side-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }
  
  .umbrella-center {
    top: 2%;
    padding: 8px 18px;
  }
  
  .umbrella-center h1 {
    font-size: 0.85rem;
  }
}
