:root {
    --bs-primary: #4facfe;
    --dark-color: #212529;
    --bs-primary-rgb: 0, 180, 216;
    --bs-secondary: #48cae4;
    --bs-secondary-rgb: 72, 202, 228;
}

/* Hero Section */
.hero-section {
    background: var(--post-bg-primary-gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Feature Images */
.feature-img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-img:hover {
    transform: scale(1.05);
}

.btn-light {
    background: white;
    color: var(--dark-color);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--dark-color);
}

/* Buttons */
.btn {
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Author Info */
.author-info {
    background: white;
    color: var(--dark-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    border-left: 4px solid var(--primary-color);
}

/* Introduction Card */
.intro-card {
    background: linear-gradient(135deg, #e0f7ff 0%, #ffffff 100%);
    border-left: 4px solid #00b4d8;
}

/* Important Notes */
.important-notes {
    background: linear-gradient(135deg, #d0f4ff 0%, #f8ffff 100%);
    border-left: 4px solid #48cae4;
}

/* Skin Type Cards */
.skin-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #00b4d8 !important;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.skin-type-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 180, 216, 0.1);
    color: #00b4d8;
}

/* Routine Steps */
.routine-step {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
    background-color: #caf0f8;
    border: 1px solid #00b4d8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 100px;
    display: flex;
    align-items: center;
}

.routine-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    flex-shrink: 0;
    background-color: #00b4d8;
    color: white;
}

/* Routine Images (if any) */
.routine-image {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.routine-image:hover {
    transform: scale(1.02);
}

/* Golden Principles */
.golden-principles {
    background: linear-gradient(135deg, #e0f7ff 0%, #ffffff 100%);
    border-left: 4px solid #00b4d8;
    border-radius: 15px;
}

.principle-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.principle-item:hover {
    background-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #00b4d8;
}

/* Holistic Care Cards */
.holistic-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
    background-color: #e0f7ff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.holistic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Cards */
.card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 15px;
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .featured-image {
        height: 250px;
    }

    .routine-image {
        height: 200px;
    }

    .routine-step {
        min-height: 80px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .card-body {
        padding: 1.5rem;
    }
}

/* Section padding */
.card-body {
    padding: 2rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Icon Styling */
.bi {
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

i[class*="bi-"] {
    display: inline-block;
    font-size: inherit;
    width: auto;
    height: auto;
}

.cta-section {
    background: var(--post-bg-primary-gradient);
    color: white;
    padding: 80px 0;
    border-radius: 30px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
