@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;600;700&display=swap');

:root{

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #0d0d0d;/* button bg color*/

    --primary-text-color: #ffffff;
    --link-hover: #d4af37;
    --footer-link-hover: #d4af37;
    --input-focus-bd-color: #d4af37;
    --primary-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    --secondary-gradient: linear-gradient(135deg, #f4c430 0%, #c9a528 100%);
    --bg-dark: #070B2B;
    --bg-darker: #070B2B;
}


html {
    scroll-behavior: smooth;
    font-family: "Inter", "Roboto", sans-serif;
}

body {
    background: #070B2B !important;
    color: var(--primary-text-color) !important;
}

section {
    background: #070B2B !important;
    color: var(--primary-text-color);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background: #070B2B !important;
    color: var(--primary-text-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #070B2B !important;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.gradient-orb:nth-child(2) {
    animation-delay: 5s;
}

.gradient-orb:nth-child(3) {
    animation-delay: 10s;
}

/* Parallax Effect for Images */
.parallax-image {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

header{
    backdrop-filter: blur(10px);
    background: rgba(7, 11, 43, 0.95);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    overflow: visible !important;
}

header.scrolled {
    background: rgba(7, 11, 43, 0.98);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}


header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

header .collapsible-header a {
    color: var(--primary-text-color) !important;
}

.animated-collapse{
    transition: width 0.3s ease;
}

.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 10px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.header-links::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-links:hover {
    color: var(--link-hover);
    transform: translateY(-2px);
}

.header-links:hover::after {
    width: 80%;
}

.material-icons.md-40 { 
    font-size: 40px; 
}

.primary-text-color{
    color: var(--primary-text-color);
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 25px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn:hover{

}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 25px;
    /* outline: none; */
    min-width: 100px;
    border: 2px solid #818080;
    transition: border 0.3s;
}

.input:active, .input:focus, .input:focus-within{
    border: 2px solid var(--input-focus-bd-color);
}

.input-error{
    border-bottom: 3px solid #ff1e1e;
}

.input-error:focus-within{
    border-bottom: 3px solid #fd0101;
}


/* Navigation dots styling */
.dots-container {
    text-align: center;
    margin-top: 20px;
}

footer {
    background: #070B2B !important;
    color: var(--primary-text-color) !important;
}

footer * {
    color: var(--primary-text-color) !important;
}

.footer-link{
    color: var(--primary-text-color) !important;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover{
    color: var(--link-hover) !important;
    transform: translateX(5px);
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-hero-text:nth-child(1) {
    animation-delay: 0.2s;
}

.reveal-hero-text:nth-child(2) {
    animation-delay: 0.4s;
}

.reveal-hero-text:nth-child(3) {
    animation-delay: 0.6s;
}

.reveal-hero-img {
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s ease forwards;
    animation-delay: 0.8s;
}

/* Ensure hero images don't get parallax */
.hero-section img {
    transform: none !important;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Feature Card Enhancements */
section img {
    transition: transform 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

section:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

/* Feature Section Cards */
#functions .tw-flex.tw-h-\\[450px\\] {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#functions .tw-flex.tw-h-\\[450px\\]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#functions .tw-flex.tw-h-\\[450px\\]:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#functions .tw-flex.tw-h-\\[450px\\]:hover::before {
    opacity: 1;
}

/* Phone Image Container Enhancement */
.tw-relative.tw-flex.tw-max-h-\\[580px\\] {
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.3));
}

#hero-img-bg {
    background: #f5f5f5 !important;
    animation: none;
}

/* Feature Section Text */
#features h3,
#features h4,
#features span,
#features p {
    color: var(--primary-text-color) !important;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, 0) scale(1.1);
        opacity: 0.8;
    }
}

/* Section Background Enhancements */
section {
    position: relative;
}

#functions h3,
#functions h2,
#functions p {
    color: #000 !important;
}

/* Fix icon colors in function cards */
#functions .material-icons {
    color: #d4af37 !important;
}

#functions .tw-bg-white {
    background-color: #ffffff !important;
}

#features::before,
#features + section::before,
#features + section + section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

#features::before {
    background: var(--primary-gradient);
    top: 10%;
    right: 10%;
    opacity: 0.08 !important;
}

#features + section::before {
    background: var(--secondary-gradient);
    bottom: 10%;
    left: 10%;
    opacity: 0.08 !important;
}

#features + section + section::before {
    background: var(--primary-gradient);
    top: 20%;
    right: 5%;
    opacity: 0.08 !important;
}

/* Download Button Enhancement */
header a[href*="play.google.com"] {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
    border: none !important;
    overflow: visible !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

header a[href*="play.google.com"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
}

header a[href*="play.google.com"] span {
    color: #000 !important;
    font-weight: 600;
}

header a[href*="play.google.com"] .bi-download {
    color: #000 !important;
}

/* Timelines Button Styling */
.timelines-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timelines-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.timelines-button i {
    font-size: 1.1rem;
}

/* Collapse button styling */
#collapse-btn {
    color: var(--primary-text-color) !important;
}


.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-card{
    box-shadow: 0px 2px 4px #757474a0;
    border-radius: 15px;
    /* width: 200px; */
    /* height: 550px; */
    padding: 10px;
}

/* --------- collapsible div ---------- */
.collapsible {
    background-color: #f3f0f0;
    color: #2b2929;
    /* cursor: pointer; */
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

/* Style for the collapsible content */
.content {
    padding: 0 18px;
    /* display: none; */
    height: 0px;
    overflow: hidden;
    background-color: transparent;
    transition: height 0.5s;
    text-align: justify;
    margin-top: 10px;
}

.collapsible .active,
.collapsible:hover {
    /* background-color: #dedddd; */
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background-color: #070B2B;
        color: var(--primary-text-color);
        overflow-y: auto;
        box-shadow: 2px 0px 3px rgba(212, 175, 55, 0.3);
    }

    .header-links{
        color: var(--primary-text-color) !important;
    }
    
}