@import url('https://fonts.googleapis.com/css2?family=Cookie&family=DM+Serif+Text:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Prosto+One&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 1rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    transition: .5s;
}

.header:hover::before{
    left: 100%;
}

#menu-icon{
    font-size: 2rem;
    color: #336D82;
    display: none;
}
 
@media(max-width: 992px){
    .header{
        padding: 1.25rem 4%;
    }
} 

@media(max-width: 768px){
    #menu-icon{
          display: block;
        z-index: 1000; /* Make sure icon stays on top */
        cursor: pointer; /* shows clickable */
    }
    .navbar{
         position: fixed;
        top: 60px; /* show below header */
        left: -8%;
        width: 100%;
        padding: .5rem 4%;
        background: rgba(255,255,255,0.95);
        display: none;
        text-align: center;
        z-index: 1001; /* Above nav-bg */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .navbar.active{
      margin-top: 3.5rem;
        display: block;
    }

    .navbar a{
        display: block;
        margin: 2rem 0; /* adjusted for spacing */
        color: red;
        font-weight: 700;
        font-size: 1.2rem;
        text-decoration: none;
      }

    .nav-bg{      
        display: none;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, .1);
        border-bottom: 2px solid #336D82;
        pointer-events: none; /* allow clicks through */
        z-index: 999; /* below navbar */
        position: fixed; /* or fixed if necessary */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .nav-bg.active{
        display: block;
        /* keep z-index high to be above content but below menu */
    }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
  width: 120px;
  height: 60px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.logo:hover img {
  transform: rotate(15deg) scale(1.05);
}
.navbar{
    margin: 0 30px;
}
.navbar a{
    color: #336D82;
    font-size: 1.2rem;
    font-weight: bolder;
    text-decoration: none;
    margin-left: 35px;
}
.navbar a:hover{
    color: goldenrod;
}

/* Banner Section */
.banner {
  background: url('/img/bg01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 100px 20px;
}

.banner-content {
  max-width: 700px;
  margin: 0 auto;
}

.banner h1 {
  font-size: 4rem;
  font-weight: 600;
  margin: 1rem 3rem;
}

.banner p {
    width: 50%;
    font-size: 1.5rem;
    margin: 1rem 3rem;
}

.button{
    margin: 4rem;
}

.button a{
    background-color: #fff;
    color: black;
    font-weight: bolder;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1.1rem;
}

.button a:nth-child(1) {
    background-color: #FF7601;
    color: white;
    margin-right: 20px;
}

a{
    text-decoration: none;
}


.container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
}

.content{
    margin-top: 5rem;
    max-width: 1920px;
    width: 100%;
}

.info{
    width: 80%;
    margin: 2rem auto;
    text-align: center;
}
.info h2{
    font-size: 3rem;
}

.info p{
    width: 70%;
    margin: 1rem auto;
    font-size: 1.5rem;
}

.card:hover{
     transform: scale(1.05);
     box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
}

.card{
    flex: 0 0 calc(33.333% - 1rem); /* 3 items per row with spacing */
    margin-top: 2rem;
    width: 320px; height: auto;
    min-height: 300px; /* optional: for consistency on larger screens */
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 1px solid black;
}

.digital {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  margin-top: 4rem;
  padding-bottom: 10px;
  margin-left: 10%;
  background: linear-gradient(90deg, #f7b102, #ff1e00); /* Dark Red to Golden */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1s ease-in-out forwards;
}

.digital::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, #8B0000, #FFD700); /* Matching underline */
  animation: slideIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}


.card i{
    margin: 2rem 0 1rem 2rem;
    background-color: #A8F1FF;
    border-radius: 50%;
    padding: 1rem;
    font-size: 1.8rem;
    color: #4ED7F1;
}
.card h3{
    font-size: 1.5rem;
    font-weight: bolder;
    margin-left: 1rem;
}

.card p{
    font-size: 1.2rem;
    font-weight: lighter;
    margin: 10px 1rem;
}
.card a{
    color: #4DA8DA;
    margin: 10px 1rem;
    margin: 2rem;
    transition: 0.3s all ease-in;
}

.card a:hover{
    color: #CB0404;
    font-size: 1.2rem;
}

.card:nth-child(2) i{
    background-color: #FE7743;
    color: #CB0404;
}
.card:nth-child(3) i{
    background-color: #FFD586;
    color: #FF9F00;
}
.card:nth-child(4) i{
    background-color: #E9A5F1;
    color: #4F1C51;
}
.card:nth-child(5) i{
    background-color: #F7CFD8;
    color: #F7374F;
}
.card:nth-child(6) i{
    background-color: #537D5D;
    color: #9EBC8A;
}

/* Responsive Adjustments for Banner Section */
@media screen and (max-width: 1024px) {
  .banner h1 {
    font-size: 3rem;
    margin: 1rem 2rem;
  }

  .card {
    flex: 0 0 calc(50% - 1rem);
  }

  .banner p {
    font-size: 1.2rem;
    width: 70%;
    margin: 1rem 2rem;
  }

  .button {
    margin: 2rem;
    text-align: center;
  }

  .button a {
    display: inline-block;
    margin: 0.5rem 0.5rem;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .banner {
    padding: 80px 10px;
    height: auto;
    text-align: center;
  }

   .card {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px;
  }

  .banner-content {
    max-width: 100%;
  }

  .banner h1 {
    font-size: 2.5rem;
    margin: 1rem 1rem;
  }

  .banner p {
    font-size: 1rem;
    width: 90%;
    margin: 1rem auto;
  }

  .button {
    margin: 2rem auto;
  }

  .button a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }
}

@media screen and (max-width: 480px) {
  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 0.95rem;
  }

  .digital{
    font-size: 1.3rem;
  }
  
  .digital::after{
    display: none;
  }

  .button a {
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }
}

/* Modal backdrop */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
  backdrop-filter: blur(4px); /* subtle blur effect */
  animation: fadeInModal 0.3s ease forwards;
}

/* Modal content container */
.modal-content {
  background-color: #fff;
  margin: 6% auto; /* 6% from top, centered */
  padding: 2rem 3rem;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: slideInModal 0.3s ease forwards;
}

/* Modal title */
#modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Modal description */
#modal-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

/* Close button */
.close {
  color: #999;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.close:hover {
  color: #CB0404;
}

/* Animations */
@keyframes fadeInModal {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideInModal {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .modal-content {
    padding: 1.5rem 1.5rem;
    width: 95%;
  }

  #modal-title {
    font-size: 1.5rem;
  }

  #modal-desc {
    font-size: 1rem;
  }
}

/* Panel Section */
.panel {
  padding: 6rem 0;
  margin-top: 3rem;
  background: linear-gradient(to right, #f8f9fa, #e9f1f7);
  font-family: 'Montserrat', sans-serif;
}

.infopanel {
  max-width: 1920px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  padding: 0 2rem;
}

/* Text content block */
.information.lg-info {
  flex: 1 1 500px;
}

.information.lg-info h2 {
  font-size: 2.8rem;
  color: #2c3e50;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.information.lg-info p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

.points {
  margin-bottom: 2.5rem;
}

.points li {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.points li i {
  color: #28a745;
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

/* Image block */
.information.lg-img {
  flex: 1 1 400px;
  text-align: center;
}

.information.lg-img img {
 max-width: 110%; /* Slightly larger than its container */
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  margin-left: -5%; /* Center compensation for oversize */}

.information.lg-img img:hover {
  transform: scale(1.03);
}

/* Call-to-action Button */
.button-style {
  display: inline-block;
  background-color: #336d82;
  color: white;
  padding: 0.9rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-style:hover {
  background-color: #ff7601;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .infopanel {
    flex-direction: column;
    text-align: center;
  }

  .information.lg-img, 
  .information.lg-info {
    flex: 1 1 100%;
  }

  .information.lg-info h2 {
    font-size: 2.2rem;
  }
}


.panel-two {
  padding: 6rem 0;
  font-family: 'Montserrat', sans-serif;
}

/* Reviews Section */
.reviews {
  max-width: 1200px;      /* Limit max width for better centering */
  width: 100%;
  margin: 0 auto;         /* Center horizontally */
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.reviews h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #222;
  font-weight: 700;
}

.reviews p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Wrapper for horizontal scrolling and centering */
.clients-wrapper {
     scroll-behavior: smooth;
  overflow-x: auto;
  padding-bottom: 1rem; /* space for scrollbar */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  margin: 0 auto;
  max-width: 100%;
  text-align: center; /* center the inline-flex container */
}

/* Inline flex container that shrinks to fit content, allowing centering */
.clients {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2rem;
  justify-content: flex-start; /* left align cards inside container */
  padding-left: 10px;
  padding-right: 10px;
}

/* Scrollbar styles for WebKit */
.clients::-webkit-scrollbar {
  height: 6px;
}

.clients::-webkit-scrollbar-thumb {
  background-color: rgba(77, 168, 218, 0.6);
  border-radius: 3px;
}

.client-reviews {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 0 0 350px; /* fixed width, no shrinking */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left; /* Align content left inside cards */
}

.star {
  color: #FFB800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.client-reviews p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.client-info {
  display: flex;
  align-items: center;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile i {
  font-size: 3rem;
  color: #4DA8DA;
  flex-shrink: 0;
}

.profile-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-text h4,
.profile-text p {
  margin: 0;
}

.profile-text h4 {
  font-weight: bold;
  font-size: 1.2rem;
  color: #222;
}

.profile-text p {
  font-size: 1rem;
  color: #666666;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .clients {
    gap: 1rem;
  }

  .client-reviews {
    min-width: 300px;
    flex: 0 0 auto;
  }

  .profile i {
    font-size: 2.5rem;
  }

  .profile-text h4 {
    font-size: 1.1rem;
  }

  .profile-text p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .clients-wrapper {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1.5rem;
  }

  .client-reviews {
    width: 90%;
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .profile {
    gap: 0.7rem;
  }

  .profile i {
    font-size: 2rem;
  }

  .profile-text h4 {
    font-size: 1rem;
  }

  .profile-text p {
    font-size: 0.85rem;
  }
}



footer{
    background: #101136;
}
.footer-section{
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 50vh;
    padding: 30px;
}

.cards{
    width: 30%;
    padding: 0 20px;
    margin-top: 1rem;
    color: #E5D9F2;
}

.cards img{
    width: 100px;
    height: 50px;
    margin-left: 4.5rem;
}

.logo-title h3{
    font-size: 1.8rem;
    width: 80%;
    text-align: center;
}

.logo-title p{
    width: 80%;
    text-align: center;
    color: #969696;
}

.quick-links{
    margin: 1.5rem 10px;
}

.quick-links a{
    color: #969696;
    line-height: 2.5;
    opacity: 0.5;
    font-size: 1rem;
}

.quick-links a:hover{
    opacity: 1;
}

.subscribe{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.subscribe input{
    width: 60%;
    height: 30px;
    color: #082C38;
    outline: none;
}
.subscribe a{
    width: 60%;
    text-align: center;
    color: #D9D9D9;
    padding: 10px 40px;
    border-radius: 10px;
    background-color: #484BE4;
}
.subscribe a:hover{
    color: #082C38;
    background-color: #9D4FFD;
}
.footer-sml-content{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

hr{
    width: 95%;
    margin: 0 auto;
}

.terms{
    margin-left: 1rem;
}
.policy a{
    color: #969696;
}
.policy a:hover{
    color: white;
}
.terms p{
    color: #969696; 
}
.newsletter{
    width: 80%;
    margin: 1rem 0;
}

.terms span{
    color: #484BE4;
    font-size: 1.2rem;
    padding-left: 5px;
}


.social{
    position: relative;
    display: flex;
    gap: 30px;
    margin: 1rem 2rem;
}

.social a{
    color: #D9D9D9;
    font-size: 2rem;
    transition: 0.25s;
}

.social a:hover{
    color: #FF8C00;
    filter: drop-shadow(0 0 5px #01dbc2);
}

/* ============================= */
/* 🎯 Media Queries for Responsiveness */
/* ============================= */

@media screen and (max-width: 998px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .cards {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .cards img {
        margin-left: 0;
    }

    .subscribe input,
    .subscribe a {
        width: 80%;
    }

    .logo-title h3,
    .logo-title p,
    .newsletter p {
        width: 100%;
    }
    
    .footer-sml-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .terms {
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .logo-title h3 {
        font-size: 1.4rem;
    }

    .cards:nth-child(1){
        display: none;
    }

    .cards:nth-child(4){
        margin-left: 2rem;
    }

    .quick-links a {
        font-size: 0.9rem;
    }

    .subscribe input,
    .subscribe a {
        width: 100%;
    }

    .footer-sml-content{
        width: 80%;
        margin: 0 auto;
    }

    .policy{
        display: none;
    }

    .newsletter{
        font-size: 1.1rem;
        margin: 1rem auto;
    }

    .terms span {
        font-size: 1rem;
    }
}
