/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, 
            #1a1a1a 0%, 
            #2d1810 20%, 
            #5d2d1a 40%, 
            #8b4513 60%, 
            #a0522d 80%, 
            #cd853f 100%
        ),
        radial-gradient(circle at 20% 20%, rgba(255,140,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(210,47,47,0.1) 0%, transparent 50%);
    background-size: cover, 800px 800px, 600px 600px;
    /* min-height: 60vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(255,107,53,0.05) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(139,69,19,0.03) 50%, transparent 51%);
    background-size: 60px 60px, 80px 80px;
    opacity: 0.3;
    animation: subtleMove 15s ease-in-out infinite;
}

@keyframes subtleMove {
    0%, 100% { 
        transform: translateX(0) translateY(0);
        opacity: 0.3;
    }
    50% { 
        transform: translateX(10px) translateY(-10px);
        opacity: 0.2;
    }
}

.hero-content {
    animation: fadeInUp 1s ease;
    max-width: 800px;
    margin-top: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #ff9500);
    margin: 20px auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

.profile-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.profile-main {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(45deg, #ff6b35, #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 15px 35px rgba(255,107,53,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(255,107,53,0.4);
}

.profile-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    border-radius: 5%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: #fff;
    display: block;
    margin: 0 auto;
    image-rendering: auto;
}

.profile-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.profile-secondary {
    height: 120px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.about-text {
    padding: 20px 0;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #d32f2f;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: #555;
}

.highlight-box {
    background: linear-gradient(45deg, #ff6b35, #ff9500);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(255,107,53,0.2);
}

.highlight-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.highlight-box p {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d32f2f;
    display: block;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}

/* Certifications Section */
.certifications {
    background: white;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #ff6b35;
}

.cert-image {
    height: 200px;
    background: linear-gradient(135deg, #ff6b35, #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
}

.cert-content {
    padding: 25px;
}

.cert-title {
    font-size: 1.4rem;
    color: #d32f2f;
    margin-bottom: 10px;
    font-weight: bold;
}

.cert-institution {
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 8px;
}

.cert-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cert-description {
    color: #555;
    line-height: 1.6;
}

.cert-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #ff9500);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 15px;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #ff9500;
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-main {
        height: 300px;
        font-size: 6rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    nav ul {
        display: none;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* Modal styles for enlarged profile images */
.profile-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.profile-modal.active {
    display: flex;
}

.profile-modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    background: #fff;
}

.profile-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    font-weight: bold;
    transition: color 0.2s;
}
.profile-modal-close:hover {
    color: #ff6b35;
}