/* Modern PTI Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional color palette - NO YELLOW! */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --success-green: #10b981;
    --text-dark: #111827;
    --text-light: #6b7280;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-pt {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-left: 0.5rem;
}

.tagline {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin: 0;
    font-style: italic;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: -0.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-blue);
}

.nav-cta {
    background-color: #10b981; /* Green */
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: #059669; /* Darker Green */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.highlight {
    color: var(--accent-blue);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-badges {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.badge {
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.badge-text {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

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

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

/* Quick Actions - FIXED THE BANNER ISSUE! */
.quick-actions {
    padding: 4rem 0;
    background: var(--light-gray);
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2rem;
}

/* Force a 2x2 layout on desktop: left column (Schedule over Register),
   middle column (All Seminars under), keep Onsite in top-right */
.schedule-card { grid-row: 1; grid-column: 1; }
.register-card { grid-row: 2; grid-column: 1; }
.onsite-card   { grid-row: 1; grid-column: 3; }
.courses-card  { grid-row: 2; grid-column: 3; }

.action-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* ENTIRE CARD IS CLICKABLE NOW! */
    display: block;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: var(--text-dark);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.schedule-card::before {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.courses-card::before {
    background: linear-gradient(90deg, #059669, #10b981);
}

.register-card::before {
    background: linear-gradient(90deg, #7c3aed, #8b5cf6);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.card-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--medium-gray);
    transition: transform 0.3s ease;
}

.action-card:hover .card-arrow {
    transform: translateX(5px);
}

/* Trusted By Section */
.trusted-by {
    padding: 3rem 0;
    text-align: center;
}

.trusted-by h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--medium-gray);
    padding: 0.5rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Contact Section */
.contact {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

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

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--accent-blue);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo .logo-pt {
    color: var(--white);
}

.footer-logo .logo-text {
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .action-cards { grid-template-columns: 1fr; }
    .schedule-card, .register-card, .onsite-card, .courses-card { grid-row: auto; grid-column: auto; }
    
    .client-logos {
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== COURSES PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.courses-hero { 
    background: linear-gradient(135deg, #059669 0%, #10b981 100%); 
    color: white; 
    padding: 3rem 0; 
    text-align: center; 
}
.courses-hero h1 { 
    font-size: 2.8rem; 
    margin: 0 0 0.5rem; 
}
.courses-hero p { 
    font-size: 1.1rem; 
    opacity: 0.9; 
    margin: 0; 
}

/* Search & Filter Section */
.search-filter { 
    background: #f8fafc; 
    padding: 1.5rem 0; 
    border-bottom: 1px solid #e5e7eb; 
}
.search-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
    flex-wrap: wrap; 
}
.search-box { 
    flex: 1; 
    min-width: 300px; 
    padding: 0.75rem; 
    border: 1px solid #e5e7eb; 
    border-radius: 8px; 
    font-size: 1rem; 
}
.search-box:focus { 
    outline: none; 
    border-color: #3b82f6; 
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); 
}
.filter-buttons { 
    display: flex; 
    gap: 0.5rem; 
    flex-wrap: wrap; 
}
.filter-btn { 
    padding: 0.6rem 1rem; 
    border: 1px solid #e5e7eb; 
    background: white; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.2s ease; 
}
.filter-btn:hover { 
    background-color: #f3f4f6; 
}
.filter-btn.active { 
    background: #3b82f6; 
    color: white; 
    border-color: #3b82f6; 
}

/* Courses Grid */
.courses-grid-section { 
    padding: 3rem 0; 
}
.courses-grid { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
}
.course-card { 
    display: flex; 
    flex-direction: column; 
    background: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    transition: all 0.3s ease; 
    border: 1px solid #e5e7eb; 
}
.course-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
}
.course-header { 
    padding: 1.5rem; 
    background: #f8fafc; 
    border-bottom: 1px solid #e5e7eb; 
}
.course-category { 
    display: inline-block; 
    background: #dbeafe; 
    color: #1e40af; 
    padding: 0.25rem 0.75rem; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 600; 
    margin-bottom: 1rem; 
}
.course-title { 
    font-size: 1.3rem; 
    font-weight: 700; 
    color: #1f2937; 
    margin: 0 0 0.5rem; 
    line-height: 1.3; 
}
.course-subtitle { 
    color: #6b7280; 
    font-size: 0.9rem; 
    margin: 0; 
}
.course-content { 
    padding: 1.5rem; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}
.course-description { 
    color: #4b5563; 
    line-height: 1.6; 
    margin: 0 0 1.5rem; 
    flex-grow: 1; 
}
.course-details { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem; 
    margin-bottom: 1.5rem; 
}
.course-detail { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    font-size: 0.9rem; 
    color: #6b7280; 
}
.course-actions { 
    display: flex; 
    gap: 1rem; 
    margin-top: auto; 
}
.btn-outline, .btn-solid { 
    padding: 0.75rem 1rem; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.2s ease; 
    flex: 1; 
    text-align: center; 
}
.btn-outline { 
    background: transparent; 
    color: #3b82f6; 
    border: 2px solid #3b82f6; 
}
.btn-outline:hover { 
    background: #3b82f6; 
    color: white; 
    text-decoration: none; 
}
.btn-solid { 
    background: #10b981; 
    color: white; 
    border: 2px solid #10b981; 
}
.btn-solid:hover { 
    background: #059669; 
    border-color: #059669; 
    text-decoration: none; 
}

/* Stats Section */
.stats-section { 
    background: #1f2937; 
    color: white; 
    padding: 4rem 1rem; 
    text-align: center; 
}
.stats-section h2 { 
    font-size: 2rem; 
    margin: 0 0 3rem; 
}
.stats-grid { 
    max-width: 800px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 2rem; 
}
.stat-number { 
    font-size: 3rem; 
    font-weight: 800; 
    color: #60a5fa; 
    display: block; 
}
.stat-label { 
    font-size: 1rem; 
    opacity: 0.8; 
    margin-top: 0.5rem; 
}