:root {
  --bg-color: #000330;
  --gold: #f4b41a;
  --gold-hover: #d99f15;
  --text-white: #ffffff;
  --text-gray: #b0b5c1;
  --white-section-bg: #ffffff;
  --dark-text: #020518;
  --footer-bg: #01020a;
}

/* --- RESET & BASICS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevents horizontal scroll */
}

body {
  background-color: var(--bg-color);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

/* Global Link Reset */
a {
  text-decoration: none;
  color: inherit;
}



/* --- NAVBAR --- */
nav {
  padding: 30px 50px;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Hamburger */
.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
}
.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu span:nth-child(1) {
  top: 0;
}
.hamburger-menu span:nth-child(2) {
  top: 9px;
}
.hamburger-menu span:nth-child(3) {
  top: 18px;
}
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Mobile Menu */
.nav-links.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #010313;
  padding: 100px 30px 30px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
  transition: right 0.4s ease-in-out;
  z-index: 999;
}
.nav-links.mobile-menu.open {
  right: 0;
  display: flex;
}
.nav-links.mobile-menu a {
  margin: 15px 0;
  font-size: 1.2rem;
  color: var(--text-white);
}
.nav-btn-mobile {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 1024px){
     .desktop-links {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
}

/* --- BUTTONS & LINKS --- */
.btn {
  background-color: var(--gold);
  color: #000;
  padding: 14px 35px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

.desktop-links a:not(.btn) {
  color: var(--text-white);
  margin: 0 20px;
  font-size: 1rem;
  opacity: 0.9;
  transition: color 0.3s;
}
.desktop-links a:not(.btn):hover {
  color: var(--gold);
  opacity: 1;
}


/* ==================================
footer
===================================*/

/* Base Layout */
.footer-wrapper {
  position: relative;
  background-color: #000033; /* Dark top half */
  padding: 60px 15px 30px 15px;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.yellow-bg-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px; /* Exact height for the golden strip */
  background-color: var(--gold);
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  background-color: #000033;
  border: 2px solid #ffffff;
  border-radius: 60px; /* Smooth rounded corners from image */
  padding: 40px;
  display: grid;
  /* 4 columns on desktop */
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr;
  gap: 20px;
}

/* Typography & Links */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logo-img {
  width: 160px;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
}

.links-column a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
}

/* Newsletter Styles */
.newsletter-text {
  color: #ffffff;
  font-size: 0.9rem;
  margin: 0 0 5px 0;
  line-height: 1.4;
}

.email-input-wrapper {
  position: relative;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
}

.email-input-wrapper input {
  background: transparent;
  border: none;
  padding: 12px;
  color: white;
  width: 100%;
  outline: none;
}

.email-input-wrapper button {
  background: transparent;
  border: none;
  padding-right: 12px;
  cursor: pointer;
}

/* Copyright Bar */
.footer-bottom-text {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 20px auto 0 auto;
  color: #000033;
  font-style: italic;
  font-family: serif;
  font-weight: 600;
}

/* --- RESPONSIVE MOBILE FIXES --- */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2x2 grid on tablets */
    padding: 30px;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr; /* Stack main blocks */
    border-radius: 30px; /* Slightly tighter corners for small screens */
    padding: 30px 20px;
    text-align: left;
  }

  /* Keep the two link columns side-by-side even on mobile */
  .links-column {
    display: inline-flex;
    width: 45%;
    float: left;
  }

  /* Clearfix for the floats */
  .footer-container::after {
    content: "";
    display: table;
    clear: both;
  }

  .brand-area,
  .newsletter-area {
    width: 100%;
    margin-bottom: 20px;
  }

  .yellow-bg-strip {
    height: 350px; /* Smaller strip for mobile height */
  }
}
