/* ==========================================
   EU Regulation 2025/1988 Blog - CSS
   Design: Modern, Professional, Animated
   ========================================== */

:root {
    --primary-color: #0052cc;
    --secondary-color: #003d99;
    --accent-color: #ff6b35;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   Navigation Bar
   ========================================== */

.navbar {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo i {
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 82, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

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

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-text);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    animation: fadeInRight 0.8s ease-out;
}

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

.banner-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.05);
}

/* ==========================================
   Section Styles
   ========================================== */

section {
    padding: 80px 20px;
    animation: fadeInUp 0.8s ease-out;
}

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

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

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.icon-accent {
    color: var(--primary-color);
    font-size: 48px;
    animation: bounce 2s infinite;
}

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

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandWidth 0.6s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ==========================================
   Overview Section
   ========================================== */

.overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef7 100%);
}

.overview-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.overview-text:hover {
    color: var(--primary-color);
}

.overview-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.highlight-box i {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-box p {
    margin: 0;
    color: var(--light-text);
}

/* ==========================================
   Highlights Section
   ========================================== */

.highlights-section {
    background: white;
}

.highlight-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.card-number {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    min-width: 80px;
    height: 80px;
    box-shadow: var(--shadow-sm);
}

.card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content h3 i {
    color: var(--secondary-color);
    font-size: 24px;
}

.card-content p {
    color: var(--light-text);
    line-height: 1.8;
}

.deadline-list {
    margin-top: 15px;
}

.deadline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.deadline-item:last-child {
    border-bottom: none;
}

.deadline-item:hover {
    background-color: rgba(0, 82, 204, 0.05);
    padding-left: 10px;
}

.deadline-label {
    font-weight: 600;
    color: var(--dark-text);
}

.deadline-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.deadline-item.extended .deadline-date {
    background: linear-gradient(135deg, var(--warning-color), #ff7043);
}

/* ==========================================
   Compliance Section
   ========================================== */

.compliance-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef7 100%);
}

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

.compliance-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

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

.compliance-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.compliance-card:hover .compliance-icon {
    transform: scale(1.2) rotate(10deg);
}

.compliance-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.compliance-card p {
    color: var(--light-text);
    line-height: 1.8;
}

/* ==========================================
   Impact Section
   ========================================== */

.impact-section {
    background: white;
}

.impact-intro {
    font-size: 18px;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.impact-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.impact-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.impact-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.impact-item p {
    color: var(--light-text);
    margin: 0;
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe0b2 100%);
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.warning-box i {
    color: var(--warning-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-box p {
    margin: 0;
    color: #856404;
}

/* ==========================================
   Support Section
   ========================================== */

.support-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef7 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.support-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.support-card:hover h3,
.support-card:hover p {
    color: white;
}

.support-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.support-card:hover .support-icon {
    color: white;
    transform: scale(1.2);
}

.support-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.support-card p {
    color: var(--light-text);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-button-large {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 16px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button-large:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 82, 204, 0.2);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .highlight-card {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        padding: 20px;
    }

    .card-number {
        font-size: 36px;
        min-width: 60px;
        height: 60px;
    }

    section {
        padding: 50px 20px;
    }

    .compliance-grid,
    .impact-items,
    .support-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
        flex-direction: column;
    }

    .icon-accent {
        font-size: 36px;
    }

    .nav-container {
        height: 60px;
    }

    .nav-logo {
        font-size: 18px;
    }

    .nav-logo i {
        font-size: 22px;
    }

    section {
        padding: 40px 15px;
    }

    .cta-box {
        padding: 25px 15px;
    }

    .cta-box h3 {
        font-size: 20px;
    }

    .cta-box p {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .highlight-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .deadline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
