
/* =========================================
   🎨 FinoPA - Main Stylesheet
   ========================================= */

/* ===== Base / Theme ===== */
:root {
  /* === Base Colors === */
  --bg: #15152ce1;
  --bg-2: rgb(53, 46, 135);
  --card: #005f96;

  /* === Text Colors === */
  --text: #f5f5ff;
  --muted: #9da0b8;

  /* === Accent Colors === */
  --accent: rgb(184, 121, 5);
  --accent-2: #2a6eff25;

  /* === Utility === */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.dark {
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 ui-sans-serif,system-ui,Segoe UI,Roboto,Inter,Arial;
}

/* Containers */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  height: 122px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(20,20,42,1) 0%, rgba(20,20,42,0) 100%);
  backdrop-filter: blur(6px);
  transition: background 0.4s ease, color 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%; 
  padding: 0 80px;
}
@media (max-width: 768px) {
  .header-inner {
    padding: 0 50px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 14px;
  }
}
.header-inner a,
.header-inner .dropdown-toggle {
  color: #ffffff;
  transition: color 0.4s ease;
  font: 500 25px/1.6 ui-sans-serif,system-ui,Segoe UI,Roboto,Inter,Arial;
}

.site-header.scrolled {
  background: rgba(9, 9, 19, 0.95);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  justify-content: center; 
  align-items: center;
  text-decoration: none;
}

.logo {
  border-radius: 15px;
  height: 80px;     
  object-fit: contain; 
  display: block; 
}
@media (max-width: 768px) {
  .logo {
    width: 140px;  
    height: auto; 
  }
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center; 
}
.nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center; 
  justify-content: center; 
}
.main-nav { display: block; }
.nav-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }

.nav-list a,
.dropdown-toggle {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  padding: 6px 4px;
  background: none;
  border: none;
  font: 500 25px/1.6 ui-sans-serif, system-ui, Segoe UI, Roboto, Inter, Arial;
  color: var(--text);
  cursor: pointer;
}

.nav-list a,
.dropdown-toggle {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  padding: 6px 4px;
  background: none;
  border: none;
  font: 500 25px/1.6 ui-sans-serif, system-ui, Segoe UI, Roboto, Inter, Arial;
  color: var(--text);
  cursor: pointer;
}

.nav-list a:hover,
.dropdown-toggle:hover {
  color: rgba(86, 88, 228, 0.966);
}

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 25px;
  transition: transform 0.3s ease;
}


.has-dropdown .dropdown {
  position: absolute; 
  top: 100%; 
  left: 0;
  min-width: 300px;
  background: var(--accent);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px;
  list-style: none;
  display: none;
  box-shadow: var(--shadow);
  z-index: 1000; 
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font: 400 20px/1.6 ui-sans-serif, system-ui, Segoe UI, Roboto, Inter, Arial;
  transition: background 0.3s;
}

.dropdown li + li {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.dropdown li a:hover {
  background: rgba(255,255,255,.06);
}

/* =========================================
   BURGER / MOBILE MENU
   ========================================= */
.burger {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger .bar {
  display: block;
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: .3s;
}
.burger .bar:nth-child(1){ top: 0; }
.burger .bar:nth-child(2){ top: 9px; }
.burger .bar:nth-child(3){ bottom: 0; }
.burger.open .bar:nth-child(1){ transform: translateY(9px) rotate(45deg); }
.burger.open .bar:nth-child(2){ opacity: 0; }
.burger.open .bar:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }
/* ===== Mobile Menu (Updated) ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); 
  display: none;
  z-index: 999;
}
.mobile-menu.visible {
  display: block;
}

.menu-box {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 55vw;
  max-width: 340px;
  background: var(--bg);
  border-left: 1px solid rgba(255,255,255,0.1);
  border-radius: 0; 
  padding: 16px 18px;
  box-shadow: -6px 0 25px rgba(0,0,0,0.45);
  overflow-y: auto;
  animation: slideInRight 0.4s ease;
}


@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}


.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.menu-header .logo {
  width: 140px;
  height: auto;
}

.close-btn {
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}


.mobile-nav-list {
  list-style: none;
  padding: 10px 0 30px;
  margin: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-list a,
.mobile-dropdown-toggle {
  display: block;
  padding: 10px 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px; 
  line-height: 1.4;
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
}


.mobile-has-dropdown .mobile-dropdown {
  display: none;
  list-style: none;
  padding: 6px 0 6px 16px; 
  margin: 0;
  border-left: 2px solid rgba(255,255,255,0.15);
}

.mobile-has-dropdown.open .mobile-dropdown {
  display: block;
}

.mobile-dropdown li a {
  font-size: 15px;
  opacity: 0.9;
}

.mobile-dropdown li + li {
  border-top: 1px solid rgba(255,255,255,0.08);
}


.mobile-nav-list a:hover,
.mobile-dropdown-toggle:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}


@media (max-width: 400px) {
  .menu-box {
    height: 45vh;
    padding: 12px 14px;
  }
  .mobile-nav-list a {
    font-size: 16px;
  }
  .menu-header .logo {
    width: 110px;
  }
}


/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  padding: 22px;
  align-items: stretch;
}

.hero-left {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 64vh;
}
.hero-right img {
  width: 100%;
  height: auto;
  object-fit: contain; 
  object-position: center;
  display: block;
  border-radius: 10px;
}
.hero-left img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,40,.3),rgba(0,0,0,.55));
}
.hero-content {
  position: absolute;
  left: 28px; bottom: 28px; right: 28px;
  max-width: 560px;
}
.hero-content h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.15;
}
.hero-content p { margin: 0 0 16px; color: var(--muted); }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: .25s;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Hero Right - Mosaic */
.hero-right {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #14142a, #0f0f22);
  padding: 0; 
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.mosaic {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);    
  gap: 8px;                            
}


.tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center; 
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.tile:hover img {
  transform: scale(1.15);
  filter: brightness(1.05);
}

.tile.wide, .tile.tall {
  grid-column: auto !important;
  grid-row: auto !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger { display: block; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { min-height: 52vh; }

  .mosaic {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .tile { width: 100%; height: auto; }
  .tile img { height: auto; }
}

@media (max-width: 520px) {
  .hero-content h1 { font-size: 30px; }
  .mosaic { grid-auto-rows: 80px; }
  .tile.tall { grid-row: span 2; }
}

/* ==== FOOTER LIGHT COMPACT ==== */
.footer-title {
  margin-top: 0 !important;
  margin-bottom: 8px; 
}
.footer-style-FinoPA.light {
  background: #ffffff;
  color: #0a1e4f;
  border-top: 1px solid #e4e8f0;
  padding: 20px 0 0;
}
.footer-style-FinoPA .widgets-section{
  padding-bottom: 30px;
}

.footer-style-FinoPA.light .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr; /* about | links | contact */
  align-items: start;
  gap: 40px;
}


.footer-style-FinoPA.light .footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-style-FinoPA.light .footer-logo img {
  width: 120px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.footer-style-FinoPA.light .footer-title {
  color: #031431;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  margin-bottom: 1PX;
}

.footer-style-FinoPA.light .footer-text {
  color: #0c1d49;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.footer-style-FinoPA.light .footer-col.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-style-FinoPA.light .footer-col.links li {
  margin-bottom: 6px;
}

.footer-style-FinoPA.light .footer-col.links a {
  color: #0040b5;
  text-decoration: none;
  transition: color 0.25s, padding-left 0.25s;
  font-weight: 500;
}

.footer-style-FinoPA.light .footer-col.links a:hover {
  color: #0b6ef3;
  padding-left: 5px;
}

.footer-style-FinoPA.light .footer-bottom {
  border-top: 1px solid #e4e8f0;
  background: #f8faff;
  padding: 15px 0;
}

.footer-style-FinoPA.light .footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer-style-FinoPA.light .footer-bottom p {
  color: #4a5b7a;
  font-size: 13px;
  margin: 0;
}
.footer-style-FinoPA.light .footer-col.links {
  justify-self: center; 
  text-align: center;   
}

.footer-style-FinoPA.light .scroll-top {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #003d9e;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.footer-style-FinoPA.light .scroll-top:hover {
  background: #0b6ef3;
}


@media (max-width: 860px) {
  .footer-style-FinoPA.light .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-style-FinoPA.light .footer-bottom-inner {
    flex-direction: column;
    gap: 1px;
  }
  .footer-style-FinoPA.light .scroll-top {
    position: static;
    transform: none;
  }
}

@media (max-width: 768px) {
  .footer-style-FinoPA.light .footer-col.contact::before {
    content: "";
    background-image: url('img/logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 120px;
    height: 40px;
    margin-bottom: 1px;
    align-self: center;
  }
}

/* === Footer - Mobile View === */
@media (max-width: 768px) {
  .footer-style-FinoPA.light .footer-col.about,
  .footer-style-FinoPA.light .footer-col.links {
    display: none;
  }


  .footer-style-FinoPA.light .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-style-FinoPA.light .footer-logo {
    display: block;
    margin-bottom: 8px;
  }

  .footer-style-FinoPA.light .footer-col.contact {
    width: 100%;
  }
}


/* ==== Services Section ==== */
.services-section {
  padding: 40px 30px;
  background: #15152ce1;
  position: relative;
  overflow: hidden;
}

.services-section {
  background-size: cover;           
  background-repeat: no-repeat;    
  background-position: center;      
  background-attachment: scroll;   
}

services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(2px);
  z-index: 0;
}
.services-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 50px;
}
.services-title, .tabs, .tab-content {
  position: relative;
  z-index: 2;
}
/* === Tabs Wrapper === */
.tabs {
  width: 80%;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d6d9e0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* === Individual Tabs === */

.tab-link {
  background: #fff;
  border: 1px solid #cfd4e0;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  color: #001a66;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-link:hover {
  background: #200a9bf8;
}

.tab-link.active {
  background: #2055dd;
  color: #fff;
  border-color: #1e57f5;
  box-shadow: 0 0 10px rgba(0, 42, 148, 0.733);
}

.tab-content {
   max-width: 1200px;
  margin: 0 auto;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

.tab-panel.active {
  display: block;
}

.tab-box {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.tab-text {
  flex: 1;
  font-size: 30px;
  font-weight: 500px;
  color: #000000;
  line-height: 1.9;
}

.tab-image img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.6s ease;
}

.tab-image:hover img {
  transform: scale(1.15);
}


.tab-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  text-align: right;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .tab-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .tab-panel {
    flex-direction: column;
    text-align: center;
  }
  .tab-image {
    order: -1;
    text-align: center;
  }
}
.services-tabs, 
.services-title {
  position: relative;
  z-index: 2;
}
.services-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #111c4e;
}

.services-tabs {
  max-width: 1300px;
  margin: 0 auto;
}

/* --- Tabs Header --- */
.tab-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 2px solid #ccc;
}

.tab-link {
  flex: 1;
  padding: 18px 10px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  background: #fff;
  border: none;
  border-right: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  color: #1c2a64;
}
.tab-link:last-child {
  border-right: none;
}
.tab-link:hover {
  background: #eef0f7;
}
.tab-link.active {
  background: #f8f8f8;
  border-bottom: 3px solid #1c2a64;
  color: #000;
}
.tab-link.active .tab-arrow {
  display: block;
  color: #1c2a64;
}
.tab-arrow {
  display: none;
  font-size: 16px;
  margin-left: 8px;
}

/* --- Tab Content --- */
.tab-content-area {
  background: #fff;
  padding: 40px;
}
.tab-panel {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.tab-panel.active {
  display: flex;
}
.tab-text {
  flex: 1;
  font-size: 17px;
  color: #444;
}
.tab-text p {
  margin-bottom: 20px;
  line-height: 1.6;
}
.tab-links {
  list-style: none;
  padding: 0;
}
.tab-links li {
  margin-bottom: 8px;
}
.tab-links a {
  color: #1c2a64;
  font-weight: 600;
  text-decoration: none;
}
.tab-links a:hover {
  text-decoration: underline;
}

.tab-image {
  flex: 1;
}
.tab-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 100%;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .tab-panel {
    flex-direction: column;
  }
  .tab-header {
    flex-direction: column;
  }
  .tab-link {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
}

.tab-panel {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tab-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.tab-link {
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.tab-link:hover {
  background: rgba(240, 244, 255, 0.9);
  transform: translateY(-2px);
}

.tab-image img {
  transition: transform 0.5s ease, filter 0.5s ease;
}
.tab-image:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* =========================================
   ABOUT SECTION (Homepage)
   ========================================= */
.about-section {
  background: #f8faff;
  padding: 70px 30px;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.about-image {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.about-image:hover img {
  transform: scale(1.15);
  filter: brightness(1.05);
}

/* Years Badge */
.about-badge {
  position: absolute;
  left: -20px;
  top: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 40px;
  padding: 20px 10px;
  text-align: center;
  transform: rotate(-90deg);
  transform-origin: left top;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.about-badge .years {
  font-size: 26px;
  display: block;
}
.about-badge .label {
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Content */
.about-content {
  padding-bottom: 45px;
  padding-top: 15px;
  flex: 1;
  color: var(--text);
  animation: fadeInUp 1s ease forwards;
}

.about-subtitle {
  font-size: 26px;
  text-transform: uppercase;
  color: #e6ecff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  letter-spacing: 1px;
}

.about-subtitle::before {
  content: "";
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #2a6fff, #00aaff);
  border-radius: 3px;
  display: inline-block;
  transition: width 0.4s ease;
}

.about-subtitle:hover::before {
  width: 70px;
}
.about-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}


.about-content p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 10px;
}
.about-list li i {
  color: var(--accent);
}

.about-btn {
  font-size: 16px;
  padding: 12px 24px;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .about-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
  }
  .about-badge .years { font-size: 18px; }
  .about-content {
    animation: none;
  }
}


.services-page {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Hero section */
.page-hero {

  text-align: center;
  padding: 22px 30px;
  color: #fff;
}
.page-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing:1.2px;
}
.page-hero p {
  font-size: 20px;
  color: #b0b4cc;
}

/* Services grid */

.services-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 120px;
}

@media (max-width: 900px) {
  .services-grid {
    display: flex !important;       
    flex-direction: column !important;
    gap: 30px !important;          
  }

  .services-sidebar {
    order: -1 !important;        
    margin-bottom: 20px;
  }

  .services-content {
    order: 1 !important;         
  }

  .services-sidebar a {
    font-size: 16px;
    padding: 10px 14px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .service-block p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 520px) {
  .services-sidebar a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .services-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .services-grid {
    gap: 30px; 
  }
}


/* Sidebar */
.services-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}
.services-sidebar li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.services-sidebar a {
  display: block;
  padding: 14px 18px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.services-sidebar a.active,
.services-sidebar a:hover {
  background: var(--accent);
  color: #fff;
}


@media (max-width: 900px) {
  .services-grid {
    display: flex;
    flex-direction: column; 
  }

  .services-sidebar {
    order: -1; 
    margin-bottom: 24px;
  }

  .services-sidebar ul {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }

  .services-sidebar a {
    padding: 10px 14px;
    font-size: 16px; 
    text-align: center; 
  }

  .services-sidebar li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .services-section {
    padding: 20px 14px;
  }
}

@media (max-width: 520px) {
  .services-sidebar a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .services-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}


/* Service content */
.service-block {
  margin-bottom: 80px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.service-block img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}
.service-block h2 {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 12px;
}
.service-block p {
  color: white;
  line-height: 1.7;
  font-size: 19px;
}

.contact-details {
  background: var(--bg);
  color: var(--text);
  padding: 100px 20px;
}

.contact-details .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-details .row {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.contact-details .col {
  flex: 1;
  min-width: 320px;
}

.sec-title .sub-title {
  color: rgb(184, 121, 5);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  border-top: 3px solid rgb(184, 121, 5);
  padding-top: 8px;
  margin-bottom: 14px;
}

.sec-title h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info .icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info .text h6 {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  color: var(--muted);
}
.contact-info a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: var(--accent);
}
.contact-info a:visited {
  color: var(--text);
}

.contact-info .text a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info .text a:hover {
  color: var(--accent);
}

.contact-details .desc {
  max-width: 500px;
  line-height: 1.7;
  color: var(--muted);
}

/* רספונסיביות */
@media (max-width: 800px) {
  .contact-details .row {
    flex-direction: column;
  }
  .contact-details {
    padding: 60px 20px;
  }
  .sec-title h2 {
    font-size: 28px;
  }
}

.page-title {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 600px;
    padding: 130px 0 110px;
    position: relative;
}
@media (max-width: 700px) {
  .page-title {
    min-height: 300px;
    background-position: top center;
    padding: 60px 0 40px;
  }
}

@media (max-width: 700px) {
  .page-title {
    background-image: url('img/cont-mobile.jpg');
  }
}

@media (max-width: 768px) {
  p {
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}
/* === Page Base === */
.page {
  background: #f5f7fb;
  color: #222;
  font-family: "Inter", "Segoe UI", sans-serif;
}

/* === Hero Section === */
.page-hero {
  background: #1a1a40;
  color: #fff;
  text-align: center;
  padding: 30px 20px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 30%);
  opacity: 0.4;
}

.page-hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: #d8e4ff;
}

/* === About Section === */
.grid.two {
  padding: 70px 20px;
  position: relative;
}

.grid.two .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

/* === Left Text Column === */
.grid.two .col:first-child {
  flex: 1 1 550px;
}

.grid.two h2 {
  font-size: 36px;
  font-weight: 700;
  color: #001a66;
  margin-bottom: 20px;
  position: relative;
}

.grid.two h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #005f96;
  display: block;
  margin-top: 8px;
  border-radius: 2px;
}

.grid.two h3 {
  margin-top: 40px;
  font-size: 24px;
  color: #003f7d;
}

.grid.two p {
  font-size: 22px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.list {
  list-style: none;
  padding: 0;
}

.list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 500;
  color: #002a70;
}

.list li::before {
  content: "✔";
  color: #005f96;
  position: absolute;
  left: 0;
  font-size: 19px;
}

/* === Right Image Column === */
.about-photo {
  flex: 1 1 480px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,50,0.2), rgba(0,0,50,0.6));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-photo:hover::before {
  opacity: 1;
}

.about-photo:hover img {
  transform: scale(1.08);
}

/* === Responsive === */
@media (max-width: 768px) {
  .page-hero {
    padding: 20px 14px 40px;
  }

  .page-hero h1 {
    font-size: 34px; 
  }

  .page-hero p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {

  .grid.two .container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .grid.two h2::after {
    margin: 8px auto;
  }
  .about-photo {
    max-width: 90%;
  }
}

@media (max-width: 768px) {

  /* ===== HERO ===== */
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .hero-right {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0 auto;
  }

  .hero-right img {
    width: 90%;          
    max-width: 240px;    
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 10px;
  }

  .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 10px;
  }

  .tab-link {
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 8px;
  }

  .tab-content {
    padding: 10px 14px;
  }

  .tab-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
  }

  .tab-text h1 {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .tab-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .tab-image img {
    width: 100%;
    max-width: 90%;
    height: auto;
    border-radius: 10px;
  }

  /* ===== ABOUT SECTION ===== */
  .about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
    padding: 20px 14px;
  }

  .about-image img {
    width: 90%;
    max-width: 350px;
    border-radius: 12px;
    height: auto;
  }

  .about-content h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-list li {
    font-size: 14px;
    text-align: left;
  }

  .about-btn {
    display: inline-block;
    margin-top: 12px;
    font-size: 15px;
    padding: 10px 18px;
  }

  /* ===== FOOTER ===== */
  .footer-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-col img {
    max-width: 100px;
    margin: 0 auto 10px;
  }

  .footer-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-bottom {
    text-align: center;
    flex-direction: column;
    gap: 10px;
  }
}


