/* ===================================
   Page-Specific Styles
   =================================== */

/* ===================================
   Page Hero Section
   =================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 150px 0 100px;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

/* ===================================
   Content Sections
   =================================== */
.content-section {
    padding: var(--spacing-xl) 0;
}

.content-section.bg-light {
    background: var(--bg-light);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-text {
    padding-right: var(--spacing-md);
}

.content-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.content-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

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

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--border-color);
}

/* ===================================
   Mission & Vision Cards
   =================================== */
.mission-vision {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.mv-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mv-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2.5rem;
    color: var(--bg-white);
}

.mv-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.mv-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Philosophy Detailed
   =================================== */
.philosophy-detailed {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-item {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 100px;
}

.philosophy-number {
    position: absolute;
    left: var(--spacing-md);
    top: var(--spacing-md);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
}

.philosophy-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.philosophy-item-text {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Strengths Grid
   =================================== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.strength-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
}

.strength-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
    color: var(--bg-white);
}

.strength-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.strength-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Timeline
   =================================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.timeline-marker {
    position: absolute;
    left: -42px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-light);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.timeline-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bg-white);
}

.cta-section .btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* ===================================
   Service Detail Sections
   =================================== */
.service-detail {
    padding: var(--spacing-xl) 0;
}

.service-detail-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 3rem;
    color: var(--bg-white);
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.service-detail-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.15);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    color: var(--bg-white);
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Contact Guide
   =================================== */
.contact-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.guide-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-top: 4rem;
    transition: var(--transition-base);
}

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

.guide-number {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
}

.guide-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.guide-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Info Cards (for contact page)
   =================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.info-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

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

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
    color: var(--bg-white);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.info-text {
    color: var(--text-light);
    line-height: 1.7;
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

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

.faq-question i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-md);
}

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

/* ===================================
   Responsive Design for Pages
   =================================== */
@media (max-width: 968px) {
    .page-title {
        font-size: 2.5rem;
    }

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

    .content-text {
        padding-right: 0;
    }

    .philosophy-item {
        padding-left: var(--spacing-md);
    }

    .philosophy-number {
        position: relative;
        left: 0;
        top: 0;
        display: block;
        margin-bottom: var(--spacing-sm);
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-marker {
        left: -35px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 80px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .content-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 2rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .mv-grid,
    .strengths-grid,
    .service-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -28px;
        width: 16px;
        height: 16px;
    }
}

/* ===================================
   Contact Form Section
   =================================== */
.contact-form-container {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
    background: #ffffff !important;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: grid !important;
    gap: var(--spacing-md);
}

.form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 5px !important;
}

.form-label span {
    background: #ff4d4d;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-input {
    width: 100% !important;
    padding: 15px 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    background: #fcfcfc !important;
    color: #1a1a1a !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

.form-input:focus {
    outline: none !important;
    border-color: #FF8C00 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1) !important;
}

textarea.form-input {
    min-height: 180px !important;
    resize: vertical;
}

.form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.checkbox-group {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    cursor: pointer;
    margin: 5px 0;
    font-size: 0.95rem;
    color: #444;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FF8C00;
}

.form-submit {
    text-align: center;
    margin-top: var(--spacing-md);
}

.form-submit .btn {
    width: 100% !important;
    max-width: 400px;
    padding: 20px 40px !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: var(--spacing-md) var(--spacing-sm);
    }

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

    .form-label span {
        display: inline-block;
        margin-top: 2px;
    }
}

/* ===================================
   Tab Switch Styles
   =================================== */
.form-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: var(--spacing-lg);
}

.form-tab {
    padding: 12px 30px;
    border-radius: 50px;
    background: #f0f0f0;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-tab:hover {
    background: #e8e8e8;
}

.form-tab.active {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.15);
}

.form-content-wrap {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-content-wrap.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 576px) {
    .form-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .form-tab {
        text-align: center;
    }
}