/* Aikyam Electronics Custom Styles */
:root {
  --primary-blue: #161c7d;
  --dark-blue: #161c7d;
  --light-blue: #161c7d;
  --primary-green: #42bd7c;
  --light-green: #37bb94;
  --dark-green: #42bd7c;
  --bg-light: #42bd7c;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.navbar-brand {
  font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--primary-blue) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--light-blue) !important;
}

.bg-primary-custom {
  background: #ffffff!important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #0760c0 !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--light-blue) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-success:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.card-title {
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
}

section {
  padding-top: 80px; /* Account for fixed navbar */
}

footer a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }
  .display-5 {
    font-size: 2rem;
  }
}

/* Custom list styles for features */
.list-unstyled li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.list-unstyled li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.1rem;
}
html{
  scroll-behavior: smooth;
}
.section-heading {
  color: #0a2f6b !important;
  font-size: 42px;
  font-weight: 700;
}
.section-heading-small{
  color: #0a2f6b !important;
  font-size: 40px;
  font-weight: 600;
}
.card{
  margin-bottom: 50px;
}
.footer-gradient {
  background: linear-gradient(90deg, #0a2f6b, #03b77e);
  color: white;
  text-align: center;
  font-weight: 500;
}
img{
  border-radius: 12px;
}
.row img{
height: 300px;
width: 100%;
object-fit: contain;
}
.hero-banner {
  width: 100%;
  overflow: hidden;
  background: white;
}

.slider {
  position: relative;
  width: 100%;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .hero-banner {
    height: 70vh;
  }

  .slide img {
    height: 70vh;
    object-fit: contain;
  }
}
/* Overlay text */
.overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
}


/* Arrows - MOVED TO TOP (above navbar overlap) */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  color: #333;
  border: 2px solid #333;
  border-radius: 50%;
  padding: 12px 18px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 20;
}

.prev:hover { background: #333; color: white; }
.next:hover { background: #333; color: white; }

.prev { left: 20px; }
.next { right: 20px; }

/* Dots */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dots span {
  height: 10px;
  width: 10px;
  margin: 5px;
  background: white;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots span.active {
  background-color: var(--primary-green);
  transform: scale(1.2);
}

/* STAR TRAIL */
.star {
  position: fixed;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;

  box-shadow: 0 0 10px #fff,
              0 0 20px #ff00ff,
              0 0 30px #00ffff;

  animation: sparkle 0.8s linear forwards;
}

@keyframes sparkle {
  to {
    transform: translateY(-10px) scale(0);
    opacity: 0;
  }
}

.bg-primary-custom{
    background-color: #1d2088;
}

/* Navbar Links */
.navbar-nav .nav-link{
    color: white !important;
    font-weight: 500;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover{
    color: #35c46b !important;
}

/* Dropdown */
.dropdown:hover .dropdown-menu{
    display:block;
}

/* Product Gallery */

.main-image-container{
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;
    cursor:zoom-in;
}

#mainImage{
    width:100%;
    height:400px;
    object-fit:contain;
    transition:transform 0.3s ease;
}

.main-image-container:hover #mainImage{
    transform:scale(1.8);
}

.thumb-img{
    width:100%;
    height:120px;
    object-fit:contain;
    border:2px solid #ddd;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
    padding:5px;
}

.thumb-img:hover{
    border-color:#1d2088;
    transform:scale(1.05);
}

.product-info{
    padding-left:20px;
}

@media(max-width:768px){

    .product-info{
        padding-left:0;
        margin-top:30px;
    }

    #mainImage{
        height:250px;
    }

    .thumb-img{
        height:80px;
    }

}

/* Mobile Responsive */
@media (max-width: 768px) {

    .hero-banner {
        min-height: 250px;
    }

    .hero-banner img {
        height: 250px;
        object-fit: contain;
    }

    .carousel-caption h1,
    .carousel-caption h2,
    .carousel-caption h3 {
        font-size: 18px !important;
        line-height: 1.3;
    }

    .navbar-brand img {
        max-height: 60px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }

    .story-card {
        margin-bottom: 20px;
    }
}

.hero-banner {
    width: 100%;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {

    .slide img {
        width: 100%;
        height: 250px;
        object-fit: contain;
    }

    .prev,
    .next {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}
@media (max-width: 768px) {

    .navbar {
        padding: 5px 0;
    }

    .navbar-brand img {
        max-width: 170px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .prev,
    .next {
        width: 25px;
        height: 25px;
        font-size: 12px;
        padding: 2px 6px;
    }
}


/* Desktop */
@media (min-width: 769px){
    .navbar-nav .nav-link{
        color:#1d2088 !important;
    }

    .navbar-nav .nav-link:hover{
        color:#35c46b !important;
    }
}

/* Mobile */
@media (max-width:768px){
    .navbar-collapse{
        background:#fff;
        padding:10px;
    }

    .navbar-nav .nav-link{
        color:#1d2088 !important;
    }

    .navbar-nav .nav-link:hover{
        color:#35c46b !important;
    }
}
/* Current Active Menu */
.navbar-nav .nav-link.active,
.navbar-nav .dropdown-item.active{
    color:#35c46b !important;
    font-weight:600;
}


.product-buttons{
    display:grid;
    grid-template-columns:repeat(4, 180px);
    justify-content:center;
    gap:12px;
    margin-top:30px;
}

.product-btn{
    height:45px;
    background:#0d6efd !important;
    color:#fff !important;
    border:none;
    border-radius:6px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
}

.product-btn:hover{
    background:#084298 !important;
    color:#fff !important;
}

@media(max-width:992px){
    .product-buttons{
        grid-template-columns:repeat(2,180px);
    }
}

@media(max-width:576px){
    .product-buttons{
        grid-template-columns:1fr;
    }
}