*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #fff;
}
#header{
  width: 100%;
  min-height: 100vh;
  padding-top: 80px; /* keep your navbar spacing */
  background-image: url("./images/ggg.png") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px){
  #header{
    min-height: 100dvh;      /* dynamic height (best for phones) */
    background-position: top center;
    /* background-image: url("images/phone-background.png");  optional */
  }
}
@media (max-width: 600px){
  .header-text{
    margin-top: 0;                 /* stop pushing down */
    padding-top: 45dvh;            /* place text lower */
    font-size: 16px;
  }
  .header-text h1{
    font-size: 30px;
    line-height: 1.2;
  }
}
.container{
    padding: 10px 10%;
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10%;
    background: rgba(8, 8, 8, 0.95); /* dark bar */
    backdrop-filter: blur(8px);
    z-index: 1000;
}

/* Push page content down so it doesn't hide behind nav */
#header{
    padding-top: 80px;
}

/* Logo */
.nav-left .logo{
    width: 140px;
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Nav links */
.nav-links{
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li{
    list-style: none;
}

.nav-links li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

/* Hover underline */
.nav-links li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

.nav-links li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 20%;
    font-size: 30px;
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
    font-weight: 700;
}
/* -----------about--------------- */
#about{
    padding: 80px 0;
    color: #ababab;
}

#about p{
    font-size: 20px;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #f4400a;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #c6502c;
    font-size: 14px;
}

.tab-contents ul li{
    font-size: 18px;     /* description text */
    line-height: 1.6;
}

.tab-contents ul li span{
    font-size: 20px;     /* skill title */
    font-weight: 600;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

/* ----------------services------------- */
#services{
    padding: 30px 0;
}

.social-work{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.social-card{
    background: #262626;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.5s, background 0.5s;
}

.social-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.social-card h2{
    font-size: 22px;
    margin: 20px 20px 10px;
}

.social-card p{
    font-size: 16px;
    color: #ababab;
    margin: 0 20px 15px;
    line-height: 1.6;
}

.social-card a{
    display: inline-block;
    margin: 0 20px 25px;
    color: #ff004f;
    font-weight: 500;
    text-decoration: none;
}

.social-card:hover{
    transform: translateY(-10px);
    background: #1f1f1f;
}

.ig-card{
    padding: 25px;
    background: #161616;
    border-radius: 14px;
}

.ig-header{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.ig-avatar{
    margin-bottom: 12px;
}

.ig-info h2{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ig-info h2 i{
    color: #49a8e3;
    font-size: 16px;
    margin-left: 6px;
}

.ig-name{
    font-size: 14px;
    color: #ababab;
    margin-bottom: 8px;
}

.ig-stats{
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.ig-stats span{
    color: #fff;
}

.ig-bio{
    font-size: 16px;
    line-height: 1.6;
    color: #f4400a;
    margin: 15px 0 20px;
}

.ig-link{
    display: inline-block;
    color: #f4400a;
    font-weight: 500;
    text-decoration: none;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: #ffffff;
    transform: translateY(-10px);
}
/* -------portfolio----------- */
#portfolio{
    padding: 50px 0;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #ffffff);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
   transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #f4400a;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

/* ----- Achievements carousel card ----- */
.achievements-card{
  box-shadow: 0 12px 32px rgba(0,0,0,0.65);
}

.achievements-title{
  font-size: 22px;
  margin-bottom: 14px;
}

/* ----- Carousel layout ----- */
.carousel{
  position: relative;
  width: 100%;
  margin: 0 auto 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #1f1f1f;
}

.carousel-track{
  position: relative;
  width: 100%;
  height: 420px;              /* desktop height */
}

.carousel-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.carousel-slide.active{
  opacity: 1;
}

.carousel-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prev/Next buttons */
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  z-index: 2;
}

.carousel-btn:hover{
  background: rgba(0,0,0,0.75);
}

.carousel-btn.prev{ left: 12px; }
.carousel-btn.next{ right: 12px; }

/* Dots */
.carousel-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}

#carousel-nurse-huddle .carousel-slide img{
  object-fit: contain;
  background: #1f1f1f;
  margin: 0 auto;
}

#carousel-sql .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  background: #1f1f1f;  
}


@media only screen and (max-width: 600px){
  .featured-card .carousel-track{
    height: 260px;
  }
}
.featured-card{
  max-width: 100%;
}

#carousel-sql .carousel-track {
  height: 480px;
}

@media (max-width: 600px) {
  #carousel-sql .carousel-track {
    height: 340px;
  }
}

.format-card{
  box-shadow: 0 14px 36px rgba(0,0,0,0.7);
}

/* show FULL screenshots (no cropping) */
#carousel-format .carousel-slide img{
  object-fit: contain;
  background: #1f1f1f;
}

/* slightly taller because these are vertical screenshots */
#carousel-format .carousel-track{
  height: 520px;
}
@media only screen and (max-width: 600px){
  #carousel-format .carousel-track{
    height: 380px;
  }
}

/* bullets */
.format-bullets{
  margin: 10px 0 20px;
  padding-left: 20px;
  color: #ababab;
  line-height: 1.7;
  font-size: 16px;
}
.format-bullets li{
  margin: 8px 0;
}
.format-bullets strong{
  color: #fff;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.35);
}

.dot.active{
  background: rgba(255,255,255,0.9);
}

/* Description under carousel */
.achievements-desc{
  color: #ababab;
  margin-top: 10px;
}

/* Mobile adjustments */
@media only screen and (max-width: 600px){
  .carousel-track{
    height: 320px;
  }
  .carousel-btn{
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
  }
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #f4400a;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #f4400a;
}

/* ---------contact-------- */
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #f4400a;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #f4400a;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #f4400a;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color: #f4400a;
}
.copyright a{
    color: #f4400a;
    text-decoration: none;
}
/* -----------------css for small screens--------- */
nav .fas{
    display: none;
}

@media only screen and (max-width: 600px){
    #header{
        background-image: url(images/ggg.png);
    }
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ffffff;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
}
#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}