/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.logo br {
    display: none;
}

.logo span {
    font-size: 0.84rem; /* 30% less than 1.2rem */
}

@media (min-width: 768px) {
    .logo br {
        display: block;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.25rem;
}

.hero .subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    max-width: none;
    /*white-space: nowrap;*/
}

/* Specialties Section */
.specialties {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

.specialties h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/*
.specialties-grid .specialty-card:nth-last-child(2) {
    grid-column: 2;
}

.specialties-grid .specialty-card:last-child {
    grid-column: 3;
}
*/

.specialty-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    flex-direction: column;
}

.specialty-card:hover {
    transform: translateY(-5px);
}

.specialty-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Specialists Section */
.specialists {
    padding: 5rem 1rem;
}

.specialists h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.specialist-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.specialist-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.specialist-card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    padding: 0 1rem;
}

.specialist-card p:first-of-type {
    margin-bottom: 0.5rem;
    color: #666;
    padding: 0 1rem;
    text-align: center;
    font-weight: 500;
}

.specialist-card p {
    margin-bottom: 0.5rem;
    color: #666;
    padding: 0 1rem;
    text-align: justify;
}

/* Contact Section */
.contact {
    padding: 1rem 1rem;
    background-color: #f9f9f9;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info i {
    color: #3498db;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .specialties-grid .specialty-card:nth-last-child(2),
    .specialties-grid .specialty-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
}

.professional-interests {
    text-align: justify;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.professional-interests ul {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}

.professional-interests li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
    text-align: justify;
}

.professional-interests li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a90e2;
}

.professional-interests p {
    margin: 0.7rem 0;
    line-height: 1.4;
    text-align: justify;
}

.professional-interests p:first-child {
    font-weight: bold;
    margin-bottom: 1rem;
}

.professional-interests a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.professional-interests a:hover {
    color: #2c3e50;
    text-decoration: underline;
} 