*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


html {
  scroll-behavior: smooth;
}

#logo-pic img {
    margin-left: 85px;
}

#mobile-view img {
    display: none;
}

.ser {
    font-size: 5rem;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-align: center;
}


#img-btn {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background: transparent;
    transition: ease-in-out 0.3s;
}

#img-btn:hover {
    background-color: #ffffff;
    color: #333;
}

p{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}


#foot-link li a {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}

#foot-contact li {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.sub-head {
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 4rem;
}

#message button:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

#btn-link  {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
}

/* Active */
.nav-link {
  position: relative;
  padding-bottom: 5px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: black;
  transition: width 0.3s ease;
}

/* Hover underline */
.nav-link:hover::after {
  width: 100%;
}

/* Active underline */
.nav-link.active::after {
  width: 100%;
}

.navbar {
    height: 80px;
    z-index: 1030;
}
.nav-item {
    padding-left: 15px;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
}

/* Content */
#content {
    margin-top: 50px;
}

/* portfolio */
.img-container {
    overflow: hidden; /* keeps overlay inside image */
    width: 100%;
    height: 300px;
    position: relative;
    cursor: pointer;
  }

  .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps consistent size */
    transition: transform 0.4s ease;
  }

  .img-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-align: center;
    font-size: 1.2rem;
  }

  .img-container:hover .overlay {
    opacity: 1;
    transform: translateY(0);
  }

  /* Optional: zoom the image slightly on hover */
  .img-container:hover img {
  transform: scale(1.05);
    }

    @media (max-width: 991px) {
  .img-container {
    height: 250px;
  }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
  .img-container {
    height: 200px; /* smaller height for phones */
  }
}


/* Contact */

    .contact-section {
      padding: 70px 0;
    }

    .contact-card {
      background: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }

    .contact-info h3 {
      font-weight: 700;
      margin-bottom: 20px;
    }

    .contact-info p {
      font-size: 15px;
      margin-bottom: 10px;
      line-height: 1.7;
    }

    .contact-info strong {
      display: block;
      font-weight: 600;
    }

    .form-control {
      height: 50px;
      border-radius: 8px;
    }

    textarea.form-control {
      height: 120px;
    }

    .btn-custom {
      background: black;
      color: white;
      padding: 12px 30px;
      border-radius: 8px;
      transition: 0.3s;
    }

    .btn-custom:hover {
      background: #333;
    }


/* Smooth transition */
body, nav, footer, .card {
  transition: all 0.3s ease;
}

/* Custom CSS for the Slider */
        .carousel-item {
            height: 100vh; /* Full viewport height */
            min-height: 300px;
            background: no-repeat center center scroll;
            background-size: cover;
        }
        
        /* Dark Overlay to make text pop */
        .carousel-item::before {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.5); /* 50% opacity black overlay */
        }

        .carousel-caption {
            bottom: 220px; /* Adjust vertical position */
            z-index: 2;
        }

        /* Typography Styling */
        .slider-subtitle {
            font-size: 1.2rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #f8f9fa;
            margin-bottom: 10px;
        }

        .slider-title {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .slider-text {
            font-size: 1.25rem;
            max-width: 800px;
            margin: 0 auto; 
        }
/* Custom 45% width class for medium and larger screens */
    @media (min-width: 768px) {
    .custom-45-width {
      flex: 0 0 45%;
      max-width: 45%;
    }
  }

  /* Default Icon Styling */
.socials-color a {
    /* padding-left: 3px;  */
    margin-right: 25px;
}

.socials-color {
  margin-right: 85px;
}
.socials a {
    margin: 0 10px; 
    text-decoration: none;
}

.socials a i {
  padding-right: 10px;
}

.socials i {
    font-size: 1.25rem; 
    color: #ffffff;    
    transition: color 0.3s ease; 
}

/* Hover Effects 

/* TikTok: Pink/Red Accent */
.socials a:hover .fa-tiktok {
    color: #fe2c55; 
}

/* X (Twitter): Black */

.socials a:hover .fa-x-twitter {
    color: #1DA1F2; 
}

/* Facebook: Blue */
.socials a:hover .fa-facebook {
    color: #1877F2;
}

/* Instagram: Magenta */
.socials a:hover .fa-instagram {
    color: #E1306C;
}

/* YouTube: Red */
.socials a:hover .fa-youtube {
    color: #FF0000;
}

@media (max-width: 992px) {
    .socials-color {
        display: none;
    }
}

@media (max-width: 992px) {
    /* Make icons smaller on mobile */
    .socials-color i {
        font-size: 14px; 
    }
    
    /* Reduce spacing between icons */
    .socials-color a {
        margin: 0 2px;
    }
    
    /*Hide the Brand name on really small phones to make room */
    .navbar-brand {
        font-size: 1rem;
    }
}

/* carousel mobile */
/* Targets screens smaller than 768px (Mobile) */
@media (max-width: 768px) {
    .slider-title {
        font-size: 1.5rem; 
    }
    .slider-text, .slider-subtitle {
        font-size: 0.9rem; 
        margin-bottom: 5px;
    }
    .btn-lg {
        padding: 0.375rem 0.75rem; 
        font-size: 1rem;
    }
    .carousel-caption {
        bottom: 40%; /
    }
}

/* Mobile styles (Screens smaller than 768px) */
@media (max-width: 768px) {
    .info-box {
        /* Add space between the stacked boxes */
        margin-bottom: 20px; 
        
        /* Reduce the padding so text has more room */
        padding: 1.2rem !important; 
    }
}

/* Target screen sizes where the hamburger menu is visible (< 992px) */
@media (max-width: 992px) {
  
  /* Target the collapsible part of the menu */
  .navbar-collapse {
    background-color: #ffffff;
    padding: 2rem; 
    
    /* Round the corners at the bottom */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

/* footer */
@media (max-width: 768px) {
  #foot-img img {
    margin-bottom: 30px;
    width: 120px;
    height: 65px;
  }
  
}

/* Desktop styles (Screens 992px and larger) */
@media (min-width: 992px) { 

    .nav-link:hover::after {
      width: 100%;
    }

    .nav-link.active::after {
      width: 100%;
    }
}


  @media (max-width: 768px) {
    #logo-pic img {
        display: none;
    }
    
    #mobile-view img {
        display: block;
        width: 100px;
        height: 50px;
        position: absolute;
        left: 20px;
        bottom: 15px;
    }
  
}

@media (max-width: 360px) {
    #logo-pic img {
        display: none;
    }
    
    #mobile-view img {
        display: block;
        width: 100px;
        height: 50px;
        margin-right: 200px;
    }

    button.navbar-toggler {
        position: static;
        left: 280px;
    }
  
}

/* image slider */

/* Container */
.hero-slider {
  position: relative;
  width: 100%;
  height:80vh; /* smaller height */
  min-height: 150px; /* prevents too small on mobile */
  overflow: hidden;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(14, 10, 10, 0.418);
  font-size: 80px;
  padding: 8px 14px;
  /* background: rgba(0,0,0,0.4); */
  cursor: pointer;
  z-index: 4;
}

.prev { left: 20px; }
.next { right: 20px; }

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {

  .ser {
    font-size: 2.5rem;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-align: center;
  }

  .hero-slider {
    height: 50vh;
  }

  .hero-slide img {
  object-fit: contain;
}

  .hero-title { font-size: 1.6rem; }
  .hero-sub, .hero-text { font-size: 0.9rem; }
  .hero-btn, .hero-btn-outline { font-size: 0.85rem; padding: 7px 16px; }

  .hero-nav {
  font-size: 16px;
  padding: 6px 10px;
}

}

@media(min-width:481px) {
  .hero-slide img {
  object-fit: cover;
  }
}


@media (max-width: 480px) {
  .hero-slider {
    height: 10vh;
  }

  .hero-title { font-size: 1.4rem; }

  .hero-nav {
  font-size: 16px;
  padding: 6px 10px;
}

.ser {
    font-size: 2.5rem;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-align: center;
}
}

















  
