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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    min-height: 100vh;
}

/* Header Styling */
.page-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    margin: 0 auto;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0c59ff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0c59ff; /* hover color */
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0c59ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #212529;
}

/* Responsive adjustments for the header */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
    }
    
    .nav-link::after {
        display: none; /* Hide underline animation on mobile */
    }

    .menu-toggle {
        display: block;
    }
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%; 
}

.hero-content {
    max-width: 50%;
}

.intro {
    font-size: 26px;
    font-weight: 600;
}

.name {
    font-size: 48px;
    color: #0c59ff;
    font-weight: 800;
    margin: 10px 0;
}

.sub-title {
    font-size: 18px;
    color: #1d1d1d;
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    font-size: 16px;
    color: #0f0f0f;
    line-height: 1.6;
    margin-bottom: 30px;
}

.buttons {
    margin-top: 30px;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

/* Buttons */
.btn-primary {
    background: #0c59ff;
    color: #fff;
}

.btn-primary:hover {
    background: #0c59ff;
}


/* Right Image */
.hero-image img {
    width: 400px;
    max-width: 100%;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 40px;
        order:2;
    }

    .buttons {
        justify-content: center;
    }
    .name {
    font-size: 40px;
    }

}

/* Skill Section */

.skill-container {
    text-align: center;
    padding: 60px 8%; 
}

.skill-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.skill-content p {
    font-size: 1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.skills {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    padding: 20px 0;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex: 0 0 180px; 
}

.progress-circle {
    --light-bg: #e9ecef; 
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    margin-bottom: 15px; /* Increase margin for skill name text */
}

/* This is the center white circle content */
.progress-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.progress-icon img {
    width: 50px;
}

/* Skill Name Styling */
.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
    margin-top: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px){
    .progress-icon img {
        width: 30px;
    }
    .progress-icon {
        width: 60px;
        height: 60px;
    }
    .progress-circle {
        width: 80px;
        height: 80px;
    }
    .skills {
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
    }
    .skill-content p{
        margin-bottom: 15px;
    }
}

/* --Service Section-- */

.services-container {
    padding: 60px 8%; 
}

.services-content {
    margin-bottom: 50px;
    text-align: center;
}

.service-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #343a40; 
    margin-bottom: 5px;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    margin: 0;
}

.highlight {
    color: #0c59ff;
}

.cards-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
    justify-content: center;
    align-items: stretch; 
}

.service-card {
    background-color: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08); 
    flex: 1 1 300px; 
    max-width: 380px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border:#0c59ff solid 0.5px;
}

.card-icon {
    font-size: 2rem;
    font-weight: 600;
    color: #0c59ff; 
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.2;
}

.card-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1; 
}


/* Experience Section */

.experience-container {
    padding: 60px 8%; 
}

.experience-content {
    margin-bottom: 50px;
}

.experience-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
    text-align: center;
}

.experience-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 40px 40px; 
    justify-content: center;
}

.experience-card {
    background-color: #ffffff; 
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
    display: flex;
    flex: 1 1 540px;
    max-width: 540px;
    gap: 20px;
    align-items: flex-start; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: #0c59ff solid 0.5px;
}

.com-logo img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}

.company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0c59ff;
    margin-bottom: 5px; 
}

.duration {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 10px;
    display: block; /* Ensures it's on its own line */
}

.responsibilities {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
}


/* Contact Us */

.contact {
    padding: 60px 8%; 
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    min-height: 100vh;
}

.contact-container {
    max-width: 900px;
    width: 100%;
}

.contact-header {
    margin-bottom: 40px;
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    color: #0c59ff;
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}

.description {
    font-size: 16px;
    color: #0f0f0f;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Form Layout (Flexbox) */
.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    /* Input fields share the row */
    flex: 1 1 45%; 
    min-width: 250px; 
}

.input-group.full-width {
    /* Message area takes full width */
    flex: 1 1 100%;
}

/* Input and Textarea Styling */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
    background-color: #f8f9fa; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(66, 116, 255, 0.4);
    outline: none;
    background-color: #ffffff;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button Styling */
.submit-container {
    display: flex;
    justify-content: center; 
}

.submit-button {
    background-color: #0c59ff; 
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 5px 15px rgba(66, 116, 255, 0.4);
}

.submit-button:hover {
    background-color: #0c59ff; 
}

.submit-button:active {
    transform: translateY(1px);
}


/* Footer Styling */
.footer {
    width: 100%;
    background-color: #f8f9fa; 
    border-top: 1px solid #e9ecef; 
    padding: 20px 8%;
    text-align: center;
}

.footer-content {
    margin: 0 auto;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}