/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0F2A44;
    --secondary-color: #E5E7EB;
    --accent-color: #C9A86A;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --white: #ffffff;
    --success-color: #10b981;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    padding-top: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

body:has(.admin-wrapper) {
    padding-top: 0;
}


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

/* Navigation */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}



.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-img {
    height: 90px;
    width: auto;
}

.logo-img-footer {
    height: 90px;
    width: auto;
    margin-bottom: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle i {
    pointer-events: none;
    /* Prevent icon from blocking clicks */
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #E5E7EB;
    color: #1e293b;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


/* Hero Section */
/* Hero Section */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('Image background.jpg') center center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 6rem 0;
    /* Increased top padding from 6rem to 8rem */
    text-align: center;
    position: relative;
    z-index: 1;
}



.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Why Us Section */
.why-us {
    padding: 5rem 0 2rem 0;
    background: var(--white);
}

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

.why-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.why-card p {
    color: var(--gray-color);
}

/* Services Section */
.services {
    padding: 2rem 0 5rem 0;
    background: var(--light-color);
}
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

.service-category {
    margin-bottom: 5rem; /* ← ADD THIS - creates consistent spacing between sections */
}

.service-category:last-child {
    margin-bottom: 0; /* ← ADD THIS - removes extra space after last section */
}

.service-category h2 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 3rem;
    text-align: center;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 3rem;  
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 0; /* ← CHANGE from 2rem to 0 */
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.founder-message {
    margin-top: 2rem;
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.founder-message h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.founder-message blockquote {
    margin: 0;
}

.founder-message blockquote p {
    font-style: italic;
    color: var(--dark-color);
}

.founder-message blockquote p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}


/* Team Section - AUTO-ADAPTIVE */
.team {
    padding: 5rem 0;
    background: var(--light-color);
}

.team .container {
    position: relative;
}

/* NEW: Wrapper for overflow control */
.team-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 70px;
    /* Space for arrow buttons */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transition: all 0.5s ease;
}

/* When slider mode is active */
.team-grid.slider-mode {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.team-grid.slider-mode .team-card {
    min-width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
    box-sizing: border-box;
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Team Social Links */
.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(15, 42, 68, 0.3);
}

/* Team Navigation Arrows */
.team-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-btn.active {
    display: flex;
}

.team-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.team-prev {
    left: 0;
}

.team-next {
    right: 0;
}

/* Team Dots */
.team-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.team-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.team-dot:hover {
    background: #bbb;
}

.team-dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

/* Mobile: Always Grid View */
@media (max-width: 768px) {
    .team-wrapper {
        padding: 0;
        overflow: visible;
    }

    .team-grid,
    .team-grid.slider-mode {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 2rem;
        transform: none !important;
    }

    .team-grid.slider-mode .team-card {
        min-width: 100%;
        flex: none;
    }

    .team-btn {
        display: none !important;
    }

    .team-dots {
        display: none;
    }
}

/* Programs & Workshops Section */
.programs {
    padding: 5rem 0;
    background: var(--white);
}

.programs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.programs-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
    overflow: hidden;
}

.programs-slider {
    display: flex;
    gap: 2rem;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.program-card {
    min-width: calc(33.333% - 1.35rem);
    flex: 0 0 calc(33.333% - 1.35rem);
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

.program-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.program-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.program-meta i {
    font-size: 1rem;
}

/* Navigation Arrows */
.program-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.program-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.program-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.program-prev {
    left: 0;
}

.program-next {
    right: 0;
}

/* Dots Navigation */
.program-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.program-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.program-dot:hover {
    background: #bbb;
}

.program-dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

/* CTA Button */
.programs-cta {
    text-align: center;
    margin-top: 3rem;
}

.programs-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 968px) {
    .program-card {
        min-width: calc(50% - 1rem);
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .programs {
        padding: 3rem 0;
    }

    .programs .container {
        padding: 0;
        /* Remove container padding */
    }

    .programs-wrapper {
        padding: 0 1rem;
        /* minimal individual padding */
    }

    .programs-slider {
        gap: 0;
    }

    .program-card {
        min-width: 100%;
        flex: 0 0 100%;
        border-radius: 0;
        /* Optional: squared edges for full screen feel? Or keep radius with small margin? User said "full screen" */
        /* Let's keep small margin for aesthetics but remove the huge wrapper padding */
    }

    .program-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(15, 42, 68, 0.7);
        /* Semi-transparent */
    }

    /* Reposition arrows to overlay or bottom */
    .program-prev {
        left: 10px;
    }

    .program-next {
        right: 10px;
    }

    .program-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .programs-wrapper {
        padding: 0 50px;
    }

    .program-btn {
        width: 40px;
        height: 40px;
    }

    .program-image {
        height: 180px;
    }
}

/* Testimonials Section */
/* Testimonials Slider */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
    overflow: hidden;
}



.testimonials-slider {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: calc(33.333% - 1rem);
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}

.testimonial-author strong {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Navigation Arrows */
.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

/* Dots Navigation */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot:hover {
    background: #bbb;
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

/* Mobile Responsive */
/* Mobile Responsive */
@media (max-width: 968px) {
    .testimonial-card {
        min-width: calc(50% - 0.75rem);
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }

    .testimonials .container {
        padding: 0;
    }

    .testimonials-slider-wrapper {
        padding: 0 1rem;
    }

    .testimonials-slider {
        gap: 0;
    }

    .testimonial-card {
        min-width: 100%;
        flex: 0 0 100%;
        padding: 2rem 1.5rem;
        box-shadow: none;
        /* simplified for mobile */
        border: 1px solid #eee;
    }

    .testimonial-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(15, 42, 68, 0.7);
    }

    .testimonial-prev {
        left: 10px;
    }

    .testimonial-next {
        right: 10px;
    }

    .quote-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-slider-wrapper {
        padding: 0 50px;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

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

.contact-item p {
    color: var(--gray-color);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.country-select {
    flex: 0 0 130px;
    background-color: #f8fafc;
}

.phone-input-group input {
    flex: 1;
}

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

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--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 h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .logo-img {
        height: 100px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.team-card,
.why-card {
    animation: fadeIn 0.6s ease-out;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed !important;
    bottom: 110px !important;
    right: 30px !important;
    width: 55px !important;
    height: 55px !important;
    background: #0F2A44 !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    font-size: 1.3rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.back-to-top:hover {
    background: #C9A86A !important;
    transform: scale(1.1) !important;
}

/* =============================================
   PRIVACY POLICY & TERMS PAGES
   ============================================= */

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 10px;
    font-weight: 700;
}

.policy-header p {
    color: #666;
    font-size: 0.95rem;
}

.policy-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.policy-content h2 {
    color: #1a237e;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
}

.policy-content li {
    color: #333;
    line-height: 1.8;
    margin-bottom: 8px;
}

.policy-content a {
    color: #1a237e;
    text-decoration: underline;
}

.policy-content a:hover {
    color: #0d47a1;
}

.policy-content strong {
    color: #1a237e;
    font-weight: 600;
}

.back-home {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.back-home a {
    display: inline-block;
    padding: 12px 30px;
    background: #1a237e;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-home a:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .policy-container {
        padding: 80px 15px 40px;
    }

    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-content {
        padding: 25px 20px;
    }

    .policy-content h2 {
        font-size: 1.3rem;
    }

    .policy-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 1.75rem;
    }

    .policy-content {
        padding: 20px 15px;
    }

    .policy-content h2 {
        font-size: 1.2rem;
    }

    .back-home a {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

.policy-page {
    padding-top: 120px;
    /* Space for fixed navbar */
}

/* =============================================
   BLOG ADMIN PANEL (Isolated - Won't affect main site)
   ============================================= */

/* Only apply these styles to admin.html */
body:has(.admin-wrapper) {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

.admin-sidebar {
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-nav-btn i {
    margin-right: 10px;
    width: 20px;
}

.admin-main {
    margin-left: 250px;
    flex: 1;
    padding: 40px;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 2.5rem;
    color: #1a237e;
    margin: 0;
}

/* Posts List */
.posts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.post-card-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #667eea;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.post-card-content {
    padding: 20px;
}

.post-card-content h3 {
    font-size: 1.3rem;
    color: #1a237e;
    margin: 0 0 15px 0;
}

.post-card-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-card-meta i {
    margin-right: 5px;
}

.post-card-actions {
    display: flex;
    gap: 10px;
}

.btn-edit,
.btn-delete {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #667eea;
    color: #fff;
}

.btn-edit:hover {
    background: #5568d3;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
}

.btn-delete:hover {
    background: #c82333;
}

/* Editor */
.editor-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.title-input {
    width: 100%;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 20px;
}

.title-input:focus {
    outline: none;
    border-color: #667eea;
}

.title-input::placeholder {
    color: #ccc;
}

.editor-toolbar {
    display: flex;
    gap: 5px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.toolbar-btn {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.toolbar-divider {
    width: 1px;
    background: #ddd;
    margin: 0 5px;
}

.content-editor {
    min-height: 400px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    background: #fff;
}

.content-editor:focus {
    outline: none;
    border-color: #667eea;
}

.content-editor p {
    margin-bottom: 15px;
    color: #333;
}

.content-editor h2 {
    color: #1a237e;
    margin-top: 20px;
    margin-bottom: 10px;
}

.post-meta-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.post-meta-group .form-group label {
    display: block;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 8px;
}

.post-meta-group .form-group input,
.post-meta-group .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
}

.post-meta-group .form-group input:focus,
.post-meta-group .form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.editor-actions {
    display: flex;
    gap: 15px;
}

.admin-wrapper .btn-primary,
.admin-wrapper .btn-secondary,
.admin-wrapper .btn-publish {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-wrapper .btn-primary,
.admin-wrapper .btn-publish {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.admin-wrapper .btn-primary:hover,
.admin-wrapper .btn-publish:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.admin-wrapper .btn-secondary {
    background: #e0e0e0;
    color: #666;
}

.admin-wrapper .btn-secondary:hover {
    background: #d0d0d0;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    margin-bottom: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .admin-header h1 {
        font-size: 2rem;
    }

    .posts-list {
        grid-template-columns: 1fr;
    }

    .title-input {
        font-size: 1.5rem;
    }

    .editor-toolbar {
        padding: 10px;
    }
}

/* MOBILE MENU FIX - MUST BE LAST */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--white) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        box-shadow: var(--shadow) !important;
        display: none !important;
        z-index: 999 !important;
    }

    .nav-menu.active {
        display: flex !important;
    }
}

/* MOBILE MENU Z-INDEX FIX */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        z-index: 2000 !important;
        /* Higher than hero */
    }

    .nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--white) !important;
        flex-direction: column !important;
        padding: 1rem !important;
        box-shadow: var(--shadow) !important;
        display: none !important;
        z-index: 2001 !important;
        /* Even higher */
    }

    .nav-menu.active {
        display: flex !important;
    }
}

/* Desktop services grid - centered layout */
@media (min-width: 992px) {

    /* For 4-card sections */
    .service-category .services-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem;
        justify-content: center;
    }

    /* For 3-card sections - center them */
    .service-category .services-grid:has(.service-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 75%;
        margin: 0 auto;
    }
}

/* ===== DESKTOP SERVICES GRID ALIGNMENT - FULL WIDTH ===== */
@media (min-width: 992px) {
  /* Remove container width limit for services */
  .services .container {
    max-width: 100% !important;
    padding: 0 4rem !important;
  }
  
  /* Reset all grids first */
  .service-category .services-grid {
    display: grid !important;
    gap: 2rem;
  }
  
  /* Count by service-category divs */
  .services .service-category:nth-child(2) .services-grid {
    grid-template-columns: repeat(3, 1fr) !important; /* Business Setup - 3 cards */
  }
  
  .services .service-category:nth-child(3) .services-grid {
    grid-template-columns: repeat(3, 1fr) !important; /* Accounting - 3 cards */
  }
  
  .services .service-category:nth-child(4) .services-grid {
    grid-template-columns: repeat(4, 1fr) !important; /* Taxation - 4 cards */
  }
  
  .services .service-category:nth-child(5) .services-grid {
    grid-template-columns: 1fr !important; /* Payroll - 1 card */
  }
}


/* ===== DESKTOP WHY US GRID - AUTO ADJUST ===== */
@media (min-width: 992px) {
  /* Default: 4-card layout */
  .why-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
    justify-content: center;
  }
  
  /* If only 3 cards exist - center them */
  .why-grid:has(.why-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(280px, 350px)) !important;
    justify-content: center;
  }
  
  /* If only 2 cards exist - center them */
  .why-grid:has(.why-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(300px, 400px)) !important;
    justify-content: center;
  }
}

/* ========================================
   BLOG SECTION - REFINED & BEAUTIFUL
   ======================================== */

/* Blog Header with Gradient */
.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d6f 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-header .container {
    position: relative;
    z-index: 1;
}

.blog-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.blog-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Blog Card - Enhanced */
.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease-out backwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Blog Image */
.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Category Badge */
.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Category Colors */
.blog-category[data-category="Tax"],
.blog-category:contains("Tax") {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blog-category[data-category="GST"],
.blog-category:contains("GST") {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.blog-category[data-category="Accounting"],
.blog-category:contains("Accounting") {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.blog-category[data-category="Business"],
.blog-category:contains("Business") {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

/* Blog Content */
.blog-content {
    padding: 2rem;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-meta span {
    font-size: 0.9rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-date, .blog-author {
    font-weight: 500;
}

/* Blog Title */
.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content h2 a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: var(--accent-color);
}

/* Blog Excerpt */
.blog-content > p {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Read More Button */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateX(5px);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.no-posts h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.no-posts p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* ========================================
   INDIVIDUAL BLOG POST PAGE
   ======================================== */

.blog-post {
    padding: 3rem 0;
    background: var(--light-color);
}

.blog-post .container {
    max-width: 900px;
}

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.post-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b8935d 100%);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

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

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

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Featured Image */
.post-featured-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.post-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 0.8rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gray-color);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d6f 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 8px 30px rgba(15, 42, 68, 0.3);
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: var(--white);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 168, 106, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(201, 168, 106, 0.5);
}

/* Back to Blog */
.back-to-blog {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.back-to-blog a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.back-to-blog a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateX(-5px);
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-header p {
        font-size: 1.1rem;
    }

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

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-content h2 {
        font-size: 1.3rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        padding: 2rem 1.5rem;
    }

    .post-content h2 {
        font-size: 1.6rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .post-content p,
    .post-content li {
        font-size: 1rem;
    }

    .blog-meta,
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .post-meta {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 4rem 0 3rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-content h2 {
        font-size: 1.2rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }
}

