/* ==========================================================================
    VÁLTOZÓK ÉS ALAPBEÁLLÍTÁSOK
   ========================================================================== */

    html {
        box-sizing: border-box;
        scroll-behavior: smooth;
        font-size: 16px;
    }

    *, *::before, *::after {
        box-sizing: inherit;
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
    }
    body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            margin: 0;
            padding: 0;
            color: #2c3e50;
            font-size: 1rem;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
             background-color: #e9ecef;
        }
   
/* ==========================================================================
    TIPOGRÁFIA ÉS ÖSSZEVONT STÍLUSOK (DRY)
   ========================================================================== */
    .text-success {
        color: #006400 !important;
        font-size: clamp(1rem, 2.5vw, 1.1rem); 
        font-weight: 600;
    }
    .text-warning {
        color:darkslateblue !important;
        font-size: clamp(1rem, 2.5vw, 1.1rem); 
        font-weight: 600;
    }
    .text-danger { 
        color: #8b0000 !important;
        font-size: clamp(1rem, 2.5vw, 1.1rem); 
        font-weight: 600;
    }
    #datum-nevnap-kontener{
        font-size: clamp(1rem, 2.5vw, 1.1rem); 
        font-weight:600;
    }
@media(min-width: 768px){
    .text-success {
        font-weight: 500;
    }
    .text-warning {
        font-weight: 500;
    }
    .text-danger {
        font-weight: 500;
    }
    #datum-nevnap-kontener{
        font-weight: 500;
    }
}
    h1, h2, h3, h4, p, p.lead {
        transition: font-size 0.3s ease-in-out; 
    }
    h1 {
        font-size: clamp(1.8rem, 5vw, 2.3rem); 
    }
    h2 {
        font-size: clamp(1.8rem, 4vw, 2rem); 
        letter-spacing: clamp(-0.03em, -0.01vw, -0.01em);
        line-height: 1.2;
    }
    h3 {
        font-size: clamp(1.6rem, 3vw, 1.7rem); 
        letter-spacing: clamp(0em, 0.005vw, 0.01em);
        line-height: 1.27;
    }
    h4 {
        font-size: clamp(1.4rem, 3vw, 1.5rem); 
        letter-spacing: clamp(0.01em, 0.01vw, 0.02em);
        line-height: 1.35;
    }
    p.lead {
        font-size: clamp(1.15rem, 2.5vw, 1.2rem); 
        letter-spacing: 0.01em;
        line-height: 1.45;
    }
    p {
        font-size: clamp(1.15rem, 2.5vw, 1.2rem); 
        line-height: 1.58;
    }

/* ==========================================================================
    KISEGÍTŐ LEHETŐSÉGEK (ACCESSIBILITY)
   ========================================================================== */
    .loading {
        opacity: 0.7;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .skip-link {
        position: absolute;
        top: -40px;
        left: 6px;
        background: #000;
        color: white;;
        padding: 8px 12px;
        text-decoration: none;
        z-index: 9999;
        border-radius: 4px;
        font-weight: 500;
        transition: top 0.3s ease;
    }
    .skip-link:focus {
        top: 6px;
        outline: 2px solid white;;
        outline-offset: 2px;
    }
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        background-color: #e9ecef;
    } 

 /* ==========================================================================
   COMMUNITY CALLOUT 
   ========================================================================== */
    hr {
        border: none;
        height: 3px;
        background: #545555;
        margin: clamp(1rem, 2vw, 1.5rem) 0;
    }
/* ==========================================================================
    TOP-BAR 
   ========================================================================== */
@media(min-width: 768px){
    #top-bar {
        height: auto;
        letter-spacing: clamp(0.04em, 0.05vw, 0.05em);
        text-align: center;
    }
    #top-bar .container {
        max-width: 62rem;
        margin: 0 auto;
        border-bottom:3px solid white; 
    }
    #top-bar .contact-info a, #top-bar .contact-info .email  {
        margin-right: 1rem;
        color:#2c3e50;
        position: relative;
        transition: color 0.3s ease;
        text-decoration: none;
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);  
        font-weight: 500; 
        padding: 0.5rem 0;
    }
    #top-bar .contact-info a::after {
        content: "";
        position: absolute;
        bottom: 0.2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: slategray;
        transition: width 0.3s ease-in-out;
    }
    #top-bar .contact-info a:is(:hover, :focus, .active)::after {
        border-radius: 2px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
    }
}
@media(min-width: 1400px){
    #top-bar .container-fluid {
        max-width: 75rem;
    }
    #top-bar .contact-info a {
        margin-right: 3rem;
    }
}
   
/* ==========================================================================
   NAVIGATION (Navbar & Offcanvas)
   ========================================================================== */
    #navbar {
        background: #5F7285;
        min-height: clamp(3.5rem, 8vw, 3.75rem);
        position: sticky;
        top: 0;
        z-index: 1000;
    } 
    #navbar .container-fluid {
        max-width: 80rem;
        margin: 0 auto;
    }
    #navbar .ms-auto {
        min-height: 40px;
    }
    .navbar-brand {
        display: flex;
        align-items: center;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: clamp(1.5rem, 2.5vw, 1.65rem);
        font-weight: 600;
        letter-spacing:	clamp(-0.04em, -0.02vw, -0.01em);
        padding-left: 0.5rem;
    }
    .navbar-brand:is(:hover, :focus) {
        color: #f0f0f0;
    }
    .navbar .nav-link {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        font-weight: 400;
        color: white;
        padding: 0.5rem 1rem;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
        letter-spacing:	0.02em;
        min-width: 70px; 
        text-align: center;
    }
    .navbar .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0.2rem;
        left: 50%;
        width: 0;
        transform: translateX(-50%);
        height: 2px;
        background-color: white;
        transition: width 0.3s ease-in-out;
    }
    .navbar .nav-link:is(:hover, :focus, .active)::after {
        border-radius: 2px;
        bottom: 0;
        content: "";
        height: 2px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 50%;
    }
    .navbar-toggler {
        padding: clamp(0.15rem, 1vw, 0.25rem) clamp(0.15rem, 2vw, 0.75rem);
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        line-height: 1;
        background-color: transparent;
        border: 2px solid white;
        border-radius: 0.25rem;
        height: auto;
        cursor: pointer;
        transition: border-color 0.3s ease;
        margin-right: 1rem;
    }
    .navbar-toggler:is(:hover, :focus) {
        border-color: rgba(255, 255, 255, 0.6);
        outline: 2px solid white;
        outline-offset: 2px;
    }
    .navbar-toggler-icon {
        display: inline-block;
        width: 1em;
        height: 1.875rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .offcanvas {
        background:#5F7285;
        color: white;
        letter-spacing: 0.1em;
    }
    .offcanvas .offcanvas-header {
        min-height: clamp(3rem, 10vw, 5rem);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 1.5rem;
    }
    .offcanvas .offcanvas-title {
        font-size: clamp(1.4rem, 2.5vw, 1.2em);
        font-weight: bold;
        color: white; 
        letter-spacing:	0.02em;
    }
    .offcanvas .btn-close {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
        opacity: 0.8;
    }
    .offcanvas .btn-close:is(:hover, :focus) {
        opacity: 1;
        outline: 2px solid white;
        outline-offset: 2px;
    }
    .offcanvas .nav-link {
        color: white;
        padding: 0.8rem 1rem;
        font-weight: 600;
        font-size: clamp(1.1rem, 2.5vw, 1.2rem);
        transition: background-color 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-decoration: none;
    }
    .offcanvas .nav-link:is(:hover, :focus, .active) {
        background-color: rgba(255, 255, 255, 0.1);
        text-decoration: none;
        color: white !important;
        outline: 1px solid white;
        outline-offset: -2px;

    }
/* ==========================================================================
   MAIN CONTENT & LAYOUT
   ========================================================================== */
    #main-content {
        min-height: 100vh;
    }
/* ==========================================================================
   DATUM - NYITVATARTAS
   ========================================================================== */
    #info-bar-section{
        min-height: 7.5rem;
    }
@media(min-width: 576px){
    #info-bar-section{
        min-height: 5rem;
    }
}
@media(min-width: 1200px){
    #info-bar-section{
        min-height: 3rem;
    }
}
    #info-bar-section .container-fluid{
        max-width: 80rem; 
    }
    .top-datum{
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
 /* ==========================================================================
    HERO SECTION - ALAPSTÍLUSOK
    ========================================================================== */
    #welcome-message-first-visit, 
    #welcome-message-return-visit {
        animation: fadeIn 0.5s ease-in;
    }
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
    #hero-section {
        height: auto;
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start; 
        text-align: left; 
        overflow: hidden; 
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 0;
    }
    #hero-section .container {
        height: auto; 
        min-width: 100vw;
        background: rgba(42, 123, 155, 0.05);
        border-bottom: 5px solid rgba(42, 123, 155);
        overflow: visible;
        position: relative;   
        padding: clamp(2rem, 1vw, 2.1rem) clamp(1.1rem, 1vw, 1.2rem);
        margin: 0; 
        z-index: 1;
    }
    #hero-section.hero-szallitas .container{
          background:rgb(3, 173, 46, 0.05);
        border-bottom: 5px solid rgb(3, 173, 46);
    }
    #hero-section .main-title { 
        font-size: clamp(1.9rem, 5vw, 2.4rem);
        min-height: 5rem;
        font-weight: 700;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
        line-height: 1.1;
        letter-spacing: clamp(-0.04em, -0.02vw, -0.015em);
    }
    #hero-section p.lead {
        font-weight: 600;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
    } 
    #hero-section p.lead:last-child { 
        padding: 0 ;
    } 
    #hero-section a {
        font-style: italic;
        color: #2c3e50;
        transition: all 0.3s ease; 
        text-decoration: none;
    }

    #hero-section a:is(:hover, :focus) {
        text-decoration: underline;
        text-underline-offset: 5px;
        color:rgba(42, 123, 155);   
    }
    #hero-section.hero-szallitas a:is(:hover, :focus) {
        color:rgb(3, 173, 46);  
    }

@media(min-width: 576px){
    #hero-section .container {
        margin-left: 0rem;
        margin-right: auto;
    }
    #hero-section .main-title {  
        width: 90%;  
        margin-left: 1rem;
        margin-right: auto;
    }
    #hero-section p.lead {
        width: 90%;
        margin-left: 1rem;
        margin-right: auto;  
    } 
    #hero-section p.lead:last-child { 
        padding: 0;
    } 
}
@media (min-width: 768px) {
    #hero-section p.lead {
        font-weight: 500; 
    } 
}
 @media(min-width: 992px){
    #hero-section.hero-szallitas .container{
        background:  rgba(255, 255, 255, 0.8);
    }
}
@media(min-width: 1200px){
    #hero-section {
        align-items: center;
        justify-content: center; 
        text-align: left; 
    }
    #hero-section .container {
        max-width: 75rem ;
        min-width: unset ;
        margin-left: auto;
        margin-right: auto;
    }
    #hero-section .main-title {   
        margin-left: auto;
        margin-right: auto;
    }
    #hero-section p.lead {
        margin-left: auto;
        margin-right: auto;
    } 
}
/* ==========================================================================
   ABOUT-US SECTION - ALAPSTÍLUSOK
   ========================================================================== */
    #about-us {
        height: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center; 
        text-align: center;
        overflow: hidden;
        background-repeat: no-repeat;
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 0;
    }
    #about-us .container {
        height: auto; 
        min-width: 100vw;
        position: relative; 
        background: rgba(42, 123, 155, 0.05);
        display: flex;  
        padding: clamp(2rem, 1vw, 2.1rem) clamp(1.1rem, 1vw, 1.2rem);
        margin: 0; 
        z-index: 1; 
        overflow: hidden;
        flex-direction: column;
    }
    
    @supports (-webkit-touch-callout: none) {
        #about-us {
            background-attachment: scroll;
        }
    }
    #about-us .section-image-wrapper img{
        max-width: 800px;
        width: 90%;
        height: auto;
        display: block;
        margin: 1rem auto;
        border-radius: 0.75rem;
    }
    #about-us h2, #about-us h3, #about-us h4 {
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
        margin: auto;
        font-weight: 700;
    }
    #about-us h3, #about-us h4{
        font-weight: 600;
        }
    #about-us p.lead {
        font-weight: 600;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
    }
    #about-us p.lead:last-child {
        padding-bottom: 0;
    }
    #about-us p.lead a {
        color:#2c3e50;
        transition: color 0.3s ease;
        text-decoration: none;
    }
    #about-us p.lead a:is(:hover, :focus) {
        text-decoration: underline;
        text-underline-offset: 3px;
        color:rgba(42, 123, 155);
    }   
    #about-us .szonyegtisztitas-details {
        margin:0 auto;
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
        cursor: pointer;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 0.5rem;
        padding: clamp(0.8rem, 1.5vw, 1rem);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }
    #about-us .szonyegtisztitas-details:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-1px);
    }
    #about-us .szonyegtisztitas-details summary {
        font-size: clamp(1.15rem, 2.5vw, 1.2rem); 
        list-style: none;
        transition: color 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:center;
        font-weight: 700;
    }
    #about-us .szonyegtisztitas-details summary::-webkit-details-marker {
        display: none; 
    }
    #about-us .szonyegtisztitas-details summary::marker {
        display: none; 
    }
    #about-us .szonyegtisztitas-details summary::after {
        font-family: 'Font Awesome 6 Free'; 
        font-weight: 900; 
        content: "\f078"; 
        margin-left: 10px;
        transition: transform 0.3s ease-in-out; 
        display: inline-block; 
    }
    #about-us .szonyegtisztitas-details[open] summary::after {
        transform: rotate(180deg);
        color: #8b0000;
    }
    #about-us .szonyegtisztitas-details[open] .szonyegtisztitas-list {
        animation: fadeIn 0.5s ease-in-out;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    #about-us .szonyegtisztitas-list {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        width: 90%;
        text-align: left;
    }
    #about-us .szonyegtisztitas-list h4 {
        font-weight: 600;
         position: relative;
        padding-left: 2rem;
    }
    #about-us .szonyegtisztitas-list p {
        position: relative;
        padding-left: 2rem;
        font-weight: 600;
    }
    #about-us .szonyegtisztitas-list h4::before  {
        content: "\2713";
        position: absolute;
        left: 0;
        top: 0;
        color: #28a745;
        font-size: 1.3rem;
        font-weight: 900;
        transition: transform 0.3s ease;
    }
    #about-us .szonyegtisztitas-list li:hover::before {
        transform: scale(1.2);
    }
@media(min-width: 576px){
    #about-us {
        align-items: flex-start;
        justify-content: flex-start; 
        text-align: left; 
    }
    #about-us .container {
        margin-left: 0rem;
        margin-right: auto;
    }
    #about-us h2  {
        width: 90%;
        margin-left: 1rem;
        margin-right: auto;
    }
    #about-us h3, #about-us h4, #about-us p.lead {
        width: 90%;
        margin-left: 1rem;
        margin-right: auto;
    } 
    #about-us .szonyegtisztitas-details {
       width: 90%;
       margin-left: 1rem;
       margin-right: auto;
    }  
}
@media(min-width: 768px){
    #about-us h3, #about-us h4, #about-us p.lead {
        font-weight: 500;
    } 
    #about-us .szonyegtisztitas-details summary {
        font-weight: 600;
    }
    #about-us .szonyegtisztitas-list h4 {
        font-weight: 500;
    }
    #about-us .szonyegtisztitas-list p {
        font-weight: 500;
    }
}
@media(min-width: 1200px){
    #about-us .container {
        max-width: 75rem ;
        min-width: unset ;
        margin-left: auto;
        margin-right: auto;
    }
    #about-us.about-us-elsokerulet .container,
    #about-us.about-us-masodik-kerulet .container  {
        border: 4px solid rgba(42, 123, 155);
        margin: 2rem auto;
        background: #FBF8F9;
        border-radius: 0.75rem
    }
    #about-us h2, #about-us h3, #about-us h4 {
        margin-left: auto;
        margin-right: auto;
    }  
    #about-us p.lead {
        margin-left: auto;
        margin-right: auto;
    }
    #about-us .szonyegtisztitas-details {
        margin-left: auto;
        margin-right: auto;
    }
}
/* ==========================================================================
   SERVICES SECTION - ALAPSTÍLUSOK
   ========================================================================== */
    #services {
        height: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        overflow: hidden;
        padding: 0;
        margin: 0;
        z-index: 0;
    }
    #services .container {
        height: auto;
        min-width: 100vw;
        background: rgba(42, 123, 155, 0.05);
        position: relative;
        overflow: hidden;
        padding: clamp(2rem, 1vw, 2.2rem) clamp(1.1rem, 1vw, 1.2rem);
        margin: 0;
        z-index: 1;
        -webkit-overflow-scrolling: touch;
        -webkit-tap-highlight-color: transparent;
    }
    #services.services-szallitas .container{
        background:rgb(3, 173, 46, 0.05);
    }
    #services h2, #services h3 {
        font-weight: 700;
        margin: auto;
        padding: clamp(2rem, 1vw, 2.2rem) 0;
    }
    #services.services-szallitas h2 {
        color: white;;
        text-shadow: 2px 2px 3px rgb(0, 0, 0);
    } 
    #services h3 {
        font-weight: 600;
    }
    #services p.lead {
        font-weight: 600;
        margin: auto;
        padding: 0;
    } 
    #services .community-callout {
        background-color: #5F7285;
        color: #FBF8F9;
        padding: clamp(1rem, 1vw, 1.5rem);
        border-radius: 0.75rem; 
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: center;
        gap: 10px; 
        max-width: 800px; 
        margin: 1rem auto 3rem auto;
        border-bottom: 2px solid rgba(251, 248, 249, 0.1);
        text-align: center;
    }

    #services .callout-icon {
        font-size: clamp(2rem, 5vw, 2.8rem);
        margin-bottom: 0;
        animation: pulse 2s infinite;
    }

    #services .community-callout p {
        font-size: clamp(1rem, 2.5vw, 1.1rem); 
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 1.5;
        margin: 0;
    }

    #services .callout-button {
        display: inline-block;
        margin-top: 10px;
        padding: 8px 15px;
        background-color: #FBF8F9;
        color: #5F7285;
        text-decoration: none;
        font-size: 1rem;
        font-weight: bold;
        border-radius: 30px;
        transition: all 0.3s ease;
        border: 2px solid #FBF8F9;
        white-space: nowrap; 
    }
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
    }
    #services .section-image-wrapper img{
       max-width: 800px;
       width: 90%;
       height: auto;
       display: block;
       margin: 1rem auto;
       border-radius: 0.75rem;
    }
    #services .service-item {
        background: rgba(255, 255, 255);
        border-top: 4px solid  rgba(42, 123, 155);
        border-bottom: 2px solid  rgba(42, 123, 155);
        border-radius: 0.75rem;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        margin: 0 auto;
        padding:  clamp(1.1rem, 1vw, 1.2rem);
        padding-top: clamp(1.5rem, 4vw, 2rem);
        transition: all 0.3s ease;
    }
    #services .service-category [class*="col-"] {
        margin: 1rem 0;
    }
    #services .service-item-title {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        color: rgba(42, 123, 155);
        margin-bottom: clamp(0.8rem, 2vw, 1rem);
        padding-bottom: 10px;
        position: relative;
        text-align: center;
        letter-spacing: clamp(-0.03em, -0.01vw, -0.01em);
        line-height: 1.2;
        font-weight: 700;
    }
    #services .service-item-title::after {
        background-color: rgba(42, 123, 155);
        font-weight: 600;
        border-radius: 2px;
        bottom: 0;
        content: "";
        height: 3px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 50px;
    }
    #services .service-description {
        font-style: italic;
        margin-bottom: clamp(1rem, 2.5vw, 1.2rem);
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        letter-spacing: 0.01em;
        line-height: clamp(1.4, 2vw, 1.55);
        font-weight: 600;
    }
    #services .service-features {
        flex-grow: 1;
        list-style: none;
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
        padding-left: 0;
    }
    #services .service-features li {
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
        padding: clamp(0.25rem, 1.5vw, 0.5rem);
        line-height: 1.4;
        font-weight: 600;
    }
    #services .service-features .icon-check {
        color: rgba(42, 123, 155);
        min-width: clamp(1.2rem, 3vw, 1.5rem);
        font-weight: 600;
    }
    #services .service-detail {
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        margin-top: clamp(1rem, 3vw, 1.5rem);
        text-align: center;
        letter-spacing: 0.01em;
        line-height: 1.5;
        font-weight: 600;
    }
    #services .highlight-red {
        color: #8b0000;
    }
    #services .alert {
        background: rgba(255, 255, 255);
        border-top: 4px solid   rgba(42, 123, 155);
        border-bottom: 2px solid   rgba(42, 123, 155);
        border-radius: 0.75rem;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
        transition: box-shadow 0.3s ease, transform 0.2s ease; 
    }
    #services .alert h4 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        letter-spacing: clamp(0.01em, 0.01vw, 0.02em);
        line-height: 1.35;
        font-weight: 700;
    }
    #services .alert p {
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        letter-spacing: 0.01em;
        line-height: 1.5;
        color:#2c3e50;
        font-weight: 600;
    }
    #services .price-tag{
        color: #8b0000;
        font-weight: 600;
    }
    #services .alert .price-tag{
        color: #8b0000;
        font-weight: 600;
    }
    #services .alert .alert-link {
        font-style: italic;
        color:#2c3e50;
        transition: all 0.3s ease;
        text-decoration: none;
        font-weight: 600;
    }
     #services .btn-outline {
        display: inline-block;
        margin-top: 10px;
        padding: 8px 15px;
        background-color:rgba(42, 123, 155);
        color:  #FBF8F9;
        text-decoration: none;
        font-size: clamp(0.95rem, 2vw, 1.05rem); 
        font-weight: 600;
        border-radius: 30px;
        transition: all 0.3s ease;
        border: 2px solid #FBF8F9;
        white-space: nowrap; 
    }
    #services .service-card-szallitas {
        margin-bottom: 1.875rem;
        box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
        border-radius: 0.625rem;
        overflow: hidden;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        background:  rgba(255, 255, 255, 0.8);
        border: 3px solid rgb(3, 173, 46);
    }
    #services .service-card-szolgaltatas .card-header  {
        font-weight: 700;
        padding: 0.9375rem 1.25rem;
        flex-direction: column;
    }
    #services .service-card-szolgaltatas .card-body,
    #services .service-card-szallitas .card-body {
        padding: 1.5625rem;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        flex-grow: 1;
        font-weight: 600;
    }
    #services .card-link-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        text-align: center;
        color: #2c3e50;
        text-decoration: none;
        margin: auto;
    }
    #services .service-card-szallitas .card-title {
        width: auto !important;
        margin: 0 auto !important;
    }
   
@media(min-width: 576px){
    #services p.lead {
        width: 90%;
    } 
}
@media(min-width: 768px){
    #services h3 {
        font-weight: 500;
    }
    #services p.lead {
        font-weight: 500;
    } 
    #services .service-description {
        font-weight: 500;
    }
    #services .service-features li {
        font-weight: 500;
    }
    #services .service-detail {
        font-weight: 500;
    }
    #services .alert h4 {
        font-weight: 500;
    }
    #services .alert p {
        font-weight: 500;
    }
    #services .price-tag{
        font-weight: bold;
    }
    #services .alert .price-tag{
        font-weight: bold;
    }
    #services .community-callout p {
        font-weight: 400;
    }
    #services .community-callout {
        flex-direction: column;
        text-align: center;
    }
    #services .btn-outline {
        font-weight: 500;
    }
    #services .callout-button:hover {
        background-color: transparent;
        color: #FBF8F9;
        border-color: #FBF8F9;
        transform: translateY(-2px);
    }
     #services .service-item-title {
        font-weight: 600;
    }
    #services .service-item:hover,
    #services .service-item:focus-within,
    #services .service-card-szallitas:hover,
    #services .service-card-szallitas:focus-within {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
        transform: translateY(-0.35rem);
    }
    #services .alert:hover {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
        transform: translateY(-0.35rem);
    }
    #services .alert .alert-link {
        font-weight: 500;
    }
    #services .alert .alert-link:is(:hover, :focus) {
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    #services .service-item, #services .alert{
        background: rgba(255, 255, 255);
    }
    #services .btn-outline:hover, #services .btn-outline:focus {
        background-color: transparent;
        color:rgba(42, 123, 155);
        border-color:rgba(42, 123, 155);
        transform: translateY(-2px);
    }
    #services .service-card-szolgaltatas .card-body,
    #services .service-card-szallitas .card-body {
        font-weight: 500;
    }
}

@media(min-width: 992px){
    #services .container {
        max-width: 100vw ;
        min-width: unset ;
        margin-left: auto;
        margin-right: auto;
    }
    #services.services-szallitas .section-image-wrapper img{
        display: none;
        }
    #services.services-szallitas .container{
        background:none;
    }
     #services.services-szallitas .container {
        background-image: url('../picture/services/png-szallitas-nagy.png');
        background-position: center;
        background-size: contain;
    }
    @supports (background-image: url("data:image/avif;base64,AAAA")) {
        #services.services-szallitas .container {
            background-image: url('../picture/services/avif-szallitas-nagy.avif');
        }
    }
    @supports (
        (not (background-image: url("data:image/avif;base64,AAAA")))
        and (background-image: url("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="))
    ) {
         #services.services-szallitas .container {
            background-image: url('../picture/services/webp-szallitas-nagy.webp');
        }
    }
}
@media(min-width: 1200px){
    #services .container {
        max-width: 75rem ;
        min-width: unset ;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ==========================================================================
    ARAINK
    ========================================================================== */
    #araink {
        height: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        overflow: hidden; 
        background-repeat: no-repeat;
        padding: 0;
        margin: 0;
        z-index: 0;
    }
    #araink .container {
        height: auto;
        min-width: 100vw;
        background: rgba(42, 123, 155, 0.05);
        position: relative;
        overflow: hidden;
        padding: clamp(2rem, 1vw, 2.1rem)  clamp(1.1rem, 1vw, 1.2rem);
        margin: 0;
        z-index: 1;
    }
    @supports (-webkit-touch-callout: none) {
        #araink {
            background-attachment: scroll;
        }
    }
    #araink h2 {
        font-weight: 700;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
        line-height: 1.1;
    }
    #araink p.lead {
        font-weight: 600;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
    }
  
    #araink .service-card-ar {   
        padding:  clamp(1.1rem, 1vw, 1.2rem);
        border-radius: 0.75rem;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: all 0.3s ease;
        display: flex;
        flex-grow: 1;
        flex-direction: column;
        margin: 0 auto;
    }
    #araink .service-card-ar .card-header {
        background: radial-gradient(circle,rgba(249, 247, 243, 1) 50%, rgba(221, 230, 239, 1) 100%);
        padding: clamp(0.7rem, 2vw, 0.9375rem) clamp(1rem, 3vw, 1.25rem);  
        border-bottom: 1px solid #e0e0e0;
    } 
    #araink .service-card-ar .card-header h3 {
        font-size: clamp(1.2rem, 3vw, 1.35rem);
        margin-bottom: 0;
        letter-spacing: clamp(-0.02em, -0.01vw, 0em); 
        line-height: 1.2;
        font-weight: 600;
    }
    #araink .service-card-ar .card-body {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        background: radial-gradient(circle,rgba(249, 247, 243, 1) 50%, rgba(221, 230, 239, 1) 100%);
    }

    #araink .service-card-ar .card-body ul {
        list-style-type: disc;
        padding: clamp(1rem, 4vw, 1.5625rem);  
        margin-bottom: clamp(0.5rem, 2vw, 0.9375rem);  
        list-style: none; 
    }
    #araink .service-card-ar .card-body ul li {
        margin-bottom: clamp(0.2rem, 1vw, 0.4rem);  
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        line-height: 1.5;
        font-weight: 600;
    }
    #araink .highlight-red {
        color: #8b0000;
        font-weight: 600;
    }
    #araink .arak-lista [class*="col-"] {
        margin: 0.5rem 0;
    }
@media(min-width: 576px){
    #araink p.lead {
        width: 90%; 
    }
     #araink h2 {
        width: 90%; 
    }
}
@media(min-width: 768px){
    #araink p.lead {
        font-weight: 500;
    }
    #araink .service-card-ar .card-header h3 {
        font-weight: 500;
    }
    #araink .service-card-ar .card-body ul li {
        font-weight: 500;
    }
    #araink .highlight-red {
        font-weight: 500;
    }
    #araink .service-card-ar:hover,
    #araink .service-card-ar:focus-within {
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
        transform: translateY(-0.35rem);
    }
}
@media(min-width: 1200px){
    #araink .container {
        max-width: 75rem ;
        min-width: unset ;
    }
}
/* ==========================================================================
    KALKULATOR
    ========================================================================== */
      #ar-kalkulator {
        height: auto; 
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 0;
        padding: 0;
        margin: 0;
    }
    #ar-kalkulator .container {
        height: auto;
        min-width: 100vw;
        background: rgba(42, 123, 155, 0.05);
        position: relative;
        overflow: hidden;
        padding: clamp(1.1rem, 1vw, 1.2rem);
        margin: 0 auto;
        z-index: 1;
    }
    @supports (-webkit-touch-callout: none) {
        #ar-kalkulator {
            background-attachment: scroll;
        }
    }
    #ar-kalkulator .section-image-wrapper img{
        max-width: 800px;
        height: auto;
        display: block;
        margin: 1rem auto;
        border-radius: 0.75rem;
        width: 90%;
    }
    #ar-kalkulator h2 {
        font-weight: 700;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
    }
    #ar-kalkulator h3 {
        font-weight: 600;
        padding-right: 3rem;
        padding-top: 0.5rem;
    }
    #ar-kalkulator p.lead {
        font-weight:600;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
    }
    #ar-kalkulator .szonyegtisztitas-details {
        margin: clamp(1rem, 3vw, 1.5rem);
        cursor: pointer;
        background: rgba(255, 255, 255);
        border-radius: 0.5rem;
        padding: clamp(0.8rem, 1.5vw, 1rem);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
        font-weight: 700;
    }
    #ar-kalkulator .szonyegtisztitas-details:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-1px);
    }
    #ar-kalkulator .szonyegtisztitas-details summary {
        font-size: clamp(1.2rem, 3vw, 1.35rem);
        font-weight: 600;
        color:#2c3e50;
        list-style: none;
        transition: color 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:center;
        font-weight: 600;
    }
    #ar-kalkulator .szonyegtisztitas-details summary::-webkit-details-marker {
        display: none; 
    }
    #ar-kalkulator .szonyegtisztitas-details summary::marker {
        display: none; 
    }
    #ar-kalkulator .szonyegtisztitas-details summary::after {
        font-family: 'Font Awesome 6 Free'; 
        font-weight: 900; 
        content: "\f078"; 
        transition: transform 0.3s ease-in-out; 
        display: block; 
        line-height: 1;
    }
    #ar-kalkulator .szonyegtisztitas-details[open] summary::after {
        transform: rotate(180deg);
        color: #8b0000;
    }
    #ar-kalkulator .szonyegtisztitas-details[open] .szonyegtisztitas-list {
        animation: fadeIn 0.5s ease-in-out;
    }
    #ar-kalkulator .szonyegtisztitas-details ol {
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        margin: clamp(0.8rem, 1.5vw, 1rem) auto 0;
        padding: 0.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: clamp(0.4rem, 0.8vw, 0.6rem);
    }
    #ar-kalkulator .szonyegtisztitas-details ol li {
        font-size: clamp(0.95rem, 2vw, 1.05rem);  
        line-height: 1.5;
        display: flex;
        gap: 0.6rem;
        align-items: flex-start;
    }
    #ar-kalkulator .szonyegtisztitas-details ol li::before {
        content: "\2713";
        color: #28a745;
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.5;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }
    #ar-kalkulator .szonyegtisztitas-details ol li:hover::before {
        transform: scale(1.1);
    }
    #ar-kalkulator .szonyegtisztitas-details[open] .help {
        animation: fadeIn 0.5s ease-in-out;
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
/* ========================================================================== */
/* Clean Card Design - Compact                                                */
/* ========================================================================== */
    #ar-kalkulator .card {
        background: white;
        border-radius: 0.75rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid #e9ecef;
        padding: clamp(1rem, 2vw, 1.5rem);
        transition: all 0.3s ease;
    }
    #ar-kalkulator .card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
    #ar-kalkulator .form-control,
    #ar-kalkulator .form-select {
        border: 1px solid #ced4da;
        background-color: white;
        border-radius: 0.5rem;
        padding: clamp(0.5rem, 1.2vw, 0.65rem) clamp(0.7rem, 1.5vw, 1rem);
        transition: all 0.3s ease;
        color: #333;
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    #ar-kalkulator .form-control:focus,
    #ar-kalkulator .form-select:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
        background-color: white;
    }
    #ar-kalkulator .form-control:hover,
    #ar-kalkulator .form-select:hover {
        border-color: #adb5bd;
    }
    #ar-kalkulator .form-select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239259a3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right clamp(0.7rem, 1.5vw, 1rem) center;
        padding-right: clamp(1.8rem, 3.5vw, 2.2rem);
    }
    #ar-kalkulator .form-label {
        font-weight: 600;
        color: #2c3e50;
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        margin-bottom: 0.4rem;
    }
    #ar-kalkulator .form-check-input {
        width: 1.1rem;
        height: 1.1rem;
        border: 2px solid #ced4da;
        border-radius: 0.25rem;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    #ar-kalkulator .form-check-input:checked {
        background-color: #9259a3;
    }
    #ar-kalkulator .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(146, 89, 163, 0.15);
    }
    #ar-kalkulator .form-check-label {
        font-weight: 500;
        color: #495057;
        cursor: pointer;
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }
    /* ========================================================================== */
/* Clean Button Design - Compact                                              */
/* ========================================================================== */
     #ar-kalkulator .btn-add {
        margin-top: 0.8rem;
        background: #5F7285;
        color: white;
        border: none;
        border-radius: 0.5rem;
        padding: clamp(0.6rem, 1.5vw, 0.8rem) clamp(1rem, 2.5vw, 1.5rem);
        font-weight: 600;
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        cursor: pointer;
    }
    #ar-kalkulator .btn-add:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
    #ar-kalkulator .btn-add:active {
        transform: translateY(0);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }
    #ar-kalkulator .remove-carpet-button {
        background: linear-gradient(135deg, #ee4b8c 0%, rgba(238, 174, 202, 1) 100%);
        color: white;
        border: none;
        border-radius: 0.375rem;
        padding: 0.35rem 0.7rem;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        box-shadow: 0 1px 4px rgba(238, 75, 140, 0.3);
    }
    #ar-kalkulator .remove-carpet-button:hover {
        background: linear-gradient(135deg, rgba(238, 174, 202, 1) 0%, #ee4b8c 100%);
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(238, 75, 140, 0.4);
    }
    /* ========================================================================== */
/* Clean Result Section - Compact                                             */
/* ========================================================================== */
    #ar-kalkulator .eredmeny {
        background: #5F7285!important;
        border-radius: 0.75rem;
        padding: clamp(1rem, 2vw, 1.5rem);
        color: white !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
        border: none;
        animation: slideIn 0.5s ease-out;
    }
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
   #ar-kalkulator .eredmeny h3 {
        color: white !important;
        font-weight: 700;
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        margin-bottom: 0.8rem;
    }
    #ar-kalkulator .eredmeny p {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: clamp(0.85rem, 1.8vw, 1rem);
        font-weight: 500;
    }
    #ar-kalkulator .eredmeny hr {
        border-color: rgba(255, 255, 255, 0.3);
        margin: 0.8rem 0;
    }
    #carpetEntriesContainer { 
        display: flex; 
        grid-template-columns: 1fr;
        flex-wrap: wrap; 
        gap: clamp(0.8rem, 1.5vw, 1.2rem);      
        justify-content: center; 
        margin-bottom: 1.5rem;
    } 
    #ar-kalkulator .carpet-entry {
        background: #f8f9fa !important;
        border-radius: 0.5rem !important;
        padding: clamp(0.8rem, 1.5vw, 1.2rem) !important;
        border: 1px solid #dee2e6 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        transition: all 0.3s ease;
        margin-bottom: 0 !important;
        flex: 1 1 calc(50% - 1.5rem); 
        min-width: 300px; 
        max-width: 100%;
        margin-bottom: 0 !important; 
        align-self: flex-start; 
    }
    #ar-kalkulator .carpet-entry:hover {
        border-color: slategray !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        transform: translateY(-1px);
    }
    #ar-kalkulator .carpet-entry h5 {
        color: #2c3e50;
        font-weight: 700;
        font-size: clamp(1rem, 2vw, 1.15rem);
    }
    #ar-kalkulator .form-text {
        font-size: clamp(0.75rem, 1.6vw, 0.85rem);
        margin-top: 0.3rem;
    }
    #ar-kalkulator hr {
        border: none;
        height: 3px;
        background: #545555;
        margin: clamp(1rem, 2vw, 1.5rem) 0;
    }
    #ar-kalkulator button:focus,
    #ar-kalkulator input:focus,
    #ar-kalkulator select:focus {
        outline: 2px solid slategray;
    }
    #ar-kalkulator * {
        transition-property: background-color, border-color, color, box-shadow, transform;
        transition-duration: 0.3s;
        transition-timing-function: ease;
    }
    /* ========================================================================== */
/* Dinamikus Elrendezés (Egymás mellé helyezés)                               */
/* ========================================================================== */



@media(max-width: 575.98px){
    #ar-kalkulator h3 {
        padding-right: 1rem;
    } 
    #ar-kalkulator .szonyegtisztitas-details {
       width: 95%;
    }
}
@media(min-width: 576px){
    #ar-kalkulator p.lead {
       width: 90%; 
    } 
    #ar-kalkulator .szonyegtisztitas-details {
       width: 80%;
    } 
}
@media (min-width: 768px) {
    #ar-kalkulator p.lead {
       font-weight: 500;
    } 
    #ar-kalkulator h3 {
        font-weight: 500;
    }
    #ar-kalkulator .szonyegtisztitas-details {
        font-weight: 500;
    }
     #ar-kalkulator .szonyegtisztitas-details summary {
        font-weight: 500;
    }
    #carpetEntriesContainer {
        grid-template-columns: repeat(2, 1fr);
    }
    #ar-kalkulator .carpet-entry:only-child {
        grid-column: 1 / -1;
        max-width: 100%;
    } 
}
@media(min-width: 992px){
    #ar-kalkulator .section-image-wrapper{
        display: none;
    }
      
    #ar-kalkulator {
        background-image:url('../picture/kalkulator/png-fooldal-kalkulator.png');
        background-position: center;
        background-size: contain;
    }
    @supports (background-image: url("data:image/avif;base64,AAAA")) {
         #ar-kalkulator {
            background-image: url('../picture/kalkulator/avif-fooldal-kalkulator.avif');
        }
    }
    @supports (
        (not (background-image: url("data:image/avif;base64,AAAA")))
        and (background-image: url("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="))
    ) {
         #ar-kalkulator.kalkulator-elsokerulet,
         #ar-kalkulator.kalkulator-masodik-kerulet{
            background-image: url('../picture/kalkulator/webp-fooldal-kalkulator.webp');
        }
    } 
      #ar-kalkulator.kalkulator-elsokerulet,
         #ar-kalkulator.kalkulator-masodik-kerulet {
        background-image:url('../picture/kalkulator/png-araink-kalkulator.png');
        background-position: top;
        background-size: contain;
    }
    @supports (background-image: url("data:image/avif;base64,AAAA")) {
        #ar-kalkulator.kalkulator-elsokerulet,
         #ar-kalkulator.kalkulator-masodik-kerulet {
            background-image: url('../picture/kalkulator/avif-araink-kalkulator.avif');
        }
    }
    @supports (
        (not (background-image: url("data:image/avif;base64,AAAA")))
        and (background-image: url("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="))
    ) {
        #ar-kalkulator.kalkulator-elsokerulet,
         #ar-kalkulator.kalkulator-masodik-kerulet {
            background-image: url('../picture/kalkulator/webp-araink-kalkulator.webp');
        }
    } 
    #ar-kalkulator .container{
        background: none;
    }
    #ar-kalkulator h2 {
        text-shadow: 2px 2px 2px rgb(255, 255, 255);
    }
    #ar-kalkulator p.lead {
        text-shadow: 1px 1px 2px rgb(255, 255, 255);
    } 
}
@media(min-width: 1200px){
    #ar-kalkulator .container {
        max-width: 75rem ;
        min-width: unset ;
    }
}
/* ========================================================================== 
    ELERHETOSEGEK 
    ========================================================================== */ 
    #elerhetoseg { 
        height: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column; 
        background-repeat: no-repeat;
        overflow: hidden;
        padding: 0;
        margin: 0;
        z-index: 0;
    } 
    #elerhetoseg .container { 
        height: auto;
        min-width: 100vw;
        background: #FBF8F9;
        position: relative;
        overflow: hidden;
        padding: clamp(2rem, 1vw, 2.1rem) clamp(1.1rem, 1vw, 1.2rem);
        margin: 0;
        z-index: 1;
    } 
    @supports (-webkit-touch-callout: none) { 
        #elerhetoseg { 
            background-attachment: scroll; 
        }
    } 
    #elerhetoseg h2 {  
        font-weight: 700;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
        margin: auto;
    }  
    #elerhetoseg h3, #elerhetoseg p.lead { 
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
        margin: auto;
        font-weight: 600;
    } 
    #elerhetoseg p { 
        font-weight: 600;
        margin: auto; 
        line-height: 1.6;
    } 
    #elerhetoseg h4{
        font-weight: 600;
        margin: clamp(1rem, 1.5vw, 1.5rem);  
    }
    #elerhetoseg address { 
        font-weight: 600;
        font-size: clamp(1.15rem, 2.5vw, 1.2rem); 
        line-height: 1.6; 
        margin: auto;
    } 
     #elerhetoseg .elerhetoseg-kontakt-info a{ 
        color:#2c3e50; 
        text-decoration: none; 
        border-bottom: 0.0625rem solid transparent; 
        padding-bottom: 0.1875rem; 
        transition: all 0.3s ease;
        position: relative;
        z-index: 1; 
        font-weight: 600;
    } 
    #elerhetoseg .elerhetoseg-kontakt-info a::after {
        content: "";
        position: absolute;
        bottom: 0.2rem;
        left: 50%;
        width: 0;
        height: 3px;
        background: slategray;
        transform: translateX(-50%);
        transition: width 0.3s ease-in-out;
    }
     #elerhetoseg .elerhetoseg-kontakt-info a:is(:hover, :focus, .active)::after {
        border-radius: 2px;
        bottom: 0;
        content: "";
        height: 3px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 70px;
    }  
    

@media(min-width: 576px){
    #elerhetoseg h2 {  
        width: 90%;
    }  
    #elerhetoseg p.lead { 
       width: 90%;
    } 
}
@media(min-width: 768px){
    #elerhetoseg h3, 
    #elerhetoseg p.lead { 
        font-weight: 500;
    } 
    #elerhetoseg p { 
        font-weight: 500;
    } 
    #elerhetoseg h4{
        font-weight: 500;
    }
    #elerhetoseg address { 
        font-weight: 500;
    } 
     #elerhetoseg .elerhetoseg-kontakt-info a{ 
        font-weight: 500;
    } 
    
}
@media(min-width: 1200px){
    #elerhetoseg .container {
        max-width: 75rem ;
        min-width: unset ;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ========================================================================== 
    UZENETKULDES 
    ========================================================================== */ 
#elerhetoseg-kontakt { 
        position: relative; 
        overflow: hidden; 
        height: auto;
        background-position:center;
        background-size: cover; 
        background-repeat: no-repeat;  
        margin: 0;
        padding: 0;
        z-index: 0; 
    } 
    #elerhetoseg-kontakt .container { 
        padding: clamp(2rem, 1vw, 2.1rem) clamp(1.1rem, 1vw, 1.2rem);
        z-index: 1;
        max-width: 100vw;
        background: #FBF8F9;
    } 

    @supports (-webkit-touch-callout: none) { 
        #elerhetoseg-kontakt { 
            background-attachment: scroll; 
        }
    } 
    #elerhetoseg-kontakt h2 { 
        font-weight: 700;
        margin: auto;
        padding: clamp(1.1rem, 1vw, 1.2rem) 0;
    } 
    #elerhetoseg-kontakt .btn-outline{
        display: inline-block;
        margin-top: 10px;
        padding: 8px 15px;
        background-color: #5F7285;
        color: #FBF8F9;
        text-decoration: none;
        font-size: clamp(0.95rem, 2vw, 1.05rem);
        font-weight: 600;
        border-radius: 30px;
        transition: all 0.3s ease;
        border: 2px solid #FBF8F9;
        white-space: nowrap; 
    }
    #elerhetoseg-kontakt .form-check-label a{
        font-style: italic;
        color: #2c3e50;
        text-decoration: none;
    }
    #contactForm .form-label { 
        font-weight: 600; 
        font-size: clamp(0.9rem, 2vw, 1rem);  
        margin-bottom: clamp(0.3rem, 1vw, 0.5rem); 
    } 
    #contactForm .form-control, 
    #contactForm .form-select, 
    #contactForm textarea { 
        border-radius: clamp(0.3rem, 1vw, 0.5rem);  
        border: 1px solid #ddd; 
        padding: clamp(0.6rem, 2vw, 0.75rem) clamp(0.8rem, 3vw, 1rem);  
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); 
        transition: all 0.3s ease; 
        font-size: clamp(0.95rem, 2vw, 1.05rem);
    } 
    #contactForm .form-control:focus, 
    #contactForm .form-select:focus, 
    #contactForm textarea:focus { 
        border-color: #5F7285;
        box-shadow: 0 0 0 0.25rem rgba(92, 137, 184, 0.25); 
        outline: none; 
    } 
    #contactForm .form-text { 
        font-size: clamp(0.8rem, 2vw, 0.9rem); 
        color:#8b0000; 
        font-weight: 600;
        font-style: italic;
    } 
    #contactForm .invalid-feedback { 
        display: none; 
        width: 100%; 
        margin-top: 0.25rem; 
        font-size: 0.875em; 
        color: #dc3545; 
    } 
    #contactForm .form-control.is-invalid ~ .invalid-feedback, 
    #contactForm .form-select.is-invalid ~ .invalid-feedback, 
    #contactForm textarea.is-invalid ~ .invalid-feedback { 
        display: block; 
    } 
    #contactForm .form-control.is-invalid, 
    #contactForm .form-select.is-invalid, 
    #contactForm textarea.is-invalid { 
        border-color: #dc3545; 
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); 
    } 
    #contactForm .form-control.is-valid, 
    #contactForm .form-select.is-valid, 
    #contactForm textarea.is-valid {  
        border-color: #28a745; 
        box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25); 
    } 
    #elerhetoseg-kontakt .form-check-input {
        width: 1.1rem;
        height: 1.1rem;
        border: 2px solid #ced4da !important;
        border-radius: 0.25rem;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    #elerhetoseg-kontakt .form-check-input:checked {
        background-color: #9259a3;
    }
    #elerhetoseg-kontakt .form-check-input:focus {
        box-shadow: 0 0 0 3px rgba(146, 89, 163, 0.15);
    }
    @media(min-width: 576px){
    #elerhetoseg-kontakt h2 {  
        width: 90%;
    }  
    #elerhetoseg-kontakt p.lead { 
       width: 90%;
    } 
}
@media(min-width: 768px){   
    #contactForm .form-label { 
        font-weight: 500; 
    } 
    #contactForm .form-text { 
        font-weight: 500;
    } 
     #elerhetoseg-kontakt .btn-outline{
        font-weight: 500;
    }
    #elerhetoseg-kontakt .btn-outline:hover,  .btn-outline:focus {
        background-color: transparent;
        color:#5F7285;
        border-color:#5F7285;
        transform: translateY(-2px);
    }
    #elerhetoseg-kontakt .form-check-label  {
        text-decoration: underline;
    }
}
@media(min-width: 1200px){
    #elerhetoseg-kontakt .container {
        max-width: 75rem ;
        min-width: unset ;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ========================================================================== */ 
/* Footer                                                                     */ 
/* ========================================================================== */ 
    #footer { 
        height: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center; 
        text-align: center; 
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 0;
        background: #5F7285;
    } 
    #footer .container{
        height: auto; 
        width: auto;
        overflow: hidden;
        position: relative;   
        padding: clamp(2rem, 1vw, 2.1rem) clamp(0.9rem, 1vw, 1rem);
        margin: 0; 
        z-index: 1;
    }
    #footer p { 
        color: white;
        margin-bottom: clamp(0.3rem, 1vw, 0.5rem); 
    } 
    #footer p strong { 
       color: white;
        font-size: clamp(1.3rem, 5vw, 1.5rem);
        line-height: 1.1;
         letter-spacing:	clamp(-0.04em, -0.02vw, -0.01em);
    } 
    
    #footer a, #footer .email, #footer .footer-nav a{
       color: white;
        margin-right: 1rem;
        text-decoration: none;
        border-bottom: 0.0625rem solid transparent;
        padding-bottom: 0.1875rem;
        position: relative;
        z-index: 1;
        font-size: clamp(0.9rem, 2.5vw, 1.1rem); 
    } 
    #footer .contact-info-footer a::after,  #footer .footer-nav a::after {
        content: "";
        position: absolute;
        bottom: 0.2rem;
        left: 50%;
        width: 0;
        height: 2px;
        transform: translateX(-50%);
        background: white;
        transition: width 0.3s ease-in-out;
    }
    #footer .contact-info-footer a:is(:hover, :focus, .active)::after,  #footer .footer-nav a:is(:hover, :focus, .active)::after {
        border-radius: 2px;
        bottom: 0;
        content: "";
        height: 2px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 50%;
    }
   
    #footer .social-icons-footer a { 
        color:#f0f0f0;
        margin: 0 clamp(0.4rem, 1.5vw, 0.6rem);  
        font-size: clamp(1.2em, 3vw, 1.5em);  
        display: inline-flex; 
        align-items: center; 
        justify-content: center; 
        width: clamp(1.8em, 4vw, 2.4em);  
        height: clamp(1.8em, 4vw, 2.4em);  
        border-radius: 50%; 
        background-color: rgba(255, 255, 255, 0.2); 
        border: 1px solid rgba(255, 255, 255, 0.4); 
        transition: all 0.3s ease; 

    } 
    #footer .social-icons-footer a:hover, 
    #footer .social-icons-footer a:focus { 
        color: white; 
        border:2px solid white;
        transform: translateY(-2px); 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
        text-decoration: none; 
        text-shadow: none;
    } 
    #footer .adat p,
    #footer .adat a {
        color: white;
        font-size: 0.9rem;
    }
  
    #footer .contact-info-footer, #footer .separator{
        color: white;
    }
    #footer .cim{
        color: white;
    }

    .back-to-top {
        position: fixed;
        right: 20px;
        bottom: 20px;
        background: white;
        color: #2c3e50;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        opacity: 0; /* EZ A KULCS: KEZDETBEN LÁTHATATLAN */
        transition: opacity 0.3s, transform 0.3s, bottom 0.3s;
        transform: translateY(100px);
    }

    .back-to-top.visible { /* EZ A MÁSIK KULCS: ITT JELENIK MEG */
        opacity: 1;
        transform: translateY(0);
    }
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }
}

