body{
    background: white;
}

.bgimage {
    background-color: #ffffff; /* Change this to your desired background color */
    padding: 50px 0; /* Adjust padding as necessary */
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align text to the left */
    padding: 20px;
}

.hero_title {
    font-size: 36px;
    color: #333;
}

.hero_subtitle {
    font-size: 24px;
    color: #555;
}

.hero_desc {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
    border-radius: 10px; /* Optional: Add some rounding to the image */
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .hero-text {
        text-align: center; /* Center text on smaller screens */
        align-items: center; /* Center align items */
    }

    .hero-image {
        margin-top: 20px; /* Add margin above the image */
    }

    .hero_title {
        font-size: 28px; /* Adjust heading size for smaller screens */
    }

    .hero_subtitle {
        font-size: 20px; /* Adjust subtitle size for smaller screens */
    }

    .hero_desc {
        font-size: 14px; /* Adjust paragraph size for smaller screens */
    }

    /* Ensure navbar toggle button is visible */
    .navbar-toggler {
        display: block !important; /* Ensure toggle is visible */
    }
}


.navbar {
    background-color: rgba(126, 68, 3, 0.8); 
}

.navbar-toggler {
    border-color: transparent; 
}

.navbarScroll.navbarDark {
    background-color: rgba(126, 68, 3, 0.8) !important;
}
.nav-link:hover{
color: rgb(243, 198, 147) !important;
text-decoration: overline;
}

.navbar .dropdown-menu {
    display: none;
    position: absolute;
}

.navbar .dropdown-menu.show {
    display: block !important;
}


.imageAboutPage {
    width: 100%;
}

.btn-download-cv a{
    text-decoration: none;
    color: white;
}
.btn-download-cv a:hover{
    color: black;
}
.btn{
    background-color: rgba(126, 68, 3, 0.8) !important;
    text-decoration: none;
}
.btn:hover{
    background-color: rgb(243, 198, 147) !important;
    color: black !important;
    text-decoration: none;
}

/* Card hover animation */
.servicesText.card {
    height: 280px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    background: rgb(221, 207, 191);
}

.servicesText.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(126, 68, 3, 0.8);
}

/* Icon styling and hover effect */
.servicesIcon {
    font-size: 36px;
    text-align: center;
    width: 100%;
    transition: color 0.3s ease;
}

.card:hover .servicesIcon {
    color: rgba(126, 68, 3, 0.8);
    transform: rotate(360deg);
    transition: transform 0.5s ease;
}

/* Title and text alignment */
.card-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
}

.card-text {
    text-align: center;
    font-size: 1em;
    margin-top: 10px;
}


.social-icons {
    font-size: 36px;
    cursor: pointer;
}
.fa-facebook:hover,.fa-instagram:hover,.fa-twitter:hover,.fa-linkedin:hover, .fa-twitch:hover {
    color: rgb(243, 198, 147) !important;
}
.fab {
    color: #ffffff;
}

#footer {
    background-color: rgba(126, 68, 3, 0.8) !important;
    text-align: center;
}
.copyright{
    color: white !important;
}

#about, #services, #portfolio, #contact {
    margin-top: 4rem;
    padding-top: 4rem;
}
#contact {
    padding-bottom: 4rem;
}


  /* for nav collapse section */

  .navbar-toggler-icon{
    color: white !important;
    text-decoration: none;

  }

/* Mobile View */
@media (max-width: 991.98px) {
    .navbar-collapse {
        text-align: center;
        background-color: rgba(126, 68, 3, 0.8);
        padding-top: 10px;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .nav-link {
        padding: 30px;
        font-size: 1.3em;
    }
}


/* For education section */

#education {
    background-color: #ffffff;
}

h1 {
    font-weight: bold;
    color: rgba(126, 68, 3, 0.8);
}

.education-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.education-card h4 {
    color: #333;
    font-weight: bold;
}

.education-card h5 {
    font-size: 1.1em;
    color: #777;
}

.education-card p {
    font-size: 1em;
    color: #555;
}

.education-card .fas {
    color: rgba(126, 68, 3, 0.8);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .education-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .education-card h4 {
        font-size: 1.2em;
    }

    .education-card h5 {
        font-size: 1em;
    }

    .education-card p {
        font-size: 0.9em;
    }
}


/* For experince section*/

#experience {
    background-color: #ffffff;
}

h1 {
    font-weight: bold;
    color: rgba(126, 68, 3, 0.8);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(126, 68, 3, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.timeline-content {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    font-weight: bold;
    color: #333;
}

.timeline-content h5 {
    font-size: 1.1em;
    color: #777;
}

.timeline-content p {
    font-size: 1em;
    color: #555;
}

.timeline-content .fas {
    color: rgba(126, 68, 3, 0.8);
}

/* Button for CV download */
.btn-custom {
    background-color: rgba(126, 68, 3, 0.8);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-custom:hover {
    background-color: rgb(243, 198, 147);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .timeline {
        padding-left: 20px;
    }

    .timeline-content h4 {
        font-size: 1.2em;
    }

    .timeline-content p {
        font-size: 0.9em;
    }
}


/* For portfolio section*/

#portfolio {
    background-color: #ffffff;
}

h1 {
    font-weight: bold;
    color: rgba(126, 68, 3, 0.8);
}

.portfolioContent {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.portfolioContent:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(126, 68, 3, 0.8);
}

.portfolioContent img {
    border-bottom: 2px solid rgba(126, 68, 3, 0.8);
}

.card-title {
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 1em;
    color: #555;
}

.btn {
    margin: 5px;
    border-radius: 30px;
    padding: 10px 20px;
}

.btn-primary {
    background-color: rgba(126, 68, 3, 0.8);
    border: none;
}

.btn-primary:hover {
    background-color: rgb(243, 198, 147);
}

.btn-secondary {
    background-color: #555;
    border: none;
}

.btn-secondary:hover {
    background-color: rgb(243, 198, 147);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .portfolioContent {
        margin-bottom: 30px;
    }

    .btn {
        padding: 8px 15px;
    }
}


/* For contact */

#contact {
    background-color: #ffffff;
}

h1 {
    color: rgba(126, 68, 3, 0.8);
    font-weight: bold;
}

.contact-card {
    background-color: #f8f2f2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
    color: #333;
}

.contact-card ul {
    padding-left: 0;
}

.contact-card li {
    font-size: 1.2em;
    color: #555;
}

.contact-card a {
    color: rgba(126, 68, 3, 0.8);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.map-container {
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Styling */
@media (max-width: 768px) {
    .contact-card {
        margin-top: 20px;
    }
}


/* Certificates */

#certificates {
    background-color: #f9f9f9;
}

#certificates h1 {
    color: rgba(126, 68, 3, 0.8);
    font-weight: bold;
}

.certificate-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.certificate-card img {
    border-bottom: 2px solid rgba(126, 68, 3, 0.8);
    height: 200px;
    object-fit: cover;
}

.certificate-card h5 {
    font-size: 1.25em;
    font-weight: bold;
    color: #333;
}

.certificate-card .card-text {
    color: #555;
}

.certificate-card .btn {
    background-color: rgba(126, 68, 3, 0.8);
    border: none;
   
}

.certificate-card .btn:hover {
    background-color: #a85601;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .certificate-card img {
        height: 180px;
    }
}
