/* ================= GLOBAL ================= */
:root{
  --primary:#8B0000;
  --primary-dark:#5a0000;
  --gold:#D4AF37;
  --dark:#121212;
  --light:#7dabd8;
}

body{
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  line-height:1.7;
  color:#222;
  background:#ebe0e0;
}

/* ================= NAVBAR ================= */
.navbar{
  background-color:#ebe0e0;
  padding:0.2rem 0;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.logo{
  height:54px;
  width:auto;
  margin-right: 5px;
  margin-left: -70px;
  object-fit:contain;
}/* ================= NAVBAR BUTTON FIX ================= */
.navbar .btn{
  border-radius:7px;
  font-weight:600;
  padding:0.45rem 1.6rem;
  transition:all 0.3s ease;
  height: 40px;
  font-size:0.95rem;
}

/* Navbar Primary Button */
.navbar .btn.btn-primary{
  background:var(--primary);
  color:#fff;
  border:none;
}

.navbar .btn.btn-primary:hover{
  background:var(--primary-dark);
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

/* Navbar Outline Button */
.navbar .btn.btn-outline-primary{
  color:var(--primary);
  border:2px solid var(--primary);
  background:transparent;
}

.navbar .btn.btn-outline-primary:hover{
  background:var(--primary);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.15);
}
.navbar-brand:hover .logo{
  transform:scale(1.05);
}

.nav-link{
  font-weight:500;
  padding:.5rem 1.2rem!important;
  margin-left: 10px ;
  position:relative;
}

.nav-link::after{
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  width:0;
  height:2px;
  background:var(--gold);
  transition:.3s;
  transform:translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after{
  width:60%;
}

/* ================= HERO SLIDER ================= */
.hero-img{
  height:85vh;
  object-fit:cover;
  filter:brightness(0.75);
}

.carousel-caption{
  bottom:18%;
  left:8%;
  max-width:600px;
  text-align:left;  
  background:rgba(0,0,0,0.55);
  padding:1.5rem;
  border-radius:8px;
  backdrop-filter:blur(6px);
}

.carousel-caption h1{
  font-size:3.2rem;
  font-weight:700;
  color:var(--gold);
  margin-bottom:1rem;
}

.carousel-caption p{
  font-size:1.15rem;
  color:#fbf6f6;
}

/* ================= ABOUT SECTION ================= */
.about-section{
  padding:5rem 0;
}

.about-section h2{
  font-size:2.6rem;
  font-weight:700;
  color:var(--primary);
  position:relative;
  margin-bottom:2rem;
}

.about-section h2::after{
  content:"";
  width:70px;
  height:4px;
  background:var(--gold);
  position:absolute;
  bottom:-10px;
  left:0;
}

.about-section p{
  font-size:1.15rem;
  color:#444;
}

.about-section img{
  border-radius:12px;
  box-shadow:0 8px 25px rgba(0,0,0,0.15);
  transition:transform .4s ease;
}

.about-section img:hover{
  transform:scale(1.03);
}

/* ================= BUTTONS ================= */
.btn-primary{
  background:var(--primary);
  border:none;
  padding:0.65rem 1.8rem;
  font-weight:600;
}
.btn-primary:hover{
  background:var(--primary-dark);
}
footer .btn-outline-primary{
  border-color:#d4af37;
  color:#d4af37;
}

footer .btn-outline-primary:hover{
  background:#d4af37;
  color:#121212;
}


/* ================= FOOTER ================= */
footer{
  background:var(--dark);
  padding:1rem 0 0.5rem;
}

footer .footer-logo{
  height:73px;
  width: 73px;
  margin-bottom:0.5rem;
}

footer p.fst-italic{
  color:var(--gold);
  font-size:1.05rem;
}

footer ul li a{
  color:#ddd;
  text-decoration:none;
  transition:.3s;
}
footer ul li a:hover{
  color:var(--gold);
}

footer .bi{
  font-size:1.5rem;
  margin: 10px;
  transition:.3s;
}
footer .bi:hover{
  color:var(--gold);
  transform:translateY(-4px);
}

footer .text-center{
  margin-top:2rem;
  padding-top:1.2rem;
  border-top:1px solid rgba(255,255,255,0.1);
  font-size:1rem;
  color:#aaa;
}
footer a{
  color:#ddd;
  text-decoration:none;
}

footer a:hover{
  color:#D4AF37;
}

footer .col-md-4{
  display:flex;
  flex-direction:column;
  padding: 2px;
  justify-content:center;
}


/* Card Container */
.auth-card {
  background: #fff;
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 2rem;
  margin-top: 25px;
  margin-left: 38%;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-3px);
}

/* Logo */
.auth-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.1rem;
}

/* Welcome Text */
.welcome-text {
  font-weight: 700;
  color: #8B0000;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

/* Input Fields */
input.form-control {
  width: 100%;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input.form-control:focus {
  border-color: #8B0000;
  box-shadow: 0 0 6px rgba(139, 0, 0, 0.3);
  outline: none;
}

/* Buttons */
.btn-primary {
  background: #8B0000;
  border: none;
  color: #fff;
  font-weight: 600;
  width: 100%;
  padding: 0.65rem 0;
  margin-bottom: 0.3rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #5a0000;
}

/* Outline Button */
.btn-outline-primary {
  border: 2px solid #8B0000;
  color: #8B0000;
  font-weight: 600;
  width: 100%;
  padding: 0.65rem 0;
  margin-bottom: 0.3rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #8B0000;
  color: #fff;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; /* White background */
  color: #444;
  font-weight: 500;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.65rem 0;
  width: 100%;
  margin-bottom: 0.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-google:hover {
  background: #f7f7f7;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.btn-google i {
  font-size: 1.2rem;
  margin-right: 0.75rem; /* spacing between icon and text */
}

.btn-google span {
  font-size: 0.95rem;
  font-weight: 500;
}



/* Links */
.text-center a {
  text-decoration: none;
  color: #8B0000;
  font-weight: 600;
}

.text-center a:hover {
  color: #5a0000;
}

/* Responsive */
@media (max-width: 768px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
  .auth-logo {
    height: 60px;
    margin-bottom: 0.8rem;
  }
  .welcome-text {
    font-size: 1.4rem;
  }
  input.form-control,
  .btn-primary,
  .btn-outline-primary,
  .btn-google {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .carousel-caption{
    left:5%;
    right:5%;
    bottom:12%;
    padding:1.5rem;
  }
  .carousel-caption h1{
    font-size:2.2rem;
  }
  .about-section h2{
    font-size:2.1rem;
  }
   footer .col-md-4{
    text-align:center;

  }
}
