/* Global Styles */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --border-color: #e5e7eb;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --footer-bg: #1f2937;
    --footer-text: #f3f4f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Video Card Styles */
.video-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.video-placeholder {
    position: relative;
    background: #f0f2f5;
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-placeholder i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 1;
}

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

.card:hover .video-placeholder i {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.card:hover .video-placeholder::before {
    background: rgba(0, 0, 0, 0.2);
}

.card:hover .video-thumbnail {
    transform: scale(1.05);
}

.card h3 {
    padding: 1.25rem 1.5rem 0.5rem;
    margin: 0;
    color: var(--text-color);
}

.card p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--light-text);
    line-height: 1.6;
}

/* Person Card */
.person-card {
    text-align: center;
    padding-bottom: 1.5rem;
}

.person-avatar {
    width: 100px;
    height: 100px;
    margin: 5px auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.person-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem !important;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    color: var(--light-text);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Resources Container */
.resources-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.resource h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.resource li:last-child {
    border-bottom: none;
}

/* Image & Text Section */
.image-text-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.text-content {
    flex: 1;
    padding: 2rem;
}

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

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
}

.ie-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.ie-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.ie-link a:hover {
    text-decoration: underline;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-color);
    font-weight: 500;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: 1.25rem;
    background-color: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.content-section {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.learn-more:hover {
    text-decoration: underline;
}

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

.ie-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.ie-link a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section a[href^="mailto:"],
.footer-section a[href^="tel:"] {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--light-text);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1rem;
    }

    .main-nav {
        position: relative;
        padding: 1rem 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive adjustments for cards and layout */
    .card-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resources-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Image & Text Section - Stack on mobile */
    .image-text-section {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .text-content, 
    .image-content {
        width: 100%;
        padding: 1.5rem;
    }
    
    .image-content {
        order: 2; /* Image comes after text on mobile */
    }
    
    .text-content {
        order: 1;
    }
    
    /* Adjust person card avatar position on mobile */
    .person-avatar {
        margin: -30px auto 1rem;
    }
    
    /* Reduce padding on smaller screens */
    .main-content {
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}
