/* ==========================================
   EU Omnibus Update Blog - Comprehensive CSS
   Design: Modern, Professional, Animated
   ========================================== */

:root {
    --primary-color: #1565c0;
    --secondary-color: #2c5e2e;
    --accent-color: #ff6b35;
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Global Styles
   ========================================== */

* {
    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;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.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;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
    color: var(--secondary-color);
}

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

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-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: var(--transition);
    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: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(21,101,192,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    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: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

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

.cta-button:hover::before {
    left: 100%;
}

.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: var(--transition);
}

.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(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandWidth 0.6s ease-out;
}

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

.section-intro {
    text-align: center;
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Intro Section
   ========================================== */

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

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

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

/* ==========================================
   Goals Section
   ========================================== */

.goals-section {
    background: #ffffff;
}

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

.goal-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

.goal-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

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

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

/* ==========================================
   Changes Section
   ========================================== */

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

.changes-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.change-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: slideInLeft 0.6s ease-out;
}

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

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

.change-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: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(44, 94, 46, 0.1));
    border-radius: 12px;
    min-width: 80px;
    height: 80px;
}

.change-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;
}

.icon-small {
    color: var(--secondary-color);
    font-size: 24px;
}

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

/* ==========================================
   Rationale Section
   ========================================== */

.rationale-section {
    background: #ffffff;
}

.rationale-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.rationale-text p {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.rationale-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: 15px;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out;
}

.rationale-highlight blockquote {
    margin: 0;
    font-style: italic;
    line-height: 1.8;
}

.rationale-highlight i {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.8;
}

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

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

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

.impact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    animation: scaleIn 0.6s ease-out;
}

.impact-card.large-companies {
    border-top-color: #1565c0;
}

.impact-card.small-companies {
    border-top-color: #2c5e2e;
}

.impact-card.investors {
    border-top-color: #ff6b35;
}

.impact-card.hr-teams {
    border-top-color: #ff9800;
}

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

.impact-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

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

.impact-card p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.impact-list {
    list-style: none;
    padding: 0;
}

.impact-list li {
    color: var(--light-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.impact-list i {
    color: var(--success-color);
    font-weight: bold;
}

/* ==========================================
   Perspective Section
   ========================================== */

.perspective-section {
    background: #ffffff;
}

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

.perspective-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out;
}

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

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

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

.perspective-card i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.perspective-card:hover i {
    color: white;
    transform: scale(1.2);
}

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

/* ==========================================
   Conclusion Section
   ========================================== */

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

.conclusion-content {
    max-width: 900px;
    margin: 0 auto;
}

.conclusion-text {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--dark-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.conclusion-text strong {
    color: var(--primary-color);
}

.conclusion-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.conclusion-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
}

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

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

.conclusion-box h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.conclusion-box i {
    font-size: 24px;
}

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

.reference-text {
    text-align: center;
    color: var(--light-text);
    font-size: 16px;
    margin-top: 30px;
}

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

.reference-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.reference-text i {
    font-size: 12px;
}

/* ==========================================
   CTA Section
   ========================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.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: var(--transition);
    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: var(--transition);
}

.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(21, 101, 192, 0.2);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.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;
    }

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

    .conclusion-boxes {
        grid-template-columns: 1fr;
    }

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

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

    section {
        padding: 50px 20px;
    }

    .goals-grid,
    .impact-grid,
    .perspective-content {
        grid-template-columns: 1fr;
    }
}

@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-section {
        padding: 50px 15px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

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

/* ==========================================
   Print Styles
   ========================================== */

@media print {
    .navbar,
    .cta-section,
    .footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}
