/* ===========================
   RESET & BASE STYLES
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fef7f0;
    overflow-x: hidden;
}

/* ===========================
   HAND-DRAWN UTILITIES
   =========================== */

.hand-drawn-border {
    border: 3px solid #e74c3c;
    border-radius: 15px 25px 20px 18px / 20px 15px 25px 22px;
    position: relative;
}

.hand-drawn-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #e74c3c;
    border-radius: 18px 28px 23px 21px / 23px 18px 28px 25px;
    opacity: 0.3;
    z-index: -1;
}

.sketch-shadow {
    filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.1)) 
            drop-shadow(6px 6px 0 rgba(0,0,0,0.05));
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    margin-bottom: 1rem;
    transform: rotate(-0.5deg);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

h1 {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    color: #2980b9;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    color: #8e44ad;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: #e74c3c;
    text-decoration: underline wavy;
    transition: all 0.3s ease;
}

a:hover {
    color: #c0392b;
    text-decoration: underline;
    transform: translateY(-1px);
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */

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

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid;
    border-radius: 15px 25px 20px 18px / 20px 15px 25px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: rotate(-1deg);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
    border-color: #c0392b;
}

.btn-primary:hover {
    background-color: #c0392b;
    color: white;
}

.btn-secondary {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}

.btn-secondary:hover {
    background-color: #2980b9;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-outline:hover {
    background-color: #e74c3c;
    color: white;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

.header {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 4px solid #e74c3c;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.1));
}

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

.nav-link {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px 12px 10px 9px / 10px 8px 12px 11px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background-color: #e74c3c;
    color: white;
    transform: rotate(-1deg) translateY(-2px);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: 0.3s;
    transform: rotate(-1deg);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.3);
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-banner {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* ===========================
   SECTIONS
   =========================== */

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px 15px 25px 18px / 15px 25px 20px 22px;
    border: 3px solid #3498db;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.8s;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

.service-card:hover {
    transform: rotate(-1deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #e74c3c;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.1));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #34495e;
    font-size: 1.1rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px 25px 20px 18px / 20px 15px 25px 22px;
    border: 4px solid #27ae60;
    filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.2));
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 25px 20px 30px 15px / 20px 30px 15px 25px;
    border: 3px solid #f39c12;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: #f39c12;
    font-family: serif;
    font-weight: bold;
}

.testimonial-card:hover {
    transform: rotate(1deg) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-avatar {
    margin-bottom: 1.5rem;
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #e74c3c;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ===========================
   BLOG SECTION
   =========================== */

.blog-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.blog-section .section-title,
.blog-section .section-subtitle {
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 20px 15px 25px 18px / 15px 25px 20px 22px;
    overflow: hidden;
    border: 3px solid #e74c3c;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.blog-card:hover {
    transform: rotate(-1deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date,
.blog-category,
.blog-reading-time {
    font-size: 0.9rem;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 0.25rem 0.75rem;
    border-radius: 10px 8px 12px 6px / 8px 12px 6px 10px;
}

.blog-content h3 {
    margin-bottom: 1rem;
}

.blog-content h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #e74c3c;
}

.blog-content p {
    margin-bottom: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

.read-more {
    color: #e74c3c;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    transform: translateX(5px);
}

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

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 2px solid #3498db;
    border-radius: 15px 10px 20px 8px / 10px 20px 8px 15px;
    background: #f8f9fa;
}

.contact-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.social-links h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 8px 12px 6px 10px / 12px 6px 10px 8px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c0392b;
    transform: rotate(-2deg) translateY(-2px);
}

/* ===========================
   FORMS
   =========================== */

.newsletter-form h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 3px solid #bdc3c7;
    border-radius: 12px 8px 15px 10px / 8px 15px 10px 12px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    transform: rotate(-0.5deg);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

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

.footer-section h4 {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: #e74c3c;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #34495e;
    color: #bdc3c7;
}

/* ===========================
   PAGE SPECIFIC STYLES
   =========================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

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

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
    background: white;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 3rem;
}

.legal-text h3 {
    margin-top: 2rem;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    overflow: hidden;
}

.legal-text th,
.legal-text td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.legal-text th {
    background: #e74c3c;
    color: white;
    font-weight: bold;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-image {
    margin-bottom: 2rem;
}

.thank-you-image img {
    width: 100px;
    height: 100px;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
}

.thank-you h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.thank-you-info {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 2px solid rgba(255,255,255,0.2);
}

.thank-you-info ul {
    list-style: none;
    text-align: left;
}

.thank-you-info li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.thank-you-actions {
    margin-bottom: 3rem;
}

.thank-you-actions .btn {
    margin: 0 0.5rem;
}

/* About Page Specific */
.about-intro {
    margin-bottom: 4rem;
}

.values-section {
    margin: 4rem 0;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 3px solid #3498db;
    border-radius: 20px 15px 25px 18px / 15px 25px 20px 22px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: rotate(-1deg) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-icon img {
    width: 60px;
    height: 60px;
}

.team-section {
    margin: 4rem 0;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 3px solid #e74c3c;
    border-radius: 20px 15px 25px 18px / 15px 25px 20px 22px;
}

.team-image {
    margin-bottom: 1.5rem;
}

.team-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #27ae60;
}

.team-role {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 1rem;
}

.company-info {
    margin: 4rem 0;
}

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

.info-card {
    padding: 2rem;
    background: #f8f9fa;
    border: 2px solid #bdc3c7;
    border-radius: 15px 10px 20px 8px / 10px 20px 8px 15px;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-radius: 25px 20px 30px 15px / 20px 30px 15px 25px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Blog Page Specific */
.blog-page {
    padding: 60px 0;
    background: white;
}

.blog-card.featured {
    grid-column: 1 / -1;
}

.blog-card.featured .blog-content h2 {
    font-size: 2rem;
}

.blog-newsletter {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 4rem;
    margin: 4rem 0;
    border-radius: 25px 20px 30px 15px / 20px 30px 15px 25px;
    text-align: center;
}

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

.blog-newsletter .newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto 0;
}

.blog-newsletter input {
    flex: 1;
    border: none;
    border-radius: 25px;
    padding: 1rem;
}

.blog-categories {
    margin-top: 4rem;
}

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

.category-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border: 2px solid #27ae60;
    border-radius: 15px 20px 12px 18px / 20px 12px 18px 15px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: rotate(1deg) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-icon {
    margin-bottom: 1rem;
}

.category-icon img {
    width: 50px;
    height: 50px;
}

.article-count {
    display: block;
    margin-top: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Article Page Specific */
.article {
    padding: 60px 0;
    background: white;
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.meta-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-date,
.article-category,
.article-reading-time {
    font-size: 0.9rem;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-style: italic;
}

.article-image {
    margin-bottom: 3rem;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid #e74c3c;
    filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.1));
}

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

.article-intro {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 5px solid #e74c3c;
    border-radius: 0 10px 10px 0;
}

.article-cta {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 20px;
    text-align: center;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.article-share {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.article-author {
    display: flex;
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #27ae60;
}

.author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #e74c3c;
}

.author-info h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.author-info p:first-of-type {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 1rem;
}

.related-articles {
    margin-top: 4rem;
}

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

.related-card {
    border: 2px solid #bdc3c7;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #e74c3c;
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card h3 {
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.related-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #e74c3c;
}

.related-meta {
    padding: 0 1rem 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* ===========================
   COOKIE MANAGEMENT
   =========================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1.5rem 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 3px solid #e74c3c;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #e74c3c;
    font-weight: bold;
}

.close:hover {
    color: #c0392b;
}

.cookie-category {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-top: 0.25rem;
}

.cookie-category span {
    font-size: 0.9rem;
    color: #7f8c8d;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .blog-newsletter .newsletter-form {
        flex-direction: column;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.4rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        padding: 0 15px;
    }
    
    .cookie-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* ===========================
   ANIMATIONS & EFFECTS
   =========================== */

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   PRINT STYLES
   =========================== */

@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .hero-buttons,
    .btn {
        display: none;
    }
    
    body {
        font-family: serif;
        color: black;
        background: white;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .hero-title,
    .section-title {
        color: black;
    }
}

/* ===========================
   ACCESSIBILITY ENHANCEMENTS
   =========================== */

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .btn {
        border-width: 3px;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-banner {
        animation: none;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
