/* Variables */
:root {
    --primary: #1a365d;
    --secondary: #2b6cb0;
    --accent: #e53e3e;
    --light: #f7fafc;
    --dark: #2d3748;
    --text: #4a5568;
    --text-light: #718096;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

.section-padding {
    padding: 120px 0;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    color: var(--primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--secondary);
}

.nav-link {
    color: var(--primary);
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232b6cb0' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.2;
}

.hero h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text);
    max-width: 600px;
}

.hero-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--secondary);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Cards */
.education-card,
.research-card,
.experience-card,
.achievement-card,
.skills-card,
.publication-card,
.awards-card,
.services-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.education-card:hover,
.research-card:hover,
.experience-card:hover,
.achievement-card:hover,
.skills-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Education Section */
.education-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.institution {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.location {
    color: var(--text);
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.education-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-details li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text);
}

.education-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.mt-4 {
    margin-top: 2rem;
}

/* Research Section */
.research-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.research-card h3 {
    margin-bottom: 20px;
}

.research-card ul {
    list-style: none;
    padding: 0;
}

.research-card ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.research-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Experience Section */
.experience-card .date {
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Achievement Section */
.achievement-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text);
}

.achievement-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
    line-height: 1;
}

/* Publications Section */
.publications-container h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.publication-item, .presentation-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.publication-item:last-child, .presentation-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.publication-item .authors {
    color: var(--text);
    margin-bottom: 8px;
}

.publication-item .title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.publication-item .journal, .presentation-item .conference {
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 5px;
}

.publication-item .doi {
    color: var(--text);
    font-size: 0.9rem;
}

/* Skills Section */
.skills-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skills-card h3 i {
    color: var(--secondary);
    margin-right: 10px;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text);
}

.skills-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item {
    text-align: left;
    padding: 20px;
    border-radius: var(--radius);
    background: white;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-form .form-control {
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    border-color: var(--secondary);
}

.contact-info a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 30px 0;
}

.social-links {
    text-align: right;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-left: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary);
}

/* Awards Section */
.awards-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.awards-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

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

.awards-list i {
    font-size: 2rem;
    color: var(--secondary);
    margin-right: 20px;
    flex-shrink: 0;
}

.award-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: var(--primary);
}

.award-content p {
    margin: 0;
    color: var(--text);
    font-style: italic;
}

/* Services Section */
.services-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

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

.services-list i {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-right: 20px;
    flex-shrink: 0;
}

.service-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: var(--primary);
}

.service-content p {
    margin: 0 0 5px 0;
    color: var(--text);
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-padding {
        padding: 100px 0;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 160px 0 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero-image {
        margin-top: 3rem;
        max-width: 80%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .education-card,
    .research-card,
    .experience-card,
    .achievement-card,
    .skills-card {
        margin-bottom: 1.5rem;
    }

    .contact-item {
        text-align: center;
        padding: 1.5rem;
    }

    .social-links {
        text-align: center;
        margin-top: 1rem;
    }

    .footer p {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

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

    .section-padding {
        padding: 60px 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .footer {
        display: none;
    }

    .section-padding {
        padding: 40px 0;
    }

    .hero {
        padding: 40px 0;
    }

    body {
        color: black;
        background: white;
    }

    a {
        text-decoration: none;
        color: black;
    }

    .education-card,
    .research-card,
    .experience-card,
    .achievement-card,
    .skills-card,
    .publication-card,
    .awards-card,
    .services-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
} 