/* 
 * Audivise Finance - Main Stylesheet
 * 
 * Colors:
 * - Background: #2E1A47 (ultramarine)
 * - Accents: #D4FF00 (lime)
 * - Text: #E4E4E4 (light gray), #FFFFFF (white for headings)
 * - Button gradient: #A100FF (purple) to #007AFF (blue)
 */

/* ---------- Base Styles ---------- */
:root {
    --color-bg: #2E1A47;
    --color-accent: #D4FF00;
    --color-text: #E4E4E4;
    --color-heading: #FFFFFF;
    --color-gradient-start: #A100FF;
    --color-gradient-end: #007AFF;
    --color-error: #ff5252;
    --font-primary: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    left: 46%;
    bottom: -0.5rem;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
}
.policy-section h2{
    text-align: left !important;

}
.policy-section-wrapper h1{
    text-align: center;
}
.policy-section h2::after{
   left: 0 !important;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 7rem 0;
}

/* ---------- Header & Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(46, 26, 71, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    z-index: 1001;
}

.logo a {
    display: block;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-heading);
    position: absolute;
    transition: var(--transition);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
    bottom: 0;
}

.menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.nav-cta {
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    color: var(--color-heading) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- Hero Section ---------- */
.hero-section {
    
    display: flex;
    align-items: center;
    position: relative;
    padding: 180px 0;
    background: linear-gradient(135deg, rgba(46, 26, 71, 0.9) 0%, rgba(46, 26, 71, 0.6) 100%), url('../img/kHMgG0.jpg') center/cover;
}

.hero-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    color: var(--color-heading);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.4s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* ---------- About Section ---------- */
.about-section {
    background-color: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Services Section ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 1.5rem;
}

.service-card h3 {
    margin-top: 1.5rem;
    color: var(--color-accent);
}

.service-card p {
    padding-bottom: 1.5rem;
}

/* ---------- Benefits Section ---------- */
.benefits-section {
    background-color: rgba(255, 255, 255, 0.02);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ---------- Testimonials Section ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--color-heading);
    font-weight: 600;
}

/* ---------- Team Section ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-member-info {
    padding: 1.5rem;
}

.team-position {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ---------- Contact Form Section ---------- */
.contact-section {
    background-color: rgba(255, 255, 255, 0.02);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgb(50 30 75);
    color: var(--color-heading);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(212, 255, 0, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.submit-button {
    display: inline-block;
    background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
    color: var(--color-heading);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Form Errors */
.form-errors {
    background-color: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.3);
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: var(--color-error);
}

.form-errors ul {
    list-style-position: inside;
    margin-bottom: 0;
}

.form-errors p {
    margin-bottom: 0;
}

/* Form Success */
.form-success {
    background-color: rgba(76, 217, 100, 0.15);
    border: 1px solid rgba(76, 217, 100, 0.3);
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #4cd964;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3 {
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}
.thank-you-section{
    
    padding: 15rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thank-you-content{
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
   
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
}
/* ---------- Cookie Popup ---------- */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-popup.active {
    bottom: 0;
}

.cookie-popup p {
    margin: 0;
    padding-right: 1rem;
}

#accept-cookies {
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#accept-cookies:hover {
    background-color: var(--color-heading);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Media Queries ---------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    .hero-section h1{
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 2rem;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-bg);
        padding: 80px 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-list li {
        margin: 0 0 1.5rem 0;
    }
    
    .nav-cta {
        display: inline-block;
        margin-top: 1rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-popup p {
        margin-bottom: 1rem;
        padding-right: 0;
    }
} 