/* Modern Responsive Design for Estech Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Header */
.modern-header {
    background: linear-gradient(135deg, #011724 0%, #011724 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

/* Navigation */
.modern-nav {
    background-color: #011724;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.modern-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-nav li {
    position: relative;
}

.modern-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.modern-nav a:hover,
.modern-nav a.active {
    background-color: #011724;
    border-bottom-color: #ff7514;
}

/* Main Content */
.modern-content {
    padding: 40px 20px;
    min-height: 500px;
}

/* Social Feed Section */
.social-section {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.social-header {
    text-align: center;
    margin-bottom: 30px;
}

.social-header h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.fb-feed-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fb-post {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}

.fb-post:last-child {
    border-bottom: none;
}

.fb-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.fb-post-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.fb-post-content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.fb-post-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.fb-post-footer {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9em;
}

/* Footer */
.modern-footer {
    background-color: #011724;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ff7514;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #45a049;
}

.copyright {
    color: #888;
    font-size: 0.9em;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modern-nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    .modern-nav li {
        width: 100%;
    }
    
    .modern-nav a {
        padding: 12px 20px;
        border-bottom: 1px solid #444;
    }
    
    .modern-content {
        padding: 20px 15px;
    }
    
    .social-header h2 {
        font-size: 2em;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background-color: #45a049;
}

/* Language Switcher */
/* Header right section - language switcher and social links */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher a {
    padding: 5px 10px;
    background-color: #011724;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    background-color: #ff7514;
}

/* Facebook link styling */
.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #1877f2;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.facebook-link:hover {
    background-color: #166fe5;
    transform: scale(1.1);
}

.facebook-link:active {
    transform: scale(0.95);
}

/* Education Page Styles */
.education-benefits {
    margin: 2rem 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    background: #f8f9fa;
    margin: 1rem 0;
    padding: 1rem;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: -15px;
    top: 1rem;
    background: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #4CAF50;
}

.education-program {
    margin: 2rem 0;
}

.curriculum h3 {
    color: #4CAF50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.curriculum-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.curriculum-list li {
    background: #f8f9fa;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-left: 3px solid #2196F3;
    border-radius: 3px;
    position: relative;
    padding-left: 2rem;
}

.curriculum-list li:before {
    content: "●";
    color: #2196F3;
    font-weight: bold;
    position: absolute;
    left: 0.8rem;
}

/* Responsive fix for curriculum list on small screens */
@media (max-width: 480px) {
    .curriculum-list li {
        padding-left: 2.5rem;
    }
    
    .curriculum-list li:before {
        left: 0.5rem;
    }
}
