:root {
  --primary: #354f8e;
  --secondary: #5ac7c7;
  --accent: #faad80;
  --bg-light: #f5f7fa;
  --bg-dark: #232946;
  --text-dark: #22223b;
  --text-light: #fff;
  --shadow: 0 4px 24px rgba(34,68,153,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
}

header {
  box-shadow: var(--shadow);
  background: var(--primary);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  min-height: 80px;
  background: var(--primary);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: var(--text-light);
  font-weight: bold;
  gap: 1rem;
}

.logo-img {
  width: 60px;
  height: 60px;
}

.logo-img img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 2px solid var(--accent);
}

.list ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.list li a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 0;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.list li a::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  width: 0;
  transition: width 0.25s;
  position: absolute;
  left: 0;
  bottom: -3px;
}

.list li a:hover,
.list li a:focus {
  color: var(--secondary);
}

.list li a:hover::after,
.list li a:focus::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
}

.banner {
  background: linear-gradient(105deg, var(--secondary) 10%, var(--primary) 90%);
  color: var(--text-light);
  height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  text-align: center;
}
.banner img{
  height: 100%;
  width: 100%;
  background: transparent;
}

.banner h1 {
  font-size: 2.8rem;
  text-shadow: 0 2px 8px rgba(34,45,68,0.1);
  letter-spacing: 1px;
  margin-bottom: 2rem;
  font-weight: 700;
}

.chevron {
  font-size: 2.2rem;
  color: var(--accent);
}

/* Bouncing animation for chevron */
@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(10px);}
}
.bounce {
  animation: bounce 1s infinite;
}

/* Fade in sections on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Section styles */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px;
}

/* About */
.about {
  display: flex;
  gap: 32px;
  align-items: center;
  margin: 60px 0 50px 0;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.about-image {
  flex: 1;
  /* background: var(--secondary); */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  min-width: 180px;
  box-shadow: var(--shadow);
   background-image: url(/banner.jpg);
  background-size: cover;
}
.about-image img {
  max-width: 100%;
  max-height: 300px;
  /* height: 100%;
  width: 100%; */
  border-radius: 12px;
  /* background-image: url(/banner.jpg);
  background-size: cover; */
  
}

/* After underline (reuse for h2/h3/titles) */
.after {
  position: relative;
  display: inline-block;
}
.after::after {
  content: "";
  width: 60%;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
  display: block;
  margin-top: 4px;
  margin-left: 2px;
  animation: underline .9s cubic-bezier(.77,0,.21,1) forwards;
}

/* Section headings */
h2, h3 {
  font-weight: 700;
  margin-bottom: .7em;
  font-size: 2.2rem;
  color: var(--primary);
}

/* Projects */
.project {
  margin: 50px 0;
  text-align: center;
}
.project-section {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.pro-1 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project1a.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-2 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project2.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-3 {
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project3.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.pro-4 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project4.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-5 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project5.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-6 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project6.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-7 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project7.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-8 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project8.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-9 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project9.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-10 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project10.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.pro-11 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project11.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}.pro-12 {
  background: var(--bg-dark);
  color: var(--accent);
  flex-basis: 270px;
  flex-grow: 1;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  background-image: url(project12.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
/* .pro-1:hover {
  transform: translateY(-8px) scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 36px #5ac7c71a;
  background: var(--accent);
  color: var(--primary);
} */

.contact {
  margin: 50px 0;
}
.iframe-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.iframe-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Form and contact grid */
.container {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.left-section, .right-section {
  flex: 1;
  min-width: 260px;
  margin: 16px 0;
}

.contact-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form label {
  font-weight: 600;
  color: var(--bg-dark);
}
.contact-form input, .contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--secondary);
}
.contact-form button {
  padding: 12px 20px;
  margin-top: 10px;
  font-size: 1.1rem;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 6px #2262a322;
}
.contact-form button:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.04);
}

/* Footer */
footer {
  padding: 24px 6vw 12px 6vw;
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 40px;
}
footer a {
  color: var(--secondary);
  text-decoration: underline wavy;
  transition: color 0.18s;
}
footer a:hover {
  color: var(--accent);
}
.social-icons {
  margin-top: 16px;
}
.social-icons a {
  color: var(--accent);
  margin: 0 10px;
  font-size: 2rem;
  transition: color 0.18s, transform 0.18s;
  display: inline-block;
}
.social-icons a:hover {
  color: var(--secondary);
  transform: translateY(-2px) scale(1.2);
}

/* ====== Responsive Styles ====== */
@media (max-width: 940px) {
  .about {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .project-section {
    gap: 18px;
  }
  main {
    padding: 14px;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: row;
    padding: 0 12px;
  }
  .list ul {
    flex-direction: column;
    gap: 0px;
    background: var(--primary);
    position: absolute;
    top: 80px;
    right: 0;
    width: 190px;
    box-shadow: var(--shadow);
    z-index: 20;
    padding: 0;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.18s, transform 0.24s, visibility 0.18s;
  }
  .list ul.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .list li {
    margin: 18px 0;
    text-align: right;
    padding: 0 18px;
  }
  .mobile-menu {
    display: block;
  }
  .logo-img { width: 46px; height: 46px;}
  .about-image img { max-height: 120px;}
}

@media (max-width: 540px) {
  .about-text, .about-image, .right-section, .left-section {
    padding: 10px;
    border-radius: 8px;
    min-width: 0;
  }
  h2, h3 { font-size: 1.35rem; }
  .banner {
    height: 190px;
    padding-top: 17px;
  }
  .banner h1 {
    font-size: 1.45rem;
    margin-bottom: 1.2em;
  }
  .container {
    flex-direction: column;
    gap: 0;
  }
  .pro-1 {
    min-width: 120px;
    min-height: 80px;
    font-size: 1.1rem;
  }
}

/* Animation for section underlines */
@keyframes underline {
  0%   { width: 0; }
  100% { width: 60%; }
}
