* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: federo, serif;
}
html{
    overflow-x: hidden;
    min-height: 100vh !important;
}
body {
    top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh !important;
    width: 100vw;
    background-color: rgb(255, 255, 255);
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    z-index: 1000;
}
.social-icons{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px;
}
.social-icons a{
    text-decoration: none;
    color:  black;
    transition: transform 5ms ease-in-out;
}
.social-icons a:hover{
    color:  #7C3AED;
    transform: scale(1.1);
}
.goog-te-gadget-simple img{
    display: none;
}
.skiptranslate iframe{
    display: none;
}
.skiptranslate span {
    color: black;
}

/*  top header css ends*/

.navbar{
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    width: 80%;
    height: 100px;
    border-radius: 100px;

    box-shadow: 0 10px 30px rgba(11, 219, 198, 0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 1001;
}
@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}
.navbar:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.logo{
    padding: 5px;
}
.logo img{
    width: 250px;
    
}
.content{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding:5px;
}
.content a{
    text-decoration: none;
    position: relative;
    cursor: pointer;
    color: #ac16e7;
    
}
.content a::after{
    margin-top: 3px;
    position: absolute;
    content: "";
    width: 0;
    background-color: #ac16e7;
    height: 3px;
    bottom: -2px;
    left: 0;
    border-radius: 3px;
    transition: 0.2s ease-in-out;
}
.content a:hover::after{
    width: 100%;
    
}
.hamburger{
    display: none;
}
.close{
    display: none;
}
.content.active{
    display: flex;
    position: absolute;
    top: 101px;
    width: 70%;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.section-1{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.544) 10%, #8B5CF6 25%, #7C3AED 40%, #5B21B6 55%, #4C1D95 70%, #1E1B4B 85%, #0F172A 100%);      
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.spline-veiwer{
    position: absolute;
    height: 100vh;
    width: 100%;
    pointer-events: auto;
    cursor: pointer;
}
.spline-veiwer #logo{
    display: none !important;
}
.hero-text{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: center;
    width: 50%;
    will-change: transform;
}
.hero-text h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
    pointer-events: none;
}
.hero-text .highlight {
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}
.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: max-content;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}
.section-2{
    min-height: 70vh;
    width: 100%;
    z-index: 2;
    position: relative;
    padding: 1%;
}
.section-3{
    height: 80vh;
    width: 100%;
    z-index: 2;
    background: white;
    padding: 1%;
}
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.section-3-inside {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    
}
.section-3 h1{
    width: fit-content;
    font-size: 2rem;
    margin: 20px;
    background: linear-gradient(90deg, #ffd700 10%,#ff6b6b 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-card {
    flex: 0 0 250px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    min-height: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-button {
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

.nav-button:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}
.section-4{
    min-height: 100vh;
    width: 100%;
  background: radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.544) 10%, #8B5CF6 25%, #7C3AED 40%, #5B21B6 55%, #4C1D95 70%, #1E1B4B 85%, #0F172A 100%);
   padding: 1%;
}
.section-4-inside{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1%;
    gap: 30px;
}
.birthchart-picture{
    width: 200px;
    height: 200px;
}
.birthchart-picture img{
    width: 100%;
    height: 100%;
}
.about-birthchart-generator{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 500px;
    gap: 10px;
    ;
}
.about-birthchart-generator h1{
    margin: 0 !important;
    width: fit-content;
    font-size: 1.9rem;
    margin: 20px;
    background: linear-gradient(90deg, #ffd700 10%,#ff6b6b 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-birthchart-generator p{
    text-align: justify;
    color: white;
}
.services{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 1%;
}
.service {
    background: #1e1e2f;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    width: 250px;
    height: 350px;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}
.zodiac-icon img {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
}

.service h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.cta-button {
    background: #ffd700;
    color: #1e1e2f;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #ffb300;
}

.section-5{
    height: 100vh;
    width: 100%;
    background-color: #f0f0f0;
    padding: 1%;
}
.about{
    width: 100%;
    position: relative;
}
.astrosatyaki-picture{
    position: absolute;
    left: 40px;
    top: 10px;
    width: 500px;
    height: 280px;
    z-index: 45;
    background-color: #ffffff;
    padding: 3px;
}
.astrosatyaki-picture img{
    width: 100%;
    height: 100%;
}
.astrosatyaki-picture-background{
    position: absolute;
    left: 10px;
    top: 20px;
    width: 500px;
    height: 300px;
    background-color: #5B21B6;
    z-index: 44;
}
.about-astrosatyaki h1{
    width: fit-content;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ffd700 10%,#ff6b6b 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-astrosatyaki{
    position: absolute;
    top: 350px;
    left: 100px;
    width: 80%;
    text-align: justify;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-astrosatyaki p{
    font-size: 1.2rem;
}
.footer{
    min-height: 30vh;
    width: 100%;
    background: radial-gradient(ellipse at top left,  #8B5CF6 25%, #7C3AED 40%, #5B21B6 55%, #4C1D95 70%, #1E1B4B 85%, #0F172A 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.designed-by{
    padding: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 10px;
}
.links{
    width: 100%;
    padding: 1%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.credits{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    color: white;
}
.credits span {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.credits span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    width: 100%;
    transition: width 0.3s ease;
}
.credits a{
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: white;
}
.credits a::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}
.credits a:hover::after{
    width: 100%;
}
.social-icons span{
    display: none;
}
.social-icons a::after{
    background-color: transparent;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.6);
    z-index: 999;
}

/* Main modal */
.modal {
    display: none;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 1000;
    background: rgba(75, 0, 130, 0.9); /* luxury purple */
    color: white;
    padding: 30px;
    border-radius: 20px;
    width: 420px;
    max-width: 95%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease-in-out;
}

/* When active */
.modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Close button */
.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: transform 0.2s;
}
.close-button:hover {
    transform: rotate(90deg);
}

/* Inputs */
.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.modal form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 0.95rem;
}
.modal form input::placeholder {
    color: #ddd;
}

/* Checkbox section */
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}
.check input {
    width: 16px;
    height: 16px;
}
.check a {
    color: #FFD700; /* gold accent */
    text-decoration: underline;
}

/* Pay Button */
.pay-btn {
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #9b30ff, #6a0dad);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 25px rgba(155, 48, 255, 0.4);
}
.pay-btn:hover {
    background: linear-gradient(135deg, #6a0dad, #9b30ff);
    transform: translateY(-2px);
}
@media screen and (max-width:500px){
    .modal {
        width: 90%;
        padding: 20px;
    }
    .astrosatyaki-picture{
        width: 80%;
        height: auto;
    }
    .astrosatyaki-picture-background{
        width: 80%;
        height: 180px;
    }
    .section-5{
        height: 140vh;
    }
    .about-astrosatyaki{
        width: 90% !important;
        left:10px;
        top: 208px;
    }
    .designed-by{
        flex-direction: column;
    }
    .links{
        flex-wrap: wrap;
    }
    .logo img{
        width: 175px;
    }
    .navbar{
        flex-direction: row;
        gap: 30px;
    }
    .content{
        display: none;
    }
    .hamburger{
        display: flex;
        width: 20px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: end;
    }
    .list{
        width: 100%;
        height: 2px;
        background-color: #13274F;
    }
    .hero-text{
        margin-top: 50px ;
        width: 100% !important;
        padding: 10px;
    }
    .hero-text h1{
        font-size: 2.5rem;
    }
    .container h1{
        font-size: 2rem !important;
    }
    .section-4-inside{
        flex-direction: column;
    }
    .about-birthchart-generator{
        width: 90% !important;
    }
    .about-birthchart-generator h1{
        font-size: 1.5rem;
    }


}