:root {
    --pmci-primary: #2a4365;
    --pmci-primary-dark: #1a365d;
    --pmci-primary-light: #2c5282;
    --pmci-accent: darkgoldenrod;
    --pmci-accent-light: #e6b800;
    --pmci-accent-dark: #b8860b;
    --pmci-dark: #2d3748;
    --pmci-light: #f8fafc;
    --pmci-gray: #718096;
    --pmci-light-gray: #e2e8f0;
    --pmci-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--pmci-primary), var(--pmci-primary-dark));
    --gradient-accent: linear-gradient(135deg, var(--pmci-accent), var(--pmci-accent-dark));
    --gradient-primary-accent: linear-gradient(135deg, var(--pmci-primary), var(--pmci-accent));
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--pmci-dark);
    line-height: 1.6;
    background-color: var(--pmci-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.programs-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(42, 67, 101, 0.92) 0%, rgba(26, 54, 93, 0.88) 100%), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    color: var(--pmci-white);
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.programs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--pmci-accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.programs-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.programs-hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--pmci-white);
    box-shadow: 0 4px 15px rgba(42, 67, 101, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    color: #b8860b;
    box-shadow: 0 8px 20px rgba(42, 67, 101, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--pmci-white);
    border: 2px solid var(--pmci-white);
}

.btn-secondary:hover {

    color: #b8860b;
    background: var(--pmci-white);
    color: var(--pmci-primary);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--pmci-white);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--pmci-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--pmci-primary);
}

.text-gradient {
    background: var(--gradient-primary-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--pmci-gray);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary-accent);
    margin: 20px auto;
    border-radius: 2px;
}

/* NCLEX Section */
.nclex-section {
    background: var(--pmci-white);
}

.nclex-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.highlight-card {
    background: var(--pmci-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--pmci-light-gray);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary-accent);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--pmci-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.highlight-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--pmci-dark);
}

.highlight-content p {
    font-size: 22px;
    font-weight: 700;
    color: var(--pmci-primary);
    margin-bottom: 5px;
}

.highlight-content span {
    font-size: 14px;
    color: var(--pmci-gray);
}

.nclex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.nclex-card {
    background: var(--pmci-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--pmci-light-gray);
}

.nclex-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(42, 67, 101, 0.7), transparent);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.nclex-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--pmci-primary);
}

.card-content p {
    color: var(--pmci-gray);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--pmci-white);
    border: 2px solid var(--pmci-light-gray);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.card-footer {
    padding: 0 25px 25px;
}

/* Certifications Section */
.certifications-section {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.certification-card {
    background: var(--pmci-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certification-header {
    padding: 25px;
    color: var(--pmci-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.certification-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.certification-header > * {
    position: relative;
    z-index: 2;
}

.certification-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.certification-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.certification-body {
    padding: 25px;
}

.certification-body p {
    color: var(--pmci-gray);
    margin-bottom: 20px;
}

.certification-features {
    list-style: none;
    margin-bottom: 25px;
}

.certification-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.certification-feature i {
    color: var(--pmci-accent);
    margin-right: 10px;
}

.certification-footer {
    padding: 0 25px 25px;
}

.certification-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--pmci-gray);
}

.certification-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Why Choose Section */
.why-choose-programs {
    background: var(--pmci-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 25px;
    border-radius: var(--radius);
    background: var(--pmci-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--pmci-light-gray);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary-accent);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: var(--pmci-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--pmci-primary);
}

.feature-card p {
    color: var(--pmci-gray);
}

/* FAQ Section */
.programs-faq {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.faq-card {
    background: var(--pmci-white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--pmci-accent);
}

.faq-card:hover {
    box-shadow: var(--shadow-lg);
}

.faq-card summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    font-size: 1.1rem;
    color: var(--pmci-primary);
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card summary i {
    transition: var(--transition);
    color: var(--pmci-accent);
}

.faq-card[open] summary i {
    transform: rotate(45deg);
}

.faq-content {
    padding-top: 15px;
    color: var(--pmci-gray);
}

.faq-cta {
    text-align: center;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pmci-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cta-link:hover {
    gap: 12px;
    color: var(--pmci-primary-light);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--pmci-white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    color: var(--pmci-white);
    border-color: var(--pmci-white);
}

.cta-section .btn-secondary:hover {
    background: var(--pmci-white);
    color: var(--pmci-primary);
}


/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary-accent);
    color: var(--pmci-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Animation Classes */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-right {
    animation: fadeRight 0.8s ease-out forwards;
}

.animate-fade-left {
    animation: fadeLeft 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .programs-hero h1 {
        font-size: 2.8rem;
    }
    
    .nclex-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .programs-hero {
        padding: 140px 0 80px;
    }
    
    .programs-hero h1 {
        font-size: 2.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-cta, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .certifications-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .programs-hero h1 {
        font-size: 2rem;
    }
    
    .nclex-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-card, .nclex-card, .certification-card, .feature-card {
        padding: 20px;
    }
    
    .certification-meta {
        flex-direction: column;
        gap: 10px;
    }

    .programs-hero {
        margin-top: 120px;
    }
}