/* ========== MED WEBSITE - UNIFIED CSS ========== */
/* Color Scheme: #0A1A40 (Dark Blue), #FFFFFF (White), #3BA4FF (Light Blue) */

/* ========== RESET & DEFAULTS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    color: #0A1A40;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 70px; /* For fixed navbar */
}

/* ========== TYPOGRAPHY ========== */
.highlighted-text {
    font-size: 1.5rem;
    font-family: 'Dosis', sans-serif;
    color: #0A1A40;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.heading-text {
    font-size: 2.8rem;
    font-family: 'Roboto', sans-serif;
    color: #0A1A40;
    text-align: center;
    font-weight: 700;
    margin: 1rem 0 1.5rem;
    padding: 0 5%;
}

.big-text {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    color: #0A1A40;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: #333333;
    line-height: 1.6;
}

.card-big-text {
    font-size: 1.8rem;
    font-family: 'Roboto', sans-serif;
    color: #0A1A40;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* ========== BUTTONS ========== */
.primary-btn {
    text-decoration: none;
    font-size: 1.1rem;
    background-color: #3BA4FF;
    border-radius: 50px;
    padding: 0.9rem 1.8rem;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    font-weight: 600;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn:hover {
    background-color: #0A1A40;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 164, 255, 0.3);
}

.primary-btn-extra-padding {
    padding: 0.9rem 2.2rem !important;
}

/* ========== NAVIGATION BAR ========== */
#navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 5%;
    background-color: #0A1A40;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 70px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 0.8rem;
}

#logo img {
    width: 60px;
    height: auto;
    border-radius: 5px;
}

#logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-ul li {
    display: inline-block;
}

.nav-ul a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: #ffffff;
    display: inline-block;
    white-space: nowrap;
    transition: color 0.3s;
    border-radius: 5px;
}

.nav-ul a:hover {
    color: #3BA4FF;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-btn {
    font-size: 1rem;
    font-weight: 600;
    background-color: #3BA4FF;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    color: #ffffff !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-btn:hover {
    background-color: #ffffff;
    color: #0A1A40 !important;
}

#three-lines {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

/* ========== SIDE NAVIGATION (MOBILE) ========== */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    right: 0;
    background-color: #0A1A40;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 70px;
}

.sidenav.active {
    width: 280px;
}

.sidenav ul {
    list-style: none;
    padding: 1rem;
}

.sidenav li {
    margin: 0.5rem 0;
}

.sidenav a {
    padding: 0.8rem 1rem;
    text-decoration: none;
    font-size: 1.1rem;
    color: #ffffff;
    display: block;
    transition: 0.3s;
    border-radius: 5px;
}

.sidenav a:hover {
    color: #3BA4FF;
    background-color: rgba(255, 255, 255, 0.1);
}

.closebtn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
#first-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    gap: 3rem;
    min-height: 500px;
    margin-top: 1rem;
}

.first-text-section {
    width: 50%;
    flex-shrink: 0;
}

.large-Text {
    font-size: 3rem;
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
    margin: 0.5rem 0;
    width: 100%;
    display: block;
    line-height: 1.2;
    color: #0A1A40;
}

#intro-animated-text {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.btn-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.image-section.hero-image {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-section.hero-image img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
}

/* ========== REPAIR SECTIONS - REDUCED SPACING ========== */
#second-section.repair-section-main {
    padding: 0.5rem 5% 1rem;
    max-width: 1200px;
    margin: 0.5rem auto 0;
}

.repair-section.language-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    gap: 3rem;
    padding: 0.5rem;
}

.repair-section.language-block.reverse {
    flex-direction: row-reverse;
}

.repair-image {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.repair-image img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

.repair-text {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.5rem;
}

.list-circle {
    list-style-type: none;
    padding-left: 0;
}

.list-circle li {
    padding-left: 1.5rem;
    position: relative;
    margin: 0.6rem 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.list-circle li:before {
    content: "•";
    color: #3BA4FF;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* NEW PHONE BUTTON SECTION - REDUCED SPACING */
.new-phone-section {
    text-align: center;
    margin: 0.5rem auto 1rem;
    padding: 0.5rem;
}

.new-phone-btn {
    width: 80%;
    max-width: 450px;
    margin: 0 auto;
    padding: 1.1rem 2.3rem;
    font-size: 1.2rem;
    background-color: #0A1A40;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.new-phone-btn:hover {
    background-color: #3BA4FF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 164, 255, 0.3);
}

/* ========== ACCESSORIES SECTION - REDUCED SPACING ========== */
#third-section {
    padding: 0.5rem 5% 1rem;
    max-width: 1400px;
    margin: 0.5rem auto 0;
}

.accessories-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* SINGLE FULL-WIDTH SLIDER */
.accessories-slider-single {
    width: 100%;
    height: 400px;
    margin: 1.5rem auto 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.accessories-slider-single .swiper-wrapper {
    height: 100%;
}

.accessories-slider-single .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.accessories-slider-single .swiper-pagination {
    bottom: 20px;
}

.accessories-slider-single .swiper-button-next,
.accessories-slider-single .swiper-button-prev {
    color: white;
    background-color: rgba(10, 26, 64, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.accessories-slider-single .swiper-button-next:after,
.accessories-slider-single .swiper-button-prev:after {
    font-size: 1.5rem;
}

/* ========== WHY US CARDS - REDUCED SPACING ========== */
.why-us-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.why-us-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    width: 320px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    border: 2px solid #f0f0f0;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(59, 164, 255, 0.15);
    border-color: #3BA4FF;
}

.why-us-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #3BA4FF;
    padding: 5px;
}

.why-us-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.why-us-card ul li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.why-us-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3BA4FF;
    font-weight: bold;
}

/* ========== FOOTER STYLES ========== */
#footer {
    background-color: #0A1A40 !important;
    color: white !important;
    padding: 3rem 5% 2rem !important;
    margin-top: 3rem !important;
    width: 100% !important;
    min-height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
}

.footer-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr 2fr !important;
    gap: 3rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.footer-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.footer-logo-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.logo-section {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.logo-section img {
    width: 80px !important;
    height: auto !important;
}

.logo-text {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.footer-big-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.social-links {
    display: flex !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
}

.social-icon {
    width: 32px !important;
    height: 32px !important;
    fill: #ffffff !important;
    transition: all 0.3s ease !important;
}

.social-icon:hover {
    fill: #3BA4FF !important;
    transform: translateY(-3px) !important;
}

.footer-contact-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.8rem !important;
    margin-top: 1rem !important;
}

.footer-contact-buttons a {
    background-color: #3BA4FF !important;
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-contact-buttons a:hover {
    background-color: #ffffff !important;
    color: #0A1A40 !important;
}

.phone-icon {
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.5-5.2-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.3-1.1-.5-2.3-.5-3.5 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.6-.4-1-1-1zM5 6h1.5c.1 1.2.3 2.4.6 3.5L5.3 11.8c1.1 2.2 2.7 4.2 4.7 5.7l2.2-2.2c1.1.3 2.3.5 3.5.6V19c-6.6 0-12-5.4-12-12z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin-right: 4px !important;
}

.footer-contact-buttons a:hover .phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A1A40'%3E%3Cpath d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.5-5.2-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.3-1.1-.5-2.3-.5-3.5 0-.6-.4-1-1-1H4c-.6 0-1 .4-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.6-.4-1-1-1zM5 6h1.5c.1 1.2.3 2.4.6 3.5L5.3 11.8c1.1 2.2 2.7 4.2 4.7 5.7l2.2-2.2c1.1.3 2.3.5 3.5.6V19c-6.6 0-12-5.4-12-12z'/%3E%3C/svg%3E") !important;
}

.footer-section span.small-text {
    color: #ffffff !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    opacity: 0.9 !important;
    transition: opacity 0.3s ease !important;
}

.footer-section span.small-text:hover {
    opacity: 1 !important;
    color: #3BA4FF !important;
}

.map-container {
    margin-top: 1.5rem !important;
    height: 200px !important;
    background-color: #1a2a5c !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.map-placeholder {
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #1a2a5c 0%, #0A1A40 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
}

#footer hr {
    border: none !important;
    height: 1px !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    margin: 3rem auto !important;
    max-width: 1400px !important;
}

.footer-text-section {
    text-align: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-top: 1rem !important;
}

.footer-text-section p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

.footer-text-section a {
    color: #3BA4FF !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-text-section a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .large-Text {
        font-size: 2.6rem;
    }
    
    .heading-text {
        font-size: 2.4rem;
        margin: 0.8rem 0 1.2rem;
    }
    
    .accessories-slider-single {
        height: 350px;
        margin: 1.2rem auto 1.8rem;
    }
}

@media (max-width: 992px) {
    #first-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 1.5rem 5%;
    }
    
    .first-text-section {
        width: 100%;
    }
    
    .image-section.hero-image {
        width: 80%;
    }
    
    .image-section.hero-image img {
        height: 350px;
    }
    
    .large-Text {
        font-size: 2.4rem;
    }
    
    .heading-text {
        font-size: 2rem;
        margin: 0.6rem 0 1rem;
    }
    
    .repair-section.language-block {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin: 1.2rem 0;
    }
    
    .repair-image,
    .repair-text {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* FIX 1: Tablet - Make same 350px height as hero (was 300px) */
    .repair-image img {
        max-width: 500px;
        height: 350px; /* Changed from 300px to 350px */
        width: 100%;
    }
    
    .accessories-slider-single {
        height: 300px;
        margin: 1rem auto 1.5rem;
    }
    
    .nav-ul {
        display: none;
    }
    
    #three-lines {
        display: block;
    }
    
    .why-us-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin: 1.5rem 0 0.8rem;
    }
    
    .why-us-card {
        width: 90%;
        max-width: 400px;
        padding: 1.2rem;
    }
    
    .new-phone-btn {
        width: 90%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Footer responsive */
    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-section:nth-child(3) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    #navbar {
        height: 60px;
        padding: 0.5rem 3%;
    }
    
    .large-Text {
        font-size: 2rem;
    }
    
    #intro-animated-text {
        min-height: 80px;
    }
    
    .heading-text {
        font-size: 1.8rem;
        margin: 0.5rem 0 0.8rem;
    }
    
    .image-section.hero-image img {
        height: 300px;
    }
    
    /* FIX 2: Mobile - Already same 300px height as hero ✓ */
    .repair-image img {
        height: 300px;
        max-width: 450px;
        width: 100%;
    }
    
    .accessories-slider-single {
        height: 250px;
        margin: 0.8rem auto 1.2rem;
    }
    
    .accessories-slider-single .swiper-button-next,
    .accessories-slider-single .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .new-phone-btn {
        width: 90%;
        padding: 0.9rem 1.8rem;
        font-size: 1.1rem;
    }
    
    /* Footer responsive */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-section:nth-child(3) {
        grid-column: span 1 !important;
    }
    
    .footer-contact-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .map-container {
        height: 180px !important;
    }
    
    #footer {
        padding: 2rem 5% 1.5rem !important;
        margin-top: 2rem !important;
    }
}

@media (max-width: 576px) {
    #first-section {
        padding: 1rem 5%;
    }
    
    .large-Text {
        font-size: 1.8rem;
    }
    
    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .primary-btn {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
    }
    
    .image-section.hero-image {
        width: 100%;
    }
    
    .image-section.hero-image img {
        height: 250px;
    }
    
    .heading-text {
        font-size: 1.6rem;
        margin: 0.4rem 0 0.6rem;
    }
    
    .repair-section.language-block {
        padding: 0;
        margin: 1rem 0;
    }
    
    /* FIX 3: Small mobile - Make same 250px height as hero (was 300px) */
    .repair-image img {
        height: 250px; /* Changed from 300px to 250px */
        max-width: 400px;
        width: 100%;
    }
    
    .accessories-slider-single {
        height: 200px;
        margin: 0.6rem auto 1rem;
    }
    
    .why-us-card {
        width: 100%;
        padding: 1rem;
    }
    
    /* Footer responsive */
    .logo-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
    
    .logo-section img {
        width: 60px !important;
    }
    
    .logo-text {
        font-size: 1.5rem !important;
    }
    
    .map-container {
        height: 150px !important;
    }
    
    .new-phone-section {
        margin: 0.3rem auto 0.8rem;
    }
}

@media (max-width: 400px) {
    .large-Text {
        font-size: 1.6rem;
    }
    
    .image-section.hero-image img {
        height: 200px;
    }
    
    /* FIX 4: Very small mobile - Make same 200px height as hero (was 300px) */
    .repair-image img {
        height: 200px; /* Changed from 300px to 200px */
        max-width: 350px;
        width: 100%;
    }
    
    .accessories-slider-single {
        height: 180px;
    }
    
    .heading-text {
        font-size: 1.4rem;
    }
    
    .why-us-card {
        padding: 0.8rem;
    }
    
    .why-us-card img {
        width: 60px;
        height: 60px;
    }
}