* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --h1-font-size: 5.6rem;
    --h2-font-size: 4rem;
    --h3-font-size: 3.2rem;
    --h4-font-size: 2.4rem;
    --h5-font-size: 2rem;
    --h6-font-size: 1.6rem;
    --services-background-image-display:none;
}

/* global media queries for tablets */
@media screen and (max-width:768px) {
    :root {
        --h1-font-size: 4.8rem;
        --h2-font-size: 3.6rem;
        --h3-font-size: 2.8rem;
        --h4-font-size: 2.4rem;
        --h5-font-size: 2rem;
        --h6-font-size: 1.6rem;
    }
}

/* global media queries for mobile devices */
@media screen and (max-width:480px) {
    :root {
        --h1-font-size: 4rem;
        --h2-font-size: 3.2rem;
        --h3-font-size: 2.8rem;
        --h4-font-size: 2.4rem;
        --h5-font-size: 2rem;
        --h6-font-size: 1.6rem;
    }
}

.h1-header {
    font-size: var(--h1-font-size);
    font-weight: bold;
}

.h2-header {
    font-size: var(--h2-font-size);
    font-weight: bold;
}

.h3-header {
    font-size: var(--h3-font-size);
    font-weight: bold;
}

.h4-header {
    font-size: var(--h4-font-size);
    font-weight: bold;
}

.h5-header {
    font-size: var(--h5-font-size);
    font-weight: bold;
}

.h6-header {
    font-size: var(--h6-font-size);
    font-weight: bold;
}

a {
    text-decoration: none;
    color: inherit;
}

input, textarea, button, select {
    font: inherit;
}

button {
    cursor: pointer;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Philosopher", sans-serif;
    font-size: 1.6rem;
}

ul.list-unstyled li:hover {
    color: #FF6F00;
}

/* hero section css start */

#hero-section {
    height: 80vh;
    background-image: url(../images/astrology-banner-e1713334682413.jpg);
    background-size:cover;
    background-position: top;
    background-repeat: no-repeat;
    color: #fff;
    font-weight: 600;
}

#header-container {
    z-index: 10;
    transition: all 0.2s;
}

.normal-header {
    position: initial;
    top: initial;
    left: initial;
    width: initial;
    background-color: initial;
    color: #fff;
}

.fixed-header {
    position : fixed;
    top : 0;
    left: 0;
    width: 100%;
    background-color : #fff;
    color: #000;
}

/* #know-your-rashi-btn:hover {
    background-color: #FF6F00;
    color: #fff;
} */

.normal-know-your-rashi-btn {
    background-color: #fff;
    color: #000;
    transition: .5s;
}

.normal-know-your-rashi-btn:hover {
    background-color: #FF6F00;
    color: #fff;
}

.fixed-know-your-rashi-btn {
    background-color: #FF6F00;
    color: #fff;
}

.fixed-know-your-rashi-btn:hover {
    background-color: #234a64;
}

#hero-header {
    transition: all 1s;
}

#hero-left,#hero-right {
    height: calc(70vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero-left {
    gap: 1rem;
}

.contact-us-btn {
    width: 150px;
    border: 0;
    background-color: #FF6F00;
    color: #fff;
    padding: 1rem;
    border-radius: 5rem;
    text-align: center;
}

#header-logo {
    width: 120px;
}

#header-logo img {
    width: 100%;
}

#hero-container {
    display: flex;
}

#header-navigation li {
    padding: 2.3rem;
    font-size: 18px;
}

#header-navigation li:nth-child(1) a{
    border-bottom: 2px solid #FF6F00;
}

#header-navigation li a:hover { 
    border-bottom: 2px solid #FF6F00;
    cursor: pointer;
}

#astro-banner-hand-container {
    position: relative;
}

#astro-banner-hand-img {
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(350deg);
    }
}

@media screen and (max-width:768px){
    #hero-section {
        height: 120vh;
    }
    
    #hero-container {
        flex-direction: column;
    }
    
    #hero-left,#hero-right{
        width: 100%;
    }
    
    #hero-left{
        height: 50vh;
    }
    
    #hero-right {
        height: initial;
    }
}

/* hero section css end */


/* choose zodaic sign css start  */

.zodiac-signs {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    background-color: #234A64;
    color: #fff;
    width: 300px;
    height: 100px;
    clip-path: polygon(25% 0%, 75% 0%, 89% 50%, 75% 100%, 25% 100%, 13% 50%);
    transition: background-color 0.5s;
}

.zodiac-signs:hover {
    background-color: #FF6F00;
}

.zodaic-rotate-img {
    animation: spin 10s linear infinite;
}

@media screen and (min-width: 992px) {
    .position-lg-absolute {
        position: absolute;
    }
}

/* choose zodaic sign css end */


/* services section css start */

#services-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(2,1fr);
    gap: 2rem;
    padding: 1rem;
    overflow: hidden;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3.8rem;
    text-align: center;
    box-shadow: 0 0 20px rgba(232, 228, 228, 0.5);
    /* border: 1px solid black; */
    border-radius: 1rem;
}

.service:hover {
    background-color: #f97c1d;
    --services-background-image-display:block;
}

.service img {
    width: 80px;
}

.service .zodaic-rotate-img {
    position: absolute;
    top: 25%;
    width: 50%;
    display: var(--services-background-image-display);
    /* z-index: -1; */
}

@media screen and (max-width: 992px) {
    #services-container {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,1fr);
    }
}

@media screen and (max-width: 768px) {
    #services-container {
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(6,1fr);
    }
}

/* services section css end */


/* reviews section css start */

#hide {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
    height: 50px;
    background-color: transparent;
    background-color: white;
}

#hide a {
    background-color: #4285F4;
    color: #fff;
    border: none;
    border-radius: 1rem;
    /* box-shadow: 5px 5px 0px rgba(0, 0, 0); */
    padding: 1rem;
    transition: box-shadow 0.5s;
}

#hide a:hover {
    box-shadow: none;
}

/* reviews section css end */

/*Panchang css start*/

.trow {
    display: flex;
    margin-bottom: 10px;
    padding: 5px;
    width: 85%;
}

.trow:nth-child(even) {
    background-color: #ff7010;
    color: white;
    font-weight: bold;
}

.trow:nth-child(odd) {
    background-color: white;
    color: black;
    font-weight: bold;
}

.alignL {
    flex: 1;
    font-weight: bold;
}

.alignR {
    flex: 1;
}

/*Panchang css end*/


/* popup css start */
#message-circle {
    transition: transform 0.5s,opacity 0.1s;
}

#x-rotate {
    opacity: 0;
    transition: transform 0.5s,opacity 1s ,scale 3s;
    transform-origin: center center;
}

/* footer css start */

/* footer {
    background-image: url(assets/images/bg5-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding-top: 10rem;
} 

footer h3 {
    color: #FF6F00;
}

#footer-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 3rem;
    padding: 3rem 1rem;
}

#footer-left,#footer-right {
    display: flex;
    gap: 1rem;
}

@media screen and (max-width:768px){
    #footer-container {
        grid-template-columns: repeat(1,1fr);
    }
}

@media screen and (max-width:480px){
    #footer-left,#footer-right {
        flex-direction: column;
    }
} */

/* footer css end */