* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
}

:root {
    --blue: #005b99;
    --yellow: #f4c300;
    --dark: #2b2b2b;
    --white: #ffffff;
}

.call-button {
    position: fixed;
    right: 20px;      
    top: 60%;           
    transform: translateY(-50%);
    background-color: #005b99;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: phone-ring 2.5s infinite;
    transition: background 0.3s;
    max-width: calc(100vw - 40px);
    cursor: pointer;
}


@keyframes phone-ring {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    25% {
        transform: translateY(-50%) rotate(15deg);
    }

    50% {
        transform: translateY(-50%) rotate(-15deg);
    }

    75% {
        transform: translateY(-50%) rotate(15deg);
    }

    100% {
        transform: translateY(-50%) rotate(0deg);
    }
}
@keyframes phone-ring-mobile {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(15deg); }
    50%  { transform: rotate(-15deg); }
    75%  { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.call-button:hover {
    background-color: #003f6b;
}

.front_img {
    width: 100%;
}

.taskbar {
    display: flex;
    flex-direction: row;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background: white;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #005b99;
}

.sapte {
    color: #005b99;
    font-size: 40px;
    font-style: italic;
}

.sapte_footer {
    color: #005b99;
    font-size: 40px;
    font-style: italic;
    margin-left: 26px;
}

.a_sapte {
    font-style: italic;
    color: #005b99;
    font-size: 23px;
    font-weight: bold;
}

.urgent-text {
    font-size: 15px;
    color: #555;
    letter-spacing: 0.5px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #555;
    font-size: 20px;
}

nav a.active {
    color: #005b99;
    font-size: 20px;
    font-weight: bold;
}

.contact {
    color: #005b99;
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero {
    position: relative;
    min-height: 60vh;
    background: url("./img/instalator chiuveta_Nero_AI_Image_Upscaler_Photo_Face.jpeg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-box {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
    padding: 20px;
    background: rgba(0, 0, 0, .4);
    letter-spacing: 4px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}

.yellow {
    background: #005b99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
}

.yellow h2 {
    font-size: 22px;
}

.yellow h2 span {
    text-decoration: underline;
}

.yellow p {
    margin-top: 10px;
    font-size: 14px;
}

.yellow button {
    background: #333;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
}

.cards-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 50px 60px;
}

.card {
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 30px;
    text-align: center;
    white-space: nowrap;
}

.divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
}

.services {
    background: #2b2b2b;
    padding: 60px 40px;
    color: #ddd;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.ani {
    font-weight: bold;
    font-size: 16px;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    color: #f4c300;
    font-size: 16px;
    margin: 15px 0 10px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
}

.serivces-list {
    display: flex;
    justify-content: center;
}

.service-list ul {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 15px;
    margin-left: 30px;
    font-size: 20px;
    position: relative;
    padding-left: 28px;
}

.service-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #f4c300;
    font-weight: bold;
    font-size: 15px;
    transform: scale(1.5);
}

.contact-nonstop {
    background-color: #005b99;
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

.contact-nonstop h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-nonstop h2 span {
    font-weight: 800;
}

.contact-nonstop p {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-nonstop .phone {
    display: inline-block;
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.contact-nonstop .phone:hover {
    text-decoration: underline;
}

.footer-box {
    background: linear-gradient(180deg, #0a2239, #081b2f);
    color: #ffffff;
    padding: 60px 0 40px;
}

.footer-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.logo small {
    font-size: 12px;
    letter-spacing: 2px;
    margin-left: 30px
}

.footer-col p {
    margin: 20px 0;

}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul a:hover {
    color: #f4c300;
}

.green {
    color: #f4c300;
    margin-top: 15px;
}

.phone {
    font-size: 20px;
    font-weight: bold;
    margin: 8px 0 10px;
}

.border_link {
    color: #f4c300;
}

.menu-toggle {
    display: none;
}
@media (max-width: 1053px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10001;
    }

    .menu-toggle .bar {
        height: 3px;
        width: 25px;
        background-color: #005b99;
        border-radius: 2px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 70px 0 20px;
        gap: 10px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 10000;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        font-size: 18px;
        color: #005b99;
        text-decoration: none;
        padding: 10px 0;
        border-top: 1px solid #ddd;
    }

    .nav-links a:first-child {
        border-top: none;
    }

    .nav-links.active {
        transform: translateY(0);
    }
}
@media (max-width: 977px) {

    .cards-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 15px;
    }

    .card {
        width: 100%;
        max-width: 350px;
        text-align: center;
        white-space: normal;
        font-size: 16px;
    }

    .services-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .service-card {
        width: 80%;
        max-width: 300px;
    }

    .service-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .service-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .service-list li {
        position: relative;
        padding-left: 0;
        margin-bottom: 15px;
        font-size: 18px;
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .service-list li::before {
        position: static;
        transform: scale(1.2);
    }

    .divider {
        display: none;
    }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-col-number {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 20px;
    }
}
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 35px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }

    .cards-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 15px;
    }

    .card {
        width: 100%;
        max-width: 350px;
        text-align: center;
        white-space: normal;
        font-size: 16px;
    }

    .divider {
        display: none;
    }
}
@media (max-width: 480px) {
    .call-button {
        font-size: 16px;
        animation: phone-ring-mobile 2.5s infinite;
    }
}

@media (max-width: 460px) {

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-box {
        max-width: 300px;
    }
}
@media (max-width: 230px) {

    body {
        overflow-x: hidden;
    }

    header {
        padding: 8px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .logo {
        font-size: 12px;
    }

    .sapte,
    .sapte_footer {
        font-size: 20px;
    }

    .urgent-text {
        font-size: 9px;
    }

    .menu-toggle {
        top: 6px;
        right: 6px;
        transform: scale(0.7);
    }

    .nav-links a {
        font-size: 11px;
        padding: 6px 0;
    }

    .hero {
        min-height: 200px;
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 13px;
    }

    .hero-box {
        font-size: 9px;
        padding: 6px;
        letter-spacing: 1px;
    }

    .cards-section {
        padding: 15px 8px;
        gap: 10px;
    }

    .card {
        font-size: 11px;
        padding: 8px;
        white-space: normal;
    }

    .services {
        padding: 20px 8px;
    }

    .services-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .service-card {
        width: 100%;
    }

    .service-list li {
        font-size: 11px;
        margin-left: 10px;
    }

    .contact-nonstop h2 {
        font-size: 16px;
    }

    .contact-nonstop p {
        font-size: 11px;
    }

    .contact-nonstop .phone {
        font-size: 18px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 8px;
        text-align: center;
    }

    .footer-col h3 {
        font-size: 11px;
    }

    .footer-col p,
    .footer-col a {
        font-size: 9px;
    }

    .call-button {
        font-size: 9px;
        padding: 6px 8px;
        right: 5px;
        bottom: 5px;
        top: auto;
        transform: none;
    }
}



