/* =========================
   ROOT + GLOBAL RESET
========================= */
:root {
  --primary: #ff1616;
  --dark: #0f2a4d;
  --light: #f5f7fb;
  --glass: rgba(255, 255, 255, 0.12);
  --blur: blur(14px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #eef1f7;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      rgba(15, 42, 77, 0.05),
      rgba(15, 42, 77, 0.05)
    ),
    url("../images/home-background-image.jpg") bottom/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  max-width: 800px;
  animation: fadeUp 1s ease forwards;
}

.hero-text p {
  margin: 20px 0 30px;
  font-size: 18px;
  max-width: 700px;
  color: #e0e6f0;
  animation: fadeUp 1.2s ease forwards;
}

.about-text p {
  margin: 30px 0;
  text-align: justify;
}

.about-text h2{
  font-size: 35px;
}
/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 0 30px 0;
}

.btn-primary {
  background: linear-gradient(360deg, #ff1616, #676767);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 22, 22, 0.35);
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
  text-align: center;
  font-size: 50px;
  font-weight: 700;
  margin: 80px 0 50px;
  position: relative;
}



.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--primary);
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

.services-grid{
  padding: 0 0 100px 0;
}
/* =========================
   CARDS (SERVICES / CASES / TESTIMONIALS)
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: var(--glass);
  backdrop-filter: var(--blur);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  transition: all 0.35s ease;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  margin: 15px 0 10px;
  font-size: 20px;
}

.card p {
  font-size: 15px;
  color: #2c3e60;
}

.icon {
  font-size: 34px;
}

/* =========================
   ABOUT SECTION
========================= */
.about {
  padding: 90px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-right img {
  width: 500px;
  min-height: 480px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-text ul {
  list-style: none;
}

.about-text li {
  padding-left: 26px;
  margin: 12px 0;
  position: relative;
}

.about-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* =========================
   TESTIMONIALS
========================= */
.test{
  padding: 0 0 80px 0!important;
}
.section-testimonials {
  padding-bottom: 100px;
}

.testimonials .card {
  font-style: italic;
}
.testimonials .container {
  max-width: 1100px;
  padding: 0 20px;
  background: transparent;
}

.testimonials .swiper {
  padding: 20px 0;
   width: 100%;
   background: transparent;
}

.testimonials .swiper-slide {
  width: auto;
  background: transparent;
}
.rg-testimonial-stars {
  margin-top: 12px;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: 2px;
}
/* =========================
   CONTACT CTA
========================= */
.contact{
  display: block !important;
}
.contact-cta {
  background: linear-gradient(135deg, #0f2a4d, #07182e);
  padding: 90px 0;
  text-align: center;
  color: #fff;
}

.contact-cta h2 {
  font-size: 36px;
}

.contact-cta p {
  margin: 15px 0 30px;
  font-size: 18px;
  color: #dbe3f0;
}



/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .section-title {
    font-size: 26px;
  }

  .contact-cta h2 {
    font-size: 26px;
  }
  .about-text p {
  width: 350px;
}
.about-right img {
  width: 100%;
  min-height: auto;
}
}
/* =========================
   RESPONSIVE FIXES (FINAL)
========================= */

/* Tablets */
@media (max-width: 1024px) {

  .container {
    padding: 0 20px 50px 20px;
  }
  .hero-content {
    padding: 20px 0 255px 0px !important;
  }
  .hero {
    min-height: 70vh;
    background-position: center;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 36px;
    margin: 60px 0 40px;
  }
}

/* Mobiles */
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  .hero {
    min-height: 65vh;
    text-align: center;
    background-position: right 35%;
  }

  .hero-content {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 30px;
    max-width: 100%;
  }

  .hero-text p {
    font-size: 15px;
    max-width: 100%;
  }

  .btn {
    padding: 12px 26px;
    font-size: 14px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .about {
    padding: 60px 0;
  }

  .about-grid {
    gap: 30px;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .section-title {
    font-size: 28px;
  }

  .contact-cta {
    padding: 60px 20px;
  }

  .contact-cta h2 {
    font-size: 24px;
  }

  .contact-cta p {
    font-size: 15px;
  }
}

/* Small Phones */
@media (max-width: 480px) {

  .hero {
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }
}
/* =========================
   COUNTER SECTION
========================= */
.rg-counter-section {
  background: linear-gradient(135deg, #000000, #07182e);
  padding: 80px 0;
}

.rg-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.rg-counter-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.rg-counter-number {
  font-size: 42px;
  font-weight: 700;
  color: #ff1616;
  display: block;
}

.rg-counter-label {
  margin-top: 10px;
  font-size: 16px;
  color: #e0e6f0;
}

/* =========================
   GALLERY SECTION
========================= */
.rg-gallery-section {
  background: #fff;
  padding: 90px 150px;
}

.rg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.rg-gallery-item {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.rg-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.5s ease;
}

.rg-gallery-item:hover img {
  transform: scale(1.08);
}

/* =========================
   RESPONSIVE – COUNTER + GALLERY
========================= */
@media (max-width: 1024px) {
  .rg-counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rg-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rg-counter-grid {
    grid-template-columns: 1fr;
  }

  .rg-counter-number {
    font-size: 36px;
  }

  .rg-gallery-grid {
    grid-template-columns: 1fr;
  }
  .rg-gallery-section {
  padding: 90px 10px;
}
}

/* =========================
   BLOG SECTION
========================= */
.rg-blog-section {
  background: #f5f7fb;
  padding: 90px 0;
}

.rg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Blog Card */
.rg-blog-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.rg-blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* Image */
.rg-blog-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.rg-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rg-blog-card:hover img {
  transform: scale(1.08);
}

/* Content */
.rg-blog-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rg-blog-meta {
  font-size: 13px;
  color: #8a97ab;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rg-blog-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0f2a4d;
}

.rg-blog-content p {
  font-size: 15px;
  color: #2c3e60;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Read More */
.rg-blog-link {
  margin-top: auto;
  font-weight: 600;
  color: #ff1616;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rg-blog-link:hover {
  color: #000;
}

.btn-service {
  display: inline-block;
  padding: 10px 20px;
   background: linear-gradient(360deg, #ff1616, #676767);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

/* =========================
   RESPONSIVE – BLOG
========================= */
@media (max-width: 1024px) {
  .rg-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rg-blog-section {
    padding: 60px 0;
  }

  .rg-blog-grid {
    grid-template-columns: 1fr;
  }

  .rg-blog-image {
    height: 200px;
  }

  .rg-blog-content h3 {
    font-size: 18px;
  }

  .rg-blog-content p {
    font-size: 14px;
  }
}


/* ===== DISCLAIMER POPUP ===== */
.rg-disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.rg-disclaimer-box {
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.rg-disclaimer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.rg-disclaimer-header h3 {
  font-size: 22px;
  color: #0f2a4d;
}

.rg-disclaimer-close {
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #0f2a4d;
}

.rg-disclaimer-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 12px;
}

.rg-disclaimer-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.rg-disclaimer-accept {
   background: linear-gradient(360deg, #ff1616, #676767);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.rg-counter-number.plus::after {
  content: "+";
}

.rg-counter-number.percent::after {
  content: "%";
}

.rg-counter-number.slash::after {
  content: "/7";
}

/* ===== VIDEO SECTION ===== */
.rg-video-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.rg-video-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #222;
}

.rg-video-section .video-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
}

.rg-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-items: center;
}

.rg-video-card {
  max-width: 560px;
  width: 100%;
}

.rg-video-card .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  margin-bottom: 15px;
}

.rg-video-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.rg-video-card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-top: 5px;
}