@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


:root {
    --text-nav-color: rgb(237, 247, 253);
    --text-nav-hover-color: rgb(251, 155, 66);

    --text-color: rgba(0, 0, 0, 0.883);
    --text-highlight-color: rgb(251, 155, 66);

    --background-light-color: #ffd3ad;
}

@font-face {
    font-family: "Alankaram";
    src: url("/assets/font/Alankaram.otf");
}

::-webkit-scrollbar-track {
    border: 4px solid rgb(255, 255, 255);
    background-color: #ff6600;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 111, 0, 0.779);
    border-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
}

body {
    scroll-behavior: smooth;
    -moz-osx-scroll-behavior: smooth;
    color: var(--text-color);
    /*font-family: "Nunito", "Nunito Sans", sans-serif;*/
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* overflow-y: hidden; */
}

a {

    text-decoration: none;
    color: var(--text-highlight-color);
}

a:hover {
    color: #ee7104;
}

.aanim {
    position: relative;
    text-decoration: none;
    color: #ee7104;
}

.aanim::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    /* Adjust the height of the underline */
    background-color: var(--text-highlight-color);
    transition: width 0.3s ease-in-out;
}

.aanim:hover::after {
    width: 100%;
}
/* Section hero css */
.section-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* border: 20px solid black; */
}

.hero-container video {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

.hero-container-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 16, 33, 0.341);
}

.hero-title-text {
    position: absolute;
    width: 100%;
    font-family: "Alankaram";
    text-align: center;
    font-size: 5rem;
    bottom: 20px;
    color: var(--text-nav-color);
    text-shadow: 2px 1px 3px #ee7104;
}

.hero-title-text b {
    text-shadow: 2px 1px 3px #f8e6d5;
    color: var(--text-highlight-color);
}

/* Hero video mute button */
.hero-container-video {
    position: obsolute;
    display: inline-block;
}
.mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0.3;
}

.mute-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.5;
}

.ripple-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    pointer-events: none;
}

.ripple-wave {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: ripple-wave 2s ease-out infinite;
    transform: scale(0);
    opacity: 0.5;
    bottom: 0;
    right: 0;
    width: 44px;
    height: 44px;
}

@keyframes ripple-wave {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}
/* hero video mute button ends */

/* Hero section ends */
.navbar a {
    color: var(--text-nav-color);
    font-size: medium;
    font-weight: 500;
}

.navbar a:hover {
    color: var(--text-nav-hover-color);
    font-size: medium;
    font-weight: 500;
}

.navbar-brand div {
    float: right;
    height: 100px;
    top: 3px;
}

.navbar-brand div p {
    top: 40px;
}


/*Mouse scrole*/


.scroll-downs {
    position: absolute;
    bottom: 20px;
    right: 5%;
    margin: auto;
    width: 4px;
    height: 55px;
}

.mousey {
    width: 1px;
    padding: 10px 15px;
    height: 45px;
    border: 2px solid var(--text-nav-color);
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}

.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: var(--text-highlight-color);
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15, .41, .69, .94);
    animation-iteration-count: infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
    }

    10% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* God Icon */
.section-god-icon {
    position: relative;
    background-image: url(/assets/images/thooranam-1.png);
    background-color: var(--background-light-color);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    text-align: center;
    height: auto;
    min-height: 400px;
    padding-top: 20px;
}



.god-icon-inner,
.god-icon-outer {
    position: absolute;
    top: 20%;
    right: 40%;
    width: 20%;
    height: auto;
}

.god-icon-outer {
    animation: spin 5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0);
    }
}

.god-icon-vel {
    position: absolute;
    top: 25%;
    right: 50%;
    width: 100px;
    height: 250px;
    transform: rotate(40deg);
    animation: flip 5s linear infinite;
}

@keyframes flip {
    0% {
        transform: rotate(40deg) scaleX(1);
    }

    50% {
        transform: rotate(40deg) scaleX(-1);
    }

    100% {
        transform: rotate(40deg) scaleX(1);
    }
}

.god-icon-text {
    position: absolute;
    width: 100%;
    font-size: large;
    color: #ee7104;
    bottom: 0;
    padding: 0px 20%;
    height: fit-content;
    margin-top: 20px;

}


/* Timeline */

.section-timeline {
    background-image: url('/assets/images/timeline-bg.png');
    background-size: cover;
    position: relative;
    padding: 0px 0px 100px 0px;
    z-index: 0;
}

.section-timeline::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(24, 29, 34, 0.9);
    /*rgba(0, 6, 64, 0.921);*/
    z-index: -1;
}

.section-timeline-title {
    color: aliceblue;
    font-size: xx-large;
    font-weight: 700;
    text-align: center;
    padding: 40px;
    /* text-shadow: 2px 2px 2px rgba(193, 48, 0, 0.788); */
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--text-highlight-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 15%;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 40%;
}

.timeline-container-left::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--text-highlight-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container-right::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    left: -13px;
    background-color: white;
    border: 4px solid var(--text-highlight-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container-left {
    right: -10%;
    text-align: end;
}

.timeline-container-right {
    left: 50%;
}

.timeline-container-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    opacity: 0.2;
}

.timeline-container-right::before {
    content: "";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    opacity: 0.2;
}

.timeline-content {
    padding: 20px 30px;
    font-size: 1rem;
    background-color: rgba(101, 101, 101, 0.361);
    position: relative;
    border-radius: 6px;
    color: beige;
    /* text-shadow: 2px 2px 5px var(--text-highlight-color);     */
    text-align: left;
}

.timeline-content p:first-child {
    font-style: italic;
    margin-right: 10px;
    color: #ee7104;
    font-size: 0.75rem;
    margin-bottom: 0px;;
}

.timeline-content p:first-child i {
    margin-right: 10px;
}

.timeline-content p:nth-child(2) a {
    color: #ee7104;
}
.timeline-content > .timeline-event{
    font-size: 0.9rem;
    margin-top: 0;
}
/* Gallery */

.section-gallery {
    background-image: url('/assets/images/gallery-bg.jpg');
    background-size: cover;
    position: relative;
    padding: 0px 0px 0px 0px;
    z-index: -5;
}

.section-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(24, 29, 34, 0.9);
    z-index: -6;
}

.section-gallery-title {
    color: aliceblue;
    font-size: xx-large;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    text-shadow: 2px 2px 2px rgba(193, 48, 0, 0.788);
}

.gallery {
    overflow: hidden;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    margin-top: 150px;
}

#gallery-scroller {
    overflow: hidden;
    display: block;
    padding: 0;
    width: 1000%;
}

#gallery-scroller li {
    padding-right: 10px;
    display: inline-block;
    display: inline;
}

#gallery-scroller img {
    width: 400px;
    height: 300px;
    /* width: 3%;
     height: 300px; 
    aspect-ratio: 2/2;*/
}

.title {
    display: block;
    width: 100%;
    height: 38px;
    line-height: 38px;
    color: white;
    font-weight: bold;
    text-align: center;
    background: #ddd;
}

/* Lenis css */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

footer {

    background-color: var(--background-light-color);
    height: fit-content;
    opacity: 1;
    overflow: hidden;
}
.footerrow{
    display: flex;
    flex-direction: row;
}

.footer-address-container {
    padding-top: 50px;
}

.footer-rights {
    color: var(--text-highlight-color);
}

.footer-logo {
    height: 80px;
    width: 100px;
}

.footer-address b {
    color: var(--text-highlight-color);
}

.footer-address .icon {
    margin-right: 10px;
}

@media (max-width: 600px) {

    footer .footer-contact {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

.btn-subscribe {
    background-color: var(--text-highlight-color);
    color: white;
}

@media (max-width: 1024px) {
    .hero-title-text {
        font-size: 50px;
    }

    .timeline-container {
        width: 50%;
    }

    .timeline-container-left {
        right: 0%;
    }

    .section-god-icon {
        background-size: cover;

    }
}


/* Other pages hero section */

.section-hero-op {
    position: relative;
    width: 100%;
    height: 60vh;
}

.hero-container-img img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Other Page Header */
.section-hero-op:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 16, 33, 0.737);
}

.hero-title-text-op {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 80px;
    bottom: 120px;
    left: 0;
    color: var(--text-nav-color);
    text-shadow: 2px 1px 3px #ee7104;
}

.navbar a {
    color: var(--text-nav-color);
    font-size: medium;
    font-weight: 500;
}

.navbar a:hover {
    color: var(--text-nav-hover-color);
    font-size: medium;
    font-weight: 500;
}

.navbar-brand div {
    float: right;
    height: 100px;
    top: 3px;
}

.navbar-brand div p {
    top: 40px;
}

/* Contact page styles */

.contact-icon {
    display: flex;
    justify-content: space-around;
    position: relative;
    top: -100px;
    padding: 50px 0;
    width: 100%;
    height: 350px;
    background: transparent;
    /* border: 2px solid orangered; */
}

.icon-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: top;
    text-align: center;
    align-items: center;
    min-width: 300px;
    background-color: #ecf5f8;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(109, 141, 151, 0.659);
    box-shadow: 2px 2px 10px 5px rgba(67, 87, 93, 0.373);
}

/* @property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.icon-item::after,
.icon-item::before {

    content: '';
    position: absolute;
    width: 101%;
    height: 101%;
    background-image: conic-gradient(from var(--angle), rgb(255, 157, 112), rgb(255, 157, 112),rgb(247, 96, 26));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    padding: 2px;
    border-radius: 20px;
    z-index: -1;
    animation: 3s spin linear infinite;
}

.icon-item::before {
    filter: blur(5px);
    opacity: 1;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
} */

.contact-icon .icon-item img {
    width: 50px;
    height: 50px;
}

.contact-icon .icon-item p {
    font-family: "ubuntu";
    color: #656363;
    font-size: large;
    font-weight: 400;
    padding: 10px 0px;

}

.icon-item div {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 5px;
    justify-content: space-around;
    align-items: center;
    font-size: xx-large;
}

@media (max-width: 940px) {

    .contact-icon {
        top: 0px;
        flex-direction: column;
        min-height: 100vh;
        gap: 15px;
        padding: 10px 30px;
    }
}

.contact-map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    top: -100px;
    padding: 10px 10px;
    width: 100%;
    height: 100;
    background: transparent;
}


.contact-map div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px 0px;
    padding: 10px 10px;
    width: 100%;
    height: 500px;
    background: transparent;
    height: 100vh;
}

.contact-map div h4 {
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 5px rgb(127, 139, 151);
}

.contact-map div iframe {
    width: 100%;
    height: 80%;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 52, 76, 0.175);
}

@media (max-width: 940px) {
    .contact-map {
        top: 100px;
        min-height: 2000px;
        padding: 20px 20px;
    }
}


/* Gallery Css*/
/*.gallery-sec {
    padding: 20px;
    margin-bottom: 20px;
}
  
  #gallery {
    display: grid;
    height: calc(100vh - 10px);
    grid-template: repeat(6, 1fr)/repeat(6, 1fr);
    grid-gap: 0.5em;
    margin-bottom: 20px;
  }
  @media (max-width: 800px) {
    #gallery {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      flex-wrap: wrap;
      justify-content: center;
      flex-basis: content;
      overflow-x: scroll;
      max-height: fit-content;

    }
    #gallery > div {
      width: 48%;
      margin: 1%;
    }
  }
  @media (max-width: 800px) and (max-width: 350px) {
    #gallery > div {
      width: 98%;
    }
  }
  #gallery > div:nth-child(6n+1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  #gallery > div:nth-child(2) {
    grid-column: span 3;
    grid-row: span 3;
  }
  #gallery > div:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
  }
  #gallery > div > a {
    opacity: 0;
    position: absolute;
    color: #000;
    background-color: #000;
    font: bold 4em "Helvetica";
    text-shadow: 0 -1px 5px #fff, -1px 0px 5px #fff, 0 1px 5px #fff, 1px 0px 5px #fff;
    padding: 2rem;
    mix-blend-mode: difference;
    width: 100%;
    height: 100%;
    transition: all ease 1s;
  }
  #gallery > div > img {
    width: 100%;
    min-height: 100%;
    transition: all ease 1s;
  }
  #gallery > div:hover img {
    filter: blur(4px);
  }
  #gallery > div:hover a {
    opacity: 1;
  }
  #gallery > div {
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 20px 0 rgba(0, 0, 0, 0.19);
  }
  #gallery div,
  #gallery a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  
  [id^=lightbox-] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    opacity: 0;
    transition: opacity 450ms ease-in-out;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  [id^=lightbox-]:target {
    opacity: 1;
    pointer-events: inherit;
  }
  [id^=lightbox-]:target img {
    filter: blur(0);
  }
  [id^=lightbox-] .content {
    max-width: 90%;
    position: relative;
    color: #fff;
  }
  [id^=lightbox-] .content:hover > a.close {
    opacity: 1;
    transform: scale(1, 1);
  }
  [id^=lightbox-] .content:hover > .title {
    opacity: 1;
    transform: translateY(-3px);
  }
  [id^=lightbox-] .content:hover > .title::after {
    opacity: 1;
  }
  [id^=lightbox-] .content > * {
    transition: all 450ms ease-in-out;
  }
  [id^=lightbox-] .title {
    display: block;
    margin: 0;
    padding: 1em;
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateY(50%);
    font-size: 1.5em;
    opacity: 0;
  }
  [id^=lightbox-] .title::after {
    content: " ";
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all 350ms ease-in-out 250ms;
    opacity: 0;
    transform-origin: bottom;
    mix-blend-mode: soft-light;
  }
  [id^=lightbox-] img {
    max-height: 90vh;
    max-width: 100%;
    margin: 0;
    padding: 0;
    filter: blur(50px);
  }
  [id^=lightbox-] a.close {
    width: 2em;
    height: 2em;
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0, 0);
    opacity: 0;
    transform-origin: right top;
    text-decoration: none;
    color: #fff;
  }
  [id^=lightbox-] a.close::after {
    content: "X";
  } */

.gallery-sec {
    padding: 20px;
    margin-bottom: 20px;
}

#gallery {
    display: grid;
    height: calc(100vh - 10px);
    grid-template: repeat(6, 1fr) / repeat(6, 1fr);
    grid-gap: 0.5em;
    margin-bottom: 20px;
}

@media (max-width: 800px) {
    #gallery {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        flex-basis: content;
        overflow-x: scroll;
        max-height: fit-content;
    }

    #gallery>div {
        width: 48%;
        margin: 1%;
    }
}

@media (max-width: 350px) {
    #gallery>div {
        width: 98%;
    }
}

#gallery>div:nth-child(6n+1) {
    grid-column: span 2;
    grid-row: span 2;
}

#gallery>div:nth-child(2) {
    grid-column: span 3;
    grid-row: span 3;
}

#gallery>div:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
}

#gallery>div>a {
    opacity: 0;
    position: absolute;
    color: #000;
    background-color: #000;
    font: bold 4em "Helvetica";
    text-shadow: 0 -1px 5px #fff, -1px 0px 5px #fff, 0 1px 5px #fff, 1px 0px 5px #fff;
    padding: 2rem;
    mix-blend-mode: difference;
    width: 100%;
    height: 100%;
    transition: all ease 1s;
}

#gallery>div>img {
    width: 100%;
    min-height: 100%;
    transition: all ease 1s;
}

#gallery>div:hover img {
    filter: blur(4px);
}

#gallery>div:hover a {
    opacity: 1;
}

#gallery>div {
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 20px 0 rgba(0, 0, 0, 0.19);
}

#gallery div,
#gallery a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}