/*
 * ========================================
 * CIPD Service Pages - Stylesheet
 * ========================================
 * Custom styles for service pages with
 * unique animations and visual effects
 * ========================================
 */

/* ========================================
   SERVICE PAGE BODY OVERRIDE
   ======================================== */

.service-page {
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.85) 0%, rgba(106, 27, 154, 0.9) 100%);
    background-attachment: fixed;
}

/* ========================================
   DROPDOWN MENU STYLES
   ======================================== */

.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown > a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 15px 0;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #6a1b9a;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #00e5ff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    padding-left: 25px;
}

.dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu li a.active {
    background: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
}

/* ========================================
   SERVICE HERO SECTION
   ======================================== */

.service-hero {
    padding: 4rem 8% 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.service-hero-content {
    flex: 1;
    max-width: 700px;
}

.level-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
    color: #4a148c;
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}

.level-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.level-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.highlight-gradient {
    background: linear-gradient(90deg, #00e5ff, #d500f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-size: 1.8rem;
    text-transform: none;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.external-link {
    color: #00e5ff;
    text-decoration: none;
    border-bottom: 1px dashed #00e5ff;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: #d500f9;
    border-color: #d500f9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.trust-bullets .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.trust-bullets .trust-item i {
    color: #00e5ff;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .trust-bullets {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.service-hero-visual {
    flex: 0 0 300px;
    position: relative;
    height: 300px;
}

.floating-icons {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 229, 255, 0.8);
    animation: float-icon 3s ease-in-out infinite;
}

.floating-icons .icon-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icons .icon-2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
    color: rgba(213, 0, 249, 0.8);
}

.floating-icons .icon-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.floating-icons .icon-4 {
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
    color: #4a148c;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00e5ff;
    color: #00e5ff;
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(0, 229, 255, 0.8), 0 0 60px rgba(0, 229, 255, 0.4); }
}

/* ========================================
   SECTION STYLES
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title .highlight {
    color: #00e5ff;
}

.section-intro {
    text-align: center;
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ========================================
   MODULES SECTION
   ======================================== */

.modules-section {
    padding: 6rem 8%;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.module-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 229, 255, 0.3);
}

.module-category.optional {
    background: rgba(213, 0, 249, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.category-header i {
    font-size: 2rem;
    color: #00e5ff;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.module-list {
    list-style: none;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.module-item:last-child {
    border-bottom: none;
}

.module-item:hover {
    padding-left: 10px;
}

.module-code {
    background: linear-gradient(135deg, #d500f9 0%, #9c27b0 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 70px;
    text-align: center;
}

.module-name {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    padding: 6rem 8%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card-row-last {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.service-card-row-last .service-card {
    flex: 0 1 300px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 229, 255, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2rem;
    color: #4a148c;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   EXAMPLES SECTION
   ======================================== */

.examples-section {
    padding: 6rem 8%;
    background: linear-gradient(135deg, rgba(213, 0, 249, 0.2) 0%, rgba(106, 27, 154, 0.3) 100%);
    text-align: center;
}

.examples-cta {
    margin-top: 2rem;
    text-align: center;
}

/* ========================================
   TRUST SECTION
   ======================================== */

.trust-section {
    padding: 6rem 8%;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(213, 0, 249, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.trust-icon i {
    font-size: 2.5rem;
    color: #00e5ff;
}

.trust-item:hover .trust-icon {
    border-color: #00e5ff;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.trust-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section-page {
    padding: 6rem 8%;
    background: rgba(255, 255, 255, 0.03);
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 229, 255, 0.3);
}

.faq-item[open] {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    transition: transform 0.3s ease;
    color: #00e5ff;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-question {
    font-size: 1rem;
    flex: 1;
    padding-right: 1rem;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-link {
    text-align: center;
    margin-top: 2rem;
}

.faq-link a {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-link a:hover {
    color: #d500f9;
    text-decoration: underline;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 6rem 8%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(213, 0, 249, 0.15) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   RELATED SERVICES
   ======================================== */

.related-services {
    padding: 4rem 8%;
}

.related-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.related-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.related-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
}

.related-card:hover {
    background: linear-gradient(135deg, #d500f9 0%, #9c27b0 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(213, 0, 249, 0.3);
}

.related-level {
    font-size: 1.2rem;
    font-weight: 800;
    color: #00e5ff;
}

.related-card:hover .related-level {
    color: white;
}

.related-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.related-card i {
    color: #00e5ff;
    transition: transform 0.3s ease;
}

.related-card:hover i {
    color: white;
    transform: translateX(5px);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in.delay-1 { animation-delay: 0.2s; opacity: 0; }
.animate-fade-in.delay-2 { animation-delay: 0.4s; opacity: 0; }

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-float-slow {
    animation: float 4s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .service-hero {
        padding: 3rem 5%;
        gap: 2rem;
    }

    .modules-section,
    .services-section,
    .trust-section,
    .faq-section-page,
    .cta-section {
        padding: 4rem 5%;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .service-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5% 3rem 5%;
        min-height: auto;
    }

    .service-hero-content {
        max-width: 100%;
    }

    .service-hero h1 {
        font-size: 1.8rem;
    }

    .highlight-gradient {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .service-hero-visual {
        display: none;
    }

    .level-badge {
        margin: 0 auto 1.5rem auto;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-intro {
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .trust-icon {
        width: 80px;
        height: 80px;
    }

    .trust-icon i {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .related-services {
        padding: 3rem 5%;
    }

    .related-grid {
        flex-direction: column;
        align-items: center;
    }

    .related-card {
        width: 100%;
        max-width: 350px;
    }

    /* Dropdown Menu Mobile - must be at 968px to match nav breakpoint */
    .dropdown-menu {
        position: static;
        transform: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        width: 100%;
        min-width: unset;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        border: none;
        left: auto;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 1.5rem 4% 2rem 4%;
    }

    .service-hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .highlight-gradient {
        font-size: 1.1rem;
    }

    .level-badge {
        padding: 12px 20px;
    }

    .level-number {
        font-size: 2rem;
    }

    .level-text {
        font-size: 0.7rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .btn-large {
        padding: 14px 28px;
    }

    /* Modules Section */
    .modules-section {
        padding: 3rem 4%;
    }

    .module-category {
        padding: 1.5rem;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .category-header i {
        font-size: 1.5rem;
    }

    .category-header h3 {
        font-size: 1.1rem;
    }

    .module-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.8rem 0;
    }

    .module-code {
        min-width: auto;
    }

    .module-name {
        font-size: 0.9rem;
    }

    /* Services Section */
    .services-section {
        padding: 3rem 4%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Trust Section */
    .trust-section {
        padding: 3rem 4%;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trust-item {
        padding: 1.5rem 1rem;
    }

    .trust-item h3 {
        font-size: 1rem;
    }

    .trust-item p {
        font-size: 0.85rem;
    }

    /* FAQ Section */
    .faq-section-page {
        padding: 3rem 4%;
    }

    .faq-item summary {
        padding: 1.2rem;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 1.2rem 1.2rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 4%;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Related Services */
    .related-services {
        padding: 2rem 4%;
    }

    .related-title {
        font-size: 1.2rem;
    }

    .related-card {
        padding: 1rem 1.5rem;
        max-width: none;
    }

    /* Section Title */
    .section-title {
        font-size: 1.4rem;
    }

    .section-intro {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Dropdown Menu Mobile */
    .dropdown-menu {
        position: static;
        transform: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        width: 100%;
        min-width: unset;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        border: none;
        left: auto;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 10px 0;
    }

    /* Examples Grid */
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .turnitin-badge {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .turnitin-badge i {
        font-size: 1.5rem;
    }

    .turnitin-badge span {
        font-size: 0.9rem;
    }

    .models-grid {
        gap: 0.75rem;
    }

    .model-tag {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    /* Internal Links Section */
    .internal-links-section {
        padding: 2rem 4%;
    }

    .links-content h3 {
        font-size: 1.2rem;
    }

    .links-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 1rem 3% 1.5rem 3%;
    }

    .service-hero h1 {
        font-size: 1.3rem;
    }

    .highlight-gradient {
        font-size: 1rem;
    }

    .level-badge {
        padding: 10px 18px;
    }

    .level-number {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .modules-section,
    .services-section,
    .trust-section,
    .faq-section-page,
    .cta-section {
        padding: 2rem 3%;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-intro {
        font-size: 0.85rem;
    }

    .module-category {
        padding: 1.2rem;
    }

    .category-header h3 {
        font-size: 1rem;
    }

    .trust-icon {
        width: 70px;
        height: 70px;
    }

    .trust-icon i {
        font-size: 1.8rem;
    }

    .related-card {
        padding: 1rem;
    }

    .related-level {
        font-size: 1rem;
    }

    .related-text {
        font-size: 0.8rem;
    }

    .cta-content h2 {
        font-size: 1.2rem;
    }

    .example-card {
        padding: 1.5rem;
    }

    .example-card i {
        font-size: 2rem;
    }

    .example-card h4 {
        font-size: 0.9rem;
    }
}

/* ========================================
   LEVEL 5 SPECIFIC STYLES
   ======================================== */

.level-5-badge {
    background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}

.module-code.level-5 {
    background: linear-gradient(135deg, #d500f9 0%, #9c27b0 100%);
}

/* Turnitin Badge */
.turnitin-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 3rem auto 2rem;
    max-width: 700px;
}

.turnitin-badge i {
    font-size: 2rem;
    color: #4caf50;
}

.turnitin-badge span {
    font-size: 1rem;
    opacity: 0.95;
}

/* Level Links */
.level-links {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
}

.level-links p {
    font-size: 1rem;
    opacity: 0.9;
}

.level-links .internal-link {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Examples Grid for Level 5 */
.level-5-examples {
    background: linear-gradient(135deg, rgba(213, 0, 249, 0.2) 0%, rgba(106, 27, 154, 0.3) 100%);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.example-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00e5ff, #d500f9);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.example-card:hover::before {
    transform: scaleX(1);
}

.example-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.3);
}

.example-card i {
    font-size: 2.5rem;
    color: #00e5ff;
    margin-bottom: 1rem;
}

.example-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.example-card p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.example-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.example-link:hover {
    color: #d500f9;
}

.example-link i {
    font-size: 0.9rem;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.example-link:hover i {
    transform: translateX(5px);
}

/* Internal link styling */
.internal-link {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dashed currentColor;
}

.internal-link:hover {
    color: #d500f9;
}

/* ========================================
   LEVEL 7 SPECIFIC STYLES
   ======================================== */

.level-7-badge {
    background: linear-gradient(135deg, #d500f9 0%, #9c27b0 100%);
    box-shadow: 0 10px 30px rgba(213, 0, 249, 0.4);
}

.module-code.level-7 {
    background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%);
}

/* Strategic Models Section */
.strategic-models {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.strategic-models h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.strategic-models h3 i {
    color: #d500f9;
    font-size: 1.5rem;
}

.models-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.model-tag {
    background: linear-gradient(135deg, rgba(213, 0, 249, 0.2) 0%, rgba(156, 39, 176, 0.2) 100%);
    border: 1px solid rgba(213, 0, 249, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.model-tag:hover {
    background: linear-gradient(135deg, #d500f9 0%, #9c27b0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(213, 0, 249, 0.3);
}

/* Internal Links Section */
.internal-links-section {
    padding: 4rem 8%;
    background: rgba(255, 255, 255, 0.03);
}

.links-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.links-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #00e5ff;
}

.links-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Featured Card */
.featured-card {
    border: 2px solid rgba(213, 0, 249, 0.3);
    background: linear-gradient(135deg, rgba(213, 0, 249, 0.1) 0%, rgba(156, 39, 176, 0.05) 100%);
}

.featured-card:hover {
    border-color: rgba(213, 0, 249, 0.5);
}

/* ========================================
   HR PAGE SPECIFIC STYLES
   ======================================== */

.hr-badge {
    background: white;
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.4);
}

.hr-badge .level-number {
    font-size: 1.5rem;
}

.hr-badge .level-number i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .turnitin-badge {
        flex-direction: column;
        text-align: center;
    }

    .models-grid {
        gap: 0.75rem;
    }

    .model-tag {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
