@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  background-color: #f4f4f4;
  color: #333;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0 0 15px;
}

h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 15px;
}

header {
  width: 100%;
  background-color: #000;
  color: white;
  padding: 20px 0;
}

.header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  flex-wrap: wrap;
  position: relative;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 10px;
  z-index: 10;
}

.logo h1 {
  margin: 0;
  color: white;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

#nav-list {
  flex-direction: row;
  list-style: none;
  display: flex;
  gap: 50px;
  margin: 0;
  padding: 0;
  align-items: center;
}

#nav-list.show {
  display: block;
}

#nav-list li a {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

#nav-list li a:hover {
  color: #ddd;
}

.hamburger {
  display: none;
}

@media (max-width: 800px) {
  #nav-list {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  #nav-list.active {
    display: flex;
    flex-direction: column;
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
}

#mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.3s ease;
}

#mobile-menu-overlay.active {
  display: flex;
}

.overlay-menu {
  list-style: none;
  text-align: center;
  padding: 0;
}

.overlay-menu li {
  margin: 1rem 0;
}

.overlay-menu a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.overlay-menu a:hover {
  color: #ccc;
}

main {
    flex-grow: 1;
    width: 100%;
    padding: 2rem 5vw;
    background-color: #fff;
}

.intro {
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
}

footer {
    width: 100%;
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px 5vw;
    padding-top: 5px;
    padding-bottom: 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.social-icon i {
    font-size: 1.5rem;
}

.social-icon:hover {
    color: #1a73e8;
}

.photography{
  width: 100%;
  margin: 0 auto;
}

.photography-main{
  padding: 3rem 5vw;
  background-color: #f4f4f4;
}

.photography-main h2{
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #333;
}

.photo-gallery img {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

.portfolio-item {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.portfolio-item:hover {
    background-color: #f4f4f4;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

body {
    flex-grow: 1;
}

.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.search-overlay.active {
    display: flex;
  }

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 50%;
}

.overlay-content input {
    background: none;
    border: none;
    border-bottom: 2px solid #888;
    padding: 1rem 3rem 1rem 0.5rem;
    width: 100%;
    font-size: 1.5rem;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: left;
    outline: none;
    transition: border-color 0.3s ease;
}

.overlay-content input::placeholder {
    color: #888;
}

.overlay-content input:focus {
    border-color: #fff;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.search-container {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}

.search-icon:hover {
  color: #fff;
}

.search-icon i {
  font-size: 1.4rem;
}

.search-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.search-btn:hover {
    color: #ddd;
}

.search-btn i {
    font-size: 1.1rem;
}

.home-page main {
    padding: 0;
}

.home-page .hero {
    width: 100%;
    height: 100vh;
    min-height: 20vh;
    background-image: url('hero_header.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    margin: 0 !important;
    padding: 0;
}

.home-page .hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.home-page .hero-content {
    max-width: 100%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-90%, -50%);
    -webkit-transform: translate(-90%, -50%);
    -moz-transform: translate(-90%, -50%);
    -ms-transform: translate(-90%, -50%);
    -o-transform: translate(-90%, -50%);
}

.home-page .hero h2 {
    font-size: 3.5rem;
    margin: 0 0 20px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.home-page .hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.home-page .cta-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1rem;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
    width: auto;
    min-width: 180px;
}

.home-page .cta-btn:hover {
    background-color: #333;
    color: #fff;
}

.home-page .cta-btn.photography {
    background-color: #40798c;
}

.home-page .cta-btn.blog {
    background-color: #70a9a1;
}

.home-page .cta-btn.portfolio {
    background-color: #9ec1a3;
}

/* Hover effects */
.home-page .cta-btn.photography:hover {
    background-color: #305f6d;
}

.home-page .cta-btn.blog:hover {
    background-color: #3e636b;
}

.home-page .cta-btn.portfolio:hover {
    background-color: #7a9c8c;
}

.home-page .hero-content .fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-out 2s forwards;
  -webkit-animation: fadeIn 1.5s ease-out 2s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

.home-page .hero-content h2 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 1.8s steps(30) 0.5s forwards, blink 0.75s step-end infinite;
    -webkit-animation: typing 1.8s steps(30) 0.5s forwards, blink 0.75s step-end infinite;
}

@media (max-width: 900px) {
  .home-page .hero {
    height: 60vh;
  }
  .home-page .hero-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 70%;
    padding: 1.5rem;
  }

  .home-page .hero-content h2 {
    font-size: 2rem;
  }

  .home-page .hero-content p {
    font-size: 1.1rem;
  }

  .home-page .cta-btn {
    display: block;
    margin: 0.5rem auto;
    width: fit-content;
  }
}

@media (max-width: 600px) {
  .home-page .hero {
    height: 60vh;
  }
  .home-page .hero-content {
    width: 90%;
    padding: 1.2rem;
  }

  .home-page .hero-content h2 {
    font-size: 1.5rem;
  }

  .home-page .hero-content p {
    font-size: 1rem;
  }

  .home-page .cta-btn {
    width: 100%;
    max-width: 220px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 2rem 1rem;
  }
}

@keyframes typing {
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes fadeInButtons {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

.cta-btn {
    opacity: 0;
    animation: scaleIn 1.2s ease-out 3s forwards;
    -webkit-animation: scaleIn 1.2s ease-out 3s forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.main-sections {
    padding: 3rem 5vw;
    margin-bottom: 0rem;
    border-top: 2px solid #e0e0e0;
}

.main-sections h2 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.main-sections p {
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 700px;
    margin: 0 auto;
}

.main-sections.blog-section {
    background-color: #f4f4f4;
    padding: 3rem 5vw;
    margin-bottom: 0rem;
}

.main-sections.contact-section {
    background-color: #f4f4f4;
    padding: 3rem 5vw;
    margin-bottom: 0rem;
}

.contact-main h2{
  font-size: 2.2rem;
}

.contact-info {
  flex: 1 1 300px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  padding-top: 1rem;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 10px;
}

.contact-info a {
  color: #40798c;
  text-decoration: none;
}

.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 8px;
  font-weight: bold;
}

.contact-form button {
  background-color: #005f73;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  font-size: 1rem;
  font-family: 'Source Sans Pro', sans-serif;
  border-radius: 0.5rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  -webkit-border-radius: 0.5rempx;
  -moz-border-radius: 0.5rempx;
  -ms-border-radius: 0.5rempx;
  -o-border-radius: 0.5rempx;
}

.contact-form button:hover {
  background-color: #0a9396;
}

.profile-pic {
    max-width: 100%;
    height: auto;
    width: 200px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 1.5rem;
}

.blog-card {
  background-color: #fff;
  text-align: center;
  border-radius: 12px;
  border: 0px solid #ddd;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease;
  -webkit-transition: transform 0.2s ease;
  -moz-transition: transform 0.2s ease;
  -ms-transition: transform 0.2s ease;
  -o-transition: transform 0.2s ease;
}


.blog-card:hover {
  transform: translateY(-4px);
}

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

@media (max-width: 768px) {
  .blog-image {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .blog-image {
    max-height: 200px;
  }
}

.blog-card h3 {
  font-size: 1.5rem;
  margin: 16px;
  color: #333;
  font-family: 'Playfair Display', serif;
}

.blog-card p {
  margin: 0 16px 16px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 1rem;
  color: #555;
  font-family: 'Source Sans Pro', sans-serif;
}

.blog-card a {
  display: block;
  margin: 0 16px 20px;
  color: #1a73e8;
  font-weight: 500;
  text-decoration: none;
  text-align: right;
  padding-right: 20px;
}
.blog-card a:hover {
  text-decoration: underline;
  color: #0c54b8;
  text-decoration-thickness: 2px;
}

.blog-card img {
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-preview-section {
  padding: 40px 20px;
}

.see-all-link {
  margin-top: 2rem;
  text-align: center;
}


.see-all-link a {
  font-size: 1.1rem;
  color: #1a73e8;
  text-decoration: none;
  font-weight: bold;
}

.see-all-link a:hover {
  text-decoration: underline;
  color: #0c54b8;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 1.5rem;
}

.projects-main {
  padding: 3rem 2rem;
  background-color: #f4f4f4;
}

.projects-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.projects-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #333;
}

.project-card {
  display: flex;
  flex-direction: row;
  background-color: #ffff;
  border-radius: 12px;
  margin-top: 1.5rem;
  border: 0px solid #ddd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.project-card-idx {
  display: flex;
  flex-direction: row;
  background-color: #f4f4f4;
  border-radius: 12px;
  margin-top: 1.5rem;
  border: 0px solid #ddd;
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.project-card:hover {
  transform: translateY(-4px);
}


.project-img {
  width: 40%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
    text-align: center;
  }

  .project-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .project-card-idx {
    flex-direction: column;
    text-align: center;
  }
}

.project-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}


.project-card .project-info h3{
  margin-bottom: 1rem;
}

.project-card .project-info p{
  font-size: 1rem;
}

.project-info p {
  font-family: 'Source Sans Pro', sans-serif;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  margin-left: 0;
  margin-top: 0px;
}

.project-links {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
}

.github-link {
  font-family: 'Source Sans Pro', sans-serif;
  color: #1a73e8;
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.github-link:hover {
  color: #0c54b8;
  text-decoration: underline;
}

.github-link i {
  margin-right: 0.35rem;
}

.readmore-link {
  font-family: 'Source Sans Pro', sans-serif;
  color: #1a73e8;
  text-decoration: none;
  margin-right: 1rem;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -ms-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
}

.readmore-link:hover {
  color: #0c54b8;
  text-decoration: underline;
}

.projects-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 80%;
  margin: 0 auto;
}

.blog-main {
  padding: 3rem 5vw;
  background-color: #f4f4f4;
}

.blog-posts {
  width: 100%;
  margin: 0 auto;
}

.blog-posts h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #333;
}

@media (max-width: 768px) {
  .blog-card h3 {
    font-size: 1.3rem;
  }

  .blog-card p {
    font-size: 0.95rem;
  }

  .blog-main {
    padding: 2rem 4vw;
  }
}

@media (max-width: 480px) {
  .blog-card h3 {
    font-size: 1.1rem;
  }

  .blog-card p {
    font-size: 0.9rem;
  }

  .blog-main {
    padding: 1.5rem 3vw;
  }
}

.about-main{
  background-color: #f4f4f4;
}

.gallery-grid {
  column-count: 4;
  column-gap: 1rem;
  padding: 0rem 0rem;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  transition: transform 0.3s ease;
  cursor: pointer;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.about-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 5rem;
  background-color: #f4f4f4;
  padding: 3rem 5vw;
  padding-bottom: 2rem;
  margin: 0 auto;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
  background-color: #f4f4f4;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: left;
  color: #333;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  align-self: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    padding: 2rem 1.5rem;
    gap: 2rem;
    align-items: center;
  }

  .about-text, .about-image {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .about-header {
    order: -1;
  }

  .about-text h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }
}

.photography-section {
  background-color: #fff;
  padding: 3rem 5vw;
  margin-bottom: 0rem;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.photo-card {
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-5px);
}

.photo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.photo-card h3 {
  font-size: 1.5rem;
  margin: 0rem 0;
  margin-bottom: 1rem;
}

.photo-card p {
  font-size: 1rem;
  padding-left: 10px;
  padding-right: 10px;
  color: #555;
}

.photo-card a {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.contact-main {
  display: flex;
  justify-content: center;
  padding: 0rem 0rem;
  background-color: #f4f4f4;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333;
  animation: fadeIn 0.8s ease;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 3rem;
  width: 100%;
  background: #f4f4f4;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info .profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  max-width: 250px;
  border-radius: 50%;
  margin: 1.5rem 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.contact-form-section {
  flex: 1 1 400px;
  background-color: #e0e0e0;
  padding: 2rem;
  padding-top: 1rem;
  min-width: 300px;
  margin: 0px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
}

.contact-form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-form-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #fff;
}

.contact-form textarea {
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    padding: 2rem;
  }

  .contact-form-section,
  .contact-info {
    width: 100%;
  }

  .contact-info .profile-pic {
    margin: 1rem auto;
    display: block;
  }
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-icons li {
  text-align: center;
}

.contact-icons a {
  color: #333;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-icons a:hover {
  color: #0c54b8;
}

.contact-icons span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); -webkit-transform: translateY(15px); -moz-transform: translateY(15px); -ms-transform: translateY(15px); -o-transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro-contact{
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
}

.home-contact {
  text-align: center;
  padding: 3rem 2rem;
  padding-bottom: 1.5rem;
  background-color: #f9f9f9;
  border-top: 2px solid #e0e0e0;
}

.home-contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.home-contact-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #333;
}

.home-contact-icons {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: nowrap;
}

.home-contact-icons li {
  text-align: center;
  font-size: 1rem;
}

.home-contact-icons a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-family: 'Source Sans Pro', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.home-contact-icons a:hover {
  color: #0c54b8;
}

.home-contact-icons i {
  font-size: 1.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-fade {
  animation: fadeIn 0.6s ease-out;
}