/* Import all CSS files */
@import 'base.css';
@import 'header.css';
@import 'sidebar.css';
@import 'content.css';
@import 'profile.css';
@import 'whatsapp.css';

body {
    margin: 0;
    padding: 0;
    padding-top: 180px; /* Account for fixed header height */
    font-family: Arial, sans-serif;
    background: #fff;
}

/* Mobile responsive body padding */
@media (max-width: 768px) {
    body {
        padding-top: 160px; /* Smaller padding for mobile */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 140px; /* Even smaller padding for very small screens */
    }
}

/* Main container layout */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Main content area */
.main-content {
    width: 100%;
    margin: 0;
    background: #fff;
}

.main-content .container {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: stretch;
}

/* Content area */
.content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
}

.slideshow-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mission heading */
.mission-wrapper {
    background-color: #000080;
    width: 100%;
    margin-top: 20px;
    padding: 0;
    border-radius: 4px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-heading {
    margin: 0;
    padding: 20px;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

/* Director profile section */
.director-section {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.profile-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.profile-card h2 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #000080;
}

.profile-card p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
}

/* Course list */
.course-list-section {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 14px;
}

.course-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .director-section {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .main-content .container {
        flex-direction: column;
        gap: 15px;
        margin-top: 68px;
    }
    
    .director-section {
        width: 100%;
    }
}

.section-header {
    background: #FFE87C;
    padding: 15px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    color: #000080;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.students-section {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
    margin: 0 auto;
    width: calc(100% - 40px);
    max-width: 1200px;
}

.student-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.student-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.student-card .name {
    background: #1a75ff;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}

.courses-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
}

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

.courses-container li {
    font-size: 24px;
    color: #333;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.download-app-section {
    padding-left: 80px;
    margin: 10px 0;
}

.download-app-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Force all containers and common wrappers to fill full width */
.container,
.footer .container,
.header-container,
.students-grid,
.courses-container,
.main-content,
.footer-container,
.footer-bottom-container,
.certification .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

