/* ===== MAIN CONTENT STYLES ===== */
.main {
    margin-top: 140px; /* Space for fixed navigation */
    min-height: calc(100vh - 140px); /* Ensures content fills viewport */
    padding: 40px 20px;
    background-color: #f9fafb;
}

/* Content Container */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, rgb(0, 128, 255) 0%, rgb(0, 100, 200) 100%);
    color: white;
    padding: 80px 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.2);
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: white;
    color: rgb(0, 128, 255);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #f0f9ff;
}

/* ===== SECTION STYLES ===== */
.section {
    background-color: white;
    padding: 50px 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgb(0, 128, 255), transparent);
    border-radius: 2px;
}

.section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    margin-top: 30px;
}

.section p {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 20px;
}

.section ul,
.section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.section li {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 10px;
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 128, 255, 0.15);
    border-color: rgb(0, 128, 255);
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 15px;
}

.card p {
    font-size: 15px;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 20px;
}

.card .card-link {
    display: inline-block;
    color: rgb(0, 128, 255);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card .card-link:hover {
    color: rgb(0, 100, 200);
    transform: translateX(5px);
}

.card .card-link::after {
    content: ' →';
    transition: transform 0.3s ease;
    display: inline-block;
}

.card .card-link:hover::after {
    transform: translateX(5px);
}

/* ===== FEATURED BOXES ===== */
.featured-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.featured-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.featured-box:hover {
    border-color: rgb(0, 128, 255);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    transform: scale(1.05);
}

.featured-box i {
    font-size: 40px;
    color: rgb(0, 128, 255);
    margin-bottom: 15px;
}

.featured-box h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
}

.featured-box p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: rgb(0, 128, 255);
    color: white;
}

.btn-primary:hover {
    background-color: rgb(0, 100, 200);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.3);
}

.btn-secondary {
    background-color: #6B7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4B5563;
}

.btn-outline {
    background-color: transparent;
    color: rgb(0, 128, 255);
    border: 2px solid rgb(0, 128, 255);
}

.btn-outline:hover {
    background-color: rgb(0, 128, 255);
    color: white;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.column {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== STATS SECTION ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-box .stat-number {
    font-size: 42px;
    font-weight: 700;
    color: rgb(0, 128, 255);
    margin-bottom: 10px;
}

.stat-box .stat-label {
    font-size: 16px;
    color: #6B7280;
    font-weight: 500;
}

/* ===== IMAGE GALLERY ===== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 128, 255, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background-color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li {
    font-size: 14px;
    color: #6B7280;
}

.breadcrumb a {
    color: rgb(0, 128, 255);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: rgb(0, 100, 200);
    text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #9CA3AF;
}

/* ===== ALERT BOXES ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-info {
    background-color: #dbeafe;
    border-color: rgb(0, 128, 255);
    color: #1e40af;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .main {
        margin-top: 140px;
        padding: 30px 15px;
    }
    
    .hero-section {
        padding: 60px 30px;
    }
    
    .hero-section h1 {
        font-size: 38px;
    }
    
    .section {
        padding: 40px 30px;
    }
    
    .section h2 {
        font-size: 30px;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .main {
        margin-top: 280px; /* Adjusted for mobile nav height */
        padding: 25px 15px;
    }
    
    .hero-section {
        padding: 50px 20px;
        margin-bottom: 40px;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .section h2 {
        font-size: 26px;
    }
    
    .section h3 {
        font-size: 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .main {
        padding: 20px 10px;
    }
    
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-section h1 {
        font-size: 26px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .section {
        padding: 25px 15px;
    }
    
    .section h2 {
        font-size: 22px;
    }
    
    .stat-box .stat-number {
        font-size: 32px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
}