/*  tonybaskar's portfolio mediqueries for reponsiveness in tablets, mobile and laptops*/

@media  screen and (max-width:1200px) {
#home {
    display: none;
}
#hamburger-nav {
    display:flex;
}
}


/* tonybaskar's portfolio styles for profile picture adjustment */

@media (max-width: 768px) {
    #profile {
        flex-direction: column; 
        align-items: center;
        height: auto;
        gap: 2rem; 
    }

    .section__pic-container {
        width: 300px;
        height: 300px;
    }

    .section__pic-container img {
        height: 250px;
        width: 250px;
    }

    section {
        margin: 0 2rem; 
    }

    .section__text {
        text-align: center; 
    }

    .icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .section__pic-container {
        width: 250px;
        height: 250px;
    }

    .section__pic-container img {
        height: 200px;
        width: 200px;
    }

    section {
        margin: 0 1rem;
    }
}

/* tonybaskar's portfolio Responsive Design  for the announcement section*/

@media (max-width: 768px) {
    .announcement-text {
        font-size: 20px;
    }

    .btn {
        font-size: 16px;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .announcement-text {
        font-size: 18px;
    }

    .announcement-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}


/* tonybaskar's portfolio mediaqueries for about section */


@media (max-width: 768px) {
    .about_details_container {
        flex-direction: column;
        align-items: center;
    }

    .details_container {
        width: 100%;
        max-width: 300px; 
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .title_about {
        font-size: 1.5rem;
    }

    .details_container {
        padding: 15px;
        max-width: 90%;
    }

    .aicon {
        width: 30px;
        height: 30px;
    }

    .details_container h3 {
        font-size: 1rem;
    }

    .details_container p {
        font-size: 0.9rem;
    }
}
/* tonybaskar's portfolio Media Queries for about section  */


@media (max-width: 768px) {
    .about_details_container {
        flex-direction: column; 
        gap: 20px;
    }

    .details_container {
        max-width: 100%;
        margin-bottom: 20px; 
    }
}

/* tonybaskar's portfolio mediaqueries for the timeline contents */


@media (max-width: 768px) {
    .title_about {
        font-size: 2rem;
    }

    .about_description p {
        font-size: 1rem;
    }

    .timeline_content h3 {
        font-size: 1rem;
    }

    .timeline_content p {
        font-size: 0.9rem;
    }

    .timeline_box {
        width: calc(100% - 20px);
        padding: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
        left: -20px;
    }
}

@media (max-width: 480px) {
    .title_about {
        font-size: 1.5rem;
    }

    .about_description p {
        font-size: 0.9rem;
    }

    .timeline_entry {
        margin-bottom: 20px;
    }

    .timeline_box {
        padding: 10px;
    }

    .dot {
        width: 6px;
        height: 6px;
        left: -15px;
    }

    .timeline_content h3 {
        font-size: 0.9rem;
    }

    .timeline_content p {
        font-size: 0.8rem;
    }
}

/*  for the arrow icon responsiveness */


@media (max-width: 768px) {
    .arrow-container {
        text-align: right; 
        margin-top: 20px; 
    }
    .arrow-icon {
        width: 30px; 
        height: 30px;
    }
    
}

/* Media query for screens with a max width of 480px (Mobile devices) */

@media (max-width: 480px) {
    .arrow-container {
        text-align: right; 
        margin-top: 10px; 
    }
    .arrow-icon {
        width: 25px; 
        height: 25px;
    }
}

/* tonybaskar's portfolio mediaqueries for the skills section */



@media (max-width: 768px) {
    .skills_container {
        flex-direction: column;
    }

    .skill {
        max-width: 100%;
    }
}

/* tonybaskar's portfolio mediaqueries for the achievement section */


@media (max-width: 768px) {
    .achievements_container {
        flex-direction: column;
        align-items: center;
    }

    .achievement {
        max-width: 150%;
    }
}

/* tonybaskar's portfolio mediaqueries for project section responsiveness */

@media (max-width: 768px) {
    .projects_container {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Media Queries for Buttons */
@media screen and (max-width: 768px) {
    .project-buttons {
        flex-direction: column;
        align-items: center;
    }
    .view-project-btn,
    .view-code-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/*tonybaskar's portfolio mediaqueries for the contact section */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .contact-left, .contact-right {
        margin: 20px 0;
    }

    .sub-title {
        text-align: left;
    }

    .social-icons {
        text-align: center;
    }

    .contact-right {
        text-align: left;
    }
}

/* tonybaskar's portfolio media queries for the certificates section */



@media (max-width: 1024px) {
    .certificate-wrapper {
        width: 90%;
    }
    
    .certificate-container {
        height: 400px;
    }
    
    .certificate-description {
        font-size: 1rem; 
    }
    
    .nav-btn {
        font-size: 1.5rem;
        padding: 8px 15px; 
    
    #prevBtn {
        left: -30px;
    }
    
    #nextBtn {
        right: -30px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .certificate-wrapper {
        width: 95%;
    }

    .certificate-container {
        height: 300px; 
    }

    .certificate-description {
        font-size: 0.9rem; 
        padding: 10px;
    }

    .nav-btn {
        font-size: 1.2rem;
        padding: 5px 10px;
    }

    #prevBtn {
        left: -20px; 
    }

    #nextBtn {
        right: -20px;
    }

    .certificate-image:hover {
        transform: scale(1.02); 
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .certificate-wrapper {
        width: 100%; 
    }

    .certificate-container {
        height: auto; 
        max-height: 250px; 
    }

    .certificate-image {
        width: 100%;
        height: auto; 
        object-fit: contain; 
    }

    .certificate-description {
        font-size: 0.9rem; 
        padding: 10px;
    }

    .nav-btn {
        font-size: 1.2rem;
        padding: 5px 10px; 
    }

    #prevBtn {
        left: -1px; 
    }

    #nextBtn {
        right: -1px;
    }

    .certificate-image:hover {
        transform: none; 
    }
}


/*tonybaskar's portfolio  Media Queries for the contact section */

@media (max-width: 480px) {
    .contact_icon {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }

    .contact-left p, 
    .social-icons a {
        margin-bottom: 15px; 
    }

    .social-icons {
        display: flex;
        justify-content: left;
        gap: 10px; 
    }

    .contact-right form {
        width: 90%; 
        margin: 0 auto; 
        
    }

    .contact-right input, .contact-right textarea {
        font-size: 0.9rem; 
        padding: 8px; 
    }

    .contact-right button {
        padding: 8px 15px; 
    }
}
/* tonybaskar's portfolio media queries for the icon size of contact section in mobile screens */
@media (max-width: 600px) {
    p a {
        font-size: 16px; 
    }
    
    .contact_icon {
        width: 30px;
        height: 30px;
        margin-right: 6px;
    }
}

/*tonybaskar's portfolio media queries Responsive Design for the chatBot*/
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .contact-left, .contact-right {
        width: 100%;
        text-align: center;
    }

    #chatbot {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #chatbot {
        width: 100%;
    }
}

/* tonybaskar's portfolio mediaqueries for the testimonial section */


@media screen and (max-width: 768px) {
    .carousel-item img {
        width: 100px;
        height: 100px;
    }

    .carousel-item h3 {
        font-size: 1em;
    }

    .carousel-item .designation {
        font-size: 0.9em;
    }

    .carousel-item .feedback {
        font-size: 0.8em;
    }

    .carousel-item .rating {
        font-size: 1em;
    }
}

/* Media query for screens smaller than 480px (phones) */
@media screen and (max-width: 480px) {
    .testimonial-container {
        padding: 10px;
    }

    .carousel-item img {
        width: 80px;
        height: 80px;
    }

    .carousel-item h3 {
        font-size: 0.9em;
    }

    .carousel-item .designation {
        font-size: 0.8em;
    }

    .carousel-item .feedback {
        font-size: 0.7em;
        margin: 5px 0;
    }

    .carousel-item .rating {
        font-size: 0.9em;
    }

    #prev,
    #next {
        font-size: 1.2em;
        padding: 5px;
    }
}

/* tonybaskar's portfolio Media Queries  for the footer*/
@media (max-width: 768px) {
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 15px;
    }

    .footer-links a {
        font-size: 14px;
        margin: 8px 0;
    }

    .footer-copyright,
    .footer-message {
        font-size: 12px;
    }
}

/* end of mediaquery styles for tonybaskar's portfolio */

