.services-hero {
    width: 100%;
    background-color: #001740; 
    padding-top: 20px; 
    overflow: hidden; 
}

.services-hero-container {
    display: flex;
    justify-content: center; 
    align-items: stretch; 
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px; 
}


.services-hero-left {
    width: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: center; 
    padding-bottom: 70px; 
}

.services-title {
    font-family: 'Candal', sans-serif;
    font-weight: 400; 
    font-size: 70px; 
    color: #f4c400;
    line-height: 0.8;
    letter-spacing: 2px; 
	margin-bottom: 25px;
}


.title-small {
    font-size: 50px; 
}

.services-desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 18px; 
    color: white;
    line-height: 1.6; 
    margin: 0; 
}


.services-hero-right {
    width: 40%;
    display: flex;
    justify-content: flex-start; 
    align-items: flex-end; 
}

.services-hero-right img {
    max-height: 380px; 
    width: auto;
    display: block;
}


.exam-section {
    width: 100%;
    background-color: #ffffff;
    padding: 50px 0; 
}

.exam-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px; 
	text-align: justify;
}


.exam-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.exam-intro-left {
    width: 60%;
}

.exam-heading-wrapper {
    display: flex;
    align-items: center; 
    gap: 20px; 
    margin-bottom: 25px;
}

.exam-title {
    font-family: 'Candal', sans-serif;
    font-size: 48px; 
    color: #001740; 
    margin: 0;
    line-height: 1.1;
}

.exam-icon {
    height: 60px; 
    width: auto;
}

.exam-intro-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #001740;
    line-height: 1.6;
    margin: 0;
}

.exam-intro-right {
    width: 35%;
}

.exam-image {
    width: 100%;
    height: auto;
    display: block;
}


.exam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px; 
    row-gap: 50px; 
}

.grid-title {
    font-family: 'Candal', sans-serif;
    font-size: 28px; 
    color: #001740;
    margin-bottom: 15px;
    margin-top: 0;
}

.grid-desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px; 
    color: #001740;
    line-height: 1.6;
    margin: 0;
	text-align: justify;
}


.frame-section {
    width: 100%;
    background-color: #fffdf0; 
    padding: 50px 0; 
}



.frame-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}



.frame-heading-wrapper {
    display: flex;
    align-items: center; 
    gap: 20px;
    margin: 0; 
}

.frame-title {
    font-family: 'Candal', sans-serif;
    font-size: 48px; 
    color: #001740;
    margin: 0; 
    line-height: 1.1;
    letter-spacing: 1px;
	text-align: right;
}

.frame-desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 18px; 
    color: #001740;
    line-height: 1.6;
    text-align: justify; 
    text-align-last: right; 
    margin-top: 30px; 
    margin-bottom: 0;
}


.frame-left {
    width: 45%;
}

.frame-image {
    width: 100%;
    height: auto;
    display: block;
}


.frame-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}


.frame-icon {
    height: 50px; 
    width: auto;
}


.lens-section {
    width: 100%;
    background-color: #ffffff; 
    padding: 50px 0; 
}

.lens-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}


.lens-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.lens-intro-left {
    width: 60%;
}

.lens-heading-wrapper {
    display: flex;
    align-items: center; 
    gap: 20px; 
    margin-bottom: 25px;
}

.lens-title {
    font-family: 'Candal', sans-serif;
    font-size: 48px; 
    color: #001740;
    margin: 0;
    line-height: 1.1;
}

.lens-icon {
    height: 60px; 
    width: auto;
}

.lens-intro-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #001740;
    line-height: 1.6;
    margin: 0;
    text-align: justify; 
}

.lens-intro-right {
    width: 35%;
}

.lens-image {
    width: 100%;
    height: auto;
    display: block;
}


.lens-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    column-gap: 60px; 
    row-gap: 50px; 
}


.full-width-centered {
    grid-column: 1 / -1; 
    text-align: center; 
}

.full-width-centered .center-text {
    text-align: center; 
    max-width: 850px;
    margin: 0 auto;
}


.contact-lens-section {
    width: 100%;
    background-color: #fffdf0; 
    padding: 50px 0;
}

.contact-lens-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.contact-lens-left {
    width: 45%;
}

.contact-lens-image {
    width: 100%;
    height: auto;
    display: block;
}

.contact-lens-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

.contact-lens-heading-wrapper {
    display: flex;
    align-items: flex-start; 
    gap: 20px;
    margin: 0;
}

.contact-lens-title {
    font-family: 'Candal', sans-serif;
    font-size: 48px; 
    color: #001740;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 1px;
    text-align: right; 
}

.contact-lens-icon {
    height: 60px; 
    width: auto;
    margin-top: -5px; 
}

.contact-lens-desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px; 
    color: #001740;
    line-height: 1.8;
    margin-top: 30px; 
    margin-bottom: 0;
    text-align: justify; 
    text-align-last: right; 
}


.repairs-section {
    width: 100%;
    background-color: #ffffff; 
    padding: 50px 0;
}

.repairs-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.repairs-left {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.repairs-heading-wrapper {
    display: flex;
    align-items: flex-start; 
    gap: 20px;
    margin: 0;
}

.repairs-title {
    font-family: 'Candal', sans-serif;
    font-size: 48px; 
    color: #001740;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 1px;
    text-align: left; 
}

.repairs-icon {
    height: 60px; 
    width: auto;
}

.repairs-desc {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 16px; 
    color: #001740;
    line-height: 1.8;
    margin-top: 30px; 
    margin-bottom: 0;
    text-align: justify; 
}

.repairs-right {
    width: 40%;
}

.repairs-image {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer {
    position: relative; 
}

.scroll-to-top {
    position: absolute;
    bottom: 100%; 
    right: 30px; 
    margin-bottom: 10px; 
    z-index: 9999; 
    width: 60px; 
    height: 60px;
    display: flex; 
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.scroll-to-top img {
    width: 50px; 
    height: auto;
    display: block;
}

.scroll-to-top:hover {
    transform: translateY(-5px); 
}

@media screen and (max-width: 1024px) {
    .exam-container, .frame-container, .lens-container, .contact-lens-container, .repairs-container{
        width: 100% !important;   
        max-width: 100% !important; 
        padding-left: 25px !important;  
        padding-right: 25px !important; 
        box-sizing: border-box;         
    }
	
	.frame-icon {
	margin-left: 110px;
}
	
	.lens-icon {
	margin-right: 120px;
}
}


@media screen and (max-width: 800px) {
	
		.scroll-to-top {
    position: absolute;
    bottom: 100%;
    right: 10px; 
    margin-bottom: 5px;
}
	
	.scroll-to-top img {
    width: 30px;
}
    

    h2, h3, h4,
    .exam-title, .grid-title, .frame-title, 
    .lens-title, .contact-lens-title, .repairs-title, .title-small {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }


    .services-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }


    p, span, .services-desc, .exam-intro-text, .grid-desc, 
    .frame-desc, .lens-intro-text, .contact-lens-desc, .repairs-desc {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }


    .services-hero-container, .exam-container, .frame-container, 
    .lens-container, .contact-lens-container, .repairs-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }


    .exam-section, .frame-section, .lens-section, 
    .contact-lens-section, .repairs-section {
        padding: 30px 0 !important;
    }


    .services-hero-left {
        width: 70% !important;
        padding-bottom: 20px !important;
		margin-left: 20px;
    }
    
    .services-hero-right {
        width: 30% !important;
    }
    
    .services-hero-right img {
        max-height: 250px !important;
    }


    .exam-intro, .frame-container, .lens-intro, 
    .contact-lens-container, .repairs-container {
        gap: 20px !important;
    }


    .exam-intro-left, .frame-right, .lens-intro-left, 
    .contact-lens-right, .repairs-left {
        width: 60% !important;
    }
    

    .exam-intro-right, .frame-left, .lens-intro-right, 
    .contact-lens-left, .repairs-right {
        width: 40% !important;
    }

    .exam-image, .frame-image, .lens-image, 
    .contact-lens-image, .repairs-image {
        max-width: 100% !important;
        height: auto !important;
    }

 
    .exam-heading-wrapper, .frame-heading-wrapper, 
    .lens-heading-wrapper, .contact-lens-heading-wrapper, 
    .repairs-heading-wrapper {
        gap: 10px !important;
        margin-bottom: 15px !important;
    }

    .exam-icon, .frame-icon, .lens-icon, 
    .contact-lens-icon, .repairs-icon {
        height: 35px !important; 
        margin: 0 !important; 
    }

    
    .exam-grid, .lens-grid {
        column-gap: 20px !important;
        row-gap: 25px !important;
    }

    
    .exam-container, .lens-container {
        gap: 30px !important; 
    }
    
    .frame-desc, .contact-lens-desc, .repairs-desc {
        margin-top: 0px !important; 
    }
}


@media screen and (max-width: 600px) {
    
			.scroll-to-top {
    position: absolute;
    bottom: 100%;
    right: 10px; 
    margin-bottom: -5px; 
}
	
	.scroll-to-top img {
    width: 20px;
}
	
   
    h1, h2, h3, h4, 
    .exam-title, .frame-title, .lens-title, 
    .contact-lens-title, .repairs-title, .grid-title, .title-small {
        font-size: 20px !important;
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
    }

  
    .services-title {
        font-size: 28px !important; 
        line-height: 1.2 !important;
        letter-spacing: 1px !important;
    }

    
    p, span, .services-desc, .exam-intro-text, .grid-desc, 
    .frame-desc, .lens-intro-text, .contact-lens-desc, .repairs-desc {
        font-size: 12px !important;
        line-height: 1.5 !important;
        text-align: center !important; 
        text-align-last: center !important;
    }

   
    .services-hero-container, .exam-container, .frame-container, 
    .lens-container, .contact-lens-container, .repairs-container {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 30px !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .exam-section, .frame-section, .lens-section, 
    .contact-lens-section, .repairs-section {
        padding: 30px 0 !important; 
    }

    
    .services-hero {
        padding-top: 50px !important; 
        padding-bottom: 0 !important;
    }

    .services-hero-left {
        width: 100% !important;
        order: 1 !important; 
        padding-bottom: 0 !important;
        margin: 0 !important;
    }

    .services-hero-right {
        width: 100% !important;
        order: 2 !important; 
        justify-content: center !important;
    }

    .services-hero-right img {
        max-height: 250px !important; 
        margin: 0 auto !important;
    }

   
    .exam-intro, .lens-intro {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

   
    .exam-intro-left, .frame-right, .lens-intro-left, 
    .contact-lens-right, .repairs-left {
        width: 100% !important;
        order: 1 !important; 
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

   
    .exam-intro-right, .frame-left, .lens-intro-right, 
    .contact-lens-left, .repairs-right {
        width: 100% !important;
        order: 2 !important; 
        display: flex !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }

   
    .exam-image, .frame-image, .lens-image, 
    .contact-lens-image, .repairs-image {
        max-width: 90% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .exam-heading-wrapper, .frame-heading-wrapper, 
    .lens-heading-wrapper, .contact-lens-heading-wrapper, 
    .repairs-heading-wrapper {
        display: flex !important;
        flex-direction: row !important; 
        align-items: center !important; 
        justify-content: center !important; 
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 15px !important;
    }

    .exam-icon, .frame-icon, .lens-icon, 
    .contact-lens-icon, .repairs-icon {
        height: 30px !important; 
        width: auto !important;
        margin: 0 !important;
    }


    .contact-lens-title {
        text-align: center;
    }
	

    .repairs-title {
        text-align: center !important; 
    }

 
    .frame-desc, .contact-lens-desc, .repairs-desc {
        margin-top: 0 !important; 
    }


    .exam-grid, .lens-grid {
        display: flex !important;
        flex-direction: column !important; 
        width: 100% !important;
        gap: 25px !important;
    }

    .grid-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .grid-title {
        margin-bottom: 10px !important;
    }

    .full-width-centered .center-text {
        max-width: 100% !important;
    }
}