:root {
    --electric-blue: #00B4FF;
    --dark-blue: #001A33;
    --light-blue: #66E0FF;
    --neon-blue: #00F2FF;
    --black: #000000;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(0, 26, 51, 0.9);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
    font-family: 'Kanit', sans-serif;
}

nav ul li a:hover {
    color: var(--electric-blue);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}
/* Hero Section */
.hero {
    margin-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    text-align: left;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(0,180,255,0.05)" points="0,100 100,0 100,100"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: -1;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .hero-image {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--electric-blue);
    box-shadow: 0 0 30px rgba(0, 180, 255, 0.3);
  }
  
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--electric-blue), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
  }
  
  .hero h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--light-blue);
    font-weight: 400;
  }
  
  .hero p {
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.1rem;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    margin-right: 15px;
    font-family: 'Kanit', sans-serif;
  }
  
  .btn:hover {
    background: var(--electric-blue);
    color: var(--dark-blue);
    transform: translateY(-3px);
  }
  
  .btn-primary {
    background: var(--electric-blue);
    color: var(--dark-blue);
  }
  
  .btn-primary:hover {
    background: transparent;
    color: var(--electric-blue);
  }

/* About Section */
.section {
    padding: 100px 10%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--electric-blue), transparent);
    bottom: -10px;
    left: 0;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.skill {
    background: rgba(0, 180, 255, 0.1);
    padding: 10px 20px;
    border: 1px solid var(--electric-blue);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    font-family: 'Kanit', sans-serif;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(0, 26, 51, 0.7);
    border: 1px solid rgba(0, 180, 255, 0.3);
    padding: 30px;
    transition: 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: 0 10px 20px rgba(0, 180, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    height: 250px;
    overflow: hidden;
    border: 1px solid rgba(0, 180, 255, 0.3);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 26, 51, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: 0.5s;
}

.project-card:hover .project-overlay {
    bottom: 0;
}

.project-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--electric-blue);
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 10px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    font-family: 'Kanit', sans-serif;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border: 1px solid var(--electric-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    font-size: 1.2rem;
    transition: 0.3s;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.social-link:hover {
    background: var(--electric-blue);
    color: var(--dark-blue);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Kanit', sans-serif;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(0, 180, 255, 0.3);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--electric-blue);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: rgba(0, 26, 51, 0.9);
    padding: 30px 10%;
    text-align: center;
    border-top: 1px solid rgba(0, 180, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    transition: 0.3s;
    font-family: 'Kanit', sans-serif;
}

.footer-links a:hover {
    color: var(--electric-blue);
}

.copyright {
    color: var(--light-blue);
    opacity: 0.7;
}
@media (max-width: 992px) {
    .hero {
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }
    .hero-content {
      max-width: 100%;
      margin-bottom: 40px;
    }
    .hero-image {
      width: 250px;
      height: 250px;
    }
  }
  
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.5rem;
    }
    .hero h2 {
      font-size: 1.2rem;
    }
    .hero-image {
      width: 200px;
      height: 200px;
    }
  }
  
  @media (max-width: 576px) {
    .hero {
      padding: 0 5%;
    }
    .hero-image {
      width: 150px;
      height: 150px;
    }
  }
/* Responsive Design */
@media (max-width: 1200px) {
    .hero-image {
        width: 300px;
        height: 300px;
        right: 5%;
    }
}

@media (max-width: 992px) {
    .hero {
      flex-direction: column;
      justify-content: center;
      text-align: center;
    }
    .hero-content {
      max-width: 100%;
      margin-bottom: 40px;
    }
    .hero-image {
      width: 250px;
      height: 250px;
    }
  }
  
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark-blue);
        transition: 0.5s;
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    nav ul li {
        margin: 20px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}
