@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #000000;
    --second-bg-color: #0000;
    --text-color: #fff;
    --main-color: hsl(84, 95%, 69%);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header .sticky{
    border-bottom: .1rem solid rgba(0,0,0, .2);
}


.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover, 
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    margin-left: -200px;
    width: 40vw;
    height: 45vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
   0% {
    transform: translateY(0);
   }

   50% {
    transform: translateY(-2.4rem);
   }
   
   100% {
    transform: translateY(0);
   } 
}
.home-content{
    padding-left: 10px;
}
.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}
/* For small screens (phones) */
@media (max-width: 768px) {
    .social-media a {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin: 1rem 0.8rem 1rem 0;
    }
}

/* Extra small screens (≤ 480px) */
@media (max-width: 480px) {
    .social-media a {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
        margin: 0.8rem 0.6rem 0.8rem 0;
    }
}

.btn {
    display: inline-flex;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: #080707;
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img img {
    width: 35vw;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5sec ease;
}

.services-container .services-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.services-box bx bx-link-external
.portfolio {
    background: var(--second-bg-color);
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
}

.portfolio-box img {
    width: 100%;
    transition: .5s ease;
}

.portfolio-box:hover img{
    transform: scale(1.1);
}
.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0, .1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
}

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
}

.portfolio-layer h4 {
    font-size: 3rem;  
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 2rem;
    color: var(--second-bg-color);
}
.logo-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;   /* size of the circle */
  height: 70px;
  border: 2px solid #333;   /* circle border */
  border-radius: 50%;       /* makes it a circle */
  background: #333;      /* background color */
  text-decoration: none;
  overflow: hidden;         /* keeps logo inside circle */
  transition: 0.3s ease;
}

.logo-badge:hover {
  background: #333;
  border-color: #333;
}

.logo-badge img {
  width: 60%;   /* adjust logo size inside */
  height: auto;
  border-radius: 50%;
}



.contact h2 {
    margin-bottom: 3rem;
}

.contact-section {
  padding: 80px 20px;
  text-align: center;
  background: url('bg-image.jpg') no-repeat center/cover;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #00eaff;
  text-shadow: 0 0 6px rgba(0, 234, 255, 0.6);
}

.contact-form {
  max-width: 600px;
  margin: auto;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  resize: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.6);
}

.btn {
  background: #f1f16A;
  color: #111;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
  color: #f1f16A;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.8);
}

/* ===== Footer Styling ===== */
.footer {
  background: #111;
  color: #f0f0f0;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Add an underline effect */
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 3px;
  background: #f1f16A; /* Neon green accent */
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Hover effect */
.footer-col h4:hover::after {
  width: 100px;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .footer-col h4 {
    font-size: 18px;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .footer-col h4 {
    font-size: 16px;
  }
}


.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #f1f16A;
}

.footer .logo img {
  margin-bottom: 15px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 22px;
  color: #ccc;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f1f16A;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 20px;
  padding-top: 15px;
}

.footer-bottom p {
  font-size: 14px;
  color: #888;
}



/* Breakpoints */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .services {
        padding-bottom: 7rem;
    }

    .portfolio {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0, .2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

   /* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #fff;
}

.home-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  width: 100%;
}

/* Left Image */
.home-img img {
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
  transition: transform 0.4s ease;
}

.home-img img:hover {
  transform: scale(1.05);
}

/* Right Content */
.home-content {
  flex: 1;
  min-width: 280px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-title span {
  color: #f1f16A;
  text-shadow: 0 0 10px #f1f16A;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ccc;
}

.hero-subtitle span {
  color: #f1f16A;
  font-weight: 600;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #bbb;
}

/* Social Media */
.social-media {
  margin: 20px 0;
}

.social-media a {
  display: inline-block;
  font-size: 1.5rem;
  margin-right: 15px;
  color: #ccc;
  transition: transform 0.3s, color 0.3s;
}

.social-media a:hover {
  color: #f1f16A;
  transform: translateY(-5px);
}

/* Button */
.hero-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f1f16A;
  color: #111;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #00bfff;
  color: #fff;
  box-shadow: 0 0 15px #00bfff;
}

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

  .home-img img {
    width: 300px;
  }
}

    .about {
        flex-direction: column;
    }

    .about img {
        width: 70vw;
        margin-top: 4rem;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    .portfolio h2 {
        margin-bottom: 3rem;
    }

    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 617px) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }
}

@media (max-width: 365px) {
    .home-img img {
        width: 90vw;
    }

    .about-img img {
        width: 90vw;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}