
.hero-content {
  position: relative;
  z-index: 1;
  color:var(--light-gray) /* текстът е над overlay */
}

.hero-content h1 {
    color: var(--light-gray);
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 4.06rem;
    text-transform: uppercase;
    
}

.services-cta {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  display: flex;
  gap: 1rem;
  z-index: 2;
  flex-wrap: wrap; /* за да не излизат извън контейнера при малка ширина */
}

/* Основни стилове за бутоните */
.cta-btn,
.phone-btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 150px;
}

/* CTA бутон */
.cta-btn {
  background-color: var(--primary-blue);
  color: #fff;
  border: 1px solid var(--primary-blue);
}
.cta-btn:hover {
  background-color: #fff;
  color: var(--primary-blue);
}

/* Телефонен бутон */
.phone-btn {
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  background-color: rgba(255,255,255,0.85);
}
.phone-btn:hover {
  background-color: #fff;
  color: var(--primary-blue);
}


/* Intro Section */

.intro {
    padding: 4rem 0;
    background-color: white !important;
    overflow: hidden;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* текст и изображение на един ред */
    grid-template-rows: 1fr auto;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.intro-text {
    transform: translateX(-100%);
    opacity: 0;
    animation: slideInLeft 1s forwards;

}



.intro-content h1 {
    grid-column: 1 / -1;
    font-size: 3.625rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro p {
    font-size:1.125rem;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    transform: translateX(100%);
    opacity: 0;
    animation: slideInRight 1s forwards;
    animation-delay: 0.3s;
}


.intro-image {
    transform: translateX(100%);
    opacity: 0;
    animation: slideInRight 1s forwards;
    animation-delay: 0.3s;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}



@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}




.services {
    background-color: var(--light-gray);
    padding: 4rem 0;
    text-align: center;
}



/* How to Hire Section */
.how-to-hire {
    background-color: var(--light-bg);
    padding: 3rem 1rem;
    text-align: center;
}





.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}


/* Duties section */
.duties {
    padding: 5rem 0;
    background-color: var(--light-blue);
}


/* Remove the height:0 and overflow:hidden */
.duty-details {
    height: auto;
    margin-top: 1rem;
    opacity: 1;
    text-align:left;
}



.duty-details ul {
    list-style: none;
    padding: 0;
}

.duty-details li {
    font-size: 1.125rem;
    font-family: 'Open Sans';
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.duty-details li:last-child {
    border-bottom: none;
}


/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--light-gray);
    padding: 5rem 0;
    text-align: center;
}


/* CTA Section */
.cta-section {
    display: flex;
    gap: 3rem;
  background: var(); /* син градиент */
  color: var(--text-dark);
  text-align: center;
  justify-content: center;
  padding: 3rem 2rem;
  border-radius: 12px 12px 0 0; /* закръглени ръбове към футъра */
}

.cta-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #eef5fb;
    padding:20px;
    border-radius: 10px;
    color:var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.cta-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color:var(--primary-blue);
}

.cta-section .working-hours {
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-buttons a {
    display: inline-block;
    padding: 12px 25px;
    border-radius:6px;
    background-color: var(--hover-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 0.5px solid black;
}

.cta-buttons a:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    transform: translateY(-2px); /* леко издигане при hover */
    box-shadow: 0 0 0 2px var(--primary-blue);
}



/* Add Intersection Observer support */
.slide-hidden {
    opacity: 0;
    transform: translateX(-100%);
    transition: all 1s;
}

.slide-show {
    opacity: 1;
    transform: translateX(0);
}















/* --- УНИВЕРСАЛНА GRID СИСТЕМА --- */
.grid-layout {
    display: grid;
    /* По подразбиране: минимум 250px (подходящо за features, duties, steps) */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Модификатор за по-широки карти (за секция Services - 300px) */
.grid-layout.wide-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


/* --- УНИВЕРСАЛНА КАРТА (CARD) --- */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Flexbox за правилно подравняване на съдържанието */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Гарантира еднаква височина */
    position: relative;
    overflow: hidden; /* За да не излизат снимките извън радиуса */
}

/* Hover ефект за всички карти */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Малко по-мека сянка */
}

/* Типография в картите */
.card h3 {
    margin: 1rem 0;
    color: var(--primary-blue); /* Или var(--text-dark) за някои, можеш да пренапишеш */
    font-family: 'Oswald', sans-serif;
}

.card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125rem;
    color: var(--text-dark);
}

/* --- МОДИФИКАТОРИ ЗА КАРТИ (Специфики) --- */

/* 1. За Services (без вътрешен падинг, защото снимката е до ръба) */
.service-card {
    padding: 0 0 1.5rem 0; /* Само отдолу */
}
.service-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.service-card p {
    padding: 0 1.5rem;
}

/* 2. За всички останали (с падинг отвсякъде) */
.padded-card {
    padding: 2rem;
}

/* Специфично за иконите (Duties & Features) */
.card-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Специфично за кръглите икони (Duties) */
.card-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.card-icon-circle i {
    font-size: 1.5rem;
    color: white;
}