/* ========== CENTRAL STYLES - SHARED ACROSS ALL PAGES ========== */

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* ========== HEADER STYLES (From Base Index) ========== */
header {
    background-color: #1a365d;
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.logo span {
    color: #f0a500;
}

.institution-name {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 2px;
    font-weight: 400;
}

/* Social Media Top */
.social-media-top {
    display: flex;
    gap: 15px;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
}

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

.social-icon:hover {
    background-color: #f0a500;
    transform: translateY(-3px);
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 5px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

nav ul li a:hover, nav ul li a.active {
    color: #f0a500;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== PAGE HEADER (Shared) ========== */
.page-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 30px;
}

.page-header-badge {
    display: inline-block;
    background: rgba(240, 165, 0, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.page-header-badge i {
    color: #f0a500;
    margin-right: 8px;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.header-stat {
    text-align: center;
}

.header-stat .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #f0a500;
    margin-bottom: 5px;
}

.header-stat .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.breadcrumb .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb-links a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-links a:hover {
    color: #f0a500;
}

.breadcrumb-links .separator {
    color: #999;
}

.breadcrumb-links .current {
    color: #f0a500;
    font-weight: 600;
}

/* ========== SECTION TITLES ========== */
.section-title {
    color: #1a365d;
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #f0a500;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ========== CTA BUTTONS ========== */
.cta-primary {
    background: #f0a500;
    color: white;
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    background: #d18f00;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(240, 165, 0, 0.3);
}

.cta-secondary {
    background: #1a365d;
    color: white;
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-secondary:hover {
    background: #2c5282;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 54, 93, 0.3);
}

/* ========== FEATURE CARDS (Reusable) ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: all 0.4s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
    border-color: #f0a500;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #f0a500;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: #f0a500;
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* ========== PRICING CARDS ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: all 0.4s;
    position: relative;
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid #f0a500;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(240, 165, 0, 0.15);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #f0a500;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-header h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f0a500;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.pricing-features i {
    color: #28a745;
    width: 20px;
}

.pricing-btn {
    display: block;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background: #1a365d;
    color: white;
}

.pricing-btn:hover {
    background: #2c5282;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.2);
}

.pricing-card.popular .pricing-btn {
    background: #f0a500;
}

.pricing-card.popular .pricing-btn:hover {
    background: #d18f00;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: all 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
    border-color: #f0a500;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a365d, #2c5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.testimonial-info h4 {
    color: #1a365d;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: #666;
    font-size: 0.85rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-stats {
    display: flex;
    gap: 15px;
    color: #f0a500;
    font-size: 0.9rem;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    margin-bottom: 60px;
}

.faq-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    color: #1a365d;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-question i {
    color: #f0a500;
    transition: transform 0.3s;
    font-size: 1.2rem;
}

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

.faq-answer {
    margin-top: 15px;
    color: #666;
    line-height: 1.7;
    display: none;
    padding-right: 30px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* ========== FOOTER STYLES ========== */
footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #f0a500;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer-section p, .footer-section a {
    color: #ccc;
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f0a500;
}

.footer-logo h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 5px;
}

.footer-logo span {
    color: #f0a500;
}

.social-media-footer {
    margin-top: 25px;
}

.social-media-footer h4 {
    margin-bottom: 15px;
    color: #f0a500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* ========== POPUP FORMS ========== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    display: none;
}

.popup-form {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupFadeIn 0.3s ease;
}

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

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.popup-form h2 {
    color: #1a365d;
    margin-bottom: 25px;
    text-align: center;
}

.popup-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.popup-form input:focus,
.popup-form select:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: #f0a500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating span {
    font-weight: 600;
    color: #1a365d;
}

.stars {
    display: flex;
    gap: 5px;
}

.stars i {
    color: #ddd;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.stars i.active,
.stars i:hover {
    color: #f0a500;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1da851;
}

/* Action Buttons */
.action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.action-btn {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    font-size: 1rem;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feedback-btn {
    background-color: #1a365d;
}

.whatsapp-btn-fixed {
    background-color: #25D366;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    nav {
        width: 100%;
        display: none;
        margin-top: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 8px 0;
    }
    
    .social-media-top {
        display: none;
    }
    
    .page-header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .action-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .faq-container {
        padding: 25px;
    }
}