/* Card general */
.services-card {
    border-radius: 30px;
    padding: 35px 32px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: radial-gradient(circle at top left, rgba(26, 164, 148, 0.10), transparent 60%),
                rgba(9, 10, 16, 0.95);
    transition: all 0.3s ease;
}

/* Icon */
.services-card .services-one__icon span {
    font-size: 48px;
    line-height: 1;
    display: inline-block;
    margin-bottom: 22px;
    color: #1AA494;
    transition: all 0.3s ease;
}

/* Titlu */
.services-card .services-one__title a {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: none;
}

/* Subtitlu mic, profesional */
.services-one__subtitle {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.70);
}

/* Learn more */
.services-card .services-one__learn-more {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hover effect premium */
.services-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 164, 148, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.services-card:hover .services-one__icon span {
    color: #0fe7c5;
    transform: scale(1.08);
}

.services-card:hover .services-one__title a {
    color: #ffffff;
}
/* Phone Icon Vibration Animation */
.main-menu__call-icon span {
    display: inline-block;
    animation: phoneVibrate 1.4s infinite ease-in-out;
}



/* Phone Vibrate on Hover */
.main-menu__call:hover .main-menu__call-icon span {
    display: inline-block;
    animation: phoneHoverVibrate 0.6s infinite linear;
}

@keyframes phoneVibrate {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(6deg); }
    60% { transform: rotate(-6deg); }
    70% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}


/* ---------------- HERO ANIMATIONS ---------------- */

.hero-animated {
    animation: heroContainerFade 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes heroContainerFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-title-animated {
    animation: heroTitle 1s ease-out forwards;
    opacity: 0;
}

@keyframes heroTitle {
    0% { opacity: 0; transform: translateY(20px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { letter-spacing: 0.02em; }
}

.hero-subtitle-animated {
    animation: heroSubtitle 1.1s ease-out forwards;
    animation-delay: 0.25s;
    opacity: 0;
}

@keyframes heroSubtitle {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-btn-animated {
    animation: heroBtn 1.2s ease-out forwards;
    animation-delay: 0.45s;
    opacity: 0;
}

@keyframes heroBtn {
    0% { opacity: 0; transform: translateY(10px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Puls subtil la hover pe butonul din HERO */
.hero-btn-animated:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

/* Form animat din dreapta */
.hero-form-animated {
    animation: heroFormIn 1s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes heroFormIn {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ---------------- SECTION TITLES ---------------- */

.section-title-animated {
    animation: sectionTitleIn 0.9s ease-out forwards;
    opacity: 0;
}

@keyframes sectionTitleIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------------- SERVICES CARDS ---------------- */

.services-card {
    border-radius: 30px;
    padding: 35px 32px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: radial-gradient(circle at top left, rgba(26, 164, 148, 0.10), transparent 60%),
                rgba(9, 10, 16, 0.95);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.services-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(15, 231, 197, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Icon in cards */
.services-card .services-one__icon span {
    font-size: 48px;
    line-height: 1;
    display: inline-block;
    margin-bottom: 22px;
    color: #1AA494;
    transition: all 0.3s ease;
}

/* Text in cards */
.services-card .services-one__title a {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: none;
}

.services-one__subtitle {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.70);
}

/* Learn more link */
.services-card .services-one__learn-more {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hover general pe card */
.services-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 164, 148, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.services-card:hover::before {
    opacity: 1;
}

.services-card:hover .services-one__icon span {
    color: #0fe7c5;
    transform: translateY(-2px) scale(1.06);
}

.services-card:hover .services-one__title a {
    color: #ffffff;
}

/* Icon subtle float even without hover */
.service-icon-animated {
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* ---------------- NEWS CARDS ---------------- */

.news-card-animated {
    transition: all 0.3s ease;
}

.news-card-animated:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.news-card-animated .news-one__img img {
    transition: transform 0.35s ease;
}

.news-card-animated:hover .news-one__img img {
    transform: scale(1.04);
}

/* Title in news */
.news-title-animated {
    animation: sectionTitleIn 0.9s ease-out forwards;
    opacity: 0;
}

/* Button in news */
.news-btn-animated {
    animation: newsBtnIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.25s;
}

@keyframes newsBtnIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------------- BRAND STRIP ---------------- */

.brand-one-animated {
    animation: brandIn 1s ease-out forwards;
    opacity: 0;
}

@keyframes brandIn {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------------- PHONE ICON HOVER VIBRATE (din header) ---------------- */

.main-menu__call:hover .main-menu__call-icon span {
    display: inline-block;
    animation: phoneHoverVibrate 0.6s infinite linear;
}

@keyframes phoneHoverVibrate {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}


/* H2 Title animation – doar la intrare, nu ascunde textul */
.hero-title-animate {
    animation: heroTitleAnim 0.9s ease-out;
}

@keyframes heroTitleAnim {
    0%   { transform: translateY(25px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* Subtitle animation */
.hero-subtitle-animate {
    animation: heroSubtitleAnim 0.9s ease-out;
    animation-delay: 0.15s;
    animation-fill-mode: both;
}

@keyframes heroSubtitleAnim {
    0%   { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* Button animation */
.hero-btn-animate {
    animation: heroBtnAnim 0.9s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

@keyframes heroBtnAnim {
    0%   { transform: translateY(15px) scale(0.96); opacity: 0; }
    100% { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* Hover pe buton – efect mic premium */
.hero-btn-animate:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}
