/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo-img {
    height: 40px;
}

.logo-hero {
    height: 80px;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #343A40;
    background-color: #FFFFFF;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0A2B4C;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0A2B4C;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0A2B4C;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #359997;
    color: #FFFFFF;
    border-color: #359997;
}

.btn-primary:hover {
    background-color: #2a7b7b;
    border-color: #2a7b7b;
    transform: scale(1.03);
}

.btn-secondary {
    background-color: white;
    color: #359997;
    border-color: #359997;
}

.btn-secondary:hover {
    background-color: #359997;
    color: #FFFFFF;
}

.partner-logo-img {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #DEE2E6;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0A2B4C;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #343A40;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #359997;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #0A2B4C;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 90vh;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: #0A2B4C;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2e8382;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6C757D;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    /* 2x2 grid */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding-right: 3rem;
    padding-left: 3rem;
    padding-bottom: 1.4rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(10, 43, 76, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card-sel {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(10, 43, 76, 0.1);
    text-align: center;
    min-width: calc(50% - .5rem) !important;
    max-width: calc(50% - .5rem) !important;
    transition: .5s;
}

.container-text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 6rem;
}

.textblock {
    h1, h2, h3, h4, h5 {
        margin-bottom: .5rem;
        margin-top: 2rem;
    }
}

input[type=checkbox]:checked + label.service-card-sel {
    background-color: #359997;
    font-style: normal;
    box-shadow: 0 4px 12px rgba(10, 43, 76, 0.3);
    

    svg {
        stroke: white !important;
    }

    svg.fill-svg {
        fill: white !important;
    }

    h3 {
        color: white !important;
    }
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 43, 76, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-title {
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2E8B57;
    font-weight: bold;
}

/* Partners Section */
.partners {
    padding: 96px 0;
    background-color: #F8F9FA;
    h2, h4 {
        margin-top: 1rem;
    }
}

.partners ul {
    li {
        margin: 0 1rem;
    }
}

.partners.vodafone {
    background-color: #f73632;
    color: #F8F9FA;
    h2 {
        color: #F8F9FA;
    }
}

.partners.otelo {
    background-color: #fc9421;
    color: #F8F9FA;
    h2 {
        color: #F8F9FA;
    }
}

.partners.eon, .partners.highmobile {
    background-color: #F8F9FA;
}

.partners.greenmnky {
    background-color: #37ac6b;
    color: #F8F9FA;
    h2 {
        color: #F8F9FA;
    }
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;

    a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.partner-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(10, 43, 76, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(10, 43, 76, 0.12);
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0A2B4C;
    padding: 1rem 0;
}

/* Testimonials Section */
.stars-count {
    font-size: 2rem;
    font-weight: bold;
}

.reviews-link {
    font-size: .9rem;
    color: #359997;
    text-decoration: none !important;
    margin-bottom: 2rem;
    display: block;
}

.testimonials {
    padding: 96px 0;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(10, 43, 76, 0.1);
    text-align: center;
}

.testimonial-image {
    max-width: 350px;
    max-height: 350px;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: .6rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #6C757D;
}

.testimonial-author {
    font-weight: 600;
    color: #0A2B4C;
}

.testimonials-cta {
    text-align: center;
}

/* Expert Section */
.expert {
    padding: 96px 0;
    background-color: #F8F9FA;
}

.expert-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.expert-image {
    flex-shrink: 0;
}

.expert-avatar {
    width: 150px;
    height: 150px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(10, 43, 76, 0.1);
}

.expert-name {
    color: #359997;
    margin-bottom: 1rem;
}

.expert-description {
    color: #6C757D;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 96px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0A2B4C;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #359997;
    border-width: 2px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6C757D;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #0A2B4C;
    color: #FFFFFF;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #359997;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #6C757D;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-hero {
        margin-top: 6rem;
        width: 80vw;
        height: auto;
    }

    .container {
        padding: 0 16px;
        overflow-y: hidden;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(10, 43, 76, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .services,
    .partners,
    .testimonials,
    .expert,
    .contact {
        padding: 60px 0;
    }

    .service-card-sel {
        padding: 2rem 1rem;
    }

    .service-card-sel > .service-title {
        font-size: .9rem !important;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-avatar {
        width: 100px;
        height: 100px;
    }
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 8s forwards;
}

.alert.alert-success {
    background-color: #28a745;
}

.alert.alert-danger {
    background-color: #dc3545;
}

@keyframes slideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    10% {
        transform: translateX(0);
        opacity: 1;
    }
    90% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.location-image {
    min-width: 250px;
    max-width: 500px;
    width: 50%;
    border-radius: 1em;
    box-shadow: 0 4px 12px rgba(10, 43, 76, 0.25);
    display: block;
}

.location-image.img-2 {
    margin-top: -20px;
    margin-left: 100px;
    z-index: 2;
}
.location-image.img-3 {
    margin-top: -20px;
    z-index: 1;
}

.gap-2 {
    gap: 2rem;
}

.gap-1 {
    gap: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.hours-day {
    font-weight: bold;
    margin-right: 1.5em;
}

.fw-bold {
    font-weight: bold;
}

.text-muted {
    color: #919191 !important;
}

.text-center {
    text-align: center !important;
}

#home {
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, .2) 40%,
        rgba(255, 255, 255, 1) 100%
    ), url('/HandymeileBanner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin-top: -80px;
}

.partner-button {
    transition: .3s ease;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.partner-button:hover {
    transform: scale(1.05);
}

.special {
    color: #2d363f;   
}

.btn-text {
    color: #2d363f;
    text-decoration: underline !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;

    img {
        width: 36px;
        height: 36px;
    }
}

.mb-2 {
    margin-bottom: 1.5rem;
}