* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #001f3f 0%, #001022 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #00e5ff;
}

html {
  scroll-padding-top: 80px; 
}

main > section {
    margin-bottom: 3.5rem;
    padding: 1rem 0;
}

a {
    color: #00e5ff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #00bcd4;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #001f3f;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 110;
    box-shadow: 0 2px 10px rgba(0, 229, 255, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    user-select: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    z-index: 111;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #00e5ff;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

nav#main-nav {
    display: flex;
    gap: 1.8rem;
}

nav#main-nav a {
    font-weight: 600;
    font-size: 1rem;
    user-select: none;
}

.container {
    padding-top: 80px;
    flex-grow: 1;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    perspective: 900px;
}

.hero-text {
    max-width: 600px;
    text-shadow: 0 0 10px #00e5ffaa;
    animation: fadeInUp 1s ease forwards;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px #00e5ffcc;
    transform-style: preserve-3d;
    animation: float3D 4s ease-in-out infinite;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.hero-text button {
    background: #00e5ff;
    border: none;
    padding: 0.75rem 1.8rem;
    margin: 5px 5px;
    color: #001f3f;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 10px #00e5ffaa;
    transition: background 0.3s;
    user-select: none;
}

.hero-text button:hover {
    background: #00bcd4;
    box-shadow: 0 0 15px #00bcd4aa;
}

.hero-image img {
    margin-top: 2rem;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.6);
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #00e5ff;
    text-shadow: 0 0 10px #00e5ffaa;
}

#about p {
    text-align: justify;
}

.cards-wrapper { 
    margin-top: 15px; 
    display: flex; 
    gap: 1.5rem; 
    flex-wrap: wrap; 
}

.service-card,
.portfolio-card {
    flex: 1 1 280px;
    margin-top: 15px;
    background: #003060;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 15px #00e5ff44;
    color: #00e5ff;
    font-weight: 600;
    cursor: default;
    user-select: none;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    box-shadow: 0 0 25px #00e5ffaa;
    transform: scale(1.05);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-img {
    width: 100%;
    height: auto;
    display: block;
}

.service-link span {
    display: block;
    padding: 10px;
    font-weight: bold;
}

#services p{
    text-align: justify;
}

.portfolio-card:hover {
    box-shadow: 0 0 25px #00e5ffaa;
    transform: scale(1.05);
}
.portfolio-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.portfolio-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 5px 0;
}
.portfolio-content {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.product-card {
    background: #003060;
    color: #00e5ff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 0 15px #00e5ff44;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 1rem;
    font-weight: 500;
}

.social-links a {
  font-size: 2.5rem;
  margin: 0 15px;
  color: #00aabb;
  transition: color 0.3s;
}

#social {
  margin: 2px 0;
}

#social p {
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  padding: 5% 0 5% 0;
}

.social-links a {
  font-size: 40px;
  color: #00e5ff;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
  color: #ff00ff;
  transform: scale(1.2);
  text-shadow: 0 0 15px #ff00ff, 0 0 25px #00e5ff;
}
.social-banner {
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 2px;
  overflow: hidden;
  margin-top: 10px;
}

.social-banner {
  margin-top: 50px;
  overflow: hidden;
  width: 100%;
  text-align: center; 
}

.social-banner p {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.2rem;
  animation: scrollText 12s linear infinite;
}

@keyframes scrollText {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .social-banner p {
    animation: none;
    transform: translateX(0);
    white-space: normal;
    font-size: 1rem;
  }
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #001022;
    font-weight: 600;
    font-size: 0.9rem;
    color: #00aabb;
    user-select: none;
    position: relative;
}

@keyframes float3D {
    0%, 100% {
        transform: translateZ(0) translateY(0);
    }
    50% {
        transform: translateZ(20px) translateY(-10px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 250px;
        margin-top: 1.5rem;
    }

    nav#main-nav {
        position: fixed;
        top: 60px;
        right: -100%;
        background: #001f3f;
        width: 220px;
        height: calc(100vh - 60px);
        flex-direction: column;
        padding-top: 1.5rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 8px rgba(0, 229, 255, 0.3);
        z-index: 109;
    }

    nav#main-nav.open {
        right: 0;
    }

    nav#main-nav a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .menu-toggle {
        display: flex;
    }
}

