/* Google Font */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background-color: #f8fbfb;; 
  position: sticky;
  top: 0;
  z-index: 100;
}
.flex{
  display: flex;

}
.left-align{
  text-align: left;
}
a:focus{
  box-shadow: none !important;
}
.top-marq{
  background-image: url('../images/bg-2.jpg');
  background-color: #ff6600; 
  color: white; 
  padding: 15px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}
.logo a{
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  color: #ff6600;
}

/* Navbar Styling */
.navbar { 
  padding: 12px 0;
}

/* Navbar brand */
.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}


.navbar-nav .nav-link {
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links li a:hover {
  color: #ff6600;
}
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* Navbar items inline on desktop */
.navbar-nav {
  align-items: center;
  display: flex;
  gap: 20px;
}


.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ff6600 !important;
}
.auth-buttons a {
  font-size: 14px;
  color: #ff6600;
  margin-left: 15px;
  text-decoration: none;
  padding: 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.auth-buttons a:hover {
  color: #222;
}
.auth-buttons a:focus{
  outline: none;
}

.login {
  border: 1px solid #ff6600;
  color: #ff6600;
}
.login:hover {
  background: #ff6600;
  color: #fff !important;
}
.register {
  background: #ff6600;
  color: #fff;
}
.register:hover {
  background: #e85c00;
}

/* Navigation Menu */

/* Basic Layout */
.auth-buttons{
  margin: 15px;;
}



/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger style */
.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}



/* Profile image */
.profile-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

/* Dropdown default hidden */
.profile-dropdown .dropdown-menu {
  display: block;       
  max-height: 0;        
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 0;
  margin-top: 5px;
}

/* Show on hover */
.profile-dropdown:hover .dropdown-menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 8px 0;
}

/* Fix hover effect (no extra shift) */
.dropdown-item:hover {
  background: #f7f7f7;

}






/* Hero Banner */
.hero {
  background: url('https://source.unsplash.com/1600x600/?sikh,community') center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-content {
  /* background: rgba(0, 0, 0, 0.5); */
  padding: 30px;
  border-radius: 10px;
}
.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 16px;
  margin-bottom: 20px;
}
.cta-btn {
  background: #ff6600;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.cta-btn:hover {
  background: #e85c00;
}

/* Sections */
section {
  padding: 50px 0;
}
/* ===== Section Headings ===== */
section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #222;
  font-weight: 700;
  margin-top: 25px;
}

/* ===== Events & Help Cards ===== */
.event-cards,
.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
  width: 100%;
  margin: auto;
}
.event-card {
  padding: 40px;
  transition: all 0.3s ease;
  background-color: #fd7a0f;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.event-card h3 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.event-card p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}
.event-card h6{
  color: #fff;
}

.event-card a {
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.event-icon{
  color: #ff6600; 
  font-size: 18px; 
  margin-right: 5px;
}
.help-card {
  background: #fff;
  padding: 20px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.event-card:hover,
.help-card:hover {
   box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-5px);
  transition: all 0.3s ease;
  
}

.help-card h3 {
  font-weight: 600;
  color: #222;
  margin: 10px;
}

.help-card p {
  text-align: justify;
  color: #555;
  font-size: 14px;
  margin-bottom: 15px;
}



.event-card a:hover{
    background: #fff;
    color: #ff6600;
}
.help-card a:hover {
    background: #ff6600;
    color: #fff;
}
.help {
  padding: 40px 0;
  background-color: #f5f5f5;
}

.help-card .btn,.event-card .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 1px solid #ff6600;
  color: #ff6600;
  border-radius: 5px;
  text-decoration: none;
}
.help-card2{
    display: flex;
    gap: 6px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.help-btn2{
    margin: 0 auto;
    border-radius: 5px;
    padding: 10px;
    border: 2px solid;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ff6600;
    width: 150px;
    background-color: white;
}
.help-btn2:hover{
    background-color: #ff6600;
    color:white;
    text-decoration: none;
}
.help2-img img {
   
    border-radius: 5px;
}


.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #ff6600;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e85c00;
}

/* ===== Sikh Gallery ===== */
.gallery {

  padding: 40px 0;
  background: #fafafa;
  background-image: url('../images/bg.jpg');
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 90%;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
/*Gallery*/
.donate {
  position: relative;
  align-items: center;
  color: #fff;
}

.donate .donate-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.donate .donate-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80%;
}

.donate-text {
  max-width: 55%;
}

.donate-title {
  text-align: left;
  color:#ddd;
  font-size: 2.8rem;
  font-weight: 600;
}

.donate-subtitle {
  font-size: 2rem;
  font-style: italic;
  margin-top: 1rem;
  font-family: 'Pacifico', cursive;
}

.donate-box {
  background: #fff;
  color: #333;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  max-width: 350px;
}
.donate-box h3 {
  color: #ff6600;
}

.btn-donate {
  text-align: center;
  width: 100%;
  display: inline-block;
  background: #f97316;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  transition: background 0.3s;
}

.btn-donate:hover {
  color: #fff;
  background: #ea580c;
}




/* Footer */
footer {
  background: #222;
  color: #fff;
  padding: 40px 0 20px;
  
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 78px;
}
.footer-col h3 {
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: #ff6600;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}
.footer-link{
    text-decoration: none;
    color: white;
    margin-left: 5px;
}
/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  padding: 0px;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 36%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 30px;
  border-radius: 10px;
  color: #fff;
}

.caption h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.caption p {
  font-size: 18px;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  transform: translateY(-50%);
  z-index: 2;
}

.prev,
.next {
  cursor: pointer;
  font-size: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Slider Indicators */
.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: #ff6600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.fontawesome-icons {
  display: flex;
  gap: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}



.event-img-info {
  margin-bottom: 20px;
    position: relative;
}
.event-img-info img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.mb-30 {
    margin-bottom: 30px;
}
.event-img-info::before {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgb(0 0 0 / 30%) 44%, rgb(0 0 0) 100%) repeat scroll 0 0;
    bottom: 0;
    content: "";
    left: 0;
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
}
.event-info {
    height:180px;
    bottom: 20px;
    left: 40px;
    position: absolute;
}
.event-info a{
  text-decoration: none;
}
.event-info .btn{
  color:white;
  border: 2px solid #ff6600;
}
.event-info .btn:hover{
  color:white;
  border: 2px solid #ff6600;
  background-color: #ff6600;
}
.event-time-date{
    margin-top: 20px;
}
.event-time-date > span {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    margin-right: 25px;
}


.upcoming-event-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upcoming-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.upcoming-event-card img{
  height: 326px;
}




.upcoming-event-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.upcoming-event-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 15px;
}

.upcoming-event-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: #ff6600;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
  border: 2px solid #ff6600;
}

.upcoming-event-btn:hover {
  background: #ff6600;
  color:white;
}




.gurudwara-item {
  background: #d7d7d73b;
  padding: 20px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 23%);
  display: flex;
  gap:30px;
  margin-bottom: 40px;
}

.gurudwara-item.layout-left .gurudwara-image {
  order: 1;
  margin-right: 20px;
}
.gurudwara-item.layout-left .gurudwara-content {
  order: 2;
}

.gurudwara-item.layout-right .gurudwara-image {
  order: 2;
  margin-left: 20px;
}
.gurudwara-item.layout-right .gurudwara-content {
  order: 1;
}

.gurudwara-image img {
  border-radius: 8px;
  max-width: 300px;
}
.address {
font-weight: 600;
margin-top: 10px;
}
.gurudwara-content h2{
  text-align: left;    
  font-weight: 600;
  color: #ff6600;
}





.profile-img{
  height:34px;
  width:34px;
  border-radius: 50%;
  object-fit: cover;
}

.user-profile-card {
   /* margin: 30px auto; */
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}
.user-edit-link{
  text-decoration: none;
  color:#eee;
}
.user-edit-link:hover{
  color:#aaa
}
.user-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #FF944D, #FF6600);
  color: #fff;
}

.user-header .user-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.user-info h2 {
  color:white;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.user-info .username {
  font-size: 14px;
  opacity: 0.9;
}

.user-details {
  padding: 20px;
}
.my-member-header{
    text-align: right;
    font-weight: 600;
    font-size: 22px;
}
.member-row.highlight-member {
  background: #fff8e1;
  border: 2px solid #ff9800;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.js-form-submit{
  margin-block: 28px !important;
}

/******************ssb*************************/

.ftree-card_bg
{
    background-color: #fff !important;
    
}
.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.detail-item .label {
  font-weight: 600;
  color: #444;
}

.detail-item .value {
  color: #222;
}

/* Responsive */

@media only screen and (min-width: 980px) and (max-width: 1198px) { 
.profile-link{
    display: none !important;
  }
   .main-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #f8fbfb;;
    position: absolute;
    top:41px;
    left: 0;
    right: 0;
    padding: 20px;
  }

  #menu-toggle:checked + .menu-icon + .main-nav {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
  
}

@media (min-width: 768px) and (max-width: 979px) {  
  .profile-link{
    display: none !important;
  }
   .main-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #f8fbfb;;
    position: absolute;
    top:41px;
    left: 0;
    right: 0;
    padding: 20px;
  }

  #menu-toggle:checked + .menu-icon + .main-nav {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
  
 }



 
@media only screen and (min-width: 480px) and (max-width: 767px) { 
.profile-link{
    display: none !important;
  }
  .user-header {
    flex-direction: column;
    text-align: center;
  }
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-info{
    height:134px;
    left:15px;
  }
  .event-time-date > span {
    font-size: 16px;
  }
  .events .flex{
    display: block;
  }
 
   .main-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #f8fbfb;;
    position: absolute;
    top:41px;
    left: 0;
    right: 0;
    padding: 20px;
    transition: all 0.4s ease;
  }

  #menu-toggle:checked + .menu-icon + .main-nav {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
   .upcoming-event-card, .gurudwara-item{
    display: block;
  }
    .donate{
    height:auto;
  }
   .donate .donate-content {
    display: grid;
  }.donate-text {
    max-width: 100%;
  }.donate-title {
    font-size: 28px;
  }
  .donate-subtitle {
    font-size: 16px;
  }

 }

@media (min-width: 576px) and (max-width: 767px) { 
    .hero-slider {
    height: 300px;
  }
  .slider-controls span.prev,
.slider-controls span.next {
  font-size: 12px;
}
.caption{
  bottom: 27%;
}
  .caption p{
    font-size: 12px;
  }
  .caption h1{
    font-size: 19px;
  }
  .profile-link{
    display: none !important;
  }
  .events .flex{
    
    display: block;
  }
  .event-info{
    height:134px;
    left:15px;
  }
  .event-time-date > span {
    font-size: 16px;
  }
   .upcoming-event-card, .gurudwara-item{
    display: block;
  }
    .donate{
    height:auto;
  }
   .donate .donate-content {
    display: grid;
  }.donate-text {
    max-width: 100%;
  }.donate-title {
    font-size: 28px;
  }
  .donate-subtitle {
    font-size: 16px;
  }

 } 

@media (max-width: 480px) { 
  
  .hero-contentt h1 {
    font-size: 2.5rem !important;
  }
  .hero-slider {
    height: 300px;
  }
 .slider-controls span.prev,
.slider-controls span.next {
  font-size: 10px;
}
.caption{
  bottom:25%;
  padding:10px;
  width:240px;
  max-width: 240px;
}
  .caption p{
    font-size: 12px;
  }
  .caption h1{
    font-size: 19px;
  }
  .profile-link{
    display: none !important;
  }
 .main-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #f8fbfb;;
    position: absolute;
    top:39px;
    left: 0;
    right: 0;
    padding: 20px;
  }

  #menu-toggle:checked + .menu-icon + .main-nav {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
  .event-info{
    height:134px;
    left:15px;
  }
  .event-time-date > span {
    font-size: 16px;
  }
  .upcoming-event-card, .gurudwara-item{
    display: block;
  }
   .donate{
    height:auto;
  }
   .donate .donate-content {
    display: grid;
  }.donate-text {
    max-width: 100%;
  }.donate-title {
    font-size: 28px;
  }
  .donate-subtitle {
    font-size: 16px;
  }

}


.hero-sections {
  position: relative;
  height: 60vh; /* adjust height */
  overflow: hidden;
}

.hero-imagee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-contentt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-contentt h1 {
  color: #ff6600; /* orange like your screenshot */
  font-size: 4rem;
  font-weight: bold;
  background: linear-gradient(to right, #FCB061, #FF7215);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}
@media (max-width: 768px) {
  .hero-imagee img {
    height: 500px; /* mobile view */
  }
}
