/* ===== Root Variables ===== */
:root {
    --primary-color: #0d1f26;
    --secondary-color: #ffffff;
    --accent-color: #2b7a8f;
    --accent-light: #367d8a;
    --text-dark: #1a1a1a;
    --text-light: #5a5a5a;
    --border-color: #e8e8e8;
    --transition: all 0.3s ease;
    --focus-color: #2b7a8f;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ===== Focus Indicators ===== */
*:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* ===== Navigation Bar ===== */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d1f26 0%, #1a3a47 50%, #2b7a8f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(43, 122, 143, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(43, 122, 143, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 72px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
    font-family: 'Georgia', 'Garamond', serif;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--accent-light);
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: 0.5px;
    font-family: 'Georgia', 'Garamond', serif;
}

.hero-tagline {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease 0.4s both;
    font-weight: 300;
    letter-spacing: 0.4px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== Buttons ===== */
.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(43, 122, 143, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-family: 'Georgia', 'Garamond', serif;
}

/* ===== About Section ===== */
.about {
    background-color: #fafbfc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fafbfc;
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(43, 122, 143, 0.12);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 300;
}

/* ===== Skills Section ===== */
.skills {
    background-color: #f8f9fa;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.skill-category h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: #0077cc;
    transform: scale(1.05);
}

/* ===== Certifications Section ===== */
.certifications {
    background-color: #fafbfc;
}

.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.certification-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.certification-item:hover {
    box-shadow: 0 12px 24px rgba(43, 122, 143, 0.12);
}

.certification-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.certification-item p {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 300;
}

/* ===== Experience Section ===== */
.experience {
    background-color: #fafbfc;
}

.experience-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 24px rgba(43, 122, 143, 0.12);
}

.highlight-item p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 300;
}

/* ===== Contact Section ===== */
.contact {
    background-color: #fafbfc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
}

.contact-methods h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.contact-methods p {
    margin-bottom: 15px;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.contact-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .skills-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .certifications-list {
        grid-template-columns: 1fr;
    }

    .experience-highlights {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        font-size: 18px;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background-color: rgba(0, 153, 255, 0.2);
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .service-card,
    .certification-item,
    .highlight-item {
        padding: 20px;
    }

    .contact-methods h3,
    .contact-form-wrapper h3 {
        font-size: 18px;
    }

    .nav-container {
        height: 60px;
    }

    .nav-logo {
        font-size: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-tagline {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
