/* style.css */

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0284c7;
    --text-color: #1f2937;
    --light-text: #64748b;
    --background: #ffffff;
    --light-background: #f8fafc;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-background);
    padding-top:50px;

}

/* Navbar */
.navbar {
    position: fixed;
    top: 38px;
    width: 100%;
    background-color: #4169E1; /* Dark Slate Gray */
    color: white;
    padding: 0.25rem 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.nav-profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-top: -15px;
    margin-bottom: -20px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s;
}

.nav-profile-img:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: white; /* White text for links */
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.nav-links a:hover {
    background-color: #4F7F7F; /* Lighter shade on hover */
    border-radius: 5px;
    color: var(--primary-color);
    background-color: var(--light-background);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

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

.profile-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

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

.contact-brief span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.contact-brief i {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-primary, .cta-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s;
}

.cta-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.cta-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section:nth-child(even) {
    background: var(--background);
}

h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
#about {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.about-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--light-background);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    #about {
        padding: 4rem 1rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* Experience Section */
#experience {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 1.5px;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    z-index: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 8px;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
}

.timeline-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content .company {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}


.timeline-content .company a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.timeline-content .company a:hover {
    text-decoration: underline;
}


.timeline-content .duration {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--text-color);
}

.timeline-content li:last-child {
    margin-bottom: 0;
}

.timeline-content li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -0.25rem;
}

@media (max-width: 768px) {
    #experience {
        padding: 4rem 1rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }
}

/* Education Section */
#education {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.education-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.education-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.education-item .institution {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.education-item .institution a {
    text-decoration: none;
    color: inherit;   /* keeps same text color */
}

.education-item .institution a:hover {
    text-decoration: underline;
}


.education-item .duration {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-item .duration i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.education-item .grade {
    background: var(--light-background);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.education-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.education-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--text-color);
}

.education-item li:last-child {
    margin-bottom: 0;
}

.education-item li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -0.25rem;
}

@media (max-width: 768px) {
    #education {
        padding: 4rem 1rem;
    }

    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .education-item {
        padding: 1.5rem;
    }

    .education-item h3 {
        font-size: 1.25rem;
    }
}

/* Core Strengths Section */
#core-strengths {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.strengths-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.strength-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.strength-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.strength-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strength-icon i {
    background: var(--light-background);
    padding: 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.strength-item:hover .strength-icon i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.strength-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.strength-item p {
    color: var(--text-color);
    line-height: 1.6;
    flex-grow: 1;
}

@media (max-width: 768px) {
    #core-strengths {
        padding: 4rem 1rem;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .strength-item {
        padding: 1.5rem;
    }

    .strength-icon {
        font-size: 1.75rem;
    }

    .strength-item h3 {
        font-size: 1.2rem;
    }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--background);
    border: 2px solid var(--primary-color);
}

.timeline-content {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-2px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.timeline-content li {
    position: relative;
    margin-bottom: 0.5rem;
}

.timeline-content li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

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

.education-item {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.education-item:hover {
    transform: translateY(-2px);
}

/* Strengths Grid */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strength-item {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.strength-item:hover {
    transform: translateY(-2px);
}

.strength-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Skills Section */
#skills {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

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

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

.skill-category-card {
    background: white;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.skill-category-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category-card h3 i {
    font-size: 1.1rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-background);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.skill-item:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.skill-item i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.skill-item:hover i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    #skills {
        padding: 4rem 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-category-card {
        padding: 1.5rem;
    }
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    background: var(--background);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #003366, #00509E); /* Gradient from deep blue to lighter blue */
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.header-content h1 {
    color: #FFD700; /* Gold color for emphasis */
}

.header-content .title {
    color: #FFFFFF; /* White for contrast */
}

.header-content .contact-info a {
    color: #FFD700; /* Gold for links */
}

.header-content .cta-buttons .cta-primary {
    background-color: #FF4500; /* Bright orange for primary button */
    color: white;
}

.header-content .cta-buttons .cta-secondary {
    background-color: #007BFF; /* Blue for secondary button */
    color: white;
}

.header-content .cta-buttons .cta-primary:hover {
    background-color: #FF6347; /* Lighter orange on hover */
}

.header-content .cta-buttons .cta-secondary:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Footer Styles */
footer {
    background-color: #003366; /* Deep blue */
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .contact-brief {
        flex-direction: column;
        align-items: center;
    }
    
    .education-grid,
    .strengths-grid {
        gap: 1.5rem;
    }
}




/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background-color: #20ba5a;
    color: white;
    transform: scale(1.1);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

@media (max-width: 480px) {
    .float-whatsapp {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
        font-size: 25px;
    }
}



/* Top Contact Bar */
.top-bar {
    background-color: #003366;
    color: white;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
}

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

.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    transition: 0.3s;
}

.top-bar a:hover {
    color: #0ea5e9;
}

.top-right a {
    margin-left: 0.8rem;
    font-size: 1rem;
}


/* Hide Top Bar on Mobile */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .navbar {
        top: 0;   /* Move navbar to top when top bar hidden */
    }

    body {
        padding-top: 70px; /* Adjust spacing */
    }
}




/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Mobile Navbar */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        background: #4169E1;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}
