/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f6f7fb;
    color: #232946;
    line-height: 1.7;
    cursor: url('custom-cursor.svg') 18 18, default;
}

h1,
h2,
h3,
.logo,
.hero-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #232946;
    color: #fff;
    box-shadow: 0 2px 8px rgba(35, 41, 70, 0.07);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.2s;
}

.nav-link.active,
.nav-link:hover {
    color: #eebf63;
}

.nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #eebf63, #a3cef1);
    border-radius: 2px;
    position: absolute;
    left: 0;
    bottom: -6px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: #bdbdbd;
    margin-bottom: 1rem;
}

.section {
    padding: 4rem 0 3rem 0;
    animation: fadeIn 1.2s;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #232946;
    text-align: center;
}

.section p {
    font-size: 20px;
    font-weight: 300;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(35, 41, 70, 0.09);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s;
}

.project-card p {
    text-align: justify;
}

.project-card:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 8px 32px rgba(35, 41, 70, 0.16);
}

.project-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: #a3cef1;
}

.project-tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #a3cef1;
    color: #232946;
    font-size: 0.9rem;
    border-radius: 4px;
    padding: 0.2rem 0.7rem;
    margin-right: 0.4rem;
    margin-bottom: 0.2rem;
}

.project-card h3 {
    margin-bottom: 0.7rem;
    color: #eebf63;
}

.project-card p {
    margin-bottom: 1.2rem;
}

.btn {
    display: inline-block;
    background: #eebf63;
    color: #232946;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #a3cef1;
    color: #232946;
    transform: scale(1.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(35, 41, 70, 0.07);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #a3cef1;
    border-radius: 6px;
    font-size: 1rem;
    resize: none;
    font-family: 'Roboto', Arial, sans-serif;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    margin-top: 0.5rem;
}

.form-feedback {
    color: #232946;
    background: #eebf63;
    border-radius: 6px;
    padding: 0.7rem 1rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

footer {
    background: #232946;
    color: #fff;
    text-align: center;
    padding: 1.2rem 0;
    font-size: 1rem;
    margin-top: 0rem;
    letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(0deg, #a3cef1 0%, #639dee 100%);
    padding: 5rem 0 4rem 0;
    text-align: center;
    color: #232946;
    animation: fadeIn 1.2s;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-title span {
    color: #232946;
    background: #eebf63;
    padding: 0 0.5rem;
    border-radius: 6px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #232946cc;
}

.hero-btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    background: #232946;
    color: #fff;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(35, 41, 70, 0.07);
}

.hero-btn:hover {
    background: #eebf63;
    color: #232946;
    transform: translateY(-2px) scale(1.04);
}

.hero-image img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    background: #a3cef1;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(35,41,70,0.09);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}
.animate-fade-in.fade-in-visible {
    opacity: 1;
}
.animate-zoom-in {
    opacity: 0;
    animation: zoomIn 1s forwards;
}
.animate-zoom-in.zoom-in-visible {
    opacity: 1;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: none; }
}
.animate-slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s forwards;
}
.animate-slide-in-left.slide-in-left-visible {
  opacity: 1;
}

.hero-socials.animate-fade-in {
  animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 700px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .logo-icon svg {
        width: 28px;
        height: 28px;
    }

    .section {
        padding: 2.5rem 0 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .projects-grid {
        gap: 1.2rem;
    }

    .project-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }

    .contact-form {
        padding: 1.2rem 0.7rem;
    }
}

#about {
    text-align: justify;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  background: #232946;
  color: #fff;
  padding: 12px 20px;
  font-size: 1.1rem;
  border: 2px solid #eebf63;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dropbtn:hover {
  background: #eebf63;
  color: #232946;
}
.hamburger {
  font-size: 1.3em;
  margin-right: 0.5em;
  vertical-align: middle;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background: #232946;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(35,41,70,0.15);
  border-radius: 8px;
  border: 1px solid #eebf63;
  z-index: 1000;
}
.dropdown-content a {
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(238,191,99,0.12);
  transition: background 0.2s, color 0.2s;
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background: #eebf63;
  color: #232946;
}
.show {
  display: block;
}
.menu-icon {
  display: inline-block;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
}
.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
  border-radius: 2px;
}
.menu-icon.change .bar1 {
  transform: translateY(11px) rotate(-45deg);
}
.menu-icon.change .bar2 {
  opacity: 0;
}
.menu-icon.change .bar3 {
  transform: translateY(-11px) rotate(45deg);
}
@media (max-width: 700px) {
  .dropdown-content {
    left: 0;
    right: 0;
    min-width: unset;
    width: 100vw;
    border-radius: 0 0 8px 8px;
  }
}
