/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #2D283E;
    color: white;
}

/* Header */
/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #2D283E;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 15px rgba(255, 78, 80, 0.3); /* Soft Glow */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

/* Logo Hover Effect */
.logo:hover {
    transform: translateY(-5px); /* Moves the logo up slightly */
    opacity: 0.8; /* Makes the logo slightly transparent on hover */
    color: #00bcd4; /* Changes text color to cyan */
}


/* Style for the dropdown button */
.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;    
    padding: 5px;
}

/* Style for the hamburger icon */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.hamburger-icon div {
    background-color: white; /* Darker shade for better contrast */
    height: 3px;
    width: 100%;
    border-radius: 10px; /* Softer rounded edges */
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect */
.hamburger-icon:hover div {
    background-color: #ff6b6b; /* Changes to a red tone when hovered */
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content style (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown content when hovering over the dropdown button */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the color of links when hovering */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* hey*/
.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

nav a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #ffcc00;
}
/* Home Section */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 220px 50px;
    background: #2D283E;
    color: white;
    flex-direction: row; /* Default to row layout */
}

.home-img {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 5px;
    max-width: 100%;
}

.home-img img {
    width: 100%;
    max-width: 300px;
    height: 300px; /* Pantay ang width at height para maging bilog */
    border-radius: 50%;
    display: block;
    object-fit: cover;
    border: 5px solid transparent;
}

.home-img::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-sizing: border-box;
    border: 5px solid orange;
    transform: scale(1.02);
    clip-path: circle(0% at center);
    animation: solidBorderRun 3s linear infinite;
}

@keyframes solidBorderRun {
    0% { clip-path: circle(0% at center); }
    20% { clip-path: circle(20% at center); }
    100% { clip-path: circle(100% at center); }
}



.home-content h1 {
    font-size: 46px;
    color: #802bb1;
}

.home-content h1 span {
    color: hsl(45, 100%, 50%);
    display: inline-block;
    animation: bounce 1.5s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


.home-content h3 {
    font-size: 24px;
    color: #802bb1;
}

.home-content p {
    max-width: 600px;
    margin: 20px auto;
    font-size: 20px;
    padding: 10px;
    font-family: 'arial', serif;
}


/* Social Icons */
.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Individual social icon link */
.social-icons a {
    text-decoration: none;
    color: orange;
    margin: 0 12px;
    font-size: 22px;
    padding: 12px;
    border-radius: 50%; /* Circular shape */
    transition: 0.3s ease-in-out;
    background: #802bb1; /* Gradient from Orange to Yellow */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* Circle width */
    height: 50px; /* Circle height */
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.6); /* Soft orange shadow */
}

/* Hover effect for social icons */
.social-icons a:hover {
    color: #222; /* Darker icon color on hover */
    transform: scale(1.2); /* Scale up the icon on hover */
    box-shadow: 0px 4px 15px rgba(255, 223, 0, 0.9); /* Yellow glowing effect */
}

/* Responsive Design */

/* For tablets (portrait) and smaller screens */
@media (max-width: 768px) {
    .home {
        flex-direction: column; /* Stack the image and content */
        padding: 120px 30px; /* Adjust padding */
    }

    .home-content h1 {
        font-size: 38px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 18px;
    }

    .btn {
        padding: 12px 24px;
    }

    .social-icons a {
        font-size: 18px;
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .home {
        padding: 80px 20px; /* Reduce padding */
    }

    .home-img img {
        width: 200px;
        height: 200px;
    }

    .home-content h1 {
        font-size: 24px;
    }

    .home-content h3 {
        font-size: 18px;
    }

    .home-content p {
        font-size: 16px;
    }

    .btn {
        padding: 8px 16px;
    }

    .social-icons a {
        font-size: 16px;
    }
}


.skills {
    text-align: center;
    padding: 100px 30px;
    background-color: #D1D7E0;
    border-radius: 40px;
    color: black;
}

.skills .section-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.container {
    max-width: 800px; /* Para hindi masyadong malapad */
    margin: 0 auto; /* Center horizontally */
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text */
}

.skills-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Para responsive */
    justify-content: center; /* Center items */
    gap: 15px; /* Space between items */
}

.skills-list li {
    font-size: 18px;
    display: flex;
    align-items: center;
    background: #fff; /* White background */
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.skills-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
}

.skills-list i {
    margin-right: 10px;
    font-size: 22px; /* Mas malaki para emphasized */
    color: #007bff; /* Blue icons */
}


/* General Styling */
.about-me {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: #D1D7E0;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

/* About Container */
.about-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-img {
    flex: 1;
    text-align: center;
}

.about-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #007bff;
    object-fit: cover;
}

.about-content {
    flex: 2;
}

.about-content h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 10px;
}

.about-content p {
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 16px;
    margin: 5px 0;
    color: white;
}

.info-list strong {
    color: white;
}

/* Button */
.btn {
    display: inline-block;
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* Work Experience & Education */
.work-experience,
.education-section {
    margin-top: 30px;
    padding: 20px;
    background: #024050;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    color: white;
}

.work-experience h3,
.education-section h3 {
    font-size: 20px;
    color: #007bff;
    margin-bottom: 15px;
}

/* Responsibilities List */
.work-experience ul ul {
    padding-left: 20px;
}

.work-experience ul ul li {
    font-size: 14px;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-img img {
        width: 150px;
        height: 150px;
    }
}

/* General Styling */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

}

.contact-section {
    background-color:  transparent;
    padding: 50px 0;
    text-align: center;
    border-radius: 10px;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.contact-item i {
    font-size: 24px;
    color: #007bff;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.contact-item a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .contact-item i {
        font-size: 20px;
        margin-bottom: 10px;
    }
}
