/* AdFramer Portal Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #fbfcfd;
    color: #1a1a1a;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 80px;
}

.logo img {
    width: 180px;
    height: 54px;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.nav-tab {
    padding: 12px 24px;
    color: #5a5a5a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-tab.active {
    background: #ff6b35;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.nav-tab:hover:not(.active) {
    background: #e9ecef;
    color: #1a1a1a;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-dropdown {
    position: relative;
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.language-dropdown:hover {
    border-color: #ff6b35;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

.current-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a5a5a;
    white-space: nowrap;
}

.lang-icon {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.language-dropdown.open .lang-icon {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 100%;
    width: max-content;
    max-width: 200px;
}

.language-dropdown.open .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 8px 12px;
    color: #5a5a5a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
    white-space: nowrap;
    text-align: left;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8f9fa;
    color: #ff6b35;
}

.lang-option.active {
    background: #ff6b35;
    color: white;
}

.lang-option.active:hover {
    background: #ff5722;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.page {
    display: none;
    padding: 40px 0 0 0;
    min-height: calc(100vh - 120px);
}

.page.active {
    display: block;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #5a5a5a;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Home Page Styles */
.welcome-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #fbfcfd 0%, #f8f9fa 100%);
    margin: 20px;
    border-radius: 12px;
    border: 1px solid #e7eaed;
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.welcome-description {
    font-size: 1.2rem;
    color: #5a5a5a;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.cta-button:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 0 20px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e7eaed;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: #5a5a5a;
    font-weight: 400;
}

/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.service-card {
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-description {
    color: #5a5a5a;
    line-height: 1.6;
    font-weight: 300;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 20px;
    align-items: start;
}

.about-text {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e7eaed;
}

.about-text h3 {
    color: #ff6b35;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    color: #5a5a5a;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.team-member {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e7eaed;
    text-align: center;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.member-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.member-role {
    color: #5a5a5a;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e7eaed;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e7eaed;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #ff6b35;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e7eaed;
}

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-item h4 {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-item p {
    color: #5a5a5a;
    font-weight: 300;
}

/* Loading states */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Footer */
.footer {
    background: #2a2a2a;
    color: #e0e0e0;
    padding: 1px 0 1px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section li {
    color: #b0b0b0;
    line-height: 1.6;
    font-weight: 300;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 20px;
    text-align: center;
    color: #808080;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: #ff6b35;
}

/* Responsive */
@media (max-width: 968px) {
    .nav {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .nav-center {
        flex-direction: column;
        gap: 15px;
    }

    .main-content {
        margin-top: 140px;
        height: calc(100vh - 140px);
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nav-tabs {
        padding: 2px;
    }

    .nav-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .language-selector {
        flex-direction: row;
    }
}

.contact-reveal-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.contact-reveal-btn:hover {
    background: #ff5722;
}

.contact-hidden {
    display: none;
}

.contact-revealed {
    display: inline;
    margin-left: 10px;
}



/* Events Page Styles */
.events-container {
    padding: 0 20px;
}

.featured-events {
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
    display: inline-block;
}

/* Event Cards */
.event-card {
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.event-card.featured {
    border: 2px solid #ff6b35;
    background: linear-gradient(135deg, #fff 0%, #fffaf8 100%);
}

/* Event Badges & Status */
.event-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.event-status.upcoming {
    background: #e8f5e8;
    color: #2d7d32;
}

.event-status.future {
    background: #e3f2fd;
    color: #1976d2;
}

.event-status.past {
    background: #f5f5f5;
    color: #757575;
}

/* Event Content */
.event-header {
    margin-bottom: 20px;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-date,
.event-location {
    color: #5a5a5a;
    font-size: 0.95rem;
    font-weight: 400;
}

.event-description {
    margin-bottom: 25px;
    color: #5a5a5a;
    line-height: 1.7;
}

.event-summary {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Event Details */
.event-details {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.event-info {
    color: #5a5a5a;
    line-height: 1.6;
}

.event-info strong {
    color: #1a1a1a;
}

/* Event Actions */
.event-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.event-btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.event-btn.primary {
    background: #ff6b35;
    color: white;
}

.event-btn.primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.event-btn.secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.event-btn.secondary:hover {
    background: #ff6b35;
    color: white;
}

.event-btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #5a5a5a;
    border: 1px solid #e7eaed;
}

.event-btn.small:hover {
    background: #e9ecef;
    color: #1a1a1a;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-actions {
        justify-content: center;
    }
}


/* Simple location link styling */
.location-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.location-link:hover {
    color: #ff5722;
    text-decoration: underline;
}

/* Optional: Add external link icon */
.location-link::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.7;
}


/* Resources Page Styles */
.resources-container {
    padding: 0 20px;
}

/* Resource Tabs */
.resources-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 6px;
    flex-wrap: wrap;
    gap: 4px;
}

.resource-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #5a5a5a;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.resource-tab.active {
    background: #ff6b35;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.resource-tab:hover:not(.active) {
    background: #e9ecef;
    color: #1a1a1a;
}

/* Resource Content */
.resource-content {
    display: none;
	overflow: hidden; /* Prevent content from escaping */
}

.resource-content.active {
    display: block;
	overflow: visible; /* Allow normal content flow when active */
}

/* Featured Resource */
.featured-resource {
    margin-bottom: 60px;
}

.featured-video {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e7eaed;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-player {
    border-radius: 8px;
    overflow: hidden;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.video-description {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.video-meta,
.download-meta,
.webinar-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #5a5a5a;
}

/* Fix iframe container boundaries */
.featured-video,
.video-card,
.webinar-card {
    overflow: hidden; /* Contain all child elements */
}

/* Ensure iframes stay within bounds */
.video-player,
.video-thumbnail,
.webinar-thumbnail {
    overflow: hidden;
    border-radius: 8px;
    position: relative; /* Establish stacking context */
}

.video-player iframe,
.video-thumbnail iframe,
.webinar-thumbnail iframe {
	pointer-events: none; /* Disable iframe interaction */
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    border-radius: 8px;
    
}

/* Re-enable interaction on hover/focus */
.video-player:hover iframe,
.video-thumbnail:hover iframe,
.webinar-thumbnail:hover iframe {
    pointer-events: auto;
}

/* Fix specific video grid overflow */
.videos-grid,
.webinars-grid {
    overflow: hidden; /* Contain grid items */
}

/* Additional safety for the main containers */
.featured-resource,
.video-library,
.webinars-section {
    overflow: hidden; /* Prevent any content escape */
    position: relative; /* Establish boundary */
}
/* Video thumbnail styling */
.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-player,
.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-player {
    aspect-ratio: 16/9;
    height: 400px;
}

.video-thumbnail {
    height: 180px;
}

/* Play overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player:hover .play-overlay,
.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.video-player:hover .video-poster,
.video-thumbnail:hover .video-poster {
    transform: scale(1.05);
}

.play-button {
    background: rgba(255,255,255,0.9);
    color: #ff6b35;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Video Library */
.video-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-filter {
    padding: 8px 16px;
    background: white;
    border: 2px solid #e7eaed;
    border-radius: 20px;
    color: #5a5a5a;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.category-filter:hover:not(.active) {
    border-color: #ff6b35;
    color: #ff6b35;
}

/* Grids */
.videos-grid,
.downloads-grid,
.webinars-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* Video Cards */
.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e7eaed;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.video-content {
    padding: 20px;
}

.video-content .video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.video-content .video-description {
    color: #5a5a5a;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Download Cards */
.download-card {
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.download-icon {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-type {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.download-content {
    flex: 1;
}

.download-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.download-description {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.download-btn,
.tool-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.download-btn:hover,
.tool-btn:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

/* Webinar Cards */
.webinar-card {
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.webinar-thumbnail {
    position: relative;
}

.webinar-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.webinar-content {
    padding: 20px;
}

.webinar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.webinar-description {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 15px;
}

.webinar-resources {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.resource-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: #ff5722;
    text-decoration: underline;
}

/* Tool Cards */
.tool-card {
    background: white;
    border: 1px solid #e7eaed;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tool-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.tool-description {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-video {
        grid-template-columns: 1fr;
    }
    
    .videos-grid,
    .downloads-grid,
    .webinars-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .resources-tabs {
        justify-content: flex-start;
        overflow-x: auto;
    }
    
    .resource-tab {
        min-width: 100px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}














