:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --background-color: #ecf0f1;
    --text-color: #2c3e50;
    --accent-color: #e74c3c;
    --white: #ffffff;
    --soft-shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Smooth Scrolling and Typography */
html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--primary-color);
}

/* Enhanced Header with Glassmorphism */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px var(--soft-shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 5%;
}

.logo img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section with Modern Design */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 50%);
    z-index: 1;
}

.hero-content, .hero-illustration {
    position: relative;
    z-index: 2;
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--soft-shadow);
}

.hero-content h2 {
    font-size: 2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.hero-benefits {
    list-style-type: none;
    margin: 1rem 0;
    color: rgba(255,255,255,0.9);
}

.hero-benefits li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mystical-icon {
    max-width: 300px;
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Buttons with Enhanced Interactivity */
.cta-button, .service-card button, .consultation-form button {
    background: linear-gradient(135deg, #FF6B6B, #FF4B2B);
    color: #ffffff;
    border: none;
    padding: 13px 10px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.3);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.cta-button::before, .service-card button::before, .consultation-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-45deg);
    transition: all 0.5s ease;
}

.cta-button:hover::before, .service-card button:hover::before, .consultation-form button:hover::before {
    left: 200%;
}

.cta-button:hover, .service-card button:hover, .consultation-form button:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(255, 75, 43, 0.5);
}

/* Section Styles with Modern Card Design */
.method-description, .service-types, .consultation-form {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.method-grid, .services-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.method-card, .service-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--soft-shadow);
    text-align: center;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.method-card:hover, .service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Form Styling with Modern Touch */
.consultation-form form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 1.5rem;
}

.consultation-form input, 
.consultation-form textarea {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.consultation-form input:focus, 
.consultation-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

/* Mission Section Styles */
.mission-section, .confidentiality-section, .calculators-section {
    padding: 6rem 5%;
    background-color: var(--background-color);
    text-align: center;
}

.mission-content, .confidentiality-content, .calculators-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card, .confidentiality-card, .calculator-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--soft-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 350px;
}

.mission-card:hover, .confidentiality-card:hover, .calculator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.calculator-card .calculator-button {
    margin-top: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-card .calculator-button:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

/* Reviews Section Styles */
.reviews-section {
    padding: 6rem 5%;
    background-color: var(--background-color);
    text-align: center;
}

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

.review-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--soft-shadow);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.review-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.review-avatar .avatar-icon {
    width: 100%;
    height: 100%;
}

.review-content p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.review-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Footer with Modern Design */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero, .method-grid, .services-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 6rem 5%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        gap: 4rem;
        position: relative;
        overflow: hidden;
    }
    
    .hero-illustration {
        margin-top: 2rem;
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .mission-content, .confidentiality-content, .calculators-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive Adjustments for Reviews */
@media screen and (max-width: 1024px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
}