/* Main Styles for Financial Consulting Website */

/* Variables */
:root {
    --midnight-teal: #004D4D;
    --electric-coral: #FF4D4D;
    --icy-silver: #E0EAF1;
    --rich-charcoal: #1A1A1A;
    --snow-white: #FFFFFF;
    
    --primary-font: 'Montserrat', sans-serif;
    --secondary-font: 'Merriweather', serif;
    
    --container-width: 1200px;
    --section-spacing: 80px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    color: var(--rich-charcoal);
    line-height: 1.6;
    background-color: var(--snow-white);
}

a {
    text-decoration: none;
    color: #ff4d4d;
    transition: color 0.3s ease;
}

a:hover {
    color: #e0eaf1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-spacing) 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--secondary-font);
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

button, .btn {
    background-color: var(--midnight-teal);
    color: var(--snow-white);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

button:hover, .btn:hover {
    background-color: var(--electric-coral);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
header {
    background-color: var(--midnight-teal);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: var(--snow-white);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    color: var(--snow-white);
    font-weight: 500;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--electric-coral);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 100%;
}

.burger-menu {
    display: none;
    cursor: pointer;
}

.burger-icon {
    width: 30px;
    height: 3px;
    background-color: var(--snow-white);
    margin: 6px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--midnight-teal), #006666);
    color: var(--snow-white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.svg');
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btn {
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* About Section */
.about {
    background-color: var(--snow-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.about h2 {
    color: var(--midnight-teal);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.about h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--electric-coral);
    bottom: 0;
    left: 0;
}

/* Services Section */
.services {
    background-color: var(--icy-silver);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services h2 {
    color: var(--midnight-teal);
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
}

.services h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--electric-coral);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--snow-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 77, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--midnight-teal);
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--snow-white);
}

.why-us-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-us-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-us h2 {
    color: var(--midnight-teal);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.why-us h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--electric-coral);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 77, 77, 0.1);
}

.feature-item:hover {
    background-color: rgba(0, 77, 77, 0.03);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 77, 77, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--midnight-teal);
    color: var(--snow-white);
    transform: rotateY(180deg);
}

.feature-item h3 {
    color: var(--midnight-teal);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--icy-silver);
    position: relative;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials h2 {
    color: var(--midnight-teal);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.testimonials h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--electric-coral);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    padding: 30px;
    background-color: var(--snow-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-slide:target {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content:before {
    content: '"';
    font-size: 60px;
    color: rgba(0, 77, 77, 0.1);
    position: absolute;
    top: -30px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    overflow: hidden;
}

.testimonial-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    margin-bottom: 5px;
    color: var(--midnight-teal);
}

.testimonial-nav {
    text-align: center;
    margin-top: 20px;
}

.testimonial-nav a {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgba(0, 77, 77, 0.2);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-nav a:hover,
.testimonial-nav a:focus {
    background-color: var(--midnight-teal);
}

/* Pricing Section */
.pricing {
    background-color: var(--snow-white);
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing h2 {
    color: var(--midnight-teal);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.pricing h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--electric-coral);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.pricing-plan {
    background-color: var(--snow-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    flex: 1;
    max-width: 350px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 77, 77, 0.1);
    position: relative;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--electric-coral);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-name {
    color: var(--midnight-teal);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-coral);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 77, 77, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    display: block;
    text-align: center;
}

/* Popular badge */
.popular-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--electric-coral);
    color: var(--snow-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
}

/* Order Form Section */
.order-form {
    background-color: var(--icy-silver);
    position: relative;
}

.order-form-header {
    text-align: center;
    margin-bottom: 50px;
}

.order-form h2 {
    color: var(--midnight-teal);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.order-form h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--electric-coral);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--snow-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--midnight-teal);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 77, 77, 0.2);
    border-radius: 4px;
    font-family: var(--primary-font);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--midnight-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 77, 77, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: var(--midnight-teal);
    color: var(--snow-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--electric-coral);
}

/* Footer */
footer {
    background-color: var(--midnight-teal);
    color: var(--snow-white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    color: var(--snow-white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--electric-coral);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-coral);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-icon {
    margin-right: 10px;
    color: var(--electric-coral);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--snow-white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.cookie-popup-content {
    margin-bottom: 15px;
}

.cookie-popup h4 {
    color: var(--midnight-teal);
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
}

.cookie-accept {
    background-color: var(--midnight-teal);
    color: var(--snow-white);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background-color: var(--electric-coral);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Media Queries */
@media (max-width: 1440px) {
    :root {
        --container-width: 1140px;
        --section-spacing: 70px;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-width: 940px;
        --section-spacing: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-plan {
        margin-bottom: 30px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --section-spacing: 50px;
    }

    .nav-menu {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    /* Mobile Navigation */
    .nav-menu.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--midnight-teal);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show li {
        margin: 10px 0;
    }

    .about-container,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-plan {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 20px;
    }
} 