:root {
    --primary-purple: #663399;
    --royal-purple: #5B2C6F;
    --light-purple: #9B7FB8;
    --gold: #D4AF37;
    --soft-gold: #E6C77E;
    --pearl-white: #F8F6F0;
    --white: #FFFFFF;
    --dark-text: #2C1A3D;
    --light-text: #6B5B73;
    --accent-purple: #8B4789;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--dark-text);
    background-color: var(--pearl-white);
    line-height: 1.7;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.dark-mode {
    background-color: #1a0f24;
    color: #e8e0f0;
}

body.dark-mode .main-header {
    background: linear-gradient(135deg, #2C1A3D 0%, #1a0f24 100%);
}

body.dark-mode .site-footer {
    background: linear-gradient(135deg, #2C1A3D 0%, #1a0f24 100%);
}

body.dark-mode .feature-card,
body.dark-mode .service-item,
body.dark-mode .testimonial-card,
body.dark-mode .blog-card {
    background-color: #2a1a3a;
    box-shadow: 0 8px 25px rgba(107, 91, 115, 0.2);
}

.main-header {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--primary-purple) 100%);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(91, 44, 111, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.primary-nav a {
    color: var(--pearl-white);
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a.active-link {
    color: var(--soft-gold);
    border-bottom: 2px solid var(--gold);
}

.hero-banner {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--royal-purple) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

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

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--pearl-white);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.2rem;
}

.features-section,
.services-preview,
.comparison-table-section,
.testimonials-section,
.blog-preview {
    padding: 5rem 0;
}

.features-section h2,
.services-preview h2,
.comparison-table-section h2,
.testimonials-section h2,
.blog-preview h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--royal-purple);
    margin-bottom: 3rem;
}

body.dark-mode h2 {
    color: var(--soft-gold);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(91, 44, 111, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--royal-purple);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

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

.service-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(91, 44, 111, 0.2);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-item h3 {
    color: var(--royal-purple);
    font-size: 1.6rem;
    padding: 1.5rem 1.5rem 1rem;
}

.service-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
}

.secondary-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.secondary-button:hover {
    background-color: var(--royal-purple);
    transform: translateY(-2px);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--primary-purple) 100%);
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e8e0f0;
}

.comparison-table tbody tr:hover {
    background-color: rgba(102, 51, 153, 0.05);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    border-left: 4px solid var(--gold);
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--royal-purple);
    font-weight: bold;
}

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

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(91, 44, 111, 0.2);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card h3 {
    color: var(--royal-purple);
    font-size: 1.5rem;
    padding: 1.5rem 1.5rem 1rem;
}

.blog-card p {
    padding: 0 1.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0 1.5rem 1.5rem;
    color: var(--primary-purple);
    text-decoration: none;
    border: 2px solid var(--primary-purple);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--primary-purple);
    color: var(--white);
}

.site-footer {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--dark-text) 100%);
    color: var(--pearl-white);
    padding: 3.5rem 0 1.5rem;
    margin-top: 5rem;
}

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

.footer-column h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-column p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--pearl-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--soft-gold);
}

.registration-number {
    font-size: 0.9rem;
    color: var(--light-purple);
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 246, 240, 0.2);
}

.page-hero {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--primary-purple) 100%);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
}

.hero-overlay h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-overlay p {
    color: var(--pearl-white);
    font-size: 1.3rem;
}

.about-intro,
.mission-vision,
.team-section,
.stats-section,
.why-choose-us {
    padding: 4rem 0;
}

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

.about-content h2 {
    color: var(--royal-purple);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-main-image {
    width: 100%;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(91, 44, 111, 0.2);
}

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

.mission-card,
.reason-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover,
.reason-item:hover {
    transform: translateY(-8px);
}

.mission-icon,
.reason-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.mission-card h3,
.reason-item h3 {
    color: var(--royal-purple);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

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

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--royal-purple);
    font-size: 1.5rem;
    padding: 1.5rem 1.5rem 0.5rem;
}

.team-role {
    color: var(--gold);
    font-weight: bold;
    padding: 0 1.5rem;
}

.team-bio {
    padding: 1rem 1.5rem 1.5rem;
    color: var(--light-text);
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-text);
    margin-top: 1rem;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--royal-purple);
    font-size: 1.1rem;
}

.services-detailed {
    padding: 4rem 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-text h2 {
    color: var(--royal-purple);
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}

.service-text p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    padding: 0.8rem 0;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-features i {
    color: var(--gold);
}

.service-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.service-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.service-detail .service-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(91, 44, 111, 0.2);
}

.process-section,
.pricing-section,
.faq-section {
    padding: 4rem 0;
    background: var(--white);
}

body.dark-mode .process-section,
body.dark-mode .pricing-section,
body.dark-mode .faq-section {
    background: #2a1a3a;
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    color: var(--royal-purple);
    margin-bottom: 1rem;
}

.pricing-intro {
    text-align: center;
    color: var(--light-text);
    font-size: 1.2rem;
    margin-top: 1rem;
}

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

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-card.featured {
    border: 3px solid var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gold);
    color: var(--royal-purple);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
}

.pricing-card h3 {
    color: var(--royal-purple);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 2rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e8e0f0;
}

.package-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.package-btn:hover {
    background-color: var(--royal-purple);
    transform: translateY(-3px);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
}

.faq-question {
    color: var(--royal-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-answer {
    color: var(--light-text);
    line-height: 1.8;
}

.blog-main {
    padding: 4rem 0;
}

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

.blog-post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    transition: all 0.4s ease;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(91, 44, 111, 0.2);
}

.post-image-container {
    position: relative;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.post-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--royal-purple);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
}

.post-content {
    padding: 2rem;
}

.post-content h2 a {
    color: var(--royal-purple);
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.post-content h2 a:hover {
    color: var(--gold);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    color: var(--light-text);
    font-size: 0.95rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.read-more-btn:hover {
    color: var(--gold);
    gap: 1rem;
}

.blog-sidebar-section {
    padding: 3rem 0;
    background: var(--white);
}

.sidebar-container {
    max-width: 400px;
    margin: 0 auto;
}

.sidebar-widget {
    background: var(--pearl-white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
}

.sidebar-widget h3 {
    color: var(--royal-purple);
    margin-bottom: 1.5rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #e8e0f0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: var(--gold);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 2px solid var(--light-purple);
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container,
.contact-info-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--royal-purple);
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light-purple);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-btn {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: start;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-top: 0.3rem;
}

.contact-info-item h3 {
    color: var(--royal-purple);
    margin-bottom: 0.5rem;
}

.contact-info-item a {
    color: var(--primary-purple);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--gold);
}

.map-section {
    padding: 4rem 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(91, 44, 111, 0.2);
    margin-top: 2rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideDown 0.4s ease;
}

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

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--royal-purple);
}

.modal-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    color: var(--royal-purple);
    margin-bottom: 1rem;
}

.modal-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.blog-post {
    margin-bottom: 4rem;
}

.post-header {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--primary-purple) 100%);
    padding: 4rem 0;
    text-align: center;
}

.post-header h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.post-meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--pearl-white);
    font-size: 1rem;
}

.post-featured-image {
    max-width: 1400px;
    margin: -3rem auto 3rem;
    padding: 0 2rem;
}

.post-featured-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(91, 44, 111, 0.3);
}

.post-content-wrapper {
    padding: 3rem 0;
}

.post-body {
    max-width: 900px;
    margin: 0 auto;
}

.lead-paragraph {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    line-height: 2;
}

.post-body h2 {
    color: var(--royal-purple);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

.post-body p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

.related-posts {
    padding: 4rem 0;
    background: var(--white);
}

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

.related-card {
    background: var(--pearl-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(91, 44, 111, 0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h3 {
    padding: 1.5rem;
}

.related-card h3 a {
    color: var(--royal-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card h3 a:hover {
    color: var(--gold);
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--primary-purple) 100%);
    color: var(--white);
    padding: 2rem;
    box-shadow: 0 -5px 20px rgba(91, 44, 111, 0.3);
    z-index: 1500;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

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

.cookie-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--soft-gold) 100%);
    color: var(--royal-purple);
}

.customize-btn {
    background: var(--white);
    color: var(--royal-purple);
}

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

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

.cookie-link {
    color: var(--soft-gold);
    text-decoration: underline;
    margin-top: 1rem;
    display: inline-block;
}

@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .primary-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.4rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features-section h2,
    .services-preview h2 {
        font-size: 2rem;
    }
}

h1, h2, h3, h4, h5, h6 {word-break: break-word;}
