/* -------------------------
   GLOBAL RESET & VARIABLES
-------------------------- */
:root {
  --primary: #061b6e;
  --secondary: #00e5ff;
  --dark: #021044;
  --light: #f5f7fb;
  --white: #ffffff;
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* -------------------------
   HEADER
-------------------------- */
/* HEADER */
.sn-header {
  background: #ffffff;
  padding: 12px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-btn {
  background: #061b6e;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.logo {
  height: 35px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.header-right a {
  color: #061b6e;
  text-decoration: none;
}

.login-btn {
  background: linear-gradient(135deg, #061b6e, #0226aa);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
}

/* HERO BANNER */
.hero-banner {
  background: linear-gradient(135deg, #04136c, #020b3a);
  padding: 80px 0 120px;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content span {
  color: #00e5ff;
  font-weight: 700;
}

.hero-content strong {
  font-size: 48px;
}

.btn-primary {
  background: transparent;
  border: 2px solid #00e5ff;
  color: #00e5ff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #0b2c8a;
  padding: 60px 20px;
  transition: left 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  display: block;
  color: #fff;
  margin-bottom: 20px;
  text-decoration: none;
}

.mobile-menu.active {
  left: 0;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* HERO IMAGE */
.hero-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin-left: auto;
  filter: drop-shadow(0 0 40px rgba(0,229,255,.6));
}

.hero-banner {
  background-image: url("../images/04b.png"); /* your banner image */
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}
/* Mobile full-width banner */  
@media (max-width: 768px) {

  .hero-banner .container {
    max-width: 100%;
    padding: 0;
  }

  .hero-banner{
    max-width: 100%;
    padding: 50px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .banner {
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
  }

  .hero-grid {
    width: 100%;
    margin: 0;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .btn-image img {
    width: 70% !important; /* adjust as needed */
    margin: 40px auto 0 !important;
    display: block;
  }
}
/* Optional dark overlay for better text contrast */
/* .hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(2, 11, 58, 0.9),
    rgba(2, 11, 58, 0.4),
    rgba(2, 11, 58, 0)
  );
} */

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content span {
  color: #00e5ff;
  font-weight: 700;
}

.hero-content strong {
  font-size: 48px;
  letter-spacing: 1px;
}

.btn-primary {
  border: 2px solid #00e5ff;
  color: #00e5ff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}


/* RESPONSIVE */
@media(max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image img {
    margin: 40px auto 0;
  }

  .header-right {
    display: none;
  }
}


/* -------------------------
   HERO SECTION
-------------------------- */
.hero {
  background: linear-gradient(135deg, #04136c, #021044);
  color: #fff;
  padding: 80px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  opacity: 0.9;
  margin-bottom: 25px;
}

.btn-primary {
  background: var(--secondary);
  color: #000;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* -------------------------
   BENEFITS
-------------------------- */
/* BENEFITS SECTION */
/* ===== BENEFITS FIX ===== */
/* BENEFITS SECTION */
.benefits-section {
    position: relative;
    margin-top: -140px;
    z-index: 5;
}
.benefits-row {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 0 20px;
}
.benefit-box {
    width: 100%;
    max-width: 360px;
    height: 320px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-box.pink {
    background-image: url("../images/02.png");
}

.benefit-box.blue {
    background-image: url("../images/benifits/01.png");
}

.benefit-box.green {
    background-image: url("../images/be3.png");
}
.benefit-content {
    width: 50%;
    text-align: center;
    padding-top: 0px;
}

.benefit-content h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1c1c1c;
}

.benefit-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.benefit-box::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 16px;
    border-radius: 50%;
    filter: blur(18px);
    z-index: -1;
}


@media (max-width: 768px) {
    .benefits-row {
        flex-direction: column;
        align-items: center;
    }

    .benefits-section {
        margin-top: -80px;
    }
}

/* -------------------------
   INFRASTRUCTURE
-------------------------- */
/* .infrastructure {
  padding: 80px 0;
  background: #f1f4fb;
}

.infrastructure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.infrastructure ul {
  list-style: none;
}

.infrastructure li {
  margin-bottom: 8px;
} */
.infrastructure-section {
    padding: 90px 0;
    background: url("../images/back.png") center/cover no-repeat;
    overflow: hidden; /* IMPORTANT */
}

.infra-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.infra-content {
    width: 40%;
    padding-left: 80px;
    color: #fff;
}


.infra-content h2 {
    font-size: 40px;
    margin-bottom: 25px;
}
.infra-content ul {
    list-style: none;
    padding: 0;
}

.infra-content li {
    margin-bottom: 18px;
    padding-left: 25px;
    position: relative;
    font-size: 20px;
}

.infra-content li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.infra-content strong {
    font-weight: 600;
    /* display: block; */
}

.infra-image {
    width: 60%;
    position: relative;
    right: -120px; /* 👈 pushes image outside to the right */
}

.infra-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}


@media (max-width: 768px) {
    .infra-container {
        flex-direction: column;
    }

    .infra-image {
        width: 100%;
        right: 0;
    }

    .infra-content {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
}



/* -------------------------
   SERVICE CARDS
-------------------------- */
.services-section {
  display: flex;
  flex-direction: column;
  gap: 40px; /* space between cards */
  padding: 80px 20px;
}

.service-card {
  max-width: 1200px;
  margin: auto;

  background-image: url("../images/services/service_back.png");
  background-repeat: no-repeat;
  background-size: cover;        /* cover full card */
  background-position: center;   /* center the image */

  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 50px;
  gap: 40px;
}


/* Image part */
.service-image {
  flex: 1;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: 250px;
}

/* Text part */
.service-content {
  flex: 1;
  color: #ffffff;
}

.service-content h2 {
  font-size: 36px;
  color: #2ef2c2;
  margin-bottom: 15px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #d7e4ff;
  max-width: 300px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* SHOW ONLY 3 LINES */
  -webkit-box-orient: vertical;
}

.service-contentright p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #d7e4ff;
  max-width: 270px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* SHOW ONLY 3 LINES */
  -webkit-box-orient: vertical;
}
/* Arrow */
.service-arrow img {
  width: 62%;
  transition: transform 0.3s ease;
}

.service-arroww img {
  width: 10%;
  transition: transform 0.3s ease;
}

.service-arrow:hover img {
  transform: translateX(8px);
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    text-align: center;
  }
}

.feature-section {
  padding: 100px 20px;
  background: #f8fafc;
}

.feature-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Image */
.feature-image img {
  max-width: 100%;
}

/* Content */
.feature-content {
  max-width: 600px;
}

.feature-title {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #0b1c4d;
}

.feature-content h4 {
  color: #1b2d8c;
  margin-bottom: 15px;
}

.feature-content p {
  color: #5c6b8a;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Points */
.feature-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 40px;
}

.point {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.point img {
  height: 50px;
}

.point h5 {
  margin: 0 0 6px;
  color: #393d9d;
  font-size: 18px;
}

.point p {
  margin: 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-container {
    flex-direction: column;
    text-align: center;
  }

  .feature-points {
    grid-template-columns: 1fr;
  }

  .point {
    justify-content: center;
  }
}

/* -------------------------
   CLIENT LOGOS
-------------------------- */
.clients-section {
  padding: 60px 20px;
  background-image: url("../images/Logo/07f.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Container */
.clients-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;   /* better for responsiveness */
  flex-wrap: wrap;           /* IMPORTANT */
  gap: 40px;
}

/* Logos */
.clients-container img {
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Tablet */
@media (max-width: 991px) {
  .clients-container img {
    height: 100px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .clients-container {
    gap: 25px;
  }

  .clients-container img {
    height: 80px;
  }
}

/* .clients-container img {
  background: #0b2c8a;
  padding: 20px;
  border-radius: 16px;
  width: 120px;
} */

/* -------------------------
   CONTACT
-------------------------- */
.contact-section {
  padding: 80px 0;
}

/* REMOVE flex from container */
.contact-container {
  max-width: 1200px;
  margin: auto;
}

/* Talk to us image */
.contact-text {
  display: flex;
  align-items: center;
}

.talk-image {
  width: 200px;
}

/* Inputs */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-form input {
  border: none;
  border-bottom: 1px solid #9aa4b2;
  background: transparent;
  padding: 8px 0;
  font-size: 16px;
  width: 100%;
  max-width: 320px;
  outline: none;
}

/* Button column */
.submit-col {
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center;
}

.submit-btn {
  background: #0b2c8a;
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;

  margin-top: 20px;
}

/* Mobile view */
@media (max-width: 768px) {
   .talk-image {
    margin-left: 65px;
  }

  .form-fields {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 50px;
    margin-left: 20px;	
  }
}

/* -------------------------
   BLOGS
-------------------------- */
.blogs-section {
  padding: 80px 20px;
  text-align: center;
  background-image: url("../images/08e.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.blogs-section h2 {
  font-size: 42px;
  margin-bottom: 50px;
}

.blogs-section span {
  color: #2a7fff;
}



.blog-card-home {
  width: 100%
}
.blog-card {
  flex: 0 0 50%; /* 2 cards at a time */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}
.blog-img-home {
  height: 220px;
  background: #7a8087;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 0 rgba(46, 255, 204, 0.5);
}

.slider-wrapper {
  position: relative;
  max-width: 900px;
  margin: auto;
  display: flex;
  align-items: center;
}

.blogs-slider {
  overflow: hidden;
  width: 100%;
}
.blogs-container {
  display: flex;
  width: 100%; /* 2 pages for 4 blogs on desktop */
  transition: transform 0.5s ease;
}
/* Arrow buttons */
.slider-btn {
  background: #000;
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
}

.slider-btn.prev {
  margin-right: 10px;
}

.slider-btn.next {
  margin-left: 10px;
}

.slider-btn:hover {
  background: #333;
}
/* Mobile view */
@media (max-width: 768px) {
   .blogs-container {
    width: 200%; /* 4 pages for 4 blogs */
  }

  .blog-card {
    width: 100%;
  }
}
/* -------------------------
   FOOTER
-------------------------- */
.sn-footer {
  padding: 50px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0a1a5c;
  text-decoration: none;
  font-size: 14px;
}

.footer-social img {
  height: 22px;
  width: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-social {
    gap: 20px;
  }

  .footer-logo img {
    height: 36px;
  }
}


/* -------------------------
   RESPONSIVE
-------------------------- */
@media(max-width: 992px) {
  .hero .container,
  .infrastructure-grid,
  .service-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .client-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}
.page-banner {
  position: relative;
  height: 420px;
  background-image: url("../images/colocation/colocation-banner.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* Text content */
.banner-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.banner-content h1 {
  color: #28f2b3; /* teal-green like design */
  font-size: 48px;
  font-weight: 300;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .page-banner {
    height: 300px;
  }
  .page-banner-scale {
    height: 300px;
  }
 .page-banner-secure {
    height: 300px;
  }

  .banner-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 26px;
  }
}
/* SECTION BACKGROUND */
.colocation-section {
  padding: 100px 0;

}
.page-banner-scale {
  position: relative;
  height: 420px;
  background-image: url("../images/colocation/05.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner-secure {
  position: relative;
  height: 420px;
  background-image: url("../images/colocation/08.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* CARD */
.colo-card {
  height: 100%;
  padding: 40px 30px;
  border-radius: 28px;
  color: #fff;
  background-image: url("../images/colocation/03.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* TITLE */
.card-title {
  font-size: 65px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 25px;
  position: relative;
}

/* LINE IMAGE UNDER TITLE */
.title-line {
  display: block;
  width: 50px;
  height: 4px;
  background-image: url("../images/colocation/title-line.png"); /* line image */
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 15px;
}

/* DESCRIPTION */
.card-desc {
  font-size: 18px;
  line-height: 1.2; 
  margin-bottom: 25px;
  opacity: 0.9;
}

/* POINTS */


.card-points li {
  font-size: 14px;
  padding: 10px 0;
  /* border-bottom: 1px solid rgba(255,255,255,0.2); */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .card-title {
    font-size: 26px;
  }

  .colocation-section {
    padding: 60px 20px;
  }
}
.card-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.point-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 18px;
  margin-bottom: 14px;

  color: #ffffff;
  font-size: 15px;
  font-weight: 600;

  /* Background image + gradient overlay */
  background-image: url("../images/colocation/04.png");
  background-size: cover;
  background-position: center;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Text */
.point-text {
  z-index: 1;
}

/* Right small white bar */
.point-indicator {
  width: 28px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  opacity: 0.9;
}
/* Feature container */
.feature-block {
  margin-bottom: 18px;
}

/* TOP STRIP */
.feature-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    height: 40px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;

  /* 🔥 IMPORTANT: do NOT use cover */
    background-image: url("../images/colocation/04.png");;
    background-repeat: no-repeat;
    background-size: 96% 100%;   /* keeps strip shape */
    background-position: left;
    /* border-radius: 6px; */
    margin: 14px -29px;
}

/* Strip text */
.feature-title1{
  z-index: 1;
  font-size: 18px;
}

/* Right white line */
.feature-indicator {
  width: 26px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  opacity: 0.9;
}

/* DESCRIPTION BELOW STRIP */
.feature-desc {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.2;
  color: #e6eef6;
}



.hero {
    height: 350px;
    background: url("assets/images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-left: 80px;
    color: #fff;
}

.hero h1 {
    font-size: 42px;
}

.hero span {
    font-weight: bold;
}




/* Section Title */
.section-title {
    text-align: center;
    padding: 40px 20px;
}

.section-title h2 {
    color: #0a2a66;
}

/* Blogs */
.blogs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-card.reverse {
    flex-direction: row-reverse;
}

.blog-card img {
    width: 50%;
    border-radius: 12px;
}

.blog-content {
    width: 50%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    font-size: 18px;
    color: #0a2a66;
}

.blog-content.dark {
    background: #0a2a66;
    color: #fff;
}

.page-banner-blog {
    position: relative;
    min-height: 420px;              /* instead of fixed height */
    background-image: url("../images/blog/02.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Overlay */
.banner-overlay-blog {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* Content */
.banner-content-blog {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: left;
    color: #fff;
    margin-right: 420px;
}

.banner-content-blog p {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 500;
}

.banner-content-blog h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

/* ========================= */
/* 📱 Mobile Responsive */
/* ========================= */
@media (max-width: 768px) {
    .page-banner-blog {
        min-height: 300px;
        padding: 30px 15px;
    }

    .banner-content-blog {
	margin: 0 auto;
        text-align: center;
    }

    .banner-content-blog p {
        font-size: 16px;
    }

    .banner-content-blog h1 {
        font-size: 26px;
        line-height: 1.3;
    }
}



.blog-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.blog-heading {
    text-align: center;
    color: #0a2a66;
    font-size: 28px;
    margin-bottom: 60px;
}

/* BLOG LIST */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* BLOG ROW */
.blog-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

/* Reverse layout */
.blog-item.reverse {
    flex-direction: row-reverse;
}

/* IMAGE */
.blog-image {
    width: 45%;
}

.blog-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* ===============================
   BLOG BACKGROUND CONTAINER
================================ */
.blog-bg {
    background: linear-gradient(180deg, #f9fbfd 0%, #f1f5f9 100%);
    border: 1.5px solid #cfd8e3;
    border-radius: 28px;
    padding: 50px 60px;
    margin-bottom: 60px;
}

/* Remove ONE side border */
.blog-bg.no-left-border {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* RIGHT side open (image on right) */
.blog-bg.no-right-border {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ===============================
   BLOG ROW
================================ */
.blog-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    width: 100%;
}

/* Reverse layout */
.blog-item.reverse {
    flex-direction: row-reverse;
}

/* ===============================
   IMAGE
================================ */
.blog-image {
    width: 45%;
}

.blog-image img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

/* ===============================
   CONTENT BOX
================================ */
.blog-box {
    width: 55%;
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    font-size: 25px;
    line-height: 1.4;
    color: #060a63;
    border: 1px solid #060a63;
}

/* Dark content box */
.blog-box.dark {
    background: #060a63;
    color: #ffffff;
}

.first-blog {
    background-color: #060a63;
    color: white;
}
/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {

    .blog-bg {
        padding: 30px 20px;
        border: 1.5px solid #cfd8e3; /* restore full border */
    }

    .blog-bg.no-left-border,
    .blog-bg.no-right-border {
        border-left: 1.5px solid #cfd8e3;
        border-right: 1.5px solid #cfd8e3;
    }

    .blog-item,
    .blog-item.reverse {
        flex-direction: column;
    }

    .blog-image,
    .blog-box {
        width: 100%;
    }

    .blog-box {
        font-size: 18px;
        text-align: center;
    }
}

.add-blog-btn {
    display: inline-block;
    background: #0a2a66;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.add-blog-btn:hover {
    background: #08306b;
}
/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #0d6efd; /* blue */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 22px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: #084298;
    transform: translateY(-3px);
}
