 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');


@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --orange: #f6822d;
  --white: #ffffff;
  --black: #000000;
  --skyblue:#f0f7fc;
  --golden:rgb(194, 166, 111);
  --h1:52px;
}


/* custom design  */
body
{
       font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.golden-text
{
  color: var(--golden);
}
body a:hover
{
  color: var(--golden);
}
.card-golden-bg
{
  background-color: var(--golden);
}
 .golden-bg
 {
       background: linear-gradient(90deg, rgb(120,100,70), rgb(190,170,140));
       color: var(--black);
 }
 
  .golden-bg:hover
 {
    background: linear-gradient(90deg, rgb(120,100,70), rgb(190,170,140));
 }
 .border
 {
  border-color: var(--black);
 }
 .golden-border
 {
  border: 3px solid var(--golden);
  border-bottom-right-radius: 70px;
  }
body h3
{
    font-size: 18px;
    font-weight: 500;
 }

body h1
{
    font-size: 32px;
    font-weight: 600;
 }
body p
{
    font-size: 16px;
}
body h2
{
    font-size: 25px;
    font-weight: 500;
}

/* 
==================================
        navbar design
==================================
*/
nav
{
    font-size: 17px;
 }
/* Hamburger animation */
    .hamburger span {
        transition: all 0.3s ease;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
   /* Animation for dropdown */
  .dropdown-animate {
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.4s ease, transform 0.3s ease;
    pointer-events: none;
  }
  .group:hover .dropdown-animate {
    opacity: 1;
    pointer-events: auto;
  }
  .relative a
  {
    color: white;
  }


  
  .mobilemenu
  {
    margin-top: 72px
  }
.mobilemenu li i
{
    color: var(--golden);
}
 .mobilemenu li 
 {
    color: #ffffff;
 }
   li i
{
    color: var(--golden);
    font-size: 27px;
}

.dropdown li,
.mobilemenu li {
    transition: transform 0.8s ease, margin-left 1s ease; 
}

.dropdown li:hover,.mobilemenu li:hover {
    margin-left: 8px;
    transform: translateX(8px);
    color: var(--golden);
}
.dropdown span
{
    font-size: 16px;
}

.border-bottom{
    width: 100%;
    padding: 10px;
   }

 .dropdown-cards {
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    margin: 0.5rem;
    border-radius: 16px;
    font-weight: 600;
    color: white;
    background: var(--golden);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Liquid morph effect using border-radius animation */
.dropdown-cards:hover {
    border-radius: 50% 10% 50% 10%;
    transform: scale(1.05);
    background: var(--golden);
}

/* Wave overlay animation */
.dropdown-cards::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 20%, transparent 80%);
    transform: scale(0);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.dropdown-cards:hover::before {
    transform: scale(1);
    animation: wave 1s infinite linear;
}

@keyframes wave {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(45deg); }
    100% { transform: scale(1) rotate(0deg); }
}
 
/* Add transition states */
.modal-animate {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal-animate.show {
  opacity: 1;
  transform: scale(1);
}


 .text-shadow-md {
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

 #contactModal.active {
  display: flex;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .modal-content {
    flex-direction: column;
    height: 85vh;
    max-width: 420px;
  }
  .modal-left {
    flex: none;
    height: 35%;
    padding: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    background-position: center 40%;
  }
  .modal-left h2 {
    font-size: 1.3rem;
  }
  .modal-left h2 strong {
    font-size: 1.6rem;
    margin-top: 2px;
  }
  .services-list {
    max-width: 100%;
    gap: 0.7rem;
  }
  .close-btn {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 28px;
  }
}


/* Keep scrollbar thin and styled */
.modal-right::-webkit-scrollbar {
  width: 8px;
}
.modal-right::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.modal-right::-webkit-scrollbar-thumb {
  background: #7ed0f7;
  border-radius: 20px;
}

/* Service pills */
.service {
  background: rgba(255,255,255,0.9);
  color: #0e0e0e;
  padding: 6px 12px;
  border-radius: 250px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background-color 0.3s, color 0.3s;
  cursor: default;
  user-select: none;
}
.service:hover {
  background: #7ed0f7;
  color: white;
}


 
  /*
  ====================================
          slider design
  ====================================
  */

/* Typewriter effect 1 */
@keyframes typing {
  0.0000%, 100%   { content: ""; }
  2%              { content: "D"; }
  4%              { content: "De"; }
  6%              { content: "Dev"; }
  8%              { content: "Deve"; }
  10%             { content: "Devel"; }
  12%             { content: "Develo"; }
  14%             { content: "Develop"; }
  16%             { content: "Developm"; }
  18%             { content: "Developme"; }
  20%             { content: "Developmen"; }
  22%             { content: "Development"; }
  30%             { content: "Development "; }
  32%             { content: "Development S"; }
  34%             { content: "Development Se"; }
  36%             { content: "Development Ser"; }
  38%             { content: "Development Serv"; }
  40%             { content: "Development Servc"; }
  42%             { content: "Development Service"; }
  44%, 80%        { content: "Development Services"; }
}


@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typewriter {
  --caret: currentcolor;
}

.typewriter::before {
  content: "";
  animation: typing 4.5s infinite;
}

.typewriter::after {
  content: "";
  border-right: 5px solid var(--golden);
 }




@media (prefers-reduced-motion) {
  .typewriter::after {
    animation: none;
  }
  
  @keyframes sequencePopup {
    0%, 100% { content: "developer"; }
   
  }

  .typewriter::before {
    content: "";
    animation: sequencePopup 12s linear infinite;
  }
}

/**/

  .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;    
  background-color: var(--golden);  
}

.carousel-indicators .active {
  background-color: var(--golden);  
}
    .slider-bg {
     position: absolute;
     top: 0; left: 0;
     width: 100%; height: 100%;
     background-size: cover;
     background-position: center;
     filter: blur() brightness(0.3); /* Blur + dark effect */
     z-index: 1;
}
    .slider-overlay {
      position: absolute;
      top: 170px; left: 0;
      width: 100%; height: 100%;
       z-index: 2;
}
  
   .social-icons
    {
       position: fixed;
       top: 40%;
       right: 1rem;
       background: rgba(0,0,0,0.6);
       border-radius: 0.25rem;
       padding: 0.5rem;
       z-index: 100;
    }
  .social-icons a
   {
       display: block;
       color: var(--white);
       font-size: 1.5rem;
       margin: 0.5rem 0;
    }
  .social-icons a:hover
  {
    color: var(--golden);
  }
   .carousel-item h1
   {
      font-size: var(--h1);
   }

  

 /*
 =================================
     About Section styling
 =================================
 */
 


.hover-underline {
  position: relative;
  display: inline-block;
  color: var(--golden);
  padding-bottom: 14px; /* space for underline */
}

.hover-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 140px;
   background-color: var(--golden);
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;  
}

@media (max-width: 768px) 
{
    .hover-underline {
  position: relative;
  display: inline-block;
  color: var(--black);
  padding-bottom: 14px;  
}

.hover-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 140px;
  border-radius: 20px; 
  background-color: var(--golden);
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;  
}
}

 /* 
 =====================================
      Section styling
 =====================================
 */

.reason-section
{
    background-color: var(--black);
}

 .icon {
            font-size: 2rem;
            color: black;
            transition: all 0.3s ease;
        }
        .icon-corner {
            position: absolute;
            top: 4rem;
            right: 0.4rem;
            z-index: 2;
            

        }
        .reason-card:hover .icon {
            color: #fff !important;
            transform: rotate(10deg) scale(1.1);
        }
        .reason-card:hover h2,
        .reason-card:hover p {
            color: #fff !important;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        .reason-card:hover h2 {
            animation: bounceNumber 0.6s ease;
        }
        @keyframes bounceNumber {
            0%, 20%, 60%, 100% { transform: translateY(0);}
            40% { transform: translateY(-10px);}
            80% { transform: translateY(-5px);}
        }
.benefit img
{
    filter: drop-shadow(10px 10px 10px black);
    cursor: pointer;
}

.grid .group img
{
filter: brightness(50%);   
}

.grid .group .drop-shadow-lg
{
    filter: drop-shadow(10px 10px 10px var(--golden));
}

 .service-card {
    position: relative;
    overflow: hidden;
    
    transition: transform 0.5s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px 0 rgba(246,130,45,0.10), 0 1.5px 6px 0 rgba(0,0,0,0.08);
}
.service-card .service-hover {
    position: absolute;
    inset: 0;
    background: var(--golden);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s, transform 0.6s;
    z-index: 10;
    padding: 2rem;
    text-align: center;
}
.service-card:hover .service-hover,
.service-card:focus-within .service-hover {
    opacity: 1;
    transform: translateY(0);
}

/* 
===========================================
   testimonial section styling
===========================================
*/
/* .testimonial-container
{
  background-color: var(--skyblue);
} */

.testimonial-section {
  position: relative;
   padding: 0 70px;
  max-width: 1200px;
  width: 100%;
   align-items: center;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  margin: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.card::before {
  content: "";
  position: absolute;
  height: 40%;
  width: 100%;
  background: white;
  border-radius: 20px 20px 0 0;
}
.card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 100;
}
.card .name-profession {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
 }
.name-profession .name {
  font-size: 20px;
  font-weight: 600;
}
.name-profession .profession {
  font-size: 15px;
  font-weight: 500;
}
.card .rating {
  display: flex;
  align-items: center;
  margin-top: 18px;
}
.card .rating i {
  font-size: 18px;
  margin: 0 2px;
  color: var(--golden);
}
.swiper-pagination {
  position: absolute;
 }
.swiper-button-next,
.swiper-button-prev {
  opacity: 0.7;
  color: var(--black);
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
  color: var(--golden);
}
/* Responsive media query code for small screens */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 15px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}


  /*
  ==============================
   second section of testimonial
  ==============================
  */
 

/* Quote text */
.quote-text {
  font-size: 1.8rem;
  font-weight: 500;
}

/* Gradient button */
.submit-btn {
  background: linear-gradient(90deg, rgb(180,154,106), rgb(220,190,120));
  transition: 0.3s ease-in-out;
}

.submit-btn:hover {
  opacity: 0.9;
}


/* 
=========================================
    footer section
=========================================
*/

.footer-section {
  position: relative;
  overflow: hidden;
}

.footer-heading{
  color: var(--golden);
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, var(--golden), white) 1;
  padding-bottom: 0.5rem;
}

.footer-icon {
  color: #fff;
  font-size: 22px;
  transition: color 0.3s ease;
}
.footer-icon:hover {
  color: var(--golden);
}

/* Hover arrow before li text */
.footer-section ul li {
  position: relative;
  list-style: none;
  padding-left: 18px;
}
.footer-section ul li::before {
  content: "»";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  color: var(--golden);
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.footer-section ul li:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-section ul li {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease, margin-left 0.3s ease;
}
.footer-section ul li:hover {
  color: var(--golden);
  margin-left: 5px;
}
.footer-section a:hover
{
   color: var(--golden);
}
.last-border
{
    border-top: 3px solid transparent;
  border-image: linear-gradient(to right, var(--golden), white) 4;
}


.card-animate {
  --btn-bg-1: rgba(194, 166, 111, 1);
  --btn-bg-2: rgb(16, 20, 27);
  --btn-bg-color: #fff;
  --radii: 0.75rem;
  background: #000000; /* Default black bg */
  border-radius: var(--radii);
  transition: 0.8s;
  background-size: 280% auto;
}

.card-animate:hover {
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  background-position: right top;
  color: var(--btn-bg-color);
  box-shadow:
    0px 0px 20px rgba(0, 0, 0, 0.5),
    0px 5px 5px -1px rgba(0, 0, 0, 0.25),
    inset 4px 4px 8px rgba(0, 0, 0, 0.5),
    inset -4px -4px 8px rgba(0, 0, 0, 0.35);
}