/*
 * Cybersecurity Page Styles
 * Based on SECNORA design
 */

/* =========================================
   Variables
   ========================================= */
:root {
  --secn-body-font: "Poppins", sans-serif;
  --secn-heading-font: "Libre Franklin", sans-serif;
  --secn-primary: #00a850;
  --secn-secondary: #8cc63f;
  --secn-alt: #c3d312;
  --secn-white: #ffffff;
  --secn-black: #0C0B0B;
  --secn-paragraph: #e3e3e3;
  --secn-bg: #0E0E0E;
  --secn-transition: .5s;
}

/* =========================================
   Base Styles
   ========================================= */
.secn-body {
  margin: 0;
  padding: 0;
  font-weight: 400;
  background-color: var(--secn-bg);
  color: var(--secn-white);
  font-size: 16px;
  font-family: var(--secn-body-font);
}

.secn-body h1,
.secn-body h2,
.secn-body h3,
.secn-body h4,
.secn-body h5,
.secn-body h6 {
  font-weight: 500;
  color: var(--secn-white);
  font-family: var(--secn-heading-font);
}

.secn-body p {
  color: var(--secn-white);
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 28px;
  letter-spacing: -0.32px;
}

.secn-body a {
  transition: var(--secn-transition);
  color: var(--secn-white);
}

.secn-body a:hover {
  color: var(--secn-primary);
}

/* =========================================
   Navbar Override
   ========================================= */
.secn-navbar {
  background-color: var(--secn-bg) !important;
  padding: 12px 0;
}

.secn-navbar .container-fluid {
  max-width: 1580px;
  margin: auto;
  padding-left: 30px;
  padding-right: 30px;
}

.secn-navbar.sticky {
  background-color: var(--secn-bg) !important;
  box-shadow: 0 0 20px 3px rgba(12, 12, 12, 0.3);
}

.secn-menu ul li a {
  color: var(--secn-white) !important;
  font-family: var(--secn-heading-font);
  font-size: 16px;
  font-weight: 500;
}

.secn-menu ul li a:hover {
  color: var(--secn-secondary) !important;
}

.secn-menu {
  display: flex;
  justify-content: center;
}

.secn-menu ul.nav_scroll {
  display: flex;
  justify-content: center;
}

.secn-mobile-menu {
  background-color: var(--secn-bg);
}

/* =========================================
   Common Buttons
   ========================================= */
.common-button .demo {
  border: none;
  box-shadow: unset;
  padding: 15px 24px;
  border-radius: 5px;
  display: inline-block;
  color: var(--secn-black);
  font-family: var(--secn-heading-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: hidden;
}

.common-button .demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(96, 238, 59, 1) 50%, rgba(179, 251, 160, 1) 100%);
  transition: opacity var(--secn-transition);
  opacity: 0;
}

.common-button .demo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--secn-white);
}

.common-button .demo:hover {
  color: var(--secn-black);
}

.common-button .demo:hover::before {
  opacity: 1;
}

.common-button-alt .demo {
  border: none;
  box-shadow: unset;
  padding: 15px 24px;
  border-radius: 5px;
  display: inline-block;
  color: var(--secn-black);
  font-family: var(--secn-heading-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: hidden;
}

.common-button-alt .demo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(96, 238, 59, 1) 50%, rgba(179, 251, 160, 1) 100%);
  transition: opacity var(--secn-transition);
  opacity: 1;
}

.common-button-alt .demo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--secn-white);
}

.common-button-alt .demo:hover {
  color: var(--secn-black);
}

.common-button-alt .demo:hover::before {
  opacity: 0;
}

/* =========================================
   Hero Section
   ========================================= */
.secn-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 75vh;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  right: -10%;
  width: 65%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  z-index: 0;
}

.secn-hero .container,
.secn-hero .container-fluid {
  z-index: 1;
}

.secn-hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--secn-white);
  margin-bottom: 10px;
}

.secn-hero .hero-text-content {
  max-width: 750px;
}

.secn-hero .hero-description {
  color: var(--secn-paragraph);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Hero Typewriter Carousel */
.secn-hero .hero-typewriter-line {
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 10px;
  margin-bottom: 0;
  min-height: 1.4em;
}

.secn-hero .hero-typewriter-text {
  color: #7abd30;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
  text-decoration-color: #7abd30;
}

.secn-hero .hero-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background-color: #7abd30;
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Description Paragraphs */
.secn-hero .hero-paragraphs {
  margin-top: 25px;
}

.secn-hero .hero-paragraphs p {
  font-size: 0.95rem;
  color: var(--secn-paragraph);
  line-height: 1.6;
  margin-bottom: 12px;
}

.secn-hero .hero-paragraphs p:last-child {
  margin-bottom: 0;
}

/* Hero Partner Logo */
.secn-hero .hero-partner {
  margin-top: 25px;
}

.secn-hero .hero-partner img {
  height: 55px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.secn-hero .hero-partner img:hover {
  opacity: 1;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.scroll-down a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.scroll-down a i {
  display: block;
  margin-top: 5px;
  animation: bounce 2s infinite;
}

.scroll-down a:hover {
  color: var(--secn-primary);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Laptops menores (1400px e abaixo) - redução de 25% */
@media (max-width: 1400px) {
  .secn-hero h1 {
    font-size: 1.65rem;
  }

  .secn-hero .hero-typewriter-line {
    font-size: 1.1rem;
  }

  .secn-hero .hero-paragraphs p {
    font-size: 0.72rem;
  }

  .secn-hero .hero-partner img {
    height: 42px;
  }

  .secn-hero .hero-text-content {
    max-width: 600px;
  }
}

@media (max-width: 1200px) {
  .secn-hero h1 {
    font-size: 1.5rem;
  }

  .secn-hero .hero-typewriter-line {
    font-size: 1rem;
  }

  .secn-hero .hero-paragraphs p {
    font-size: 0.68rem;
  }

  .secn-hero .hero-partner img {
    height: 38px;
  }

  .secn-hero .hero-text-content {
    max-width: 550px;
  }
}

@media (max-width: 991px) {
  .hero-bg-video {
    width: 100%;
    right: 0;
    opacity: 0.3;
  }

  .secn-hero h1 {
    font-size: 1.3rem;
  }

  .secn-hero .hero-typewriter-line {
    font-size: 0.9rem;
  }

  .secn-hero .hero-paragraphs p {
    font-size: 0.65rem;
  }

  .secn-hero .hero-partner img {
    height: 35px;
  }

  .secn-hero .hero-text-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .secn-hero h1 {
    font-size: 1.1rem;
  }

  .secn-hero .hero-description {
    font-size: 12px;
  }

  .secn-hero .hero-typewriter-line {
    font-size: 0.8rem;
    min-height: 1.5em;
  }

  .secn-hero .hero-typewriter-text {
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
  }

  .secn-hero .hero-typewriter-cursor {
    height: 0.85em;
    width: 2px;
  }

  .secn-hero .hero-paragraphs {
    margin-top: 15px;
  }

  .secn-hero .hero-paragraphs p {
    font-size: 0.6rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .secn-hero .hero-partner {
    margin-top: 15px;
  }

  .secn-hero .hero-partner img {
    height: 30px;
  }

  .scroll-down {
    bottom: 15px;
  }

  .scroll-down a {
    font-size: 0.6rem;
  }
}

@media (max-width: 576px) {
  .secn-hero h1 {
    font-size: 0.95rem;
  }

  .secn-hero .hero-typewriter-line {
    font-size: 0.7rem;
    min-height: 1.6em;
  }

  .secn-hero .hero-typewriter-text {
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
  }

  .secn-hero .hero-typewriter-cursor {
    height: 0.8em;
    width: 2px;
    margin-left: 2px;
  }

  .secn-hero .hero-paragraphs p {
    font-size: 0.55rem;
  }

  .secn-hero .hero-partner img {
    height: 24px;
  }
}

/* =========================================
   Hexagon Tabs Section
   ========================================= */
.secn-hexagon-tabs {
  padding: 60px 0;
}

.secn-hexagon-tabs p span {
  color: var(--secn-secondary);
  font-family: var(--secn-heading-font);
  font-size: 16px;
  font-weight: 500;
}

.secn-hexagon-tabs h2 {
  font-size: 40px;
  line-height: 1.4;
}

.secn-tab-content {
  background-color: var(--secn-bg);
  background-image: url('../img/cybersecurity/title_bg_left.jpg'), url('../img/cybersecurity/title_bg_right.jpg');
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  border: 1px solid var(--secn-primary);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.secn-tab-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, #000001 70%);
  z-index: 0;
  pointer-events: none;
}

.secn-tab-content [class*="col-"] {
  position: relative;
  z-index: 2;
}

.secn-tab-content img.img-fluid {
  position: relative;
  z-index: 3;
}

.secn-tab-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.secn-tab-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--secn-paragraph);
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  .secn-tab-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .secn-tab-content p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .secn-tab-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .secn-tab-content p {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* Honeycomb Navigation */
.hex-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
  padding: 0;
  list-style: none;
  overflow-x: visible;
}

.hex-item {
  width: 160px;
  height: 180px;
  position: relative;
  margin: 0 -1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link.hex-tab,
.hex-dummy {
  border: none;
  background: transparent;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secn-white);
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: none;
}

.nav-link.hex-tab:focus,
.nav-link.hex-tab:focus-visible {
  outline: none;
  box-shadow: none;
}

.nav-link.hex-tab::before,
.nav-link.hex-tab::after,
.hex-dummy::before,
.hex-dummy::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.nav-link.hex-tab::before,
.hex-dummy::before {
  top: 0;
  background: linear-gradient(to top, #262626, transparent);
  transform: translate(-50%, -100%);
}

.nav-link.hex-tab::after,
.hex-dummy::after {
  bottom: 0;
  background: linear-gradient(to bottom, #262626, transparent);
  transform: translate(-50%, 100%);
}

.nav-link.hex-tab:not(.active):hover::before,
.nav-link.hex-tab.active::before {
  background: linear-gradient(to top, var(--secn-primary), transparent);
}

.nav-link.hex-tab:not(.active):hover::after,
.nav-link.hex-tab.active::after {
  background: linear-gradient(to bottom, var(--secn-primary), transparent);
}

.hex-dummy {
  cursor: default;
  pointer-events: none;
}

.nav-link.hex-tab:hover {
  z-index: 10;
}

.nav-link.hex-tab:not(.active):hover .hex-outer {
  background-color: var(--secn-primary);
}

.nav-link.hex-tab.active {
  z-index: 10;
  color: var(--secn-white);
  opacity: 1;
}

.hex-outer {
  position: absolute;
  inset: 0;
  background-color: #262626;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 0;
  transition: background-color 0.3s ease;
}

.hex-inner {
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background-color: var(--secn-bg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  transition: background 0.3s ease;
}

.nav-link.hex-tab.active .hex-outer {
  background-color: #262626;
}

.nav-link.hex-tab.active .hex-inner {
  background-image: url('../img/cybersecurity/hexagon_tab.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hex-text {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 992px) {
  .hex-item:nth-child(1),
  .hex-item:nth-child(2),
  .hex-item:nth-child(6),
  .hex-item:nth-child(7) {
    display: none;
  }
}

@media (max-width: 768px) {
  .hex-item {
    width: 110px;
    height: 130px;
    margin: 0 -1px;
  }

  .hex-text {
    font-size: 0.75rem;
  }

  .secn-tab-content {
    padding: 2rem !important;
  }
}

@media (max-width: 400px) {
  .hex-item {
    width: 90px;
    height: 100px;
  }
}

/* =========================================
   Expertise Section
   ========================================= */
.secn-expertise {
  padding: 60px 0;
}

.secn-expertise p span {
  color: var(--secn-secondary);
  font-family: var(--secn-heading-font);
  font-size: 16px;
  font-weight: 500;
}

.secn-expertise h2 {
  font-size: 40px;
  line-height: 1.4;
}

.ppt-col {
  display: flex;
  flex-direction: column;
  background-color: #121212;
  border: 1px solid #1f1f1f;
  transition: border 0.3s ease;
}

.ppt-col:hover {
  background-color: #000902;
  border: 1px solid #000902;
}

.single-expertise {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.single-expertise .exp-text-wrap {
  padding: 30px;
}

.single-expertise .ppt-img-normal {
  display: block;
  width: 100%;
}

.single-expertise:hover .ppt-img-normal {
  display: none;
}

.single-expertise .ppt-img-hover {
  display: none;
}

.single-expertise:hover .ppt-img-hover {
  display: block;
  width: 100%;
}

/* =========================================
   Bento Grid Section
   ========================================= */
.secn-grid {
  padding: 0 0 60px;
}

.secn-bento-container {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #262626;
  background-color: var(--secn-bg);
  overflow: hidden;
}

.secn-bento-col {
  padding: 3rem;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.secn-bento-white-bg {
  background-image: url('../img/cybersecurity/white_bg_left.jpg'), url('../img/cybersecurity/white_bg_right.jpg');
  background-position: left bottom, right top;
  background-repeat: no-repeat, no-repeat;
  background-size: 50%, 50%;
}

.secn-bento-green-bg {
  background-image: url('../img/cybersecurity/green_bg_left.jpg'), url('../img/cybersecurity/green_bg_right.jpg');
  background-position: left bottom, right top;
  background-repeat: no-repeat, no-repeat;
  background-size: 50%, 50%;
}

.secn-border-r-dark {
  border-right: 1px solid #262626;
}

.secn-border-b-dark {
  border-bottom: 1px solid #262626;
}

@media (max-width: 991px) {
  .secn-border-r-dark {
    border-right: none;
  }

  .secn-bento-col {
    border-bottom: 1px solid #262626;
    min-height: auto;
    padding: 2rem;
  }

  .secn-bento-col:last-child {
    border-bottom: none;
  }
}

.secn-img-float {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.secn-bento-col:hover .secn-img-float {
  transform: translateY(-10px) scale(1.02);
}

.secn-hero-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.secn-hero-content {
  z-index: 2;
}

.secn-hero-image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-20%, -50%);
  width: 60%;
  z-index: 1;
  pointer-events: none;
}

.secn-small-card-image {
  margin-top: auto;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.secn-top-left-card {
  overflow: hidden;
}

.secn-white-text-bg {
  background-image: url('../img/cybersecurity/home/white_text_bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.secn-white-text-bg-alt {
  background-image: url('../img/cybersecurity/home/white_text_bg_alt.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 992px) {
  .secn-hero-image-container {
    left: 60%;
    top: 50%;
    transform: translate(-30%, -40%);
    width: 60%;
  }
}

/* =========================================
   Counters Section
   ========================================= */
.secn-counters {
  padding: 60px 0;
}

.secn-main-wrapper {
  background-image: url('../img/cybersecurity/home/counter_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0b0b0b;
  border-radius: 15px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid #262626;
}

.secn-text-content {
  padding-right: 20px;
}

.secn-counter-title {
  font-size: 44px;
  font-weight: 400;
}

.secn-subtitle {
  text-transform: uppercase;
  color: #e3e3e3;
}

.secn-counter-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.secn-number-wrap {
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
}

.secn-number-wrap .counter {
  font-weight: inherit;
}

.secn-suffix {
  margin-left: 2px;
}

.secn-desc {
  font-size: 16px;
  color: #a0a0a0;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .secn-main-wrapper {
    padding: 40px 30px;
  }

  .secn-counter-title {
    font-size: 32px;
  }

  .secn-text-content {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .secn-number-wrap {
    font-size: 42px;
  }
}

/* =========================================
   CTA Section
   ========================================= */
.secn-cta {
  padding: 60px 0;
}

.secn-cta-content {
  background-color: #121212;
  background-image: url('../img/cybersecurity/cta_bg_left.jpg'), url('../img/cybersecurity/cta_bg_right.jpg');
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  border: 1px solid #262626;
  border-radius: 12px;
}

.secn-cta-content h2 {
  margin-bottom: 10px;
}

.secn-cta-content p {
  margin-bottom: 20px;
}

/* =========================================
   Footer Override
   ========================================= */
.secn-body .footer-area {
  background-color: var(--secn-bg);
}

.secn-body .footer-section-area {
  background-color: var(--secn-bg);
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
  .secn-hexagon-tabs h2,
  .secn-expertise h2 {
    font-size: 30px;
  }

  .secn-counter-title {
    font-size: 28px;
  }

  .scroll-btn {
    display: none;
  }
}

@media (max-width: 576px) {
  .secn-bento-col h2 {
    font-size: 24px;
  }
}

/* =========================================
   Services Cards Section
   ========================================= */
.secn-services-common {
  padding: 30px 0;
}

.secn-services-common p {
  color: var(--secn-paragraph);
}

.secn-jumbotron-7 {
  padding: 30px;
  background-color: #121212;
  background-image: url('../img/cybersecurity/cta_bg_left.jpg'), url('../img/cybersecurity/cta_bg_right.jpg');
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  border-radius: 12px;
  border: 1px solid #262626;
  transition: border-color 0.3s ease;
}

.secn-jumbotron-7:hover {
  border-color: var(--secn-primary);
}

.secn-jumbotron-7 img.img-fluid {
  min-width: 180px;
  max-width: 220px;
}

.secn-ms-layout-2 .secn-jumbotron-7 img.img-fluid {
  min-width: 200px;
  max-width: 280px;
}

.secn-ms-list {
  padding-left: 0;
  margin-top: 35px;
  list-style: none;
}

.secn-ms-list a {
  text-decoration: none;
}

.secn-ms-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.secn-ms-list li img {
  padding-right: 7px;
  width: auto;
  height: 20px;
  min-width: unset !important;
}

.secn-ms-list li span {
  color: var(--secn-paragraph);
  font-size: 14px;
}

.secn-one-col-list {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  column-count: 1;
}

.secn-two-col-list {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  column-gap: 40px;
}

/* MS Layout 2 */
.secn-ms-layout-2 {
  padding: 30px 0;
}

.secn-ms-layout-2 h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

/* MS Layout 3 */
.secn-ms-layout-3 {
  padding: 30px 0;
}

.secn-ms-layout-3 h3 {
  font-size: 28px;
}

@media only screen and (max-width: 768px) {
  .secn-ms-layout-2 h2 {
    font-size: 30px;
  }

  .secn-two-col-list {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

/* =========================================
   Floating Side Navigation
   ========================================= */
.secn-sidenav {
  position: fixed;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.secn-sidenav.visible {
  opacity: 1;
  visibility: visible;
}

.sidenav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid #262626;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.sidenav-item:hover {
  width: auto;
  padding: 0 14px;
  background: rgba(18, 18, 18, 0.95);
  border-radius: 18px;
}

.sidenav-item.active {
  border-color: rgba(0, 168, 80, 0.5);
}

.sidenav-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--secn-primary);
  transition: all 0.3s ease;
}

.sidenav-item:hover .sidenav-dot {
  background: var(--secn-secondary);
}

.sidenav-item.active .sidenav-dot {
  background: var(--secn-secondary);
  box-shadow: 0 0 8px rgba(140, 198, 63, 0.6);
}

.sidenav-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 10px;
  white-space: nowrap;
  display: none;
}

.sidenav-item:hover .sidenav-label {
  display: block;
}

@media (max-width: 1200px) {
  .secn-sidenav {
    left: 15px;
  }
}

@media (max-width: 991px) {
  .secn-sidenav {
    display: none;
  }
}

/* =========================================
   Section Title Styles (matching other pages)
   ========================================= */
.section-green-tag {
  display: inline-block;
  color: var(--secn-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title-modern {
  font-size: 42px;
  font-weight: 700;
  color: var(--secn-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title-modern .text-green {
  color: var(--secn-primary);
}

.section-desc {
  color: var(--secn-paragraph);
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================
   Methodology Section (Hexagon Tabs)
   ========================================= */
.secn-methodology-tabs {
  padding: 80px 0;
}

@media (max-width: 991px) {
  .section-title-modern {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .secn-methodology-tabs {
    padding: 60px 0;
  }

  .section-title-modern {
    font-size: 28px;
  }
}

/* =========================================
   About Card Section
   ========================================= */
.secn-about-card {
  padding: 80px 0;
}

.secn-about-card .secn-bento-container {
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  overflow: hidden;
}

.secn-about-card .secn-bento-col {
  padding: 50px;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.secn-about-card .secn-bento-dark-bg {
  background: rgba(20, 20, 20, 0.6);
}

.secn-about-card .secn-border-r-dark {
  border-right: 1px solid #2c2c2c;
}

.secn-about-content {
  max-width: 100%;
}

.about-header .about-label {
  color: var(--secn-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-header h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--secn-white);
  margin-bottom: 0;
}

.secn-about-content > p {
  color: var(--secn-paragraph);
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 16px;
}

@media (max-width: 991px) {
  .secn-about-card .secn-border-r-dark {
    border-right: none;
    border-bottom: 1px solid #2c2c2c;
  }

  .secn-about-card .secn-bento-col {
    padding: 35px;
    min-height: auto;
  }

  .about-header h3 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .secn-about-card {
    padding: 60px 0;
  }

  .about-header h3 {
    font-size: 24px;
  }

  .secn-about-card .secn-bento-col {
    padding: 25px;
  }
}

/* =========================================
   Services Section Title
   ========================================= */
.secn-services-section {
  padding: 60px 0 20px;
}

/* =========================================
   Services Cards Compact
   ========================================= */
.secn-services-compact {
  padding: 15px 0;
}

.secn-services-compact .secn-jumbotron-7 {
  padding: 20px 25px;
}

.secn-services-compact .secn-ms-list {
  margin-top: 20px;
}

.secn-services-compact .secn-ms-list li {
  margin-bottom: 12px;
}

.secn-services-compact h2 {
  font-size: 24px;
  margin-bottom: 5px;
}

.secn-services-compact h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.secn-services-compact .secn-jumbotron-7 img.img-fluid {
  min-width: 160px;
  max-width: 200px;
}

/* Make all service card sections compact */
.secn-services-common.secn-services-compact + .secn-ms-layout-3,
.secn-services-common.secn-services-compact + .secn-ms-layout-3 + .secn-ms-layout-2,
.secn-services-common.secn-services-compact + .secn-ms-layout-3 + .secn-ms-layout-2 + .secn-ms-layout-3 {
  padding: 15px 0;
}

.secn-ms-layout-3 .secn-jumbotron-7 {
  padding: 20px;
}

.secn-ms-layout-3 .secn-jumbotron-7 img.img-fluid {
  max-width: 80px;
  min-width: 60px;
  margin-bottom: 15px;
}

.secn-ms-layout-3 .secn-ms-list {
  margin-top: 15px;
}

.secn-ms-layout-3 .secn-ms-list li {
  margin-bottom: 10px;
}

.secn-ms-layout-3 h3 {
  font-size: 18px;
}

/* Services Wrapper with Floating Keyboard */
.secn-services-wrapper {
  position: relative;
  overflow: hidden;
}

.secn-services-wrapper .secn-ms-layout-2,
.secn-services-wrapper .secn-ms-layout-3 {
  position: relative;
  z-index: 1;
}

.secn-keyboard-floating {
  position: absolute;
  top: 45%;
  right: 5%;
  transform: translateY(-50%);
  width: 550px;
  max-width: 45%;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 20px 50px rgba(0, 168, 80, 0.3));
  animation: keyboardFloat 6s ease-in-out infinite;
}

@keyframes keyboardFloat {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-58%);
  }
}

@media (max-width: 1400px) {
  .secn-keyboard-floating {
    right: -10%;
    width: 450px;
  }
}

@media (max-width: 991px) {
  .secn-keyboard-floating {
    display: none;
  }
}

/* =========================================
   Security Profiles Section
   ========================================= */
.secn-profiles-section {
  padding: 80px 0;
}

/* Profile Tabs - matching page style */
.secn-profile-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.secn-profile-tab {
  background: #121212;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 14px 24px;
  color: var(--secn-paragraph);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.secn-profile-tab i {
  font-size: 18px;
  color: #666;
  transition: color 0.3s ease;
}

.secn-profile-tab:hover {
  border-color: var(--secn-primary);
  color: var(--secn-white);
}

.secn-profile-tab:hover i {
  color: var(--secn-primary);
}

.secn-profile-tab.active {
  background: rgba(0, 168, 80, 0.1);
  border-color: var(--secn-primary);
  color: var(--secn-white);
}

.secn-profile-tab.active i {
  color: var(--secn-primary);
}

/* Profile Cards - matching secn-jumbotron style */
.secn-profile-card {
  background: #121212;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.secn-profile-card:hover {
  border-color: var(--secn-primary);
  transform: translateY(-5px);
}

.profile-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 168, 80, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.profile-card-icon i {
  font-size: 24px;
  color: var(--secn-primary);
}

.secn-profile-card h5 {
  font-size: 17px;
  font-weight: 600;
  color: var(--secn-white);
  margin-bottom: 15px;
  line-height: 1.3;
}

.profile-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #262626;
  color: var(--secn-paragraph);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.secn-profile-card:hover .profile-skill-tag {
  border-color: rgba(0, 168, 80, 0.3);
  color: var(--secn-secondary);
}

/* Profiles CTA - matching page style */
.secn-profiles-cta {
  background: #121212;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 30px 40px;
  margin-top: 40px;
}

.secn-profiles-cta h4 {
  font-size: 22px;
  color: var(--secn-white);
  margin-bottom: 8px;
}

.secn-profiles-cta p {
  color: var(--secn-paragraph);
  margin: 0;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
  .secn-profile-tabs {
    gap: 8px;
  }

  .secn-profile-tab {
    padding: 12px 18px;
  }

  .secn-profiles-cta {
    text-align: center;
  }

  .secn-profiles-cta .text-md-end {
    text-align: center !important;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .secn-profiles-section {
    padding: 60px 0;
  }

  .secn-profile-tab {
    padding: 10px 14px;
    font-size: 12px;
  }

  .secn-profile-tab span {
    display: none;
  }

  .secn-profile-tab i {
    font-size: 20px;
  }

  .secn-profile-card {
    padding: 20px;
  }

  .secn-profiles-cta {
    padding: 25px 20px;
  }
}

/* =========================================
   Products Section
   ========================================= */
.secn-products-section {
  padding: 80px 0;
}

.secn-product-card {
  background: #121212;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.secn-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secn-primary), var(--secn-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.secn-product-card:hover {
  border-color: var(--secn-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 168, 80, 0.15);
}

.secn-product-card:hover::before {
  opacity: 1;
}

.product-card-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.product-card-logo img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: filter 0.3s ease;
}

.secn-product-card:hover .product-card-logo img {
  filter: brightness(1.1);
}

.secn-product-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secn-white);
  margin-bottom: 15px;
  line-height: 1.3;
}

.secn-product-card p {
  color: var(--secn-paragraph);
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 25px;
}

.product-card-btn {
  margin-top: auto;
}

.product-card-btn .common-button-alt {
  display: inline-block;
  width: 100%;
}

.product-card-btn .common-button-alt .demo {
  display: block;
  text-align: center;
  width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .secn-products-section {
    padding: 60px 0;
  }

  .secn-product-card {
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .secn-products-section {
    padding: 50px 0;
  }

  .secn-product-card {
    padding: 25px 20px;
  }

  .product-card-logo {
    height: 70px;
    margin-bottom: 20px;
  }

  .product-card-logo img {
    max-height: 50px;
  }

  .secn-product-card h4 {
    font-size: 18px;
  }

  .secn-product-card p {
    font-size: 13px;
  }
}

/* =========================================
   Profile Request Modal
   ========================================= */
.profile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.profile-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.profile-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.profile-modal-overlay.active .profile-modal {
  transform: translateY(0) scale(1);
}

.profile-modal-body {
  padding: 0;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.profile-modal-close {
  background: rgba(0, 0, 0, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.profile-modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #333;
  transform: rotate(90deg);
}

button.common-button-alt {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
