:root {
  --blue-456: #4a86ba;
  --orange-456: #eb6a3b;
  --green-456: #68a04d;
  --dark-grey: #2c3e50;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark-grey);
  font-variant-numeric: tabular-nums;
}

a {
  text-decoration: none
}

.border-blue { border-color: var(--blue-456) !important; }
.border-orange { border-color: var(--orange-456) !important; }
.border-green { border-color: var(--green-456) !important; }

.text-blue { color: var(--blue-456); }
.text-orange { color: var(--orange-456); }
.text-green { color: var(--green-456); }

.bg-blue { background-color: var(--blue-456); }
.btn-orange { background-color: var(--orange-456); color: white; transition: 0.3s; }
.btn-orange:hover { background-color: var(--blue-456); color: white; transform: translateY(-2px); }



.border-blue {    border-color: var(--blue-456) !important;}

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.rounded-5 { border-radius: 2rem !important; }
.bg-light { background-color: #f9f9f9 !important; }





h1,h2,h3,.navbar-brand {
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}
/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden; 
    color: white;
    text-align: left;
}

.hero picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-badge {
    background-color: var(--orange-456);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}




@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 100px 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
/* navbar */

.navbar-brand img {
    height: 60px;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.navbar-toggler {
    outline: 0 !important;
}

.navbar-nav .nav-link {
    position: relative;
    transition: transform 0.2s ease, color 0.3s ease;
    font-weight: 700;
    padding-bottom: 5px;
}

.navbar-nav .nav-link:hover { 
    transform: translateY(-2px); 
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 50%;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after { 
    width: 80%; 
}


.navbar-nav .nav-item:nth-child(3n + 1) .nav-link { color: var(--blue-456) !important; }
.navbar-nav .nav-item:nth-child(3n + 1) .nav-link::after { background-color: var(--blue-456); }

.navbar-nav .nav-item:nth-child(3n + 2) .nav-link { color: var(--orange-456) !important; }
.navbar-nav .nav-item:nth-child(3n + 2) .nav-link::after { background-color: var(--orange-456); }

.navbar-nav .nav-item:nth-child(3n) .nav-link { color: var(--green-456) !important; }
.navbar-nav .nav-item:nth-child(3n) .nav-link::after { background-color: var(--green-456); }

.navbar-nav .nav-item.active .nav-link {
    border-bottom: none !important; 
}

.navbar-nav .nav-item.active .nav-link {
    opacity: 1;
    filter: brightness(0.75);
}


.btn-phone-desktop {
  background-color: var(--blue-456);
  color: white !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-phone-desktop:hover { background-color: var(--orange-456); transform: scale(1.05); }

@media (max-width: 991px) {
  .navbar .container {
    position: relative;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    min-height: 60px; 
  }

  .navbar-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2000; 
  }

  .navbar-toggler { z-index: 2001; border: none !important; }
  .mobile-phone-call { z-index: 2001; }

  .navbar-collapse {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 20px;
  }
  
  .navbar-toggler-icon {
    background-image: none !important;
    width: 24px; height: 2px; background-color: var(--blue-456);
    display: block; position: relative; transition: 0.3s;
  }
  .navbar-toggler-icon::before, .navbar-toggler-icon::after {
    content: ""; width: 24px; height: 2px; background-color: var(--blue-456);
    position: absolute; left: 0; transition: 0.3s;
  }
  .navbar-toggler-icon::before { top: -8px; }
  .navbar-toggler-icon::after { top: 8px; }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background: transparent; }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { transform: rotate(45deg); top: 0; }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after { transform: rotate(-45deg); top: 0; }

  .mobile-phone-call {
    width: 40px; height: 40px; background: var(--blue-456);
    color: white !important; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
  }
}

@media (min-width: 992px) {
  .navbar-collapse { display: flex !important; justify-content: center; }
}

/* Home */

.header-line {
    width: 60px;
    height: 4px;
    background-color: var(--orange-456);
    margin-top: 15px;
    border-radius: 2px;
}

.feature-card {
    border-radius: 2rem !important; 
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;    
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}


.feature-item:nth-child(3n+1) .feature-card {
    background-color: rgba(74, 134, 186, 0.08); 
}
.feature-item:nth-child(3n+1) .icon-circle {
    background-color: var(--blue-456);
    color: white;
}
.feature-item:nth-child(3n+1) h3 { color: var(--blue-456); }

.feature-item:nth-child(3n+2) .feature-card {
    background-color: rgba(235, 106, 59, 0.08);
}
.feature-item:nth-child(3n+2) .icon-circle {
    background-color: var(--orange-456);
    color: white;
}
.feature-item:nth-child(3n+2) h3 { color: var(--orange-456); }

.feature-item:nth-child(3n) .feature-card {
    background-color: rgba(104, 160, 77, 0.08);
}
.feature-item:nth-child(3n) .icon-circle {
    background-color: var(--green-456);
    color: white;
}
.feature-item:nth-child(3n) h3 { color: var(--green-456); }


.icon-circle {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}


.guarantee-card {
    border-radius: 2rem !important;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;    
}

.guarantee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.guarantee-card h3 {
    min-height: 3rem; 
    display: flex;
    align-items: center;
}

.guarantees ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.guarantees ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.4;
    color: #444;
}

.guarantees ul li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f00c"; 
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--green-456);
    font-size: 1rem;
}

.guarantee-card .icon-header {
    height: 80px;
    display: flex;
    align-items: center;
}


.cta-banner .btn:hover {
    transform: translateY(-3px);
    background-color: #f8f9fa;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}


/* Buttons */
.btn-blue {
  background-color: var(--blue-456);
  border: none;
  color: white;
  font-weight: 700;
  padding: 14px 35px;
  border-radius: 8px;
}
.btn-blue:hover {
  background-color: #3a6d99;
  color: white;
  box-shadow: 0 5px 15px rgba(74, 134, 186, 0.4);
}
/* Sections */
section {
  padding: 100px 0;
}
.section-title {
  margin-bottom: 50px;
}
.section-title span {
  color: var(--blue-456);
}
.divider {
  width: 60px;
  height: 5px;
  background: var(--green-456);
  margin-bottom: 20px;
}
/* Pricing */
.price-card {
  border: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: #fff;
}
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.price-header-blue {
  background: var(--blue-456);
  color: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
}
.price-header-orange {
  background: var(--orange-456);
  color: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
}
.price-header-green {
  background: var(--green-456);
  color: white;
  padding: 30px;
  border-radius: 20px 20px 0 0;
}
.amount {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}
/* Contacts Footer */
.footer {
  background: #1a1c1e;
  color: #e9ecef;
  padding: 80px 0 20px;
}
.contact-item i {
  font-size: 1.5rem;
  color: var(--orange-456);
  margin-bottom: 15px;
  display: block;
}
/* Bulgarian Font Fix */
:lang(bg) {
  font-feature-settings: "locl" 1;
}




/* CMS Page */

.page-hero {
    position: relative;
    height: 30vh; 
    min-height: 250px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.page-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "›";
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--orange-456) !important;
}

@media (max-width: 768px) {
    .page-hero {
        height: 25vh;
        min-height: 200px;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
}

.textcontent::after {
    content: "";
    display: table;
    clear: both;
}

.textcontent {
    font-size: 1.25rem;
}

@media (max-width: 768px) {

.textcontent {
    font-size: 1rem;
}
    
}


@media (max-width: 768px) {
    .textcontent img {
        float: none !important;
        margin: 0 auto 1.5rem auto !important;
        display: block;
    }
}




.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    border: 0;
    display: block;
}

.contact-details-card {
    transition: transform 0.3s ease;
}

.contact-details-card:hover {
    transform: translateY(-5px);
}

.contact-info-list {
    font-size: 1.25rem;
}

@media (max-width: 768px) {

.contact-info-list {
    font-size: 1rem;
}
    
}

@media (prefers-color-scheme: dark) {
    :root {
        --blue-456: #5da2db;
        --orange-456: #f08359;
        --green-456: #7fb564;
        --dark-bg: #121212;
        --surface-bg: #1e1e1e;
        --text-main: #e0e0e0;
        --text-muted: #b0b0b0;
    }

    body {
        background-color: var(--dark-bg);
        color: var(--text-main);
    }

    .bg-light {
        background-color: var(--surface-bg) !important;
    }

    .text-muted, .guarantees ul li {
        color: var(--text-muted) !important;
    }

    .navbar-collapse {
        background: var(--surface-bg) !important;
    }

    .navbar-toggler-icon, .navbar-toggler-icon::before, .navbar-toggler-icon::after {
        background-color: var(--text-main) !important;
    }

    .feature-card, .guarantee-card, .price-card, .contact-details-card, .bg-white {
        background-color: var(--surface-bg) !important;
        border-color: rgba(255,255,255,0.1) !important;
        color: var(--text-main) !important;
    }

    .feature-card:hover, .guarantee-card:hover, .price-card:hover {
        box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
    }

    .feature-item:nth-child(3n+1) .feature-card { background-color: rgba(93, 162, 219, 0.1) !important; }
    .feature-item:nth-child(3n+2) .feature-card { background-color: rgba(240, 131, 89, 0.1) !important; }
    .feature-item:nth-child(3n) .feature-card { background-color: rgba(127, 181, 100, 0.1) !important; }

    .form-control {
        background-color: #2c2c2c !important;
        border-color: #444 !important;
        color: white !important;
    }

    .form-control:focus {
        background-color: #333 !important;
        border-color: var(--blue-456) !important;
    }

    .form-floating label {
        color: var(--text-muted);
    }

    .textcontent {
        color: var(--text-main);
    }

    hr {
        border-color: rgba(255,255,255,0.1) !important;
        opacity: 0.2;
    }

    .btn-dark {
        background-color: #eeeeee !important;
        color: #121212 !important;
    }
    
    .text-dark {
        color: #eeeeee !important;
    }    

    .price-card .text-dark, .price-card h3 {
        color: var(--text-main) !important;
    }
}

