/* ==========================================================================
   NISHTA LEGAL - MAIN STYLESHEET
   ========================================================================== */

:root {
  --primary-red: #A6192E;
  --primary-red-hover: #8B0000;
  --dark-black: #1A1A1A;
  --slate-grey: #4A4A4A;
  --bg-light-grey: #F8F9FA;
  --border-grey: #E2E8F0;
  --pure-white: #FFFFFF;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--dark-black);
  background-color: var(--pure-white);
  line-height: 1.6;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red-hover);
  text-decoration: underline;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--dark-black);
  color: var(--pure-white);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.top-bar-contact a {
  color: var(--pure-white);
  margin-right: 15px;
}

.lang-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  color: #A0AEC0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 2px 5px;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--pure-white);
  border-bottom: 2px solid var(--primary-red);
}

header {
  position: sticky;
  top: 0;
  background-color: var(--pure-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--dark-black);
  text-transform: uppercase;
}

.logo span {
  color: var(--primary-red);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--dark-black);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
  color: var(--primary-red);
  text-decoration: none;
}

/* Banner Sections */
.hero-banner {
  background: linear-gradient(rgba(26,26,26,0.85), rgba(26,26,26,0.85)), url('../images/home.image 1.jpg') center/cover no-repeat;
  color: var(--pure-white);
  padding: 100px 5%;
  text-align: center;
}

.page-banner {
  background: var(--dark-black);
  color: var(--pure-white);
  padding: 60px 5%;
  text-align: center;
  border-bottom: 4px solid var(--primary-red);
}

.hero-banner h1, .page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-banner p, .page-banner p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 25px auto;
  color: #E2E8F0;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--pure-white) !important;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-red-hover);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--pure-white);
  margin-left: 10px;
}

.btn-secondary:hover {
  background-color: var(--pure-white);
  color: var(--dark-black) !important;
}

/* Layouts & Grids */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--dark-black);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-red);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.card {
  background: var(--pure-white);
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: var(--primary-red);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-black);
}

.card p {
  color: var(--slate-grey);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.news-card {
  border: 1px solid var(--border-grey);
  background: var(--pure-white);
  border-radius: 6px;
  overflow: hidden;
}

.news-card-body {
  padding: 25px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.float-whatsapp { background-color: #25D366; }
.float-phone { background-color: var(--primary-red); }

.float-btn:hover {
  transform: scale(1.1);
  text-decoration: none;
}

.modal-overlay {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-box {
  background: var(--pure-white);
  max-width: 700px;
  padding: 35px;
  border-radius: 6px;
  border-top: 5px solid var(--primary-red);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box h3 {
  margin-bottom: 15px;
  color: var(--dark-black);
}

.modal-box p {
  font-size: 0.88rem;
  color: var(--slate-grey);
  margin-bottom: 15px;
  text-align: justify;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 25px;
}

footer {
  background-color: var(--dark-black);
  color: var(--pure-white);
  padding: 50px 5% 20px 5%;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--pure-white);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-red);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #A0AEC0;
}

.footer-col a:hover {
  color: var(--pure-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2D3748;
  color: #A0AEC0;
  font-size: 0.8rem;
}
/* Logo Image Styling */
.logo img {
  height: 45px; /* Adjust height to fit your header */
  width: auto;
  vertical-align: middle;
}