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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #111;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Header and navbar styles */
.header {
    background-color: #222;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container,
.cv-container {
    display: flex;
    align-items: center;
}

.cv-button {
    text-align: center;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px;
    border-radius: 20px;
}

.cv-button:hover {
    color: #3498db;
    border: 2px solid #3498db;
    transition: color 0.3s ease;
}

.logo {
    box-shadow: 1px 3px 3px black;
    border-radius: 25px;
    height: 75px;
    width: auto;
    border: 1px solid inherit;
}

.logo_name {
    text-indent: 10px;
    font-size: 36px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 2px solid white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3498db;
    border-bottom: 2px solid #3498db;
    transition: color 0.3s ease;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Main content styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 30px;
}

/* ===== Home Section ===== */
.section-home {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #111 0%, #222 100%);
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    margin-top: 3rem;
}

.home-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* Typography */
.home-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #0062ff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.home-paragraph {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Buttons */
.home-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4f46e5;
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: white;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

.btn-secondary:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

/* Image */
.home-content img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Skills Section */
.section-skills {
    padding: 10rem 0;
}

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

.title-skills {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

/* Individual Skill Category */
.skill-category {
    background: #222;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4486c9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #3498db;
    /* Blue bullet point */
}

.section-about {
    padding: 7rem 0 0;
}

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

.title-about {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text,
.home-text {
    flex: 1;
}

.about-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fa3a3a;
    border-bottom: 1px solid #fa3a3a;
}

.about-paragraph {
    padding: 2rem;
    text-align: right;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 20px;
    background: #222;
    color: #a3a3a3;
    border-radius: 20px;
    
}

.about-image {
    flex: 1;
}

.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

/* Contact Section Styling */
.section-contact {
    padding: 7rem 0;
}

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

.title-contact {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.paragraph-contact {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: #222;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-box {
    margin-bottom: 25px;
}

.info-box i {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    
}

.info-box p {
    color: #888;
    margin: 0;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #0056b3;
}

/* Support Section */
.section-support {
    padding: 4rem 0;
    background-color: #222;
    border-radius: 20px;
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.title-support {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.paragraph-support {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.support-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.support-links li a {
    display: block;
    padding: 12px 25px;
    background: #4f46e5;
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.support-links li a:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(79, 70, 229, 0.3);
}