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

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5f7c;
    --accent-gold: #d4af37;
    --accent-green: #2d6a4f;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Navigation */
.navbar {
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.1rem;
        border-left-width: 3px;
        padding-left: 0.75rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-green) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a3a52" width="1200" height="600"/><g fill="%23d4af37" fill-opacity="0.05"><rect x="100" y="100" width="50" height="50"/><rect x="200" y="150" width="40" height="40"/><rect x="800" y="200" width="60" height="60"/><rect x="950" y="350" width="45" height="45"/></g></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--accent-gold);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: auto;
        max-width: 90%;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding-bottom: 0.75rem;
    }
}

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

.section-title::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
}

/* About Section */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }
}

/* Experience Section */
.experience {
    background: var(--light-bg);
}

.experience-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto 2rem;
    border-left: 4px solid var(--accent-gold);
    transition: transform 0.3s, box-shadow 0.3s;
}

.experience-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .experience-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-left-width: 3px;
    }
    
    .experience-card:hover {
        transform: translateX(3px);
    }
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

.company-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company-duration {
    background: rgba(26, 58, 82, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.duration {
    background: var(--accent-green);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .company-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .company-duration {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .duration {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

.role-item {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
}

@media (max-width: 768px) {
    .role-item {
        margin: 1rem 0;
        padding: 1rem;
    }
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.role {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

.employment-type,
.location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.responsibilities {
    list-style: none;
    padding: 0;
}

.responsibilities li {
    padding: 0.75rem 0;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.responsibilities i {
    color: #3498db;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .role {
        font-size: 1.1rem;
    }
    
    .employment-type,
    .location {
        font-size: 0.85rem;
    }
    
    .responsibilities li {
        padding: 0.5rem 0;
        gap: 0.75rem;
        font-size: 0.95rem;
    }
    
    .responsibilities i {
        font-size: 0.9rem;
    }
}

/* Skills Section */
.skills {
    background: white;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .highlight-card:hover {
        transform: translateY(-3px);
    }
}

.highlight-card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.2);
}

.highlight-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: #666;
}

@media (max-width: 768px) {
    .highlight-card i {
        font-size: 2.5rem;
    }
    
    .highlight-card h3 {
        font-size: 1.1rem;
    }
    
    .highlight-card p {
        font-size: 0.95rem;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.skill-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }
    
    .skill-item {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .skill-item:hover {
        transform: translateY(-2px);
    }
}

/* Education Section */
.education {
    background: white;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .education-card {
        padding: 2rem 1.5rem;
    }
    
    .education-card:hover {
        transform: translateY(-3px);
    }
}

.education-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.education-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-card .degree {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-card .school {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-card .years {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .education-icon {
        font-size: 2.5rem;
    }
    
    .education-card h3 {
        font-size: 1.2rem;
    }
    
    .education-card .degree {
        font-size: 0.95rem;
    }
    
    .education-card .school {
        font-size: 1rem;
    }
    
    .education-card .years {
        font-size: 0.85rem;
    }
}

/* Certifications Section */
.certifications {
    background: var(--light-bg);
}

.cert-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-green);
    transition: transform 0.3s;
}

.cert-card:hover {
    transform: translateX(5px);
}

.cert-icon {
    font-size: 3rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

.cert-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cert-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cert-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .cert-card:hover {
        transform: translateX(3px);
    }
    
    .cert-icon {
        font-size: 2.5rem;
    }
    
    .cert-info h3 {
        font-size: 1.1rem;
    }
    
    .cert-issuer {
        font-size: 0.95rem;
    }
    
    .cert-date {
        font-size: 0.85rem;
    }
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-green) 100%);
    color: white;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: var(--accent-gold);
}

.contact .section-title::before {
    background: rgba(212, 175, 55, 0.3);
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .contact-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--accent-gold);
    min-height: 48px;
    justify-content: center;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: white;
}

@media (max-width: 768px) {
    .contact-btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-btn i {
        font-size: 1.1rem;
    }
}

.contact-btn i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    border-top: 3px solid var(--accent-gold);
}

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

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem 0.75rem;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.4rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .company-info h3 {
        font-size: 1.1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Improve tap targets on mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .cta-button,
    .contact-btn {
        min-height: 44px;
        min-width: 44px;
    }
}
