
body{
    background-color: #F2F1E6;
}

.bgc{
    background-color: #002B5B;
}

.textc{
    color: #FFD700;
}

.nav-link:hover{
    transition: background-color 0.5s ease-in-out;
    color: goldenrod !important;
    
}

.bg_image_main {
  background-image: linear-gradient(rgb(64, 54, 54), rgba(88, 74, 74, 0.515)), url(/images/ba_image.jpg);
  background-size: cover;
  background-position: center;
  height: 75vh;
}

@media (max-width: 800px) {
  .iconss {
    display: none;
  }
}

.slide-in-left {
  opacity: 0;
  transform: translateY(100%);
  animation: slideRight 0.5s ease-out forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-main:hover{
    width: 180px;
    background-color: #dc3545;
}

nav{
    position: fixed;
}
 

.fixed-bottom-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
}
.fixed-bottom-left-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Typing animation */
.whatsapp-btn .typing-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #fff; 
  animation: typing 3s steps(15) infinite, blinkCaret 0.75s step-end infinite;
  background: transparent;
  color: white;
}

@keyframes typing {
  from { width: 0 }
  to { width: 12ch; }
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
  100% { border-color: #fff; }
}


.zoom-hover{
  transition: transform 0.5s ease;
}


.zoom-hover:hover{
  transform: scale(1.1);
}

.why-choose-us{
  margin-top: 50px !important;
}


.why-choose-us-bg:hover{
  background-color: #CCA772;
}

    .carousel-item img {
      height: 80vh;
      object-fit: cover;
    }


    .icon-hover:hover{
      background-color: #CCA772 !important;
    }

    .foot-bg{
     background-color: #2C3E50;
    }

    .foot-colo{
      color: goldenrod !important;
    }

    .ham-bg{
      background-color: #3b3f43;
    }

    .bg-mitra{
      background-color: #e4dc6b54;
    }
:root {
    --primary-bg: #002B5B;
    --primary-accent: #FFD700;
    --secondary-accent: #CCA772;
    --footer-bg: #2C3E50;
}

body {
    background-color: #F2F1E6;
    overflow-x: hidden;
}

/* General styles */
.bgc { background-color: var(--primary-bg); }
.textc { color: var(--primary-accent); }
.foot-bg { background-color: var(--footer-bg); }
.foot-colo { color: var(--primary-accent) !important; }

.nav-link:hover {
    transition: background-color 0.5s ease-in-out;
    color: goldenrod !important;
}

/* Background image */
.bg_image_main {
    background-image: linear-gradient(rgb(64, 54, 54), rgba(88, 74, 74, 0.515)), url(/images/ba_image.jpg);
    background-size: cover;
    background-position: center;
    height: 75vh;
}

/* Animations */
.slide-in-left {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    animation: slideRight 0.5s ease-out forwards;
}
@keyframes slideRight {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Buttons */
.btn-main:hover {
    width: 180px;
    background-color: #dc3545;
}

/* Navbar */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-bg);
}

/* Fixed buttons */
.fixed-bottom-left,
.fixed-bottom-left-top {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
}
.fixed-bottom-left { left: 20px; }
.fixed-bottom-left-top { right: 20px; }

/* Typing animation */
.whatsapp-btn .typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #fff;
    animation: typing 3s steps(15) infinite, blinkCaret 0.75s step-end infinite;
    color: white;
}
@keyframes typing { from { width: 0 } to { width: 12ch; } }
@keyframes blinkCaret { 50% { border-color: transparent; } 100% { border-color: #fff; } }

/* Hover effects */
.zoom-hover { transition: transform 0.5s ease; }
.zoom-hover:hover { transform: scale(1.1); }
.why-choose-us { margin-top: 50px !important; }
.why-choose-us-bg:hover { background-color: var(--secondary-accent); }
.icon-hover:hover { background-color: var(--secondary-accent) !important; }
.ham-bg { background-color: #3b3f43; }
.bg-mitra { background-color: #e4dc6b54; }

/* Carousel */
.carousel-item img {
    height: 80vh;
    object-fit: cover;
}

/* ==== Mobile View Fixes ==== */
@media (max-width: 800px) {
    nav { position: static !important; }
    #mainSlider, .carousel-inner { margin-top: 65px !important; }

    .iconss { display: none !important; }

    .container, .card, .why-choose-us, .why-choose-us-bg {
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 600px) {
    .carousel-item img {
        height: 35vh !important;
        min-height: 180px !important;
    }
    h1, h2, h3, h4, h5 { font-size: 1.1em !important; }
    .carousel-caption h1 { font-size: 1em !important; }

    .fixed-bottom-left, .fixed-bottom-left-top {
        width: 30px !important;
    }
    .fixed-bottom-left { bottom: 80px !important; left: 10px !important; }
    .fixed-bottom-left-top { bottom: 20px !important; right: 10px !important; }

    .card { margin-bottom: 10px !important; }
    .why-choose-us { margin-top: 20px !important; }
}

@media (max-width: 500px) {
    h1, h2, h3, h4 { font-size: 1.2em !important; }
    .carousel-caption h1 { font-size: 1em !important; }
}
