/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Grid System */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

.col-md-7 {
    width: 58.33%;
    padding: 0 15px;
}

.col-md-8 {
    width: 66.66%;
    padding: 0 15px;
}

.col-md-12 {
    width: 100%;
    padding: 0 15px;
}

.col-md-offset-2 {
    margin-left: 16.66%;
}

.col-sm-6 {
    width: 50%;
    padding: 0 15px;
}

.col-sm-12 {
    width: 100%;
    padding: 0 15px;
}

.col-xs-12 {
    width: 100%;
    padding: 0 15px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.navbar-brand {
    float: left;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 15px 0;
}

.custom-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  padding: 15px 0;
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9) !important;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 24px;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  padding: 10px 15px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #b9524e;
}

/* Mobile Menu */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Section Transition Animations */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar Active State */
.navbar-nav .nav-link.active {
  color: #b9524e !important;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #b9524e;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  section {
    transition: none !important;
  }
}



/* Mobile menu styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .navbar-nav {
    margin: 0;
  }
  
  .navbar-nav .nav-item {
    margin: 5px 0;
  }
  
  .navbar-nav .nav-link {
    color: white !important;
    padding: 10px 0;
    display: block;
  }
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* Hero Section */
#slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #fff;
    z-index: 2;
    width: 100%;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carousel-caption p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 600px;
}

/* About Section */
#about {
    padding: 100px 0;
    background: #fbfbfb;
}

.heading {
    text-align: center;
    margin-bottom: 80px;
}

.heading h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.heading h2 span {
    color: #b9524e;
}

.heading p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.ab-sec {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.ab-sec h3 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.ab-sec h3 span {
    color: #b9524e;
}

.ab-sec p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Fun Facts Section */
#fun-facts {
  padding: 60px 0;
  background: #f8f9fa;
}

.fun-fact {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.fun-fact:hover {
  transform: translateY(-5px);
}

.fact-icon {
  font-size: 40px;
  color: #e73131;
  margin-bottom: 20px;
}

.fun-fact h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #e73131;
}

.fun-fact h6 {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

@media (max-width: 768px) {
  .fun-fact h3 {
    font-size: 36px;
  }
  
  .fact-icon {
    font-size: 30px;
  }
}

/* Contact Section */
.contact-content {
  margin-top: 50px;
}

.contact-info {
  padding-right: 40px;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-list i {
  font-size: 24px;
  color: #b9524e;
  margin-right: 20px;
  margin-top: 5px;
}

.contact-list h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.contact-list p,
.contact-list a {
  color: #666;
  margin: 0;
}

.contact-list a:hover {
  color: #b9524e;
}

.contact-form-wrapper {
  padding-left: 40px;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
  .contact-info,
  .contact-form-wrapper {
    padding: 0;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
}
/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #b9524e;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    background: #b9524e;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-send:hover {
    background: #a04641;
    color: #fff;
    text-decoration: none;
}

/* Footer */
#footer-down {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

#footer-down p {
    margin: 0;
    font-size: 14px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navbar Mobile Styles - Transparent Background */
  .navbar-toggler {
    display: block;
    border-color: rgba(255,255,255,0.5); /* Light border for visibility */
  }

  .navbar-collapse {
    background: transparent; /* Changed to transparent */
    padding: 20px;
    margin-top: -33px;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for menu only */
    border-radius: 5px;
    padding: 15px 0;
  }

  .navbar-nav .nav-item {
    margin: 0;
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
    display: block;
    color: white !important;
    font-weight: 500;
  }

  /* Carousel Adjustments (unchanged) */
  .carousel-caption h1 {
    font-size: 32px;
  }

  .carousel-caption p {
    font-size: 16px;
  }

  /* Grid System Adjustments (unchanged) */
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-sm-6 {
    width: 100%;
    margin-bottom: 30px;
    margin-left: 10px;
  }

  .col-md-offset-2 {
    margin-left: 0;
  }

  /* About Section (unchanged) */
  .ab-sec {
    flex-direction: column;
    gap: 30px;
  }

  .contact-sec-1 {
    padding-right: 0;
    margin-bottom: 40px;
  }

  /* Typography (unchanged) */
  .heading h2 {
    font-size: 32px;
  }

  .ab-sec h3 {
    font-size: 24px;
  }

  .fun-fact h3 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  /* Optional: Make navbar even more transparent on smallest screens */
  .navbar-nav {
    background: rgba(0, 0, 0, 0.1);
  }
  
  /* Rest of your 480px styles remain unchanged */
    .carousel-caption h1 {
        font-size: 15px;
    }

    .carousel-caption p {
            font-size: 13px;
            margin-right: 100px;
            max-width: 85%;
        }


  .contact-list h5 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}



  .container {
    padding: 0 10px;
  }

  .heading h2 {
    font-size: 28px;
  }
}
/* Animation Classes */
.wow {
    visibility: visible !important;
}

.fadeInDown {
    animation: fadeInDown 3s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar active state */
.navbar-collapse.show {
    display: block !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.animated {
  animation-duration: 2s;
  animation-fill-mode: both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* Carousel adjustments */
.carousel-caption h1 {
  animation-delay: 0.5s;
}
.carousel-caption p {
  animation-delay: 1.5s;
}


/* Carousel Image Styling */
.carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Make sure images cover the entire slide */
.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Optional: dark overlay for better text visibility */
}

/* Adjust caption positioning */
.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: auto;
  left: 15%;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  z-index: 10;
}


