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

body {
    font-family: "Open Sans", sans-serif;
    color: #2c2c2c;
    background-color: #f5f6f8;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0.25rem 2rem; 
    position: sticky;
    top: 0;
    z-index: 100;
    font-size: 1.1em;
}

.navbar .logo-img {
    height: 120px; /* shrink logo */
}



.logo {
    display: flex;
    align-items: center; 
    gap: 0rem;          
}

.logo-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -50px;
}

.logo .tagline {
    margin: 0;
    font-size: 1.1rem;
    color: #6b7280;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a.active {
    color: #478A6C;
    font-weight: 600;
}
nav a:hover{
color: #93C8B0;
}
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #e8edf4 0%, #f9fafb 100%);
}

.intro {
    max-width: 700px;
}

.intro h2 {
    font-family: "Oswald", sans-serif;
    font-size: 2.2rem;
    color: #478A6C;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 2rem;
}

.button {
    display: inline-block;
    padding: 2rem 3rem;
    background-color: #478A6C;
    color: white;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #93C8B0;
    transform: translateY(-2px);
}

footer {
    background: #fff;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 0.9rem;
    padding: 1.5rem 1rem;
    color: #555;
}

footer a {
    color: #6DBD7E;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.page-content {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    color: #2c2c2c;
    text-align: left;
}

.page-content h1, .page-content h2 {
    font-family: "Oswald", sans-serif;
    color: #1f2937;
    margin-bottom: 1rem;
}

.page-content h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.page-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #0072ff;
    display: inline-block;
    padding-bottom: 0.3rem;
}

.page-content p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.subtitle {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-grid figcaption {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    color: #374151;
    text-align: center;
    background: #f9fafb;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox .close, .lightbox .prev, .lightbox .next {
    position: absolute;
    cursor: pointer;
}

.lightbox .close {
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
}

.lightbox .prev, .lightbox .next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(0,0,0,0.3);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

@media (max-width: 768px) {
    .navbar { flex-direction: column; text-align: center; padding: 1rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .hero { padding: 3rem 1rem; }
    .intro h2 { font-size: 1.8rem; }
}



.resume-content {
      max-width: 900px;
      margin: 4rem auto;
      padding: 0 1.5rem;
      color: #2c2c2c;
      text-align: left;
      line-height: 1.8;
    }
.resume-content h1 {
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  margin-bottom: 0.15rem;
  color: #1f2937;
}

.resume-content .subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 0.5rem; 
}

    .resume-content .subtitle a {
      color: #478A6C;
      text-decoration: none;
      font-weight: 500;
    }

    .resume-content .subtitle a:hover {
      color: #93C8B0;
      text-decoration: underline;
    }

 .resume-content h2 {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  color: #1f2937;
  border-bottom: 2px solid #478A6C;
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-top: 2rem; 
  margin-bottom: 0.75rem; 
}

.resume-content section {
  margin-bottom: 2rem; 
}


    .resume-content h3 {
      font-size: 1.2rem;
      margin-top: 1.5rem;
      color: #374151;
      font-weight: 600;
    }

    .resume-content p {
      font-size: 1.05rem;
      color: #374151;
      margin-bottom: 0.75rem;
    }

    .resume-content ul {
      list-style: disc;
      margin-left: 1.8rem;
      margin-bottom: 1.5rem;
    }

    .resume-content li {
      margin-bottom: 0.5rem;
      font-size: 1rem;
      color: #374151;
    }

    .resume-content a {
      color: #478A6C;
      text-decoration: none;
    }

    .resume-content a:hover {
      color: #93C8B0;
      text-decoration: underline;
    }


/* CONTACT PAGE STYLING */
.contact-content {
    max-width: 700px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
}

.contact-content legend {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 1rem;
}

.contact-content fieldset {
    border: none;
    margin-bottom: 2rem;
    padding: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #7aa6ff;
    box-shadow: 0 0 6px rgba(122, 166, 255, 0.3);
    outline: none;
    background: #fff;
}

.contact-form .btn {
    display: block;
    width: 100%;
    background: #478A6C;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

.contact-form .btn:hover {
    background: #93C8B0;
}

.contact-form .btn:active {
    transform: scale(0.98);
}

.confirmation {
    text-align: center;
    color: #2e7d32;
    background: #e9fbe9;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c7e8c7;
    margin-top: 1.5rem;
    font-weight: 500;
}
.about-photo {
    text-align: center;
    margin: 2rem 0;
}

.about-photo img {
    width: 350px;
    height: 350px; 
    object-fit: cover; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.essay-img {
    width: 80%;          
    max-width: 600px;    
    display: block;      
    margin: 1.5rem auto; 
    object-fit: cover;   
    border-radius: 5px;  
}

.video-embed {
    display: block;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.blog-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.blog-thumb {
    width: 280px;
    height: auto;
    border-radius: 0.75rem;
}

.blog-info {
    flex: 1;
    min-width: 250px;
}

.blog-info h2 {
    margin-top: 0;
    font-family: 'Oswald', sans-serif;
}

.blog-info a {
    text-decoration: none;
    color: #333;
}

.blog-info a:hover {
    color: #5a7ea1;
}

.blog-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 0.75rem;
}

.blog-preview {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
}

.blog-link:hover {
    color: #5a7ca5;
}

.blog-image {
    display: block;
    max-width: 600px; /* limits image size */
    width: 100%;
    height: auto;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}



