/* ==============================
   HERO SECTION (PREMIUM STYLE)
============================== */
.agp-hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.agp-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

/* Dark gradient overlay */
.agp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.75));
  z-index: 1;
}

.agp-hero-overlay {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 900px;
}

.agp-subtitle {
  letter-spacing: 2px;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.9;
}

.agp-title {
  font-size: 56px;
  font-weight: 700;
  margin: 20px 0;
  line-height: 1.2;
}

.agp-desc {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ==============================
   STICKY TABS
============================== */
.agp-tabs {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  z-index: 999;
}

.agp-tabs button {
  background: none;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
  transition: 0.3s ease;
}

.agp-tabs button.active {
  color: #d90429;
  border-bottom: 2px solid #d90429;;
}
.agp-tabs button:hover {
  color: #d90429;
}

.agp-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #d90429;
  transition: 0.3s;
}

.agp-tabs button:hover::after {
  width: 100%;
}

/* ==============================
   SECTION
============================== */
p.agp-text-full{margin-top: 10px;}
.agp-section {
  padding: 100px 5%;
  background: #f9f9f9;
}

.agp-section-title {
  font-size: 35px;
  margin-bottom: 25px;
}



.agp-text-full {
  display: none;
}

.agp-read-toggle {
  margin-top: 20px;
  padding: 12px 28px;
  background: #111;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.agp-read-toggle:hover {
  background: #d90429;
}
/* ==============================
   CAROUSEL ARROWS
============================== */

.agp-carousel {
  position: relative;
}

.agp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.agp-arrow:hover {
  background: #d90429;
  transform: translateY(-50%) scale(1.1);
}

.agp-arrow-left {
  left: 15px;
}

.agp-arrow-right {
  right: 15px;
}
/* ==============================
   FULL WIDTH CAROUSEL
============================== */
.agp-carousel {
  margin-top: 60px;
  width: 100%;
  overflow: hidden;
}

.agp-carousel-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.agp-carousel-track::-webkit-scrollbar {
  display: none;
}

.agp-card {
  position: relative;
  min-width: 320px;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.agp-card img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Image zoom */
.agp-card:hover img {
  transform: scale(1.1);
}

/* Overlay Glass Effect */
.agp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transition: 0.4s ease;
}

.agp-card:hover .agp-overlay {
  opacity: 1;
}

/* Buttons */
.agp-overlay a {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.agp-overlay a:first-child {
  background: #d90429;
  color: #fff;
}

.agp-overlay a:first-child:hover {
  background: #fff;
  color: #d90429;
}

.agp-overlay a:last-child {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.agp-overlay a:last-child:hover {
  background: #fff;
  color: #000;
}
.ag-cta-wrapper {
  margin: 40px 0;
}

.ag-cta-btn {
  position: relative;
    display: inline-block;
    padding: 16px 34px;
    font-size: 16px;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    background: linear-gradient(135deg, #1f2d3d 0%, #2c3e50 50%, #3f5873 100%);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(31, 45, 61, 0.3);
}

/* Shine Effect */
.ag-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.ag-cta-btn:hover::before {
  left: 125%;
}

/* Hover Effect */
.ag-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(31, 45, 61, 0.5);
  background: linear-gradient(135deg, #2c3e50 0%, #1f2d3d 100%);
}

/* Optional Arrow */
.ag-cta-btn::after {
  content: " →";
  font-weight: 700;
  margin-left: 6px;
  transition: margin-left 0.3s ease;
}

.ag-cta-btn:hover::after {
  margin-left: 12px;
}
.ag-sl-section .ag-cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

/* Force Button Natural Width */
.ag-sl-section .ag-cta-btn {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content;
}
/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 992px) {

  .agp-title {
    font-size: 38px;
  }

  .agp-card img {
   
    height: 320px;
  }
}
@media (max-width: 768px){
.agp-section-title{font-size: 26px;  padding-top: 30px;}
.agp-section{padding: 0 5%;}
.ag-cmpr-section{display: none;}
.ag-why-heading{font-size: 26px !important;}
.ag-faq-cta{padding: 20px !important;}


}

@media (max-width: 600px) {
 .ag-cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

/* Force Button Natural Width */
.ag-cta-btn {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content;
}
  .agp-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .agp-hero {
    height: 75vh;
  }

  .agp-title {
    font-size: 28px;
  }

  .agp-desc {
    font-size: 14px;
  }

  .agp-tabs {
    gap: 20px;
    flex-wrap: wrap;
    display: none;
  }

  .agp-card {
    min-width: 260px;
  }

  .agp-card img {
    height: 260px;
  }
}