:root {
    --primary-color: #00468C;
    --secondary-color: #1e293b;
    --accent-color: #007bff;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --glass: rgba(255, 255, 255, 0.7);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #002d5a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.highlight {
    color: #ffffff;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

.tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.open-to-work-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}



@media (max-width: 768px) {
    
}



.btn-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.btn-hero i {
    font-size: 1.1rem;
}

.btn-resume {
    background: #ffffff;
    color: var(--primary-color);
}

.btn-resume:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
}

.btn-projects {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-projects:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-email {
    background: #EA4335;
    color: white;
}

.btn-email:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.btn-linkedin {
    background: #0077B5;
    color: white;
}

.btn-linkedin:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    
}


.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

/* Metrics Strip */
.metrics-strip {
    background: var(--white);
    padding: 30px 0;
    box-shadow: var(--shadow);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: 10px;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.metric-item h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.metric-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    margin-right: 15px;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 30px;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

/* Skills Chips */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skill-tag {
    background: #eef2ff;
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(0, 70, 140, 0.1);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

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

.timeline-item {
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.company-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.duration {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.experience-grade {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
.project-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.project-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.project-info {
    padding: 25px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: var(--text-light);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

/* Certifications Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cert-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}

.cert-card:hover {
    border-color: var(--primary-color);
}

.cert-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.cert-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    min-height: 48px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.social-links a {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f1f5f9;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-card i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.contact-card.whatsapp i { background: #25D366; }
.contact-card.email i { background: #EA4335; }
.contact-card.linkedin i { background: #0077B5; }
.contact-card.schedule i { background: #00468C; }

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-info .subtext {
    font-size: 0.85rem;
    color: var(--text-light);
}

.availability-strip {
    background: #eef2ff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px dashed var(--primary-color);
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social-icons a {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.footer-social-icons a:hover {
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-image img { width: 280px; height: 280px; }
    .nav-links { display: none; }
}

/* Print and PDF Optimization */
@media print {
    header, 
    #contact,
    .contact-cards-grid,
    .availability-strip,
    footer,
    .btn,
    .open-to-work-badge {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
    }

    .hero {
        background: none !important;
        color: black !important;
        padding: 0 !important;
        min-height: auto !important;
        page-break-after: avoid;
    }

    .hero-content h1 {
        color: black !important;
    }

    .hero-image {
        display: none !important; /* Hide image to save space on resume print */
    }

    .section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }

    .skill-tag, .tag {
        border: 1px solid #ccc !important;
        color: black !important;
        background: transparent !important;
        padding: 4px 8px !important;
    }

    .timeline-item, .project-card, .cert-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        margin-bottom: 15px !important;
    }

    a {
        text-decoration: underline !important;
        color: blue !important;
    }
}

/* 3D Beveled Profile Summary Card */
.profile-summary-wrapper {
    filter: drop-shadow(15px 15px 30px rgba(0, 70, 140, 0.15));
    margin-bottom: 40px;
}

.profile-summary-card {
    background: #ffffff;
    padding: 40px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    /* Cut corners using polygon */
    clip-path: polygon(
        40px 0%, 100% 0%, 
        100% calc(100% - 40px), calc(100% - 40px) 100%, 
        0% 100%, 0% 40px
    );
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-summary-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 40px; height: 40px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.2;
}

.profile-summary-card::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0; width: 40px; height: 40px;
    background: var(--primary-color);
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
    opacity: 0.2;
}

.profile-summary-wrapper:hover .profile-summary-card {
    transform: translateY(-8px) scale(1.01);
}