/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    color: white;
    padding: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile-info h1.name {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-info h2.title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #E67E22;
    margin-bottom: 12px;
}

.profile-info .department {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    padding: 8px 0;
}

.contact-item i {
    width: 20px;
    color: #E67E22;
    font-size: 1.1rem;
}

/* Navigation Styles */
.navigation {
    background-color: #34495E;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    flex: 1;
}

.nav-link {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background-color: #2C3E50;
    border-bottom-color: #E67E22;
    transform: translateY(-2px);
}

/* Main Content Styles */
.main-content {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E67E22;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498DB;
}

.section-content {
    font-size: 1rem;
    line-height: 1.7;
}

/* About Section */
.about-section .section-content p {
    font-size: 1.1rem;
    text-align: justify;
    color: #555;
}

/* Qualifications Section */
.qualification-group {
    margin-bottom: 30px;
}

.subsection-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #2C3E50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.subsection-title i {
    color: #E67E22;
    font-size: 1.2rem;
}

.qualification-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498DB;
    margin-bottom: 15px;
}

.qualification-item h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
}

.qualification-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsibilities Grid */
.responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.responsibility-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498DB, #2C3E50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.responsibility-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    color: white;
    font-size: 1.5rem;
}

.responsibility-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 12px;
}

.responsibility-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Standby Servers */
.standby-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.standby-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498DB;
    transition: all 0.3s ease;
}

.standby-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.standby-number {
    background: linear-gradient(135deg, #E67E22, #d35400);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.standby-name {
    font-weight: 500;
    color: #2C3E50;
}

/* Backup Management */
.backup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.backup-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.backup-card:hover {
    border-color: #3498DB;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.backup-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #E67E22, #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.backup-card:hover .backup-icon {
    transform: scale(1.1);
}

.backup-icon i {
    color: white;
    font-size: 1.8rem;
}

.backup-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
}

.backup-card p {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* Secondary Responsibilities */
.secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.secondary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498DB;
}

.secondary-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.secondary-item i {
    color: #E67E22;
    font-size: 1.4rem;
    width: 25px;
    text-align: center;
}

.secondary-item span {
    font-weight: 500;
    color: #2C3E50;
}

/* Additional Responsibilities */
.additional-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.category {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.category:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.category-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    color: #E67E22;
    font-size: 1.2rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
}

.category-list li:before {
    content: '▸';
    color: #3498DB;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.category-list li:hover {
    color: #2C3E50;
    padding-left: 25px;
}

/* Footer */
.footer {
    background-color: #2C3E50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-info h1.name {
        font-size: 2rem;
    }
    
    .contact-info {
        min-width: auto;
        align-items: center;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
    
    .section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .responsibilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .standby-list {
        grid-template-columns: 1fr;
    }
    
    .backup-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .secondary-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .profile-image img {
        width: 100px;
        height: 100px;
    }
    
    .profile-info h1.name {
        font-size: 1.8rem;
    }
    
    .profile-info h2.title {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .responsibility-card,
    .backup-card {
        padding: 20px;
    }
    
    .card-icon,
    .backup-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i,
    .backup-icon i {
        font-size: 1.2rem;
    }
}

