/* =================================== */
/* General Body and Font Styles        */
/* =================================== */
html, body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.hero-bg {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* =================================== */
/* 4. NEW "Our Core Services" Section  */
/* =================================== */
.services-section {
    background-color: #f8fafc; /* bg-light, to contrast with white cards */
}

.new-service-card {
    background-color: #ffffff; /* White card */
    border-radius: 1rem; /* 16px */
    padding: 2.5rem 2rem; /* 40px 32px */
    text-align: center;
    border: 1px solid #e5e7eb; /* Light border */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.new-service-card:hover {
    transform: translateY(-12px); /* कार्ड ऊपर उठेगा */
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15); /* नीली छाया */
    border-color: #2563eb; /* नीली किनारी */
}

.new-service-icon-wrapper {
    margin-left: auto;
    margin-right: auto;
    height: 5rem; /* 80px */
    width: 5rem; /* 80px */
    border-radius: 9999px; /* Full circle */
    background-color: #dbeafe; /* Light blue background */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem; /* 24px */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.new-service-card:hover .new-service-icon-wrapper {
    background-color: #2563eb; /* Primary blue background on hover */
    transform: scale(1.1);
}

.new-service-icon-wrapper .fas {
    font-size: 2.25rem; /* 36px */
    color: #2563eb; /* Primary blue icon */
    transition: color 0.3s ease, transform 0.3s ease;
}

.new-service-card:hover .new-service-icon-wrapper .fas {
    color: #ffffff; /* White icon on hover */
    transform: rotate(-15deg); /* आइकन घूमेगा */
}

.new-service-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    color: #1e293b; /* text-dark */
    margin-bottom: 0.75rem; /* 12px */
}

.new-service-description {
    font-size: 0.95rem; /* 15px */
    color: #4b5563; /* text-gray-600 */
    line-height: 1.6;
    margin-bottom: 1.5rem; /* 24px */
}

.new-service-button {
    display: inline-block;
    font-weight: 500;
    color: #2563eb; /* text-primary */
    text-decoration: none;
    transition: color 0.3s ease;
}
.new-service-button .fas {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.new-service-card:hover .new-service-button {
    color: #1e293b; /* text-dark */
}

.new-service-card:hover .new-service-button .fas {
    transform: translateX(5px); /* Arrow आगे बढ़ेगा */
}

/* Mobile Fallback Styles */
@media (max-width: 767px) {
    .services-section .service-card {
        min-height: 0;
    }
    
    .services-section .service-card-inner {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        border-radius: 1rem;
        padding: 24px;
        background-color: #fdf2f8;
        text-align: center;
    }

    .services-section .service-card-front {
        display: none; 
    }
    
    .services-section .service-card-back {
        display: block; 
        color: #1e293b;
    }

    .services-section .service-card-back .service-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .services-section .service-card-back .service-description {
        color: #475569;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .services-section .service-card-back .service-button {
        display: inline-block;
        background-color: #2563eb;
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 9999px;
        font-weight: 500;
        text-align: center;
        margin-top: 1rem;
        text-decoration: none;
    }

    .services-section .service-card-back .service-button:hover {
        background-color: #1d4ed8;
    }
}

/* =================================== */
/* Process Section                     */
/* =================================== */
.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background-color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.process-step .step-circle span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.5rem;
        left: calc(50% + 2.5rem);
        width: calc(100% - 5rem);
        height: 2px;
        background-color: #e5e7eb;
        z-index: 1;
    }
}

/* =================================== */
/* Testimonials Section                */
/* =================================== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feather-star {
    fill: #facc15;
    color: #facc15;
}

/* =================================== */
/* Contact Section                     */
/* =================================== */
#contact .info-icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

#contact .info-icon-circle i, #contact .info-icon-circle svg {
    color: #2563eb;
}

#contact a {
    color: #4b5563;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #2563eb;
}

/* =================================== */
/* Footer Section                      */
/* =================================== */
footer a {
    transition: color 0.3s ease;
}

footer .social-icon a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

footer .social-icon a:hover {
    background-color: #2563eb;
}

/* =================================== */
/* Blog Page Styles                    */
/* =================================== */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =================================== */
/* Single Post Page Styles             */
/* =================================== */
.post-content h1, .post-content h2, .post-content h3 {
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.post-content h1 { font-size: 2.25rem; }
.post-content h2 { font-size: 1.875rem; }
.post-content h3 { font-size: 1.5rem; }

.post-content p {
    margin-bottom: 1.25em;
    line-height: 1.7;
    color: #4b5563;
}

.post-content a {
    color: #2563eb;
    text-decoration: underline;
}

.post-content ul, .post-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.25em;
    color: #4b5563;
}

.post-content li {
    margin-bottom: 0.5em;
}

.post-content blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #6b7280;
}

/* =================================== */
/* Admin Panel Styles                  */
/* =================================== */
#posts-list .post-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background-color: #F9FAFB;
    border-radius: 0.75rem;
    border: 1px solid #E5E7EB;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#posts-list .post-item:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
    #posts-list .post-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

#posts-list .post-item-info {
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

@media (min-width: 640px) {
    #posts-list .post-item-info {
        margin-bottom: 0;
    }
}

#posts-list .post-item-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
/* =================================== */
/* Single Post Page Enhancements       */
/* =================================== */

/* Justify paragraph text for a cleaner look */
.post-content p {
    text-align: justify;
}

/* Styles for Next/Previous post navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.post-navigation a {
    display: block;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    max-width: 48%;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.post-navigation a:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.post-navigation .nav-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.post-navigation .nav-title {
    font-weight: 600;
    color: #1e293b;
    margin-top: 0.25rem;
}

.post-navigation .prev-post {
    text-align: left;
}

.post-navigation .next-post {
    text-align: right;
}
input[type="text"], input[type="url"], select, textarea {
  font-family: inherit;
  border: 1px solid #e6edf3;
  background: #fff;
  transition: box-shadow .18s ease, border-color .12s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(37,99,235,0.85);
  box-shadow: 0 6px 18px rgba(37,99,235,0.06);
}
button {
  font-family: inherit;
}
#posts-list .thumb-sm { border-radius: 6px; }

.ql-editor { min-height: 260px; font-size: 15px; line-height: 1.65; }
.ql-toolbar { border-radius: 8px 8px 0 0; }

#editor-container { border-radius: 8px; }

@media (max-width: 1024px) {
  aside { display:none; }
}
/* =================================== */
/* 1. "Wao" Hero Background Animation  */
/* =================================== */
.hero-bg {
    /* We add 2 more colors to make the pan smooth */
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #1d4ed8 100%);
    background-size: 200% 200%;
    animation: gradient-pan 15s ease infinite;
}

@keyframes gradient-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero form button hover effect */
.hero-bg form button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-bg form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* =================================== */
/* 2. "Process" Step Hover Effect      */
/* =================================== */
.process-step .step-circle {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.process-step:hover .step-circle {
    transform: scale(1.1) translateY(-5px); /* Lifts the circle up */
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4); /* Stronger glow */
    background-color: #1d4ed8; /* Darker blue on hover */
}

/* =================================== */
/* 3. "Testimonial" Card Polish        */
/* =================================== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; /* Add a transparent border to prevent layout shift */
    background-clip: padding-box; 
}

.testimonial-card:hover {
    transform: translateY(-10px);
    /* Blue-tinted shadow for a premium feel */
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 10px 10px -5px rgba(37, 99, 235, 0.05);
    border-color: #2563eb; /* Add blue border on hover */
}



