/* Global */
body {
    margin: 0;
    font-family: "Titillium Web", sans-serif;
    color: #061d02;
    scroll-behavior: smooth;
    text-align: justify;
}

.section {
    padding: 80px 20px;
    text-align: center;
}

.alt-bg {
    background: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: auto;
    text-align: justify;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}



/* Nav links */


.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo a {
    display: block;
    text-decoration: none;
}

.hero-logo {
    height: 170px;
}

.logo img {
    height: 65px;
    width: auto;
    transition: height 0.3s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 1001;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #061d02;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    padding: 20px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
}

nav ul li a:hover,
nav ul li a.active {
    color: #061d02;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: #061d02;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.about-img img:hover {
    transform: scale(1.05);
}


/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 0 15px;
    }

    nav ul li {
        margin-left: 20px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .logo img {
        height: 45px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: left 0.3s ease;
        padding-top: 80px;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        padding: 20px 0;
        font-size: 16px;
        width: 100%;
        text-align: left;
    }

    nav ul li a::after {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    .hero-logo {
        display: none;
    }

    .navbar {
        padding: 0 15px;
        height: 70px;
    }


}


@media (max-width: 768px) {
    .teaching-courses {
        margin-top: 40px; /* smaller top margin on mobile */
    }
}

@media (max-width: 480px) {
    .teaching-courses {
        margin-top: 30px; /* even smaller on very small screens */
    }
}

ul.research-list {
    list-style-type: disc;
    padding-left: 20px;
}

ul.research-list li {
    display: flex;
    gap: 5px;
    text-align: left;
}



.research-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.workshops{
    margin-top: 85px;
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .navbar {
        padding: 0 10px;
        height: 60px;
    }
    .teaching-courses {
    padding: 10px 10% 50px 10% !important;
    }

    .publications-section {
    padding: 0px 20px !important;
    }

    .research-section {
        padding: 10px;
    }

    .hero-logo {
        display: none;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        font-size: 20px;
    }


    nav ul li a {
        font-size: 15px;
        padding: 15px 0;
    }

    .hero-content {
        margin: 20px;
    }

    .about {
        padding: 0px 25px !important;
    }

    .contact-section {
        padding: 0px 50px 20px 50px !important;
    }

}

/* Animation for hamburger menu */
.menu-toggle.active {
    color: #061d02;
}

/* Backdrop for mobile menu */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media screen and (max-width: 768px) {
    .menu-backdrop.active {
        display: block;
    }

    .hero-content {
        margin: 20px;
    }


    .about {
        padding: 50px 25px;
    }
}





/* Hero */
.hero {
    height: 90vh;
    background: url('../img/snake.jpeg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
}

/* Profile image */
.profile-img {
    max-width: 220px;
    border-radius: 50%;
    margin-top: 20px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #000000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #000000;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

footer .socials {
    margin-top: 15px;
}

footer .socials a {
    margin: 0 8px;
    color: #fff;
    font-size: 1.4rem;
}



.gallery {
    padding: 80px 50px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.grid img:hover {
    transform: scale(1.05);
}

.about {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 100px 25px;
    gap: 40px;
    flex-wrap: wrap;
}

.about img {
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
}

footer {
    background: #061d02;
    color: white;
    text-align: center;
    padding: 30px;
}

footer .socials a {
    margin: 0 10px;
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

footer .socials a:hover {
    color: #ffffff;
}




/* Contact Section */
.contact-section {
    padding: 80px 50px;
    background: #f9f9f9;
    color: #333;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #061d02;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    padding: 0;
    font-size: 1rem;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details li i {
    margin-right: 12px;
    color: #061d02;
}

.contact-details a {
    color: #333;
    text-decoration: none;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #061d02;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #000000;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #061d02;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.btn {
    align-self: flex-start;
    padding: 12px 30px;
    background-color: #061d02;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}




/* About Dodo Section */
.about-dodo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    background: #f9f9f9;
    gap: 50px;
}

.about-image {
    flex: 1 1 400px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1 1 500px;
    animation: fadeInRight 1.5s ease;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #061d02;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

.btn-learn {
    display: inline-block;
    padding: 12px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-learn:hover {
    background: #2e7d32;
    /* green accent */
}

/* Animation */
@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}














































/* Hero */
.photographer-hero {
    height: 80vh;
    background: url('https://picsum.photos/id/1016/1600/900') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.photographer-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1.5s ease;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
}

/* Intro */
.photographer-intro {
    padding: 50px 40px 0px 6%;
    text-align: center;
}


.photographer-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.photographer-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Portfolio Grid */
.photographer-portfolio {
    padding: 0px 50px 0px 50px;
}

.photographer-portfolio h2 {
    text-align: center;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.grid-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    animation: fadeInUp 0.5s ease;
}

#caption {
    margin-top: 15px;
    color: #fff;
    font-size: 1rem;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.main-content_pd {
    padding-left: 10px;
    padding-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

    .photographer-intro {
        padding: 40px 6%;
    }

    .photographer-portfolio {
        padding: 40px 6%;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






















/* Theme color: #061d02 */
.publications-section {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #061d02;
    font-family: 'Arial', sans-serif;
}

.publications-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.publications-section .page-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
   color: #061d02;
}

.publications-section .intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #061d02;
}

.publication-group {
    margin-bottom: 60px;
}

.publication-group h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #061d02;
    display: inline-block;
    align-items: center;
    padding-bottom: 5px;
}

.publication-list {
    list-style-type: disc;
    padding-left: 20px;
}

.publication-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

.publication-list a {
    color: #061d02;
}

.author-highlight {
    color: #061d02;
    font-weight: bold;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .publications-section .page-title {
        font-size: 2rem;
    }

    .publication-group h2 {
        font-size: 1.5rem;
    }

    .publication-list li {
        font-size: 0.95rem;
        color: black;
    }
}

@media screen and (max-width: 480px) {
    .publications-section .page-title {
        font-size: 1.7rem;
    }

    .publication-group h2 {
        font-size: 1.3rem;
    }

    .publication-list li {
        font-size: 0.9rem;
    }
}

















/* Teaching Hero */
.teaching-hero {
    height: 60vh;
    background: url('https://picsum.photos/id/1015/1600/900') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    text-align: center;
}

.teaching-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.teaching-hero .hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.teaching-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.teaching-hero p {
    font-size: 1.2rem;
}

/* Courses Section */
.teaching-courses {
    padding: 80px 10%;
    background: #f9f9f9;
    text-align: center;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.course-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
}

/* Lectures Section */
.teaching-lectures {
    padding: 60px 10%;
}

.teaching-lectures ul {
    list-style: disc;
    padding-left: 40px;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

/* Mentorship Section */
.teaching-mentorship {
    padding: 80px 10%;
    background: #f1f1f1;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.teaching-mentorship p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

















/* Shared Hero */
.outreach-hero,
.cv-hero,
.blog-hero {
    height: 50vh;
    background: url('https://picsum.photos/id/1020/1600/900') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.outreach-hero::after,
.cv-hero::after,
.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Outreach */
.outreach-events,
.outreach-community {
    padding: 60px 10%;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.event-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
}

/* CV Downloads */
.cv-downloads {
    padding: 60px 10%;
    text-align: center;
}

.download-list {
    list-style: none;
    padding: 0;
}

.download-list li {
    margin: 15px 0;
}

.download-list a {
    text-decoration: none;
    font-size: 1.1rem;
    background: #2c3e50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.download-list a:hover {
    background: #1a242f;
}

/* Blog */
.blog-posts {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.post-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-card h2 {
    margin-bottom: 10px;
}

.post-card .date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}
