* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar */

/* Multi-level dropdown styles */
.nav-submenu > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 12px 0;
  z-index: 1000;
}

.nav-submenu:hover > ul {
  display: block;
}

/* Section headers */
.nav-section-header {
  position: relative;
}

.nav-section-header > span {
  display: block;
  padding: 8px 20px;
  font-weight: 600;
  color: #333;
  background: #f8f9fa;
  /* border-left: 3px solid #e91e63; */
  margin: 4px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sub-section items */
.nav-subsection {
  display: none;
  background: white;
  margin-left: 0;
  padding-left: 0;
}

.nav-section-header:hover .nav-subsection {
  display: block;
}

.nav-subsection li {
  list-style: none;
}

.nav-subsection li a {
  display: block;
  padding: 8px 30px;
  color: #666;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-subsection li a:hover {
  background: #f8f9fa;
  /* color: #e91e63; */
  /* border-left-color: #e91e63; */
  padding-left: 35px;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-submenu > ul {
    position: static;
    display: block;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 0;
  }

  .nav-subsection {
    display: block;
    margin-left: 15px;
  }

  .nav-section-header > span {
    /* background: #e91e63; */
    color: #000;
    margin: 8px 0 4px 0;
  }
}

/* index -  industries we serve */

#affanipsec-s05 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1150px) {
  .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ipsec-s01 .rightpanel img {
    display: none;
  }

  .ipsec-s01 .leftpanel {
    /* width: 100% !important; */
    padding: 0 0 0 44px;
  }
}

/* website design and development */

.ipsec-s02 {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  width: 100%;
}

/* Equal width columns by default */
.ipsec-s02 .col-01,
.ipsec-s02 .col-02 {
  flex: 1 1 50%;
  min-width: 300px;
  box-sizing: border-box;
}

/* Image Column - Simple and Effective */
.ipsec-s02 .col-01 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ipsec-s02 .col-01 img.fullimage {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Text Column - Clean and Readable */
.ipsec-s02 .col-02 {
  padding: 40px;
  overflow-y: auto;
}

.ipsec-s02 .title h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: white;
}

.ipsec-s02 .textbox {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
}

.ipsec-s02 .textbox p {
  margin-bottom: 15px;
}

/* Responsive Adjustments - Simple Breakpoints */
@media (max-width: 900px) {
  .ipsec-s02 .col-01,
  .ipsec-s02 .col-02 {
    flex: 1 1 100%;
  }

  .ipsec-s02 .col-01 {
    padding: 40px 20px;
  }

  .ipsec-s02 .col-01 img.fullimage {
    max-height: 50vh;
  }

  .ipsec-s02 .col-02 {
    padding: 30px;
  }
}

@media (max-width: 500px) {
  .ipsec-s02 .col-02 {
    padding: 20px;
  }

  .ipsec-s02 .title h2 {
    font-size: 1.8rem;
  }
}

/* PPC pages */

/* Main Container */
.ipsec-s10 {
  min-height: 100vh;
  width: 100%;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Columns */
.ipsec-s10 .col-01 {
  width: 48%;
  padding: 15px;
  box-sizing: border-box;
}

.ipsec-s10 .col-02 {
  width: 48%;
  padding: 15px;
  box-sizing: border-box;
}

/* Image Styling */
.ipsec-s10 .fullimage {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Typography */
.ipsec-s10 .title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.ipsec-s10 .text-3 {
  font-size: 16px;
  font-weight: 400;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.ipsec-s10 p {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.ipsec-s10 p strong {
  color: #2a5bd7;
}

.ipsec-s10 p::before {
  content: "•";
  color: #2a5bd7;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Button Styling */
.ipsec-s10 .btnbox {
  margin-top: 25px;
}

.ipsec-s10 .btn01 {
  display: inline-block;
  padding: 12px 30px;
  background: #2a5bd7;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.ipsec-s10 .btn01:hover {
  background: #1e4aba;
}

/* Clearfix */
.clr {
  clear: both;
}

/* Responsive Design */
@media (max-width: 992px) {
  .ipsec-s10 .fullimage {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .ipsec-s10 {
    flex-direction: column-reverse;
    padding: 0 15px;
  }

  .ipsec-s10 .col-01,
  .ipsec-s10 .col-02 {
    width: 100%;
    padding: 10px 0;
  }

  .ipsec-s10 .fullimage {
    max-height: 350px;
    margin-bottom: 20px;
  }

  .ipsec-s10 .title h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .ipsec-s10 {
    margin: 2rem auto;
  }

  .ipsec-s10 .fullimage {
    max-height: 300px;
  }

  .ipsec-s10 .title h2 {
    font-size: 22px;
  }

  .ipsec-s10 p {
    font-size: 14px;
  }

  .ipsec-s10 .btn01 {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* content writing */

.content-writing-services {
  font-family: "Helvetica Neue", Arial, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: #ffffff;
}

.service-item {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  /* padding-left: 20px; */
  position: relative;
}

.service-item:before {
  /* content: "•"; */
  /* color: #4fc3f7; */
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

.service-title {
  font-weight: 600;
  /* color: #4fc3f7; */
  display: inline-block;
  /* margin-right: 5px; */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-writing-services {
    padding: 15px;
  }

  .service-item {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .service-item {
    font-size: 14px;
    padding-left: 18px;
  }

  .service-item:before {
    font-size: 18px;
  }
}

/* Chatbot - book a consultation form */

/* Launcher Button */
#chatbotLauncher {
  position: fixed;
  bottom: 0;
  right: 20px;
  background: #007bff;
  color: white;
  font-size: 22px;
  border-radius: 36px;
  padding: 14px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ChatBot Container */
.chatbot-container {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.chatbot-header {
  background: #007bff;
  color: white;
  font-size: 1.4rem;
  padding: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-body {
  padding: 4px 16px;
  max-height: 500px;
  overflow-y: auto;
}

.close-btn {
  cursor: pointer;
  font-size: 20px;
}

form h4 {
  margin-top: 10px;
  margin-left: 12px;
}

.error-msg {
  color: red;
}

input,
textarea,
button {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

button {
  background: #007bff;
  color: white;
  border: none;
  margin-top: 10px;
}

#tickbtn {
  display: flex;
  justify-content: flex-start;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 26px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 50%;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.radio-option input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 2px;
  transform: scale(0);
  transition: transform 0.2s ease-in-out;
}

.radio-option input[type="radio"]:checked::before {
  transform: scale(1);
}

.radio-option label {
  font-size: 12px;
  color: #333;
  cursor: pointer;
}

/* .ipsec-s01 */

.ipsec-s01 {
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ipsec-s01 img {
  border-radius: 12px;
  height: unset !important;
  max-width: 580px !important;
  /* margin-left: 62px; */
}

/* index page mobile app */

@media (max-width: 768px) {
  html,
  body {
    display: block;
    width: 100%;
  }

  header .menuBox {
    position: relative;
    margin-left: 0;
  }

  #mobile-slider,
  #smart-ourslider2 {
    width: 100%;
    max-width: 320px;
    padding: 1rem;
    margin: 0 auto;
    box-sizing: border-box;
  }
}

/* About Us css */

#about-us-page {
  .default-banner img {
    width: 100%;
    min-height: 100vh;
    object-fit: cover;
  }

  #LeftImg img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }

  .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0d6efd;
    text-align: center;
  }

  #righttext p {
    text-align: left;
    margin: 10px;
  }

  .about-section {
    padding: 60px 20px;
    background-color: #fff;
  }

  .about-text {
    font-size: 1.9rem;
    color: black;
    line-height: 1.6;
    text-align: center;
  }

  .highlight {
    color: #0d6efd !important;
    font-weight: 600;
  }

  .why-card {
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 140px;
    font-size: 1.6rem;
    padding: 20px;
  }

  .why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  }

  .icon-box {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 15px;
  }

  .btn-learn {
    background-color: #0d6efd;
    font-size: 1.5rem;
    color: white;
    border-radius: 25px;
    padding: 10px 30px;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
  }

  .fw-bold {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0d6efd;
  }

  /* ✅ Responsive Adjustments */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2.2rem;
    }

    .about-text {
      font-size: 1.3rem;
    }

    .why-card {
      font-size: 1.3rem;
      height: auto;
    }

    .icon-box {
      font-size: 1.6rem;
    }

    .btn-learn {
      font-size: 1rem;
      padding: 8px 20px;
    }

    #LeftImg img {
      max-width: 100%;
      border-radius: 16px;
    }

    .default-banner img {
      min-height: 60vh;
    }
  }

  @media (max-width: 480px) {
    .section-title {
      font-size: 1.8rem;
    }

    .about-text {
      font-size: 1.1rem;
    }

    .btn-learn {
      width: 100%;
      padding: 10px 0;
    }
  }
}

/* Blogs lits css */

#blog-list-page {
  .default-banner .overlay {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: linear-gradient(#23232480, #0f213fcc);
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
  }

  /* Blogs */

  #BlogSection {
    background-color: #e6e6e6;
    font-family: "Segoe UI", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
  }

  .blog-card {
    max-width: 100%;
    margin: auto;
    height: auto;
    margin-top: 26px;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .blog-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
  }

  .blog-title {
    font-size: 20px;
    color: #2c2c6c;
    margin-bottom: 15px;
    font-weight: 600;
  }

  .blog-text {
    font-size: 15px;
    color: #444;
    margin-bottom: 20px;
  }

  .read-more {
    background: #d1b07c;
    background-color: #004ec4;
    font-size: 1.2rem;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
  }

  .pager {
    padding-left: 30px;
  }

  .widget {
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px 0px rgba(200, 183, 255, 0.2);
  }

  .widget .recent-posts li:first-child {
    border: 0;
    padding-top: 0;
  }

  .widget .recent-posts li {
    border-top: 1px solid #eaedff;
    padding: 20px 0;
    overflow: hidden;
  }

  .widget-posts-image {
    float: left;
  }

  .widget-posts-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
  }

  .widget-posts-body {
    overflow: hidden;
  }

  .widget-posts-title {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
  }

  .widget-posts-meta {
    font-size: 12px;
  }

  .widget-title {
    font-size: 22px;
    position: relative;
    display: block;
    padding-bottom: 20px;
    border-bottom: 2px solid #ededed;
    margin-bottom: 35px;
  }

  .widget-title::after {
    position: absolute;
    content: "";
    width: 70px;
    height: 3px;
    left: 0;
    bottom: -2px;
    background: #251e5e;
  }

  .social-profile a {
    height: 50px;
    width: 50px;
    text-align: center;
    background: #062a4d;
    line-height: 50px;
    margin-right: 2px;
    display: inline-block;
    color: #ffffff;
    margin-bottom: 5px;
  }

  .social-profile a i {
    margin: 16px;
    font-size: 18px;
  }
}

#blog-details-show {
  background-color: #e6e6e6;

  .blog-detail {
    background-color: #fff;
    padding: 10px 20px;
  }

  .sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    display: block;
    width: 100%;
  }

  .blog-card {
    width: 300px;
    margin-left: 20px;
    margin-bottom: 3rem;
    height: auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    right: 12px;
  }

  #blog-list-page {
    #Blogsection {
      padding: 10px;
    }

    .blog-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .widget {
      margin-left: -20px;
      border-radius: 12px;
    }
  }
}

/* Pricing page content */

.pricing-heading {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-heading h1 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
}

/* ====== Base Reset ====== */

.price-box {
  overflow-x: auto;
  margin-top: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ====== Table Styling ====== */
.price {
  width: 100%;
  border-collapse: collapse;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.price th {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  font-size: 24px;
  padding: 20px;
  border-radius: 16px 16px 0 0;
  text-align: center;
}

.price td {
  padding: 18px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.price .title {
  background: #f0f4f8;
  font-weight: bold;
  font-size: 18px;
}

/* Column Backgrounds */
.table-bg1 {
  background: #fdfdfd;
}

.table-bg2 {
  background: #f7faff;
}

.table-bg3 {
  background: #f0f4f8;
}

.table-bg4 {
  background: #e8f0fe;
}

/* Bottom Border Radius */
.bradius-bb td {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  background-color: #fff;
}

/* Heading */
.heading h2 {
  font-size: 36px;
  text-align: center;
  color: #222;
  font-weight: 600;
  margin-top: 30px;
}

/* Hide card layout on medium and up */
.card-wrapper {
  display: none;
}

/* Show and style cards on small screens only */
@media (max-width: 480px) {
  #pricing-page-content {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .price-box {
    overflow-x: scroll;
  }

  .pricing-panel .container .heading {
    display: none;
  }

  .pricing-panel .price-box {
    max-width: 330px;
    flex-grow: 1;
    margin: auto 0px;
  }
}

/* Contact us */

@media (max-width: 768px) {
  .cu-details-box {
    margin-bottom: 3rem;
  }

  .cu-titlebox .col1 {
    font-size: 22px;
  }

  .cu-titlebox .col2 {
    font-size: 16px;
  }

  .cu-details-box {
    font-size: 16px;
  }

  .cuemail-box .col2 a {
    font-size: 13px;
  }
}

/* Whatsapp */

.content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Button Styles */
.whatsapp-btn {
  position: fixed;
  bottom: 0;
  left: 20px;
  background: #25d366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 500;
  font-size: 16px;
}

.whatsapp-icon {
  width: 25px;
  height: 36px;
  fill: currentColor;
}

img,
svg {
  vertical-align: middle;
  margin-left: 4px;
}

/* Responsive design */
@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 0;
    left: 15px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .whatsapp-btn-text {
    display: none;
  }

  .whatsapp-btn {
    border-radius: 50%;
    padding: 15px;
  }
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

.whatsapp-btn {
  animation: pulse 2s infinite;
}
