/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties */
:root {
    --primary-color: #5c0f01;
    --primary-dark: #4a0c01;
    --primary-light: #8b1502;
    --secondary-color: #2c3e50;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-max-width: 1200px;
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Arial', 'Helvetica', sans-serif;
}

/* Typography */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

ul, ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #1a252f;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Header */
.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo a {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: block;
    opacity: 0.9;
}

.update-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Experts Grid */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expert-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.expert-image,
.expert-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
}

.expert-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expert-title,
.expert-position {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Expert Profile (detailed) */
.experts-detailed {
    margin-top: 2rem;
}

.expert-profile {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.expert-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expert-bio {
    margin: 1rem 0;
    line-height: 1.7;
}

.expert-specialties {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.expert-specialties li {
    background: var(--bg-alt);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form .form-group {
    flex: 1;
    min-width: 200px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    flex-shrink: 0;
    align-self: flex-end;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(92, 15, 1, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info-section h2,
.contact-form-section h2 {
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-media {
    margin-top: 2rem;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.social-link:hover {
    padding-left: 1rem;
    text-decoration: none;
}

/* Contact Info (general) */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* Ranking Table */
.ranking-table {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 2rem;
}

.ranking-header,
.ranking-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px 100px;
    gap: 1rem;
    padding: 1.5rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.ranking-header {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text-color);
}

.ranking-row:hover {
    background: var(--bg-alt);
}

.ranking-row:last-child {
    border-bottom: none;
}

.rank-col {
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.rank-1,
.rank-2,
.rank-3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.company-col h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.company-col p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.score-col {
    font-weight: bold;
    color: var(--primary-color);
}

.revenue-col,
.profit-col {
    text-align: center;
    font-weight: 500;
}

/* Methodology */
.methodology {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.criteria-item {
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-alt);
}

.criteria-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Equipment Analysis */
.equipment-analysis {
    margin-top: 2rem;
}

.equipment-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.equipment-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.equipment-section ul {
    margin-top: 1rem;
}

.equipment-section li {
    margin-bottom: 0.8rem;
}

.equipment-section strong {
    color: var(--primary-color);
}

/* Company Histories */
.company-histories {
    margin-top: 2rem;
}

.company-history {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.company-history h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.timeline {
    margin-top: 1rem;
}

.timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-alt);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-item strong {
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Timeline Major (for detailed history) */
.timeline-major {
    margin-top: 2rem;
}

.timeline-period {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 6px solid var(--primary-color);
}

.timeline-period h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.period-content {
    margin-top: 1rem;
}

.key-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat {
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.stat strong {
    color: var(--primary-color);
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Current State */
.current-state {
    margin-top: 2rem;
}

.state-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.stat-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
}

.market-structure {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.market-structure h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.structure-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--border-radius);
}

.structure-item h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.percentage {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Investments */
.investments {
    margin-top: 2rem;
}

.investment-project {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.investment-project h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-info p {
    margin-bottom: 0.5rem;
}

.project-info strong {
    color: var(--primary-color);
}

.project-impact h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-impact ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Tech Trends */
.tech-trends {
    margin-top: 2rem;
}

.trend-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.trend-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.trend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trend-item {
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.trend-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Forecasts */
.forecasts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.forecast-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.forecast-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.forecasts-detailed {
    margin-top: 2rem;
}

.forecast-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.forecast-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.forecast-chart {
    margin-top: 1rem;
}

.chart-info ul {
    list-style: none;
    padding: 0;
}

.chart-info li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: var(--bg-alt);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.infrastructure-plans,
.transformation-aspects {
    margin-top: 1rem;
}

.plan-item,
.aspect {
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.plan-item h4,
.aspect h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Challenges and Opportunities */
.challenges-opportunities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.challenges,
.opportunities {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.challenges h3,
.opportunities h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.challenge-list,
.opportunity-list {
    margin-top: 1rem;
}

.challenge-item,
.opportunity-item {
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.challenge-item h4,
.opportunity-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.company-info,
.contact-box {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
}

.cookie-category {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

.cookie-category code {
    background: rgba(92, 15, 1, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

.cookie-controls {
    text-align: center;
    margin: 2rem 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1001;
    border-top: 3px solid var(--primary-color);
}

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: var(--border-radius);
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: auto;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-alt);
}

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

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.thanks-icon svg {
    width: 100%;
    height: 100%;
}

.thanks-section h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.thanks-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.next-steps {
    margin: 3rem 0;
}

.next-steps h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-summary {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 3rem 0;
}

.contact-summary h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-summary .contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-summary .contact-item {
    text-align: center;
    border: none;
    padding: 0;
    margin: 0;
}

.contact-summary .contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.additional-resources {
    margin-top: 4rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .form-group {
        min-width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .ranking-header,
    .ranking-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .ranking-header {
        display: none;
    }

    .ranking-row {
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .company-col {
        order: -1;
        margin-bottom: 1rem;
    }

    .expert-profile {
        flex-direction: column;
        text-align: center;
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    .challenges-opportunities {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-summary .contact-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .expert-specialties {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .thanks-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    [class*="-grid"], .testimonials, .forecasts, .trend-items {
        grid-template-columns: 1fr;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle {
        display: none !important;
    }

    .section {
        break-inside: avoid;
    }

    .hero,
    .page-header {
        background: white !important;
        color: var(--text-color) !important;
    }

    .hero h1,
    .page-header h1 {
        color: var(--text-color) !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        --border-color: #000000;
    }

    .btn-outline {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
