/* ========================================
   RAKSHAN ITI - COMMON CLASSES & COMPONENTS
   Additional styles for inner pages
   ======================================== */

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--raksha-green), #003d30);
    padding: 120px 20px 80px;
    text-align: center;
    margin-top: 85px;
}

.page-header-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #fff;
    margin-bottom: 12px;
}

.page-header-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== CONTENT GRIDS ==================== */
.content-grid,
.content-grid-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid-reverse {
    direction: rtl;
}

.content-grid-reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 12px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-text {
    padding: 20px 0;
}

.content-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--raksha-green);
    margin-bottom: 24px;
}

/* ==================== CARD GRIDS ==================== */
.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==================== INFO CARDS ==================== */
.info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--raksha-gold);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--raksha-green), #003d30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--raksha-gold);
    font-size: 24px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--raksha-green);
    margin-bottom: 16px;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==================== VALUE CARDS ==================== */
.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--raksha-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.value-icon {
    width: 70px;
    height: 70px;
    border: 2px solid var(--raksha-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--raksha-green);
    font-size: 28px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--raksha-green);
    color: var(--raksha-gold);
}

.value-card h3 {
    font-size: 20px;
    color: var(--raksha-green);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ==================== TEAM CARDS DETAILED ==================== */
.team-card-detailed {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.team-image-large {
    height: 400px;
    overflow: hidden;
}

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

.team-details {
    padding: 40px 30px;
}

.team-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--raksha-green);
    margin-bottom: 8px;
}

.team-designation {
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 24px;
}

.team-bio p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

/* ==================== PRACTICE BADGE ==================== */
.practice-badge {
    width: 70px;
    height: 70px;
    background: var(--raksha-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--raksha-green);
    font-size: 28px;
    margin-bottom: 24px;
}

/* ==================== FEATURE LIST ==================== */
.feature-list {
    list-style: none;
    margin: 24px 0 32px;
}

.feature-list li {
    padding: 12px 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--raksha-gold);
    font-size: 18px;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--raksha-green), #003d30);
    padding: 80px 20px;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

/* ==================== BLOG CARDS ==================== */
.blog-card-standard {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-card-standard:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.blog-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--raksha-gold);
    color: var(--raksha-green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card-content {
    padding: 28px 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--raksha-green);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    color: var(--raksha-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
    color: var(--raksha-green);
}

/* ==================== FEATURED POST ==================== */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

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

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--raksha-gold);
    color: var(--raksha-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.featured-post-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--raksha-green);
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-post-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
}

.pagination-link {
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--raksha-green);
    color: #fff;
    border-color: var(--raksha-green);
}

/* ==================== NEWSLETTER ==================== */
.newsletter-section {
    background: var(--light-bg);
    padding: 60px 20px;
}

.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.newsletter-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--raksha-green);
    margin-bottom: 12px;
}

.newsletter-text p {
    color: var(--text-gray);
}

.newsletter-form form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--raksha-gold);
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-section {
    background: var(--light-bg);
    padding: 20px;
    margin-top: 85px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--raksha-green);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--raksha-gold);
}

/* ==================== ARTICLE LAYOUT ==================== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.article-header {
    margin-bottom: 32px;
}

.article-category {
    display: inline-block;
    background: var(--raksha-gold);
    color: var(--raksha-green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--raksha-green);
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--raksha-green);
    font-size: 15px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-gray);
}

.article-share {
    display: flex;
    gap: 12px;
}

.article-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--raksha-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-share a:hover {
    background: var(--raksha-green);
    color: #fff;
}

.article-featured-image {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    display: block;
}

.article-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.lead-paragraph {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--raksha-green);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--raksha-green);
    margin: 32px 0 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0 20px 24px;
    color: var(--text-gray);
}

.article-content ul li {
    margin-bottom: 10px;
}

.article-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.article-tags strong {
    color: var(--raksha-green);
}

.article-tags a {
    padding: 6px 16px;
    background: var(--light-bg);
    border-radius: 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: var(--raksha-gold);
    color: var(--raksha-green);
}

/* ==================== SIDEBAR ==================== */
.article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--raksha-green);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--raksha-gold);
}

.author-bio {
    text-align: center;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
}

.author-bio h4 {
    color: var(--raksha-green);
    margin-bottom: 12px;
}

.author-bio p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.recent-post-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.recent-post-item:hover {
    padding-left: 8px;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-post-item h4 {
    font-size: 15px;
    color: var(--raksha-green);
    margin-bottom: 6px;
    line-height: 1.4;
}

.recent-post-item span {
    font-size: 12px;
    color: var(--text-gray);
}

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

.category-list li {
    margin-bottom: 12px;
}

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

.category-list a:hover {
    color: var(--raksha-green);
    padding-left: 8px;
}

.category-list span {
    color: var(--raksha-gold);
    font-weight: 600;
}

/* ==================== CONTACT PAGE ==================== */
.contact-info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--raksha-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--raksha-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--raksha-green);
    font-size: 26px;
}

.contact-info-card h3 {
    font-size: 20px;
    color: var(--raksha-green);
    margin-bottom: 16px;
}

.contact-info-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-info-card a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-layout {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--raksha-green);
    margin-bottom: 12px;
}

.contact-form-wrapper > p {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.contact-form-full .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-full select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background: var(--light-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.contact-form-full select:focus {
    outline: none;
    border-color: var(--raksha-gold);
}

.required {
    color: var(--raksha-gold);
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
}

.office-hours {
    margin: 24px 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item strong {
    color: var(--raksha-green);
}

.hours-item span {
    color: var(--text-gray);
}

.emergency-note {
    margin-top: 32px;
    padding: 24px;
    background: #fff3cd;
    border-left: 4px solid var(--raksha-gold);
    border-radius: 8px;
}

.emergency-note p {
    margin-bottom: 8px;
}

.emergency-note a {
    color: var(--raksha-green);
    font-weight: 600;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==================== FAQ ==================== */
.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

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

.faq-question h3 {
    font-size: 18px;
    color: var(--raksha-green);
    font-weight: 600;
}

.faq-question i {
    color: var(--raksha-gold);
    font-size: 18px;
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

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