/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Work Sans', Arial, sans-serif;
    color: #333;
    background-color: #EDEDED;
    line-height: 1.6;
    margin: 8px;
    box-sizing: border-box;
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1em 2em;
    background-color: #EDEDED;
    color: #333;
}

.header-left {
    display: flex;
    align-items: baseline;
    gap: 0.5em; 
}

.profile-circle {
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    flex-shrink: 0;
    
}

.logo {
    font-weight: 600;
    font-size: 1.4em;
    color: #333;
    text-decoration: none; 
    display: inline-block; 
    line-height: 1;
    margin-bottom: 0; 
}

.title {
    font-size: 0.9em;
    color: #777;
    display: inline-block;
    margin-left: 0.5em; 
}


/* Navigation Links Styling */
.header-nav {
    display: flex;
    gap: 0.2em;
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 1em;
    color: #333;
    font-weight: 500;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #000;
}

.separator {
    color: #333;
    font-size: 1em;
    margin: 0 0.5em;
}

/* Hero Section */
.hero {
    background-color: #EDEDED;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4em 2em;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4em;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    padding: 4em 2em;
}

.hero-image img {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #EDEDED;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5em;
}

.hero-text h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #1d1c4d;
}

.hero-text p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2em;
    text-align: justify;
}

.cta-buttons {
    display: flex;
    gap: 1em;
}

.cta {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #000;
    color: #FFF;
    text-align: center;
    line-height: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta:hover {
    background-color: #000;
    transform: scale(1.1);
}

.contact-content {
    text-align: center;
    margin: 4em auto; 
    max-width: 600px; 
    font-size: 1.2em; 
    color: #333;
}

.contact-info h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem; 
}

.contact-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

/* Contact Page Layout */
.contact-page {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: start;
    font-family: 'Work Sans', sans-serif;
    color: #000;
}


/* Contact Info */
.contact-info {
    align-self: start;
    margin-top: -1.5rem;
}

.contact-info h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.contact-info p strong {
    font-weight: 600;
}

/* Contact Form */
.contact-form form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; 
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; 
}

.contact-form .form-row label {
    font-size: 1rem;
    font-weight: 600;
}

.contact-form .form-row input,
.contact-form .form-row textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Work Sans', Arial, sans-serif;
}

/* Adjust Message Box */
.contact-form .form-row textarea {
    grid-column: span 2; 
    width: 207%; 
    height: 150px; 
    padding: 0.8rem;
    border: 1px solid #000; 
    border-radius: 4px; 
    font-size: 1rem;
    font-family: 'Work Sans', Arial, sans-serif;
    resize: none; 
    box-sizing: border-box; 
}
/* Styling for ReCAPTCHA Container */
.recaptcha-container {
    grid-column: span 2; 
    display: flex;
    justify-content: left; 
    margin-top: 0.5rem;
}


/* Submit Button */
.contact-form .submit-button {
    grid-column: span 2; 
    padding: 1rem;
    font-size: 1.2rem; 
    font-weight: 600;
    color: white;
    background-color: black;
    border: none;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 100%; 
}


.contact-form .submit-button:hover {
    background-color: #000; 
    transform: scale(1.01);
}

/* Thank You Page Styling */
.thank-you-page {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    font-family: 'Work Sans', sans-serif;
    background-color: #EDEDED;
    color: #333;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1em 2em;
    background-color: #EDEDED;
    color: #333;
}

.header-left {
    display: flex;
    align-items: baseline;
    gap: 0.5em; 
}

.profile-circle {
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
}

.logo {
    font-weight: 600;
    font-size: 1.4em;
    color: #333;
    text-decoration: none;
}

.title {
    font-size: 0.9em;
    color: #777;
    margin-left: 0.5em;
}

/* Navigation Links */
.header-nav {
    display: flex;
    gap: 0.5em;
    font-size: 1em;
    font-weight: 500;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #000;
}

.separator {
    color: #333;
}

/* Thank You Page Styling */
.thank-you-message {
    max-width: 1200px;
    margin: auto;
    padding: 4rem 2rem;
    text-align: center;
    color: #000;
    background-color: #EDEDED;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you-message h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

#fun-facts {
    margin-top: 2rem;
    text-align: center;
}

#fun-facts h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #122DE0; 
}

#facts-list {
    list-style: none;
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    padding: 0;
    margin-top: 1rem;
}

#facts-list li {
    margin-bottom: 1rem;
}



/* Resume Page Styling */
.resume-page {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    font-family: 'Work Sans', sans-serif;
    color: #000;
}

.resume-page h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 4rem;
}

/* Resume Section */
.resume-section {
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 2rem;
}

.resume-section::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ddd; 
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Resume Item */
.resume-item {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 2rem;
    align-items: justify;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Title Column */
.title-column {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Date Column */
.date-column {
    font-size: 1.2rem;
    color: #555;
    text-align: right;
    font-weight: 600;
}

/* Content Column */
.content-column {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    text-align: justify;
}

/* Job Title */
.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000; 
    margin-bottom: 0.5rem;
}
.bold-text {
    font-weight: bold;
  }  

.recommendation-link {
    font-size: 1rem;
    font-weight: 400;
    color: #1E3A8A;
    text-decoration: none;
    border-bottom: 1px solid #1E3A8A;
    padding-bottom: 0px;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.recommendation-link:hover {
    color: #000;
    border-bottom-color: #000;
    text-decoration: none;
}

/* Styling for Languages Section */
.resume-section .content-column .job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    display: inline-block;
}

.resume-section .content-column .language-proficiency {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-left: 0.5rem;
    vertical-align: middle;
}


    /* Archive Section Styling */
    .archive-link {
        color: #555; 
        cursor: pointer;
        font-size: 1rem; 
        transition: color 0.3s ease;
    }

    .arrow {
        display: inline-block;
        transform: rotate(0deg); 
        transition: transform 0.3s ease;
    }

    /* Hover effect */
    .archive-link:hover .arrow {
        transform: rotate(90deg); 
    }

    /* Persistent rotation when section is visible */
    .arrow.rotated {
        transform: rotate(90deg); 
    }

    .archive-section {
        margin-top: 1rem;
        padding-left: 1rem;
        border-left: 2px solid #ddd;
    }

    .archive-section p {
        margin-bottom: 0.5rem;
    }



.archive-section {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid #ddd;
}

.archive-section p {
    margin-bottom: 0.5rem;
}



a {
    color: #1E3A8A; 
    text-decoration: none;
    
}

.content-column {
    position: relative;
}

.logo-container {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(0%); 
}

.org-logo {
    width: 60px; 
    height: auto; 
    border-radius: 4px;
}




/* Projects Page Styling */
.projects-page {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    font-family: 'Work Sans', sans-serif;
    color: #000;
}

.projects-page h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 4rem;
}

/* Project Section */
.project {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 2rem;
}

/* Project Text Column */
.project-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-text p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Carousel */
.project-carousel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 2rem;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px; 
    display: flex; 
    justify-content: center;
    align-items: center;
    
}

.carousel-image {
    flex-shrink: 0; 
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0; 
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1; 
    position: relative; 
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #000; 
}

.project-single-image img,
.single-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 1rem;
    margin-left: 2rem;
}

.certificate-link {
    font-size: 1rem;
    font-weight: 400; 
    color: #1E3A8A; 
    text-decoration: none; 
    border-bottom: 1px solid #1E3A8A; 
    padding-bottom: 0px;
    margin-top: 0.5rem; 
    display: inline-block; 
    transition: color 0.3s ease, border-color 0.3s ease; 
}

.certificate-link:hover {
    color: #000; 
    border-bottom: 1px solid #000;
}

.drone-shot-indicator .drone-text {
    color: #333;
    font-size: 20px;
    font-family: 'Work Sans', Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    transform: translate(-25px, 10px) rotate(-15deg);
    text-align: center; 
}



/* Footer Styling */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: #EDEDED;
    font-size: 0.9rem;
    color: #333;
}

.footer-item {
    text-align: left;
}

.footer-item strong {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.linkedin-icon img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.linkedin-icon img:hover {
    transform: scale(1.1);
}

.copyright {
    text-align: left;
    font-size: 0.8rem;
    color: #666;
}

/*TMS*/
.tms-self-pitch-page {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    font-family: 'Work Sans', sans-serif;
    color: #000;
}

.tms-self-pitch-page h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.tms-self-pitch-page p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; 
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.video-container video {
    width: 100%;
    height: auto; 
    display: block;
    object-fit: cover; 
    aspect-ratio: 4 / 5;
}


/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 3em;
    background-color: #EDEDED;
    font-size: 0.9em;
    width: 100%;
}

.footer-item {
    text-align: left;
}

.footer-item strong {
    display: block;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 0.1em;
}

.footer-item p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.2;
    color: #333;
}

.linkedin-icon img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.linkedin-icon img:hover {
    transform: scale(1.1);
}

.copyright {
    text-align: left;
}

.copyright p {
    font-size: 0.9em;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    margin: 0;
}


/* Responsive Design for Small Devices */
@media (max-width: 768px) {
    /* Header adjustments for mobile */
    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1em;
    }

    .header-left {
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
    }

    .header-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5em; 
        font-size: 1em;
        margin-top: 1em;
    }

    .header-nav a {
        font-size: 1em;
        color: #333;
        text-decoration: none;
        padding: 0.2em; 
        line-height: 1.2; 
    }

    .header-nav a:hover {
        color: #000;
    }

    .separator {
        color: #333;
        font-size: 1em;
        line-height: 1.2; 
        padding: 0; 
    }

    /* Hero Section adjustments */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2em;
        text-align: center;
        padding: 2em 1em;
    }

    .hero-image img {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .hero-text h2 {
        font-size: 1.2em;
        margin-bottom: 0.5em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .cta-buttons {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 1em;
    }

    .cta {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 0.8em;
    }

    .resume-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0rem 0;
    }

    .title-column {
        text-align: left;
    }

    .date-column {
        text-align: left;
    }

    .content-column {
        text-align: left;
    }
    
    .content-column .job-title {
        max-width: 80%; 
        word-wrap: break-word; 
        display: inline-block;
        vertical-align: top; 
    }

    .content-column .logo-container {
        display: inline-block; 
        width: auto; 
    }
    
    .content-column .logo-container img {
        display: block;
        width: 50px;
        height: auto;
    }
    
    .content-column p {
        text-align: justify;
        line-height: 1.6; 
    }

    /* Responsive Design for Archive Section */
    .archive-link {
        font-size: 0.9rem; 
    }

    .arrow {
        transform: rotate(0deg); 
        transition: transform 0.3s ease; 
    }

    /* Hover effect */
    .archive-link:hover .arrow {
        transform: rotate(90deg); 
    }

    /* Persistent rotation when section is visible */
    .arrow.rotated {
        transform: rotate(90deg); 
    }

    .archive-section {
        margin-top: 1rem;
        padding-left: 1rem; 
        border-left: 2px solid #ddd;
    }

    .archive-section p {
        margin-bottom: 0.5rem; 
    }

    /* Ensure Proper Layout for Current and Archived Sections */
    .resume-item {
        margin-bottom: 1rem; 
        text-align: left; 
    }
    .archive-link:hover::after {
        transform: translateX(3px);
    }    

    .project {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-carousel {
        margin: 0 auto;
        margin-top: 2.5rem;
        
    }

    .carousel-images {
        height: 200px;
    }

    .project-single-image img {
        display: block;
        margin: 0 auto;
        align-items: center;
    }

    /* Contact Page adjustments */
    .contact-page {
        padding: 2em 1em;
        font-family: 'Work Sans', sans-serif;
        color: #000;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-info {
        text-align: left;
    }

    .contact-info h2 {
        font-size: 1.2em;
        font-weight: bold;
        margin-bottom: 0.5em;
        text-align: left;
    }

    .contact-info p {
        font-size: 1em;
        margin-bottom: 1em;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .contact-form label {
        font-size: 1em;
        margin-bottom: 0.5em;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 1em;
    }

    .contact-form button {
        padding: 1em;
        font-size: 1em;
        font-weight: bold;
        background-color: #f5a623;
        color: #fff;
        border: none;
        border-radius: 24px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .contact-form button:hover {
        background-color: #e3941f;
    }

    .contact-form input,
    .contact-form textarea {
        border: 1px solid #000;
    }

    /* Footer adjustments */
    footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        padding: 2em 1em;
        text-align: left;
    }

    .footer-item {
        margin-bottom: 1em;
        width: 100%;
    }

    .footer-item strong {
        display: block;
        font-weight: bold;
        margin-bottom: 0.5em;
    }

    .linkedin-icon {
        display: inline-block;
        margin-top: 0.5em;
    }

    .copyright {
        margin-top: 1em;
        text-align: left;
        font-size: 0.8rem;
        color: #666;
    }

    .thank-you-page {
        padding: 1rem;
        text-align: center; 
    }

    .thank-you-message h1 {
        font-size: 2rem; 
        margin-bottom: 1rem;
    }

    .thank-you-message p {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .thank-you-message a {
        font-size: 1rem;
    }


     .video-container {
        padding: 1rem;
        margin: 1.5rem auto; 
        max-width: 100%; 
    }

   
    .tms-self-pitch-page h1 {
        margin-bottom: 1rem; 
    }

    .tms-self-pitch-page p {
        margin-bottom: 1.5rem; 
        padding: 0 1rem; 
    }
}
