html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', sans-serif;
    background-color: #ffffff;
    color: #0a1f3d;
}

.navbar {
    background-color: #0a1f3d;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f9d71c;
}

.welcome-strip {
  background-color: white;
  padding-top: 170px;
  padding-bottom: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero {
  text-align: center;
  background-color: #ffffff;
  padding: 120px 20px 80px;
}

.portfolio-image {
  max-width: 650px;
  width: 80%;
  display: inline-block;
  transition: transform 0.3s ease;
  opacity: 0;
  animation: popIn 0.8s ease-out forwards;
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-2px, 2px) rotate(-1deg); }
  40% { transform: translate(-2px, -2px) rotate(1deg); }
  60% { transform: translate(2px, 2px) rotate(0deg); }
  80% { transform: translate(2px, -2px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.portfolio-image:hover {
  animation: popIn 0.8s ease-out forwards, shake 0.4s ease-in-out;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  background-color: #e84393;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #001a3e;
}

.cta-button:hover {
  background-color: #001a3e;
  color: #feda00;
  box-shadow: 0 4px 0 #feda00;
  transform: translateY(-3px);
}

.subtitle {
    color: #e84393;
    font-size: 18px;
    margin-top: 10px;
    font-style: italic;
}

.welcome-strip {
  background-color: #FFD500;      
  height: 60px;                
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 0 8px;              
  box-sizing: border-box;
}

.welcome-content {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: scrollTicker 22s linear infinite;
}

.welcome-content span {
  display: inline-block;
  margin: 0 20px; 
  font-family: 'Helvetica', sans-serif;
  font-size: 1.05rem;
  color: #000;
  vertical-align: middle;
  line-height: 1;
}

.welcome-content span::after {
  content: " •";
  margin-left: 12px;
  opacity: 0.95;
}

.welcome-content span:nth-child(4n + 1) {
  font-style: normal;
  font-weight: 400;
}
.welcome-content span:nth-child(4n + 2) {
  font-style: oblique;
  font-weight: 400;
}
.welcome-content span:nth-child(4n + 3) {
  font-style: normal;
  font-weight: 700;
}
.welcome-content span:nth-child(4n + 4) {
  font-style: oblique;
  font-weight: 700;
}

@keyframes scrollTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.welcome-content { min-width: 200%; }

@media (max-width: 768px) {
  .welcome-strip { height: 48px; }
  .welcome-content span { margin: 0 14px; font-size: 0.95rem; }
  .welcome-content span::after { margin-left: 8px; }
  .welcome-content { animation-duration: 20s; }
}

.about {
    background: linear-gradient(135deg, #e84393 0%, #d63384 100%);
    padding: 100px 50px;
    color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.photo-container {
    position: relative;
    flex-shrink: 0;
    background: transparent;
}

.about {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.about-photo {
  width: 400px;
  transition: all 0.3s ease;
  display: inline-block;
  transition: transform 0.2s;
}

.about-photo:hover {
  animation: shake 0.5s;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.header-rectangle {
    height: 30px;
    width: auto;
}

.get-to-know {
    font-size: 18px;
    font-style: italic;
    margin: 0;
}

.name-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.bio {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.accordion {
  background: white;         
  color: #e84393;         
  border: none;               
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: none;       
}

.accordion summary {
  background: #0b1e45;      
  color: white;         
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: inline;
}

.accordion[open] summary {
  background: #0b1e45; 
  color: white;
}

.accordion-content {
  padding: 15px 20px;
  background: white;
  color: #e84393;
  border-radius: 0 0 10px 10px;
}

.accordion-content strong {
  color: #0b1e45;        
}

.accordion-content span {
  color: #e84393;
}

.edu-item {
    margin-bottom: 15px;
}

.edu-item strong {
    display: block;
    margin-bottom: 5px;
}

.skills-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.works-section {
    padding: 35px 35px;
    background-color: #ffffff;
}

.section-title {
  position: relative;
  text-align: center;
  font-size: 4rem;
  color: #001f3f;
  font-weight: 700;
 margin: 40px 0 30px;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 400px; 
  height: 22px;   
  background-color: #FFD700;
  border-radius: 10px;
  transform: translateY(-50%);
}

.section-title::before {
  left: calc(50% + 200px);
}

.section-title::after {
  right: calc(50% + 200px);
}

.works-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.work-item {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.work-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.work-item:hover .work-image {
    transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
  to top,
  rgba(10, 31, 61, 0.95) 0%,
  rgba(10, 31, 61, 0.6) 75%,
  rgba(10, 31, 61, 0) 100%
);

  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.work-overlay p {
    font-size: 14px;
    line-height: 1.5;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.contact-section {
    background-color: #0a1f3d;
    padding: 80px 50px 120px;
    color: white;
    position: relative;
    overflow: hidden;
    background-image: 
        url('aset\ web-07.png'),
        url('aset\ web-08.png');
    background-repeat: no-repeat, no-repeat;
    background-position: left bottom, right top;
    background-size: 400px auto, 450px auto;
}

.contact-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 40px;
}

.yellow-italic {
    color: #f9d71c;
    font-style: italic;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  grid-column: 1 / -1; 
}

.submit-btn {
  margin-top: 20px;
  background-color: #f9d71c;
  color: #0a1f3d;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.submit-btn:hover {
  background-color: #d63384;
  color: white;
  transform: scale(1.05);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.social-icons a img {
  width: 80px;        
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image {
        max-width: 400px;
    }
}