/* ===================================
   CSS VARIABLES & RESET
   =================================== */

:root {
    /* Colors */
    --primary-navy: #1e3a8a;
    --primary-teal: #0d9488;
    --accent-gold: #d4af37;
    --dark-gray: #2d3748;
    --medium-gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* ===================================
   NAVIGATION
   =================================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark-gray);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-navy);
    cursor: pointer;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-teal);
    color: var(--white);
}

.btn-secondary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
}

/* ===================================
   SECTION HEADERS
   =================================== */

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

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--success);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.name-highlight {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-headline {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.location-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 2px 4px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: var(--white);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--white);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-border {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--primary-teal);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    font-size: 2rem;
    color: var(--primary-navy);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.05rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 25px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box p {
    color: var(--white);
    margin: 0;
}

.closing-statement {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-top: 25px;
}

.about-highlights {
    display: grid;
    gap: 20px;
}

.highlight-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.highlight-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.highlight-card p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin: 5px 0;
}

/* ===================================
   SKILLS SECTION
   =================================== */

.skills {
    background: var(--light-gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.skill-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-top: 4px solid transparent;
}

.skill-card:hover {
    border-top-color: var(--primary-teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.skill-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.skills-tags {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.skills-tags h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-navy);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--primary-navy);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.tag:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.05);
}

/* ===================================
   PROJECTS SECTION
   =================================== */

.projects {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 2px solid var(--light-gray);
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--primary-teal);
}

.project-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: start;
}

.project-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.project-meta h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.project-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.project-body {
    padding: 30px;
}

.project-section {
    margin-bottom: 20px;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-section h4 {
    font-size: 1rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-section p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.project-footer {
    padding: 20px 30px;
    background: var(--light-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--white);
    color: var(--primary-navy);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-teal);
}

/* ===================================
   JOURNEY/TIMELINE SECTION
   =================================== */

.journey {
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-teal);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--primary-teal);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.timeline-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(10px);
}

.timeline-icon {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.timeline-card h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.timeline-card h4 {
    font-size: 1.1rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-card ul {
    list-style: none;
    padding: 0;
}

.timeline-card li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    color: var(--dark-gray);
}

.timeline-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

/* Certifications */

.certifications {
    margin-top: 60px;
    text-align: center;
}

.certifications h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cert-badge {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.cert-badge:hover span,
.cert-badge:hover small {
    color: var(--white);
}

.cert-badge i {
    font-size: 2.5rem;
    color: var(--primary-teal);
}

.cert-badge:hover i {
    color: var(--white);
}

.cert-badge span {
    font-weight: 600;
    color: var(--primary-navy);
    text-align: center;
}

.cert-badge small {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
}

.visa-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.visa-note i {
    font-size: 2rem;
}

.visa-note p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: start;
    transition: var(--transition-normal);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.contact-details {
    flex-grow: 1;
}

.contact-details h4 {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details a {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-details a:hover {
    color: var(--primary-teal);
}

.contact-details p {
    color: var(--dark-gray);
    margin: 5px 0 0 0;
}

.contact-details small {
    font-size: 0.85rem;
    color: var(--medium-gray);
    display: block;
    margin-top: 5px;
}

.copy-btn {
    margin-top: 8px;
    padding: 6px 12px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.copy-btn:hover {
    background: var(--primary-navy);
}

.contact-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.closing-quote {
    max-width: 700px;
    margin: 60px auto 0;
    text-align: center;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 12px;
    position: relative;
}

.closing-quote i {
    font-size: 2rem;
    color: var(--primary-teal);
    opacity: 0.3;
}

.closing-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-navy);
    font-weight: 600;
    margin: 20px 0;
    line-height: 1.8;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    color: var(--primary-teal);
    transform: scale(1.2);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-headline {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-photo {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-headline {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 6px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-headline {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .closing-quote p {
        font-size: 1.1rem;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* Print Styles */
@media print {
    .hero-scroll,
    #navbar,
    .btn,
    .footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}