/* ==============================================
   KALPHA_DEV PORTFOLIO STYLESHEET
   Developer: Kalpha_Dev
   Description: Personal portfolio website styles
   ============================================== */

/* ==============================================
   BASE STYLES & RESET
   ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent scrolling during loading */
body.loading {
  overflow: hidden;
  height: 100vh;
}

/* ==============================================
   PERFORMANCE OPTIMIZATION
   ============================================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==============================================
   ACCESSIBILITY
   ============================================== */
/* 포커스 접근성 개선 */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
  .home-p,
  .section-label,
  .info-p p {
    color: #000;
  }
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: #333;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 5px 0;
}

.skip-to-content:focus {
  top: 0;
}

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-list {
  margin: 15px 20px;
}

.div-list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.ul-list {
  list-style: none;
  display: flex;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 15px 30px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.ul-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 25px;
  transition: 0.3s;
}

.ul-list li a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.ul-list li a:hover {
  color: #0a0a0a;
}

.ul-list li.active {
  background-color: black;
  padding: 10px 15px;
}

.ul-list li.active a,
.ul-list li.active i {
  color: white;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-size: 20px;
}

/* ==============================================
   HOME SECTION
   ============================================== */
.home {
  margin: 180px auto;
  padding: 0 12%;
  max-width: 1400px;
}

.home-container {
  display: flex;
  gap: 8rem;
  align-items: center;
  justify-content: center;
}

.home-p {
  color: #0a0a0a;
  background-color: rgba(0, 0, 0, 0.05);
  display: inline-block;
  border-radius: 30px;
  padding: 8px 16px;
  margin-bottom: 35px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.home-s {
  font-weight: bold;
  color: #666;
}

.info-home {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.info-home h1 {
  font-size: 72px;
  font-family: "Raleway", sans-serif;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #0a0a0a;
}

.info-home h3 {
  font-size: 42px;
  font-family: "Playfair Display", serif;
  margin-bottom: 30px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.info-p {
  color: #2a2a2a;
  font-family: "Roboto", sans-serif;
  padding-bottom: 25px;
  line-height: 1.8;
}

.info-p p {
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
}

.info-p2 {
  display: flex;
  gap: 1rem;
  color: #3a3a3a;
  font-size: 15px;
  padding-bottom: 25px;
  font-weight: 500;
  justify-content: center;
  flex-wrap: wrap;
}

.btnn {
  display: flex;
  gap: 1rem;
  padding-bottom: 30px;
  justify-content: center;
}

.btn-home1 {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-home1:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-home2 {
  background-color: transparent;
  border: 2px solid #1a1a1a;
  border-radius: 12px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #0a0a0a;
}

.btn-home2:hover{
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

hr {
  width: 90%;
  font-weight: bold;
  color: gray;
}

.hhr {
  padding-bottom: 30px;
}

.follow {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.follow ul {
  display: flex;
  gap: 2rem;
  font-size: 20px;
}

.follow ul li {
  list-style: none;
}

.follow ul a {
  text-decoration: none;
  color: #0a0a0a;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 22px;
}

.follow ul a:hover {
  color: #4a4a4a;
  transform: translateY(-3px) scale(1.1);
}

.home img {
  width: 420px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.home img:hover {
  transform: scale(1.02);
}

/* ==============================================
   ABOUT SECTION
   ============================================== */
.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
}

.about{
    margin: 180px auto;
    padding: 0 12%;
    max-width: 1200px;
    text-align: center;
}

.about p{
    padding-bottom: 25px;
    font-size: 16px;
    line-height: 1.9;
    color: #2a2a2a;
    font-weight: 400;
}

.about h1{
    font-family: "Open Sans", sans-serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #0a0a0a;
}

.title{
    padding-bottom: 40px;
}

.about .hrrr{
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

.about .hrrr hr{
    width: 80px;
    border: 2px solid #333;
    border-radius: 2px;
}

.info-about{
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    gap: 50px;
}

.about-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about-info{
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about h2{
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0a0a0a;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.card{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 30px;
}

.c1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    padding: 45px 35px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.c1:hover{
    border-color: #333;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.c1 h3{
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: #0a0a0a;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.c1 h3 i{
    margin-right: 10px;
    color: #444;
    font-size: 1.5rem;
}

.c1 p{
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.8;
    font-weight: 400;
}

/* ==============================================
   PROJECT SECTION
   ============================================== */
.project{
    margin: 180px auto;
    padding: 0 12%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.project p{
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(50, 50, 50); 
}

.project h1{
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #0a0a0a;
}

.project hr{
    width: 10%;
}

.info-pro{
    padding-top: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.info-pro p{
    padding-bottom: 10px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: auto;
  margin-top: 40px;
}

.project-card {
  background: #fafafa;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  background: #ffffff;
  border-color: #e0e0e0;
}

.project-card img {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  margin-bottom: 20px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.02);
}

.project-card h3 {
  color: #0a0a0a;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.project-card p {
  color: #4a4a4a;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
  font-weight: 400;
}

.skills {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.skills a {
  display: inline-block;
  background: #f5f5f5;
  color: #2a2a2a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  margin: 4px;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.skills a:hover {
  background: #ffffff;
  border-color: #d0d0d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}



.btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.services{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.services p{
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(50, 50, 50); 
}

.services h1{
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.services hr{
    width: 10%;
}

.services-container {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.5s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card img {
  width: 100px;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
}

.service-card h3 {
  color: #1e40af;
  margin-bottom: 10px;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #555;
  font-size: 0.9rem;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #555;
  z-index: 0;
  transition: 0.5s;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

.contact{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact p{
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(50, 50, 50); 
}

.contact h1{
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.contact hr{
    width: 10%;
}

.contact-content {
  padding-top: 50px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 25px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #222;
}

.contact-item i {
  font-size: 20px;
  color: #444;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
  color: #fff;
}

.social-link[href*="github"]:hover {
  background: #000;
}

.social-link[href*="linkedin"]:hover {
  background: #0A66C2;
}

.social-link[href*="wa.me"]:hover {
  background: #25D366;
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #555;
}

.btn-send {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn-send:hover {
  background: #2c36d9;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
  }
}


.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  overflow-x: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #666;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #888;
}

.footer-copy {
  font-size: 12px;
  color: #aaa;
}

/* ==============================================
   BACK TO TOP BUTTON
   ============================================== */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #333333;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#back-to-top:active {
  transform: scale(0.95);
}

/* ==============================================
   ANIMATIONS
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.active-reveal {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin:0;
  padding:0;
  font-family: sans-serif;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  color: #ffffff;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  width: 100%;
  padding: 20px;
}

.loading-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.loading-content h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
  color: #aaa;
}

.loading-content .main-icon {
  margin-bottom: 10px;
  color: #ffffff;
}

.hidden {
  opacity: 0;
  transform: translateY(-200px);
}

.fall {
  animation: fall 0.9s forwards;
}

@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(-200px);
  }
  50% {
    opacity: 1;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 10px 0;
}

#main-page {
  opacity:0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-page.visible {
  opacity:1;
}

/* Responsive for tablets and phones */
@media (max-width: 1024px) {
  .home, .about, .project, .services, .contact {
    margin: 120px 50px;
  }

  .home-container, .about-container {
    flex-direction: column;
    gap: 3rem;
  }

  .home img, .about img {
    width: 100%;
    height: auto;
  }

  .ul-list {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 8px 15px;
  }
}

/* ==============================================
   RESPONSIVE DESIGN - BREAKPOINTS
   ============================================== */

/* Tablet landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .home, .about, .project {
    margin: 120px 8%;
    padding: 0;
  }

  .info-home h1 {
    font-size: 48px;
  }

  .info-home h3 {
    font-size: 32px;
  }

  .about h1, .project h1 {
    font-size: 2.8rem;
  }

  .card {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .projects-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone layout (up to 768px) */
@media (max-width: 768px) {
  header {
    display: none;
  }

  .home, .about, .project, .services, .contact {
    margin: 100px 15px;
    padding: 0;
  }

  .home-container, .about-container, .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  .home-container {
    gap: 1.5rem;
  }

  .projects-container, .services-container, .card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home img, .about img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .btn-home1, .btn-home2, .btn, .btn-send {
    width: 100%;
    text-align: center;
  }
  
  .follow ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 1024px) {

  .mobile-menu-btn {
    display: flex;
  }

  .div-list {
    display: none;
  }

  .ul-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    background: white;
    padding: 80px 20px 20px;
    gap: 1rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

  .ul-list.mobile-active {
    right: 0;
  }

  .ul-list li {
    width: 100%;
    padding: 10px;
    justify-content: flex-start;
  }

  .ul-list li.active {
    width: 100%;
  }

  .home, .about, .project, .services, .contact {
    margin: 20px auto;
    padding: 0 15px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-container,
  .about-container,
  .services-container,
  .projects-container,
  .contact-content,
  .card {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .about img {
    width: 100%;
    max-width: 220px; 
    height: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 1; 
  }

  .card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }

  .card .c1 {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin: 0;
    padding: 35px 25px;
  }

  .home img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    object-fit: cover;
  }

  .project-card {
    padding: 20px;
  }

  .project-card img {
    width: 100%;
    max-width: 100%;
    height: 200px;
    display: block;
    margin: 0 0 15px 0;
    object-fit: cover;
  }

  .service-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: cover;
  }

  .info-home h1 { 
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
  }
  .info-home h3 { 
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  .info-p, .info-p2, .home-p, .about p, .project p, .service-card p, .contact p {
    font-size: 14px;
  }
  .project-card h3, .service-card h3 { 
    font-size: 18px;
  }
  .c1 h3 {
    font-size: 1.2rem;
  }
  .c1 p {
    font-size: 14px;
  }
  .about h1, .project h1 {
    font-size: 2rem;
  }
  .about h2 {
    font-size: 1.5rem;
  }

  .contact-content {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .contact-info, .contact-form {
    width: 100%;
    max-width: 400px;
  }

  html, body {
    overflow-x: hidden;
  }
}
