/* FONTS */
@import url(../css/clash-display.css);

/* VARIABLES */
:root {
    --c-dark: #212529;
    --c-brand: #4e57d4;
    --c-brand-light: #6970dd;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3,h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Tablet (<= 991px) */
@media (max-width: 991px) {
  .section-padding {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
  }
}

/* Mobile (<= 576px) */
@media (max-width: 576px) {
  .section-padding {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}


.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
     transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}


/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        Custom Hamburger Menu CSS
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/

/* Base nav links */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--c-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--c-brand);
}

/* Hamburger icon */
.hamburger {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000; /* stays above menu */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--c-dark);
  border-radius: 2px;
  transition: 0.4s;
}

/* Animate to X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav menu (off-canvas) */
#navLinks {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 250px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  z-index: 999;
}

#navLinks.active {
  right: 0;
}

#navLinks li {
  margin: 15px 0;
  font-size: 18px;
}

/* Desktop view */
@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
  #navLinks {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    background: transparent;
  }
  #navLinks li {
    margin: 0 10px;
  }
}



/* BTN */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}


/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              banner css start
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
#hero {
    position: relative;
}

/* Overlay */
.overly {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Banner Text */
.overly-text h1 {
  font-size: 4rem;          /* adjust as needed */
  text-transform: uppercase;
  line-height: 1.2;
}

.overly-text h3 {
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1.3;
}

.tagline {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 400;
}



/* Button */
.banner-btn button {
    background-color: transparent;
    width: 200px;
    padding: 15px 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-right: 18px;
    transition: all linear .3s;
}

.banner-btn button:hover {
    color: #ffff;
    background-color: #6970DD;
    border-color: #6970DD;
}
 .slick-dots {
        display: none !important;
 }


/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        Responsive Design (Mobile & Tablet)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/
@media (max-width: 992px) {
    .overly-text h2 {
        font-size: 32px;
    }
    .overly-text h1 {
        font-size: 50px;
    }
    .banner-btn button {
        width: 120px;
        font-size: 16px;
        padding: 12px 0 !important;
    }
    /* Hide slick dots */
    .slick-dots {
        display: none !important;
    }
}

@media (max-width: 576px) {
     .overly-text h1 {
    font-size: 2rem;
  }
  .overly-text h2 {
    font-size: 1rem;
  }
   
    .banner-btn button {
        width: 130px;
        font-size: 14px;
        padding: 10px 0 !important;
    }
     .banner-btn button:hover{
       border: none !important;
    }
    /* Hide slick dots */
    .slick-dots {
        display: none !important;
    }
}

.border-top {
    border-top: none !important;
}
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              banner css end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^*/



/* SECTION TITLE */
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
  max-width: 625px;        /* Nice readable width for desktop */
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;         /* Prevents text from touching edges on small screens */
  font-size: 1rem;         /* Default size */
  line-height: 1.6;        /* Improves readability */
}

/* Tablet screens */
@media (max-width: 992px) {
  .section-title p {
    max-width: 90% !important;        /* Make it more fluid */
    font-size: 0.95rem !important;
  }
}

/* Mobile screens */
@media (max-width: 576px) {
  .section-title p {
    max-width: 100% !important;       /* Full width on mobile */
    font-size: 0.9rem !important;     /* Slightly smaller for small screens */
    line-height: 1.5 !important;
  }
}


/* ICONBOX */
.iconbox {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px; /* centers horizontally + adds spacing */
  background: rgba(var(--c-brand-rgb), 0.1);
  color: var(--c-brand);
  font-size: 34px;
  border-radius: 50%; /* makes it round */
}

/*  */
/* ICONBOX */
.iconboxY {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

/* SERVICE */
.service {
  position: relative;
  overflow: hidden;
  z-index: 2;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  color: #fff;
  min-height: 300px; /* ensures readable area */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* push text down */
  padding: 2rem;
}

/* Black overlay (always visible) */
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  transition: all 0.3s ease;
}

/* Hover overlay */
.service::after {
  content: "";
  width: 40px;
  height: 40px;
  background: rgba(var(--c-brand-rgb), 0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--transition);
  z-index: 2;
}

/* Hover expansion */
.service:hover::after {
  width: 100%;
  height: 100%;
  background: var(--c-brand);
  z-index: 2;
  opacity: 0.8;
}

/* Content stays above overlays */
.service * {
  position: relative;
  z-index: 3;
}

/* Hover text/icon effects */
.service:hover h5,
.service:hover p {
  color: #fff;
}

.service:hover .iconbox {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* -----------------
   RESPONSIVE DESIGN
------------------ */

/* Small devices (phones) */
@media (max-width: 576px) {
  .service {
    min-height: 220px;   
    padding: 1.5rem;     
    text-align: center; 
  }

  .service h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .service p {
    font-size: 0.85rem;
  }

  .iconbox {
    font-size: 1.5rem;
    margin: 0 auto; 
  }
}


@media (max-width: 768px) {
  .service {
    min-height: 260px;
    padding: 2rem;
  }

  .service h5 {
    font-size: 1.1rem;
  }

  .service p {
    font-size: 0.9rem;
  }
}

.modal-body img {
  width: 100%;              /* full width of column */
  height: 220px;            /* fixed height */
  object-fit: cover;        /* crop nicely */
  border-radius: 8px;       /* keep rounded look */
}





/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-brand);
}




/* CONTACT */
#contact {
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 70%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6), 
        rgba(0, 0, 0, 0.6)
    ), 
    url(../images/contact.jpg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}


#contact .form-control {
    border-radius: 0;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

/* FOOTER */
footer {
    padding-top: 120px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}


footer li,
footer p,
footer a {
    color: rgba(255,255,255,0.7);
}

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

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-brand);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--c-brand);
    color: white;
}

/* tested slider */
.cert-section {
      background: #f8fafc;
      padding: 30px 15px;
      border-radius: 12px;
    }
    .cert-text {
      font-weight: 600;
      font-size: 1.1rem;
      text-align: center;
      margin-bottom: 25px;
    }
    .cert-logos img {
      max-height: 100px !;
      margin: auto;
      object-fit: contain;
      transition: transform 0.3s ease;
    }
    .cert-logos img:hover {
      transform: scale(1.08);
    }
    .slick-slide {
      text-align: center;
    }


   /* Section Background */
.card-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 40px;
  border-radius: 10px;
  overflow: hidden;
}

/* Black Overlay */
.card-section .overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

/* Content Wrapper */
.card-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Card Styling */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease;
}

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

.card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card p {
  font-size: 15px;
  color: #555;
  margin: 8px 0;
}

.card a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .card-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
  }
}

h1{
   text-transform: uppercase;
}

h4{
    text-transform: uppercase;
}


/* product */
.product {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.product::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--c-brand-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}


.product:hover::after {
    width: 100%;
    height: 100%;
    background: var(--c-brand);
    z-index: -1;
}

.product:hover h5,
.product:hover p {
    color: white;
}

.product:hover .iconbox {
    background-color: rgba(255,255,255,0.2);
    color: white;
}