
/* Base styles from your existing CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 120px;
    height: 120px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-text {
    margin-top: 20px;
    color: #667eea;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

    .logo {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-blue);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    .logo-image {
        height: 28px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }

    @media screen and (max-width: 768px) {
        .logo-image {
            height: 24px;
        }
    }

    @media screen and (max-width: 480px) {
        .logo-image {
            height: 22px;
        }
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Back Button */
.back-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.back-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.back-button i {
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23667eea" stop-opacity="0.05"/><stop offset="100%" stop-color="%23667eea" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"><animate attributeName="cx" values="200;800;200" dur="30s" repeatCount="indefinite"/></circle><circle cx="800" cy="600" r="150" fill="url(%23a)"><animate attributeName="cy" values="600;200;600" dur="40s" repeatCount="indefinite"/></circle></svg>');
    opacity: 0.5;
}

.content-container {
    position: relative;
    z-index: 2;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Consultation Cards */
.consultation-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.consultation-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.consultation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.consultation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.8s ease;
}

.consultation-card:hover::before {
    left: 100%;
}

/* Card Icons */
.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    transition: all 0.5s ease;
    animation: iconFloat 4s ease-in-out infinite;
}

.consultation-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.consultation-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4);
}

.consultation-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Card Content */
.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.card-description {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.card-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.card-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 2rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Card Buttons */
.card-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.consultation-card:nth-child(1) .card-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.consultation-card:nth-child(1) .card-button:hover {
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4);
}

.card-button i {
    transition: transform 0.3s ease;
}

.card-button:hover i {
    transform: translateX(5px);
}

/* Badge */
.urgent-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .back-text {
        display: none;
    }

    .back-button {
        padding: 0.75rem;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        justify-content: center;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-description {
        font-size: 1.1rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .consultation-card {
        padding: 2.5rem 2rem;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .main-content {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .consultation-card {
        padding: 2rem 1.5rem;
    }

    .card-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Utility Classes */
.hidden {
    opacity: 0;
    visibility: hidden;
}
