/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #ffffff;
}

.tagline {
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.profile-placeholder i {
    font-size: 6rem;
    color: white;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: #0f0f0f;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-expertise h4,
.about-education h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: #b0b0b0;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.highlight-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    color: #ffffff;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.highlight-item p {
    color: #b0b0b0;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Experience Section */
.experience {
    background: #0a0a0a;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    box-shadow: 0 0 0 4px #667eea;
}

.timeline-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.timeline-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #b0b0b0;
}

.timeline-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Education Section */
.education {
    background: #0f0f0f;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 140px;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.education-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.education-icon .school-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    max-width: 100%;
    max-height: 100%;
}

.education-icon i {
    font-size: 1.5rem;
    color: white;
}

.education-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.education-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.education-date {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.education-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Skills Section */
.skills {
    background: #0a0a0a;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.skill-category h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: #0f0f0f;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.form-message-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.btn-loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: #667eea;
    width: 40px;
}

.contact-method h4 {
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.contact-method a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #0a0a0a;
    color: #e0e0e0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-social a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #ccc;
    margin-bottom: 0;
}

/* Certifications Section */
.certifications {
    background: #0f0f0f;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-item {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.certification-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.certification-icon .credential-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.certification-content {
    flex: 1;
}

.certification-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.certification-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.certification-expiry {
    color: #ff6b6b;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    background: #2d1b1b;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.certification-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Associations Section */
.associations {
    background: #0a0a0a;
}

.associations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.association-item {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.association-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.association-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.association-icon .credential-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.association-content {
    flex: 1;
}

.association-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.association-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.association-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Responsive adjustments for certifications and associations */
@media (max-width: 768px) {
    .certifications-grid,
    .associations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certification-item,
    .association-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .certification-icon,
    .association-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .profile-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .profile-placeholder i {
        font-size: 4rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .education-item {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .education-icon {
        width: 60px;
        height: 60px;
    }
    
    .education-icon .school-logo {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-marker {
        left: 6px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}
