/* Styles for govind.akagrow.com*/
/* Root Variables */
:root {
    --brand-color: #490e45;
    --purple-accent: #6237cf;
    --gradient-primary: linear-gradient(135deg, #490e45 0%, #490e45 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 68, 173, 0.1), 0 2px 4px -1px rgba(0, 68, 173, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 68, 173, 0.1), 0 4px 6px -2px rgba(0, 68, 173, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 68, 173, 0.1), 0 10px 10px -5px rgba(0, 68, 173, 0.04);
}

html {
    scroll-behavior: smooth; /* For smooth scrolling on supported browsers */
}

header.sticky {
    position: sticky; /* Fallback for browsers without fixed support */
    top: 0;
}
  
/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Ubuntu, Roboto, Oxygen, Cantarell, sans-serif;
}

/* Body and overall styling */
body {
    /* scroll-behavior: smooth; /* For smooth scrolling on supported browsers */
   /* background-color: #fff;
    color: #333;
    line-height: 1.6;
    font-size: 1rem; Base font-size for rem calculations */
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Arial', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header styling */
header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: top 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img{
    width: 3.5rem;
}

header .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3rem;
}

header .logo-name {
    display: flex;
    font-size: 1.5rem;
    font-weight: bold;
    flex-basis: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}

header .logo-subtext {
    font-size: 0.8rem;
    font-weight: 400;
    color: #f9f9f9;
    text-align: justify;
}

/* Navigation styling */
header nav {
    flex-basis: 100%;
    text-align: center;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
    animation: fadeIn 1s ease-in-out;
}

header nav ul li {
    margin: 0.25rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.17rem 0.5rem;
    border-radius: 0.5625rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    background-color: #ffd460;
    color: #490e45;
}

/* Burger menu styling */
.burger-menu {
    display: none;
    position: absolute;
    cursor: pointer;
    flex-direction: column;
    right: 1rem;
    justify-content: space-between;
    width: 1.875rem;
    height: 1rem;
    transition: transform 0.3s ease-in-out;
}

.burger-menu div {
    width: 100%;
    height: 0.27rem;
    background-color: #fff;
    border-radius: 0.18rem;
    transition: transform 0.3s ease-in-out;
}

/* Morphing effect */
.burger-menu.toggle .radhe {
    transform: translateY(0.36rem) rotate(45deg);
}

.burger-menu.toggle .shyam {
    transform: translateY(-0.36rem) rotate(-45deg);
}

/* Hero section styling */
.hero {
    position: relative; 
    color: #fff;
    text-align: center;
    padding: 8rem 3rem 5rem;
    transition: background 0.3s ease;
    animation: fadeInDown 1s ease-in-out;
    background: var(--gradient-primary);
    overflow: hidden;
    height: 100%;
}
.hero::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 8rem 3rem 5rem;
    transition: background 0.3s ease;
    animation: fadeInDown 1s ease-in-out;
    overflow: hidden;
    height: 100vh;
}

.hero-video {
    position: absolute;
    margin-top: 8rem;
    top: 40%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.sp{
    display: inline-flex;
    flex-direction: column;
}
.sp img{
    width: 70px;
    margin: auto;
}
.sp .sp-text{
    font-size: 1rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.125rem;
    transition: transform 0.3s ease;
}

.hero p {
    font-size: 1.25rem;
    max-width: 85%;
    margin: -1rem auto 1rem;
    transition: opacity 0.3s ease;
}

.hero .cta {
    z-index: 1;
    display: inline-block;
    background-color: #FFD460; /* Yellow CTA button */
    color: #333;
    padding: 0.6rem 1.875rem;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 1.125rem;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease, transform 0.3s ease;
}

.hero .cta:hover {
    background-color: #f8e1ff;
    transform: translateY(-9%);
}

@media (max-width: 768px) {

    .hero{
        padding: 6rem 1rem 3rem ;
    }
    .hero h2{
     font-size: 2rem;
    }
 
    .hero .p{
     font-size: 1rem;
     max-width: 100%;
    }

    .hero-content{
        margin-top: 0rem;
    }
    .hero-video{
        top: 35%;
        right:50%;
    }
}

/* Benefits Section */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
#benefits {
    background-color: #faf9fd;
    padding: 4rem 3% 1rem;
}

#benefits h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width:900px)
{
    .benefits-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }
}


.benefit-item {
    text-align: center;
}

.benefit-item .icon-container {margin: 2rem auto;}
.benefit-item p {font-size: 1rem; color: #333; margin: 0 0 1rem;}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    color: var(--brand-color);
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    border-radius: 50%;
}

.icon-container img {
    width: 100%;
    height: 100%;
}

/* Footer styling */
footer {
    background-color: #490e45; /* Solid blue background */
    color: #fff;
    text-align: center;
    padding: 1.25rem 0;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}
footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    text-decoration: underline;
}

.h2{
    font-size: 1.8rem;
    font-weight: 700;
    color: navy;
    margin: 1.7rem;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 2.9rem;
    margin: 0;
}

/* Media Queries */
@media (max-width: 900px) {
    .burger-menu {
        display: flex;
        right: 1rem; /* Adjusted for better alignment */
    }

    .nav-links {
        margin: 1% 0 auto;
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #f9f9f9;
        position: absolute;
        right: 4%;
        width: 92%;
        border-radius: 1rem;
        padding: 1rem;
    }
    .nav-links a{
        color: #490e45;
        font-weight: 600;
    }

    .nav-links.active {
        display: flex;
    }
}

@media (min-width: 768px) {
    header .logo h1 {
        flex-basis: auto;
        text-align: left;
    }

    header nav {
        flex-basis: auto;
        text-align: right;
    }
}

.general-container {
    max-width: 95%;
    margin: 2rem auto;
    padding: 3rem;
    background-color: #fff;
    border-radius: 0.9rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
}

.general-container h1 {
    text-align: center;
    font-size: 2rem;
    color: #490e45;
}   

.general-container h2 {
    margin-top: 2rem;
    color: #490e45;
}

.general-container strong{
    color: #773473;
}

.cta {
    margin: .3rem;
    background-color: #FFD460; /* Yellow CTA button */
    color: #333;
    padding: 0.625rem 1.5625rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 0.9rem;
    transition: all 0.3s ease, color 0.3s ease;
    border-style: none;
}

#benefits .cta {
    display: block;
    margin: auto;
    margin-bottom: 3rem;
    text-align: center;
    width: 80%;
}

.cta:hover {
    background-color: #f8e1ff;
    transform: translateY(-9%);
}

/* Contact Us Page */

.contact-header {
    background-color: #490e45 ;
    padding: 2rem ;
    text-align: center ;
    color: #fff;
}

.contact-header h1 {
    font-size: 3rem;
    margin: 0;
}

.contact-us {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.contact-us h2 {
    font-size: 1.5rem;
    color: #490e45;
    margin-bottom: .7rem;
    
}

.contact-us p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.7rem;
    padding: 0 2rem;
    text-align: center;
}

/* Info Section */
.contact-info {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.info-box {
    background-color:#f9f9f9; 
    padding: 1rem;
    border-radius: 12px;
    width: 30%;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 4, 61, 0.1);
    transition: transform 0.2s ease;
}

.info-box a{
    text-decoration: none;
    color: #333;
}
.info-box a:hover{
    text-decoration: underline;
}

@media (max-width:768px){
    .info-box{
        width: 80%;
    }
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #490e45;
}

.info-box p {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Social Icon Size 48px */
.social-link-img{width:48px;}

/*Quiz*/
.quiz{
    --brand-color:#490e45;
    --primary-color: #490e45;
    --background-primary: #f8fafc;
    --background-secondary: #f1f5f9;
    --text-primary: #490e45;
    --text-secondary: #334155;
    --white: #ffffff;

    /* Sophisticated Gradient */
    --gradient-primary: linear-gradient(135deg, #490e45 0%, #fcbb45 100%);
    
    /* Enhanced Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-hard: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    background: #faf9fd;
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 1rem;
    line-height: 1.5;
}
.quiz-container {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: var(--shadow-hard);
    width: 100%;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 3px solid #490e45;
    transition: transform 0.3s ease;
}

.quiz-container:hover {
    transform: translateY(-5px);
}

.quiz-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.options {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
}

.option {
    background: var(--background-secondary);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.option:hover {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-color);
}

.option.selected {
    background: #fcbb45;
    border-color: var(--primary-color);
}

.navigation {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.navigation .prev-btn {
    margin-right: auto; /* Pushes the previous button to the left */
}

.navigation .next-btn {
    margin-left: auto; /* Pushes the next button to the right */
}

.btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn:disabled {
    background: #f8e1ff;
    cursor: not-allowed;
    transform: none;
}

.result h2 {
    font-size: clamp(1.7rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.7rem;
}

.result-score {
    font-size: clamp(1.7rem, 5vw, 3rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plans-button {
    background: #f26720;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.35rem;
    border-radius: 9px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.plans-button:hover {
    transform: translateY(-9%);
}

@media (max-width: 600px) {
    .quiz-container {
        padding: 2rem;
        margin: 1rem 0;
        border: solid 0.5rem #490e45;
    }

    .quiz{padding: 1rem;}

    .quiz h1{
        font-size: 1.35rem;
    }

    .quiz h2{
        font-size: 1.25rem;
    }
    
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

.faq-title {
    text-align: center;
    color: #490e45;
    margin-bottom: 40px;
    font-size: 2.25rem;
    font-weight: 700;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #faf9fd;
}

.faq-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-arrow.active {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #faf9fd;
    color: #4a5568;
    line-height: 1.6;
}

.faq-answer-content {
    padding: 20px;
}

.contact-section {
    text-align: center;
    margin-top: 40px;
    color: #333;
}

.contact-link {
    color: #0045ad;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #2c5282;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 1rem;
        margin: 3rem auto;
    }

    .faq-title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }

    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
    }
}

/*Testimonials*/

.testimonials{
    padding: 1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials h2{

    color: #490e45;
    font-size: 1.3rem;
}

.testimonials p{
    margin-top: 1rem;
    color: #333;
    font-size: 1rem;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    padding: 3rem 0;
    background-color: #fff;
}

.testimonial-card {
    width: 100%;
    max-width: 18.75rem;
    background-color: #faf9fd;
    border-radius: 0.938rem;
    padding: 1.563rem;
    box-shadow: 0 0.25rem 0.375rem rgba(0,0,0,0.1);
    text-align: center;
    border: 0.25rem solid;
}
.testimonial-card:nth-child(1) {
    border-color: #F38181;
}
.testimonial-card:nth-child(2) {
    border-color: #95E1D3;
}
.testimonial-card:nth-child(3) {
    border-color: #BE9FE1;
}
.testimonial-message {
    font-style: italic;
    color: #490e45;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.testimonial-avatar {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}
@media screen and (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-card {
        width: calc(100% - 2rem);
        margin: 0.625rem;
    }
}