@font-face {
    font-family: 'Poppins';
    src: url('../font/Poppins-Regular.eot');
    src: url('../font/Poppins-Regular.eot') format('embedded-opentype'),
        url('../font/Poppins-Regular.woff2') format('woff2'),
        url('../font/Poppins-Regular.woff') format('woff'),
        url('../font/Poppins-Regular.ttf') format('truetype'),
        url('../font/Poppins-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../font/Poppins-SemiBold.eot');
    src: url('../font/Poppins-SemiBold.eot') format('embedded-opentype'),
        url('../font/Poppins-SemiBold.woff2') format('woff2'),
        url('../font/Poppins-SemiBold.woff') format('woff'),
        url('../font/Poppins-SemiBold.ttf') format('truetype'),
        url('../font/Poppins-SemiBold.svg') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI Variable';
    src: url('../font/SegoeUIVariable.eot');
    src: url('../font/SegoeUIVariable.eot') format('embedded-opentype'),
        url('../font/SegoeUIVariable.woff2') format('woff2'),
        url('../font/SegoeUIVariable.woff') format('woff'),
        url('../font/SegoeUIVariable.ttf') format('truetype'),
        url('../font/SegoeUIVariable.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #E68A38;
    /* Warm orange from button */
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --font-poppins: 'Poppins';
    --font-popp-semi: 'Popp-semi';
    --font-segoe: 'Segoe UI Variable';
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-poppins);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h6 {
    font-family: var(--font-popp-semi);
    font-weight: 600;
}

.text-primary-custom {
    color: var(--primary-color);
}

.btn-primary-custom {
    background-color: #f4741e;
    border-color: #f4741e;
    color: #fff;
    border-radius: 50px;
    padding: 17px 61px;
    transition: all 0.3s ease;
    font-family: 'Poppins';
}

.btn-primary-custom:hover {
    background-color: #d67a2e;
    border-color: #d67a2e;
    color: white;
}

/* Navbar */
.navbar-brand {
    width: 100%;
    max-width: 130px;
    height: auto;
}

.navbar {
    padding-bottom: 0;
    padding-top: 120px;
}

/* Hero Section */
.hero-section {
    padding-bottom: 80px;
    margin-top: -91px;
}

.hero-img-container {
    position: relative;
    height: 400px;
}

.hero-section .display-4 {
    font-family: 'Segoe UI Variable';
    font-size: 67.2px;
    margin-bottom: 70px;
    font-weight: normal;
}

/* Costa del Sol Section */
.costa-section {
    position: relative;
    background-image: url('../img/bg-cosla.png');
    /* Updated path relative to css file */
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    margin: 0 32px;
    border-radius: 30px;
    /* Fallback */
}

/* Fallback if image missing */
.costa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 30px;
}

.costa-section .container {
    position: relative;
    z-index: 2;
}

.costa-section span {
    font-size: 32px;
    position: absolute;
    bottom: 0;
    top: 92px;
    left: 56px;
}

.costa-overlay-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 70px 50px 50px 120px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.costa-title {
    font-size: 3rem;
    line-height: 1;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 45px;
    position: relative;
    padding-left: 85px;
    font-size: 21px;
}

.feature-list li::before {
    content: "";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    background-image: url(../img/true.svg);
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    top: -12px;
    border: 1px solid #FAD1BD;
    border-radius: 50%;
    background-size: 16px auto;
    background-position: center;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-section h2 {
    font-family: 'Segoe UI Variable';
    font-size: 50px;
    margin-bottom: 60px;
    font-weight: normal;
}

.about-para p {
    font-size: 21px;
}

.about-para {
    max-width: 479px;
}

.signature {
    /* Using SVG image or font */
    height: 40px;
    margin-top: 1rem;
}

/* Features/Services Grid */
.services-section {
    padding: 4rem 0;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 10px;
    border: 1px solid #F8BFA6;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon::before {
    content: "";
    width: 27px;
    height: 27px;
    background-image: url(../img/round-true-icon.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: 35px;
    left: 68px;
    display: none;
}

.service-icon:hover.service-icon::before {
    display: block;
}

.service-icon:hover {
    background: #E42918;
}

.service-icon img {
    width: 30px;
    height: 30px;
    fill: #E42918;
    filter: invert(27%) sepia(93%) saturate(6184%) hue-rotate(355deg) brightness(91%) contrast(115%);

}

.service-icon:hover img {
    filter: unset;
}


/* Vision Section */
.vision-section {
    padding: 5rem 0;
}

.vision-img {
    border-radius: 20px;
}

/* Testimonials */
.reviews-section {
    padding: 4rem 0;
}

.review-card {
    background: #f7f7f7;
    padding: 50px 60px;
    border-radius: 20px;
    height: 100%;
    max-width: 596px;
    width: 100%;
}

.review-card .text-muted {
    font-size: 15px;
    color: #000 !important;
    margin-bottom: 50px !important;
}

.reviews-section .g-4 {
    --bs-gutter-y: 2.5rem;
}

.stars {
    color: #FBBF24;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    /* Placeholder */
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
}

.gallery-img {
    width: 100%;
    height: 100%;
}

/* Contact Footer */
.footer-contact {
    padding: 5rem 0 10rem;
}

.form-control-custom {
    border-radius: 50px;
    background-color: #f7f7f7;
    border: none;
    padding: 27px 45px;
}

.form-control-custom::placeholder {
    opacity: 0.3;
}

.form-control-custom:focus {
    box-shadow: none;
    background-color: #fff;
    outline: 2px solid var(--primary-color);
}

.stars img {
    width: 100%;
    max-width: 112px;
    height: auto;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 30px;
}

.border-line {
    width: 331px;
    height: 1px;
    background-color: #f8bfa6;
    position: absolute;
    top: 29px;
    right: 20px;
}

.services-section .col-line {
    position: relative;
}

.services-section h5 {
    font-size: 25px;
    margin-bottom: 20px;
}

.vision-section h2,
.footer-contact h2 {
    font-family: 'Poppins';
    font-size: 50px;
    margin-bottom: 60px;
    font-weight: normal;
}

.vision-section .text-muted {
    color: #000 !important;
    font-size: 21px;
}

.footer-sub-text {
    font-size: 21px;
    margin-bottom: 70px;
}

.contact-form .g-3 {
    --bs-gutter-y: 1.5rem;
}

@media (max-width: 1399px) {

    .border-line {
        width: 270px;
    }
}

@media (max-width: 1299px) {

    .hero-section .display-4 {
        font-size: 52px;
        margin-bottom: 50px;
    }

    .btn-primary-custom {
        padding: 12px 42px;
    }

    .costa-overlay-card {
        padding: 40px;
    }

    .border-line {
        width: 250px;
    }

    .feature-list li {
        margin-bottom: 36px;
        padding-left: 70px;
        font-size: 18px;
    }

    .feature-list li::before {
        width: 40px;
        height: 40px;
        top: -6px;
    }

    .form-control-custom {
        border-radius: 50px;
        background-color: #f7f7f7;
        border: none;
        padding: 20px 20px;
    }

}

@media (max-width: 1199px) {
    .hero-section {
        padding-bottom: 50px;
        margin-top: 0px;
    }

    .border-line {
        width: 210px;
    }

    .review-card {
        padding: 30px;
        max-width: 100%;
    }


}

@media (max-width: 991px) {

    .border-line {
        width: calc(100% - 32%);
    }

    .navbar {
        padding: 30px 15px;
    }

    .hero-section .display-4 br {
        display: none;
    }

    .costa-section span {
        font-size: 24px;
        bottom: unset;
        top: -15px;
    }

    .about-para {
        max-width: 100%;
    }

    .about-section h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .about-para p {
        font-size: 18px;
    }

    .about-para p br {
        display: none;
    }

    .vision-section h2,
    .footer-contact h2 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .vision-section .text-muted {
        font-size: 18px;
    }

    .vision-section .text-muted br {
        display: none;
    }

    .navbar-toggler {
        display: none;
    }

    .costa-section .col-lg-5 img {
        max-width: 300px;
    }

    .costa-overlay-card {
        padding: 30px 20px;
        max-width: 500px;
        margin: 0 auto;
    }

    .costa-section .col-lg-5 {
        text-align: center;
    }

    .gallery-img {
        height: auto;
        max-width: 400px;
    }

    .gallery-section .row * {
        text-align: center;
    }

    .footer-contact {
        padding: 3rem 0 4rem;
    }

    .about-section {
        padding: 3rem 0;
    }

    .about-section .row {
        padding: 0 15px;
    }

    .costa-section {
        padding: 40px 0;
        margin: 0 15px;
        border-radius: 15px;
    }

}

@media (max-width: 767px) {
    .hero-img-container {
        height: 300px;
        margin-top: 2rem;
    }

    .hero-img-1 {
        left: 50%;
    }

    .hero-img-2,
    .hero-img-3 {
        display: none;
    }

    /* Simplify on mobile */

    .costa-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-section .row {
        padding: 0 15px;
    }

    .form-control-custom {
        padding: 14px 20px;
    }
}

@media (max-width: 575px) {

    .border-line {
        width: calc(100% - 30%);
    }

    .vision-section .row {
        padding: 0 15px;
    }

    .gallery-img {
        max-width: 330px;
    }

    body {
        overflow-x: hidden;
    }

    .costa-section .col-lg-5 img {
        max-width: 200px;
    }

}