/* ===========================================
   SIGMA ECONOMICS CONSULTANCY - MAIN STYLES
   Complete CSS for entire website
   =========================================== */

/* === CSS VARIABLES === */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* ===========================================
   NAVIGATION (Bootstrap Integration)
   =========================================== */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.nav-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 0.25rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

/* ===========================================
   BUTTONS & COMMON ELEMENTS
   =========================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

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

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

section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================================
   HOME PAGE - MISSION
   =========================================== */
.mission {
    background-color: var(--bg-light);
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pillar i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.pillar h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===========================================
   HOME PAGE - SERVICES
   =========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.learn-more:hover {
    color: var(--primary-color);
}

/* ===========================================
   HOME PAGE - VALUES
   =========================================== */
.values {
    background-color: var(--bg-light);
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===========================================
   CTA SECTIONS
   =========================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    font-size: 1.1rem;
    margin: 1rem auto 2rem;
    color: var(--white);
}

/* ===========================================
   FEATURES SECTION
   =========================================== */
.features {
    padding: 5rem 0;
    background-color: #fff;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    background-color: var(--text-dark);
    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 h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

.social-links a:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

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

/* ===========================================
   PAGE HEADERS
   =========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--white);
    opacity: 0.9;
}

/* ===========================================
   ABOUT PAGE
   =========================================== */
.about-intro {
    padding: 5rem 0;
}

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

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image {
    text-align: center;
}

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

.mv-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mv-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.mv-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.mv-card p,
.mv-card ul {
    text-align: left;
}

.mission-premises {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.mission-premises h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.mission-premises ul,
.vision-list {
    list-style: none;
}

.mission-premises li,
.vision-list li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.8rem;
    align-items: start;
}

.mission-premises li i {
    color: var(--success-color);
    font-size: 1rem;
    margin-top: 0.3rem;
}

.vision-list {
    margin-top: 1.5rem;
}

.vision-list li i {
    color: var(--accent-color);
    margin-top: 0.3rem;
}

.values-detailed {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    display: flex;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.value-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.value-icon {
    flex-shrink: 0;
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.value-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.approach-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.approach-item {
    text-align: center;
    padding: 2rem;
}

.approach-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.approach-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.clients-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s;
}

.client-item:hover {
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.client-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.client-item p {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===========================================
   RESPONSIVE DESIGN - ABOUT PAGE
   =========================================== */
@media (max-width: 768px) {
    .about-content,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================================
   SERVICES PAGE
   =========================================== */
.services-intro {
    padding: 3rem 0;
    text-align: center;
}

.services-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-detail {
    padding: 4rem 0;
}

.service-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.service-content.reverse {
    grid-template-columns: 1fr 200px;
}

.service-content.reverse .service-icon-large {
    order: 2;
}

.service-content.reverse .service-info {
    order: 1;
}

.service-icon-large {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    position: sticky;
    top: 100px;
}

.service-icon-large i {
    font-size: 5rem;
    color: var(--white);
}

.service-info h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: left;
}

.service-tagline {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-description h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 0.5rem;
}

.service-features li i {
    color: var(--success-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.service-highlight {
    display: flex;
    gap: 1.5rem;
    background-color: #eff6ff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
}

.service-highlight i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.service-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.training-approach {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.approach-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.approach-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.approach-icon i {
    font-size: 2rem;
    color: var(--white);
}

.approach-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-cta {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.service-cta p {
    margin: 0;
    font-size: 1.1rem;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.process-arrow {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.why-choose {
    padding: 4rem 0;
}

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

.why-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}

.why-card:hover {
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.why-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===========================================
   RESPONSIVE DESIGN - SERVICES PAGE
   =========================================== */
@media (max-width: 1024px) {
    .service-content,
    .service-content.reverse {
        grid-template-columns: 1fr;
    }

    .service-content.reverse .service-icon-large,
    .service-content.reverse .service-info {
        order: initial;
    }

    .service-icon-large {
        position: static;
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

/* ===========================================
   CONTACT PAGE
   =========================================== */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    height: 100%;
}

.contact-info h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: linear-gradient(to bottom, #f9fafb 0%, white 100%);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group .required {
    color: var(--accent-color);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s;
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #eff6ff;
}

.form-control:hover {
    border-color: var(--secondary-color);
    border-width: 1.5px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    margin-top: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: all 0.3s;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.3);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* ===========================================
   RESPONSIVE DESIGN - CONTACT PAGE
   =========================================== */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .contact-section {
        padding: 3rem 0;
    }
}

/* ===========================================
   SEARCH AND FILTER SECTION
   =========================================== */
.search-filter-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.search-filter-form {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-bar {
    display: flex;
    gap: 0.625rem;
    align-items: flex-end;
}

.search-input-group {
    flex: 2;
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-input-group i {
    position: absolute;
    left: 0.75rem;
    bottom: 0.65rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.search-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.3s;
    height: 36px;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.search-bar .btn-primary {
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
    font-size: 0.875rem;
    height: 36px;
}

.filter-row {
    display: flex;
    gap: 0.625rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.filter-group label i {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.filter-select {
    padding: 0.5rem 0.625rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    height: 36px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.filter-select:hover {
    border-color: var(--secondary-color);
}

.filter-group .btn-secondary,
.search-bar .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    height: 36px;
}

.search-results-info {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0.5rem;
}

.search-results-info p {
    margin: 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-results-info i {
    color: var(--secondary-color);
}

/* ===========================================
   PUBLICATIONS LISTING
   =========================================== */
.publications-listing {
    padding: 4rem 0;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.publication-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.publication-icon {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-icon i {
    font-size: 5rem;
    color: white;
}

.publication-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.publication-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.publication-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.publication-meta i {
    color: var(--secondary-color);
}

.publication-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.publication-content .btn-primary {
    align-self: flex-start;
    margin-top: auto;
}

.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.no-results-icon i {
    font-size: 3rem;
    color: white;
}

.no-results h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ===========================================
   RESPONSIVE DESIGN - SEARCH AND PUBLICATIONS
   =========================================== */
@media (max-width: 1200px) {
    .search-bar {
        flex-wrap: wrap;
    }

    .search-input-group {
        flex: 100%;
        margin-bottom: 0.75rem;
    }

    .filter-group {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
    }

    .search-input-group,
    .filter-group {
        flex: 1 1 100%;
    }

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

    .search-filter-form {
        padding: 1rem;
    }

    .search-bar .btn-primary,
    .filter-group .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================================
   PAGINATION STYLES
   =========================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    color: var(--primary-color);
    background-color: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background-color: var(--bg-light);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.pagination .page-item.active .page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    background-color: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination .page-item.disabled .page-link:hover {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    transform: none;
    box-shadow: none;
}

/* Previous and Next buttons */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Mobile pagination */
@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pagination .page-link {
        min-width: 35px;
        height: 35px;
        padding: 0.4rem 0.6rem;
        font-size: 0.875rem;
    }

    /* Hide page numbers on mobile, keep prev/next */
    .pagination .page-item:not(:first-child):not(:last-child):not(.active) {
        display: none;
    }
}

/* ===================================
   TEAM PAGE STYLES
   =================================== */

/* Team Introduction Section */
.team-intro {
    padding: 3rem 0 2rem;
    background: linear-gradient(to bottom, #f9fafb 0%, white 100%);
}

.team-intro .section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Director Profile Section */
.director-profile {
    padding: 3rem 0;
}

.profile-card-large {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.profile-image-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    text-align: center;
    color: white;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.profile-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

.profile-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-title .designation {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    opacity: 0.95;
}

.profile-title .credentials {
    font-size: 1rem;
    opacity: 0.85;
    font-style: italic;
}

.profile-content {
    padding: 3rem;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-section h3 i {
    color: var(--secondary-color);
}

.profile-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Career Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-content .institution {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

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

/* Education Item */
.education-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--secondary-color);
    margin-top: 1rem;
}

.education-item h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.education-item .institution {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.education-item p {
    color: var(--text-color);
    margin: 0;
}

/* Institutions Grid */
.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.institution-badge {
    background: linear-gradient(135deg, #f9fafb, white);
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.institution-badge:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.institution-badge i {
    font-size: 1.75rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.institution-badge span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.expertise-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.2);
}

.expertise-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Network of Associates Section */
.team-network {
    padding: 4rem 0;
    background: linear-gradient(to bottom, white 0%, #f9fafb 100%);
}

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

.network-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.network-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.network-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.2);
}

.network-icon i {
    font-size: 2rem;
    color: white;
}

.network-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.network-card p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Join Our Team Section */
.join-team {
    padding: 4rem 0;
    background: white;
}

.join-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.benefit-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.benefit-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* Responsive Adjustments for Team Page */
@media (max-width: 768px) {
    .profile-image-section {
        padding: 2rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-avatar i {
        font-size: 3rem;
    }

    .profile-title h2 {
        font-size: 1.75rem;
    }

    .profile-title .designation {
        font-size: 1.1rem;
    }

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

    .profile-section h3 {
        font-size: 1.25rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

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

    .network-features,
    .join-benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-tags {
        gap: 0.5rem;
    }

    .expertise-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .profile-section {
        margin-bottom: 2rem;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .network-icon {
        width: 70px;
        height: 70px;
    }

    .network-icon i {
        font-size: 1.75rem;
    }
}

/* ===================================
   TRAINING PAGE STYLES
   =================================== */

/* Training Introduction Section */
.training-intro {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #f9fafb 0%, white 100%);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Training Filter Section */
.training-filter-section {
    padding: 2rem 0;
    background: white;
}

.training-filter-form {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.filter-bar {
    display: flex;
    gap: 0.625rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-results-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #eff6ff;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0.5rem;
}

.filter-results-info p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.filter-results-info i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Trainings Listing Section */
.trainings-listing {
    padding: 3rem 0;
    background: #f9fafb;
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.training-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.training-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

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

.training-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.training-badge i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.training-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-image-placeholder i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.training-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.training-content h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.training-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
}

.meta-item i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.training-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.training-content .btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.training-content .btn i {
    transition: transform 0.3s;
}

.training-content .btn:hover i {
    transform: translateX(4px);
}

/* Training Areas Section */
.training-areas {
    padding: 4rem 0;
    background: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.area-card {
    background: linear-gradient(to bottom, #f9fafb 0%, white 100%);
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.area-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.2);
}

.area-icon i {
    font-size: 2rem;
    color: white;
}

.area-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.area-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive Adjustments for Training Page */
@media (max-width: 1024px) {
    .trainings-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex: 1 1 100%;
    }

    .trainings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .intro-content h2 {
        font-size: 1.75rem;
    }

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

    .training-content h3 {
        font-size: 1.2rem;
    }

    .training-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .training-intro {
        padding: 2rem 0;
    }

    .training-content {
        padding: 1.5rem;
    }

    .area-card {
        padding: 1.5rem;
    }

    .area-icon {
        width: 70px;
        height: 70px;
    }

    .area-icon i {
        font-size: 1.75rem;
    }
}
