/*Onele - Personal Portfolio Template*/
/*Table of content
---------
font
general
button
navbar
home intro
about resume
portfolio
blog
contact
footer
comment
---------*/
/*general*/
body {
    font-family: 'Roboto', sans-serif;
    background: #212121;
    color: #fafafa;
    font-size: 14px;
    line-height: 22px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 40px;
    
}


a {
    color: #fff;
}
a:hover {
    color: #fff;
    text-decoration: none;
}
a:focus {
    outline: 0;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.segments {
    padding: 27px 0;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}
.section-title h3 {
    font-weight: 700;
    color: #ff8c05;
}
.section-title.section-title-left {
    text-align: left;
}

.title-resume {
    text-align: left;
}
.title-resume h3 {
    color: #ff8c05;
    font-size: 22px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.title-resume h2 {
    font-size: 50px;
    font-weight: 900;
}
.title-resume h2 span {
    color: #ff8c05;
}

.box-content {
    background: #262626;
    padding: 40px;
    border-radius: 3px;
}

/*button default*/
.button {
    background: linear-gradient(to right, #d61a5e, #ff8c05);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button:hover {
    background: linear-gradient(to right, #ff8c05, #d61a5e);
    transform: scale(1.05);
}


@keyframes buttons {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}
/*navbar*/
.navbar {
    margin: 0;
    background: #262626;
    color: #fff;
    padding: 8px 40px;
    transition: all .5s ease;
    position: fixed; /* Make the navbar fixed at the top */
    top: 0; /* Position it at the top */
    left: 0;
    right: 0;
    z-index: 9999; /* Ensure it stays on top of other elements */
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow for better visibility */
}

.navbar .navbar-brand h2 {
    font-weight: 900;
    background: -webkit-linear-gradient(right, #d61a5e, #ff8c05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    padding-left: 12px;
    padding-right: 12px;
    transition: all .4s ease;
}

.navbar.fix {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #262626;
    margin-top: 0;
    box-shadow: 0px 5px 10px 3px rgba(0, 0, 0, 0.2);
    transition: all .5s ease;
}
/*home intro*/
.home-intro .intro-content {
    position: relative;
}
.home-intro .intro-content .intro-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.home-intro .intro-content .intro-caption span {
    font-size: 26px;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.home-intro .intro-content .intro-caption h2 {
    font-size: 70px;
    font-weight: 900;
    background: -webkit-linear-gradient(right, #d61a5e, #ff8c05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 87px;
}
.home-intro .intro-content .intro-image {
    filter: drop-shadow(-3px 17px 8px rgba(0, 0, 0, 0.3));
}

.home-intro .intro-content .intro-image img {
    width: 100%;
}

/*about*/
.about .box-content {
    padding: 0;
}
.about .box-content p {
    margin: 0;
}
.about .content-left {
    padding: 40px;
}
.about .content-left .content h2 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 30px;
}
.about .content-right {
    background: url(../images/about.jpg);
    background-size: cover;
    background-position: center center;  /* Focuses on the center of the image */
    min-height: 55vh;  /* Reduced to 50% of the viewport height */
    border-radius: 0 10px 10px 0;  /* Slightly more rounded corners */
}


/*contact*/
.contact .content-left h2 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 50px;
}
.contact .content-left ul li {
    display: inline-block;
    margin-right: 40px;
}
.contact .content-left ul li a i {
    font-size: 20px;
    transition: all .2s ease;
}
.contact .content-left ul li:hover a i {
    color: #ffffff05;
}
.contact .content-left ul li:last-child {
    margin-right: 0;
}
.contact .content-right .row {
    margin-bottom: 30px;
}
.contact .content-right .row:last-child {
    margin-bottom: 0;
}
.contact .content-right .row .form-control {
    border: 0;
    border-bottom: 1px solid #ffffff05;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #ffffff05;
}
.contact .content-right .row .form-control:hover {
    border-color: #ff8c05;
}
.contact .content-right .row .form-control:focus {
    outline: 0;
    box-shadow: none;
    border-color: #ff8c05;
}
.contact .content-right .button {
    margin-top: 30px;
}

/*footer*/
.footer {
    text-align: center;
}
.footer p {
    margin-bottom: 0;
}

/*responsive*/
@media (max-width: 768px) {
    .box-content {
        padding: 30px;
    }

    .section-title {
        margin-bottom: 30px;
    }
    .section-title h3 {
        font-size: 22px;
    }

    .button {
        margin-top: 30px;
    }

    .navbar {
        padding: 8px 30px;
    }
    .navbar.navbar-dark .navbar-toggler {
        border: 0;
        background: #333;
    }
    .navbar.navbar-dark .navbar-toggler:focus {
        outline: 0;
    }
    .navbar .navbar-nav .nav-item .nav-link {
        padding-left: 0;
    }

    .home-intro .intro-content .intro-caption span {
        display: inline-block;
        margin-bottom: 20px;
        font-size: 22px;
    }
    .home-intro .intro-content .intro-caption h2 {
        font-size: 40px;
        line-height: 60px;
    }

    .about .content-left .content h2 {
        font-size: 40px;
    }

    .resume .content-left .title-resume h2 {
        font-size: 40px;
    }
    .contact .content-left h2 {
        font-size: 40px;
    }
    .contact .content-right .button {
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    .home-intro .intro-content .intro-caption {
        display: contents;
    }
    .home-intro .intro-content .intro-image {
        display: none;
    }

    .about .content-right {
        display: none;
    }
    .contact .content-left {
        margin-bottom: 30px;
    }
    .contact .content-left h2 {
        margin-bottom: 40px;
    }
}
@media (max-width: 630px) {
    .home-intro .intro-content .row {
        text-align: center;
    }
    .home-intro .intro-content .row .intro-caption h2 {
        font-size: 32px;
    }

    .about .content-left {
        text-align: center;
    }
    .about .content-left .section-title-left {
        text-align: center;
    }
    .about .content-left .content h2 {
        font-size: 32px;
    }

    .resume .content-left .title-resume h2 {
        font-size: 32px;
    }

    .contact .content-left h2 {
        font-size: 32px;
    }
}
/* General Heading Style */
h1, h2, h3, h4, h5, h6 {
    font-size: 40px; /* Adjust font size */
    font-weight: 900; /* Set font weight */
    text-align: left; /* Align text to the left */
    margin-bottom: 20px; /* Add space below headings */
    color: #ff8c05; /* Set color to match your desired theme */
}
body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

button {
    cursor: pointer;
}

/* Social Media Links */
ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between icons */
    padding: 0;
}

ul li a {
    font-size: 24px; /* Size of icons */
    color: #fff; /* Change icon color to white */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

ul li a:hover {
    color: #ff8c05; /* Hover color */
}

ul li a i {
    margin-right: 8px; /* Space between icon and text */
}

/* LinkedIn and Phone Number - Custom Styling */
ul li a {
    text-decoration: none; /* Remove underline */
}
.content-right img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
.gradient-text {
    font-size: 50px;
    font-weight: 900;
    background: -webkit-linear-gradient(right, #d61a5e, #ff8c05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
.progress-bar {
    transition: width 2s ease;
}

.view-certificates-btn {
    background: linear-gradient(to right, #d61a5e, #ff8c05);
    color: white; /* White text */
    font-size: 16px; /* Font size */
    padding: 10px 20px; /* Padding for top/bottom and left/right */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: 0.3s ease-in-out; /* Smooth transition */
}

.button:hover {
    background: linear-gradient(to right, #ff8c05, #d61a5e); /* Reverse gradient on hover */
    transform: scale(1.05); /* Slightly increase size */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}
 /* For Soft Skills Text */
.no-progress-bar {
    font-style: italic;
    color: #777;
    margin-top: 5px;
    text-align: center;
    padding: 5px;
}

/* Adjusting the overall font size and layout */
.skill-list i {
    color: #007bff; /* Adjust the color */
    margin-right: 10px;
    font-size: 1.3em;
}

/* Styling for Social Media Links */
ul li a {
    text-decoration: none; /* Remove underline */
    color: #333; /* Default text color */
    font-size: 1.1em; /* Adjust text size */
    font-weight: 600; /* Make the link bold */
    display: flex; /* Align text and icon horizontally */
    align-items: center; /* Vertically align icon and text */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

/* Icon Styling */
ul li a i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 1.3em; /* Increase icon size */
}

/* Hover Effects */
ul li a:hover {
    color: #007bff; /* Change text color on hover */
    transform: scale(1.1); /* Slightly enlarge the link on hover */
}

/* Facebook Icon Hover Color */
ul li a[href*="facebook.com"]:hover {
    color: #3b5998; /* Facebook blue */
}

/* Google Icon Hover Color */
ul li a[href*="mailto"]:hover {
    color: #dbc237; /* Google red */
}
/* Chatbox styles */
.chatbox {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

/* Chatbox header */
.chat-header {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to right, #d61a5e, #ff8c05);
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

/* Chat messages container */
.chat-messages {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
}

/* Chat input */
.chat-input {
    width: calc(100% - 60px);
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
}

/* Chatbox button */
#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(to right, #d61a5e, #ff8c05);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
/* Style for the send button */
.chatbox button {
    background: linear-gradient(to right, #d61a5e, #ff8c05); /* Gradient background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 8px 12px; /* Adjust padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 14px; /* Decreased font size */
    transition: 0.3s ease-in-out; /* Smooth transition */
}

/* Hover effect */
.chatbox button:hover {
    background: linear-gradient(to right, #ff8c05, #d61a5e); /* Reverse gradient on hover */
    transform: scale(1.05); /* Slightly increase size */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

/* Active (when clicked) */
.chatbox button:active {
    transform: scale(0.95); /* Slightly shrink button when clicked */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Subtle shadow to give a pressed effect */
    opacity: 0.8; /* Slight fade effect */
}
.navbar-nav .nav-link {
    font-weight: bold; /* Makes the font bold */
    font-size: 16px; /* Adjust size if needed */
    text-transform: uppercase; /* Optional: Makes text uppercase */
    color: white; /* Adjust color as needed */
    transition: color 0.3s ease-in-out; /* Smooth transition */
}

/* Hover Effect */
.navbar-nav .nav-link:hover {
    color: #ff8c05; /* Change color on hover */
}
/* Button default */
.button {
    background: linear-gradient(to right, #d61a5e, #ff8c05);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button:hover {
    background: linear-gradient(to right, #ff8c05, #d61a5e);
    transform: scale(1.05); /* Slightly increase size */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}


@media screen and (max-width: 768px) {
    .contact form {
        padding: 1.5rem; /* Add some padding to the form container */
    }

    .contact form .input-box input,
    .contact form textarea {
        width: 100%; /* Full width on smaller screens */
        margin: 0.7rem 0; /* Ensures proper spacing */
    }

    .contact form .input-box {
        flex-direction: column; /* Stack the input fields vertically */
        gap: 1rem; /* Add some gap between stacked fields */
    }

    .contact h6 {
        font-size: 28px; /* Reduce font size for heading */
        padding: 3rem 0 0 0; /* Reduce padding for better spacing on smaller screens */
        text-align: center; /* Center-align the heading */
    }

    .contact form .btn1 {
        width: 100%; /* Make the button full-width */
        padding: 1rem; /* Add some padding for better touch interaction */
        font-size: 1.6rem;
    }
}
/* Skills Section */
.skills {
    text-align: center;
    padding: 5rem 9%;
    background: #262626;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif; /* Same font as About Me */
}

.skills h5 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 30px;
}

.skills-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem; /* Adjusted gap between icons */
    max-width: 900px;  /* Set a max width to ensure the layout doesn't stretch too much */
    margin: 0 auto;
}

.skills-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.skills-icons i {
    font-size: 3rem;  /* Icon size */
    color: #ff8c05;   /* Main accent color for icons */
    background: #212121;
    padding: 1.5rem;  /* Padding for smaller icons */
    border-radius: 1rem;
    transition: 0.3s;
    margin: 0.5rem; /* Margin to add spacing between individual icons */
}

.skills-icons i:hover {
    color: #fff;
    background: #ff8c05; /* Accent color on hover */
}

/* Contact Section Styling */
#contact {
    background-color: #f9f9f9;
    padding: 50px 0;
}

/* Contact Section Styling */
#contact {
    background-color: #f9f9f9;
    padding: 50px 0;
}


.section-title-left h3 {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff05;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 15px;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
    margin-bottom: 15px;
}

form input[type="text"], form input[type="email"], form input[type="tel"] {
    background-color: white;
}

form textarea {
    background-color: white;
    resize: vertical;
	height: 150px; /* Adjusted height */
}

form button {
    background-color: #db8d34;
    color: rgba(255, 255, 255, 0.897);
    font-size: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: auto;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #b97f29;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title-left h3 {
        font-size: 26px;
    }

    form {
        padding: 20px;
    }

    form .row {
        display: block;
    }

    form .col-md-6 {
        width: 100%;
    }
}
.footer {
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    color: #ffffff;
    font-size: 26px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #d47f00;
    transform: scale(1.2);
}
p {
  font-size: 17px; /* Adjust the size as needed */
}
/* Project Section */
.project-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.project-card {
    background-color: #262626;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: #fff;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.project-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: white
    ;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #fafafa;
}


/* Responsive */
@media (max-width: 768px) {
    .project-grid-2x2 {
        grid-template-columns: 1fr;
    }
}
/* Solid button (primary) */
.btn-primary {
  background-color: #ff8a05a9;
  border-color: #ff8a05a9;
  color: #fff;
}

.btn-primary:hover {
  background-color: #ff8a05a9;
  border-color: #ff8a05a9;
  color: #fff;
}

/* Outline button */
.btn-outline-primary {
  color: #ff8a05a9;
  border-color: #ff8c05a9;
}

.btn-outline-primary:hover {
  background-color: #ff8a05a9;
  color: #fff;
  border-color: #ff8c05a9;
}
html {
  scroll-behavior: smooth;
}
.row {
  row-gap: 30px;
}
