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

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: #003366; /* Deep Blue */
}

h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    margin-bottom: 1em;
    font-weight: 500;
    color: #0056b3;
}

h3 {
    font-size: 2.2em;
    margin-bottom: 1em;
    font-weight: 700;
    text-align: center;
    color: #003366;
}

h4 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #004080;
}

p {
    margin-bottom: 1em;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    font-size: 1.8em;
    font-weight: 700;
    color: #003366;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e6f7ff 0%, #cceeff 100%);
    color: #003366;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: #003366;
}

.hero h2 {
    color: #0056b3;
    margin-top: -10px;
}

.hero p {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 2em;
}

.hero-cta .btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2em;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Sections */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    font-size: 1.1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expertise-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.expertise-item h4 {
    margin-bottom: 15px;
    color: #004080;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    padding: 20px 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    width: calc(50% - 40px);
    margin-bottom: 40px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #007bff;
    border-radius: 50%;
    top: 30px;
}

.timeline-item:nth-child(odd) {
    float: left;
    clear: both;
    text-align: right;
    margin-right: 40px;
}

.timeline-item:nth-child(odd)::after {
    right: -30px;
}

.timeline-item:nth-child(even) {
    float: right;
    clear: both;
    text-align: left;
    margin-left: 40px;
}

.timeline-item:nth-child(even)::after {
    left: -30px;
}

.timeline-item h4 {
    margin-top: 0;
    color: #004080;
}

.timeline-item .company-info {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.timeline-item ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.timeline-item ul li {
    margin-bottom: 8px;
}

/* Clear floats after the timeline */
.experience-timeline::after {
    content: "";
    display: table;
    clear: both;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-details p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.contact-details a {
    font-weight: 500;
    color: #004080;
}

.contact-details a:hover {
    color: #007bff;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #003366;
    color: #f8f9fa;
    font-size: 0.9em;
    margin-top: 50px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 15px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero {
        padding: 80px 20px;
    }

    h1 {
        font-size: 2.8em;
    }

    h2 {
        font-size: 1.7em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .experience-timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 40px !important;
        margin-right: 0 !important;
        float: none !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) {
        margin-right: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 40px;
    }

    .timeline-item::after {
        left: -28px !important;
        right: auto !important;
    }

    .timeline-item:nth-child(odd)::after {
        left: -28px !important;
    }

    .timeline-item:nth-child(even)::after {
        left: -28px !important;
    }
}