/* ========================================
   DR. GHANSHYAM VAGHJIANI - PORTFOLIO STYLES
   ======================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Navigation Bar Styling */
.navbar {
    background-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-item {
    display: inline-block;
    color: #ecf0f1;
    text-align: center;
    padding: 16px 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.nav-item:hover {
    background-color: #34495e;
    color: #3498db;
}

.nav-item.active {
    background-color: #34495e;
    color: #3498db;
    border-bottom: 3px solid #3498db;
}

/* Main Content Area */
.main-content {
    padding: 40px;
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-height: 60vh;
}

/* Profile Header Styling */
.profileHeader {
    text-align: center;
    margin: 30px 0 40px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.profileHeader h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.profileHeader h3 {
    color: #7f8c8d;
    font-weight: 400;
    font-size: 1.3em;
}

.profileHeader hr {
    width: 100px;
    margin: 20px auto 0;
    border: none;
    border-top: 3px solid #3498db;
}

/* Profile Section Styling */
.profileandaboutme {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    overflow: hidden;
}

.profilePhoto {
    float: left;
    width: 280px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    object-fit: cover;
}

.profileText {
    overflow: hidden;
}

.profileText .content {
    line-height: 1.8;
    color: #444;
    margin: 0 0 20px 0;
    font-size: 1.05em;
    text-align: justify;
}

/* Clearfix for floated elements */
.profileandaboutme::after {
    content: "";
    display: table;
    clear: both;
}

/* Contact Section Styling */
.contact {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.sectionTitle {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

.sectionTitle + hr {
    border: none;
    border-top: 2px solid #3498db;
    margin: 15px 0 25px 0;
}

.section1Content {
    line-height: 2.2;
}

.section1Content p {
    margin: 12px 0;
    font-size: 1.05em;
}

.section1Content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section1Content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Resume Section Styling */
.resume {
    margin: 30px 0;
}

.resume h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.4em;
    font-weight: 600;
}

.resume h3 + hr {
    border: none;
    border-top: 2px solid #3498db;
    margin: 15px 0 25px 0;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #3498db;
    transition: box-shadow 0.3s ease;
}

.wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wrapper .content {
    flex: 1;
    margin-right: 25px;
    line-height: 1.7;
    color: #444;
}

.wrapper .content p {
    margin: 0;
    font-size: 1em;
}

.wrapper .sidebar {
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.cleared {
    clear: both;
}

/* Footer Styling */
footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 2px solid #ecf0f1;
}

footer hr {
    border: none;
    border-top: 1px solid #ecf0f1;
    margin-bottom: 20px;
}

.footerDisclaimer {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    padding: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 20px;
        margin: 15px;
    }

    .profilePhoto {
        float: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px auto;
        display: block;
    }

    .profileText {
        overflow: visible;
    }

    .profileHeader h1 {
        font-size: 2em;
    }

    .wrapper {
        flex-direction: column;
    }

    .wrapper .content {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .nav-item {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Typography Consistency */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
}

p {
    margin: 10px 0;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pt-20 {
    padding-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}