* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
header{
    padding: 0;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #98e8ee;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav {
    position: fixed;
    background: #cff0f4;
    height: 80px;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

label.logo a {
    color: #4e4e00;
    font-size: 25px;
    line-height: 80px;
    padding: 20px;
    font-weight: bold;
}
label.logo a:hover{
    background-color: transparent;
}

/* Navbar */
nav ul {
    float: right;
    margin-right: 5px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
}

nav ul li a {
    color:#232304;
    font-size: 13px;
    padding: 10px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.nav-links li a.active, a:hover {
    background: #c0d2e1;
    transition: .5s;
    text-decoration: none;
}

button.button-outline {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.checkbtn {
    font-size: 30px;
    color: #835f5f;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

/* Home section----------------------- */
.home-section{
   width: 100%;
   color: black;
   text-align: center;
   padding: 100px 0;;
   background: url(/img/mandap.png) no-repeat center center / cover;
   min-height: 100vh;
}

.home-section .h1{
   font-size: 72px;
}

.home-section p{
    margin: 10px 0 15px;
    font-size: 20px;
    font-style: oblique;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #100606;
}
.event-btn{
    display:inline-block;
    text-decoration: none;
    color: rgb(99, 19, 160);
    border: none;
    padding: 12px 34px;
    font-size: 15px;
    margin-top: 10px;    
    background: transparent;
    cursor: pointer;
}
.event-btn:hover{
    border:none ;
    color: rgb(248, 42, 183);
    background: transparent;
    transition: 1s;
    text-decoration: none;
}

/* Events Section --------------------------------------*/
.events-section {
    margin: 80px auto;
    width: 100%;
    padding: 0 20px;
}

.event-title {
    text-align: center;
    font-size: 40px;
    color:black;
}

.line {
    width: 250px;
    height: 5px;
    background: #4e4e00;
    margin: 5px auto;
    border-radius: 20px;
    margin-bottom: 30px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

.row .col {
    display: flex;
    flex: 0 1 calc(50% - 20px);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;

}

.events .row {
    margin-top: 50px;
}

.events h1 {
    margin-top: 10px;
    color: black;
}

.row .col img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.row .col img:hover {
    transform: scale(1.03);
}

h4 {
    font-size: 20px;
    color: #4e4e00;
    margin: 20px auto 0;
    text-align: center;
}

/* Gallery Section--------------------------- */
.gallery-section {
    padding: 30px 0;
    background: #98e8ee;
}

.gallery-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: black;
}

.gallery-content {
    width: 100%;
    padding: 0 20px;
}

.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}


/*Our services----------------------*/


.ourservices {
  text-align: center;
  padding: 2rem 1rem;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background-color: #98e8ee;
}
.services{
    margin-top: 20px;
}

.services h1 {
  font-size: 40px;
  margin-top: 45px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: black;
}


.services p {
  margin-bottom: 1.4rem;
  line-height: 1.6;
  color: #232304 ;
}

.services-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 300px;
  margin: 0 auto;
}

.service-item {
  width: 100%;
  text-align: center;
  padding:0;
  
}

.service-icon {
  font-size: 3.9rem;
  margin-bottom: 0.6rem;
}
.service-icon:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.service-item h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #232304;
  padding-bottom: 10px;
}
.explore-more {
    margin-top: 2rem;
}

.explore-btn {
    display: inline-block;
    padding: 10px 10px;
    background-color: #12656b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background-color: #474211;
}
main, .service-content, .wrapper {
    flex: 1;
}



/*Service extended------------------------------*/


.service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  width: 100%;
}

.service-category {
  background:#5debf5;
  border-radius: 10px;
  padding: 25px;
  width: 100%;
  max-width: 400px;
}

.service-category h2 {
  color: #4e4e00;
  border-bottom: 2px solid black;
  padding-bottom: 15px;
  margin-bottom: 1rem;
}

.service-category ul {
  padding-left: 1.2rem;
  text-align: left;
  margin-bottom: 60px;
}

.service-category li {
  margin-bottom: 0.5rem;
  color: #232304;
}



/* About Us Section */
.about {
    background: #89e2e9;
    text-align: center;
    padding: 20px 30px;
    
}

.about h2 {
    color: 4e4e00;
    font-size: 36px;
    margin-bottom: 20px;
}

.about p {
    font-size: 12px;
    color: #4e4e00;
    max-width: 800px;
    margin: 0 auto;
}

.about-top {
    text-align: center;
    margin-top: 20px;
    color: #4e4e00;
    font-size: 14px;
}

.about-top a {
    color: #4e4e00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-top a:hover {
    color: #fff;
}

.about-top span {
    margin: 0 5px;
}

.about-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-content {
    width: 50%;
    margin: 0px 25px;
    transition: 0.4s ease;
}

.about-content:hover {
    transform: translateY(-10px);
}

.about-content h2 {
    font-size: 30px;
    color: #4e4e00;
    margin-bottom: 20px;
    margin-left: 10px;

}

.about-content p {
    color: #3c370d;
    font-size: 19px;
    line-height: 1.5;
    margin-top: 10px;
    margin-left: 10px;

}

.about-content .btn {
    position: relative;
    margin-top: 30px;
    margin-left: 10px;
    text-decoration: none;
    border: 2px solid #0e5d95;
    font-size: 19px;
    color: #0e5d95;
    padding: 13px 16px;
    display: inline-block;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.about-content .btn:before {
    position: absolute;
    content: "";
    border: 1px solid transparent;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #0e5d95;
    z-index: -1;
    transition: all 0.3s ease;
}

.about-content .btn:hover {
    color: black;
}

.about-content .btn:hover::before {
    transform: scaleX(1);
}

.about-image {
  flex:1;
    width: 50%;
    height: 40%;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    margin-left: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #0e5d95;
}

/* ---------------------Contact Us Section------------------------ */

.contact-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 0;
}

.contact {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}
.contact-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    margin-right: 20px;
    line-height: 2.2;
}

.contact h1{
    font-size: 36px;
    margin-bottom: 30px;
    color: black;
}
.contact-content h1{
    font-size: 36px;
    margin-bottom: 10px;
    color: black;
}


.contact-content h2 {
    font-size: 25px;
    margin: 20px 0 10px;
    color: black;
}

.contact-content p {
    color: #232304;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact label {
    color: #232304;
    font-size: 17px;
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #232304;
    outline: none;
    background: #98e8ee;
    color: #fff;
    margin-bottom: 15px;
}

.contact textarea {
    min-height: 150px;
    resize: vertical;
}

.contact button {
    font-size: 17px;
    background-color: #056164;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #66711a;
}

/* Footer */
footer {
    padding: 10px;
    background-color: #cff0f4;
}

.end{
    padding: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  color: #232304;
}
.end p{
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fb-icon {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.fb-icon a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  margin-right: 8px;
}

.fb-icon a:hover {
    text-decoration: none;
    background-color: transparent;
       transform: scale(1.2);
}

/* dark mode---------------- */
body.dark h1,
section.dark h1{
    color: #fff;
}
body.dark .home-section h1 {
    color: #000 !important;
}
body.dark .line {
    background: #ffffff;
}
nav.dark ul li a {
    color: #f0f0f0;
}
.ourservices.dark,
.services.dark {
    background-color: #1c1c1c;
}

.gallery-section.dark {
    background: #1c1c1c ;
}

.about.dark {
    background: #1c1c1c ;
}

.service-category.dark {
    background: #121212 ;
}

.service-item.dark h3,
.services.dark p {
    color: #ccc ;
}

.about-section.dark {
    background-color: #1c1c1c;
}
.about-content.dark p {
    color: #f0f0f0 ;
}

.events.dark {
    background-color: #1c1c1c;
}

.event-title.dark h1, .events.dark h4 {
    color: #f0f0f0 ;
}
body.dark {
    background-color: #1c1c1c ;
}

body.dark .login-btn {
    background: #555454 ;
    color:#fff ;
}
nav.dark {
    background-color: black;
}

section.dark {
    background-color: #1c1c1c;
}
.gallery-section.dark {
    background: #1c1c1c ;
}

div.dark {
    background-color: #1c1c1c;
}

footer.dark {
    background-color: #212121;
}
body.dark .logo a,
body.dark .contact label,
body.dark .contact p,
body.dark .contact-content h1,
body.dark .contact-content h2,
body.dark .contact-content p,
body.dark .end,
body.dark .end p,
body.dark .copyright,
body.dark .fb-icon,
body.dark .fb-icon a {
    color: #fff ;
}
body.dark .about,
body.dark .about h2,
body.dark .about p,
body.dark .about-top,
body.dark .about-top a,
body.dark .about-section,
body.dark .about-section h2,

body.dark .ourservices p,
body.dark .service-category h2,
body.dark .service-category li
 {
    color: #fff ;
}
body.dark .wrapper,
body.dark .wrapper h1,
body.dark .input-box input,
body.dark .input-box i,
body.dark .rem-forgot label,
body.dark .rem-forgot a,
body.dark .register-link,
body.dark .register-link a,
body.dark .error-message {
    color: #fff ;
}
body.dark .wrapper span {
    color: red;
}

body.dark .input-box input {
    background: #212121 ;
    border-color: #444 ;
}

body.dark .login-btn {
    background: #444 ;
}
body.dark .login-btn a {
    color: #bcc553 ;
}
body.dark .contact input,
body.dark .contact textarea {
    background: #232323 ;
    color: #fff ;
    border-color: #444 ;
}

/* Login Page -------- */
.wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 20px;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
    color: #040740;
    margin-bottom: 30px;
}
.wrapper form{
    margin-top: 60px;
    padding: 30px;
    border: 2px solid #5b7e85;
    border-radius: 40px;
}
.input-box {
    position: relative;
    width: 100%;
    height: 56px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    font-size: 16px;
    padding: 20px 45px 20px 20px;
    outline: none;
    color: #4e4e00;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #4e4e00;
}
span.error-message {
    color: red;
    font-size: 10px;
    padding-left: 5px;
}
.rem-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin: -15px 0 15px;
    color: #4e4e00;
}

.rem-forgot a {
    text-decoration: none;
    color:#ff287a;
    transition: color 0.3s ease;
}

.rem-forgot a:hover {
    color: #fd9002;
    background-color: transparent;
}

.login-btn {
    width: 100%;
    height: 45px;
    background: #708d8a;
    border: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(211, 213, 199, 0.1);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.login-btn a {
    color:#400101 ;
    text-decoration: none;
}
.login-btn:hover {
    background-color: #04424b;
}

.register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
    color: #4e4e00;
}

.register-link a {
    text-decoration: none;
    color: #ff287a;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #fd9002;
    background-color: transparent;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .about-section {
        flex-direction: column;
    }
    
    .about-content, .about-image {
        width: 100%;
        margin: 20px 0;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact, .contact-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .checkbtn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #98e8ee;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all 0.5s;
        z-index: 999;
    }
    body.dark nav ul {
        background: #1e1e1e;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    
    nav ul li a {
        font-size: 20px;
    }
    
    #check:checked ~ ul {
        left: 0;
    }
    
    .home-section .h1 {
        font-size: 48px;
    }
    
    .row .col {
        flex: 0 1 100%;
    }
    
    .gallery-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    label.logo {
        padding: 0 20px;
        font-size: 20px;
    }
    
    .home-section .h1 {
        font-size: 36px;
    }
    
    .home-section p {
        font-size: 16px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .gallery-title {
        font-size: 28px;
    }
    
    .contact h1, .contact-content h1 {
        font-size: 28px;
    }
    
    .contact-content h2 {
        font-size: 22px;
    }
    
    .about-content h2 {
        font-size: 26px;
    }
    
    .about-content .btn {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    .wrapper h1 {
        font-size: 28px;
    }
}


@media (max-width: 480px) {
  .services h1 {
    font-size: 1.8rem;
  }
  .service-icon {
    font-size: 2rem;
    margin: 15px 0;
  }
      .explore-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}
@media (min-width: 768px) {
  .service-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .service-category {
    width: 300px;
    margin: 0;
  }
}
@media (max-width: 600px) {
  .end p {
    flex-direction: column;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .fb-icon {
    justify-content: center;
    width: 100%;
    margin: 10px 0 0 0;
  }
}