/* Sedation Dentistry CSS */

:root {
    --beige: #F0EFE7;
    --logo-gray: #183D4A;
    --logo-blue: #13C2CF;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--logo-gray);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Libre Baskerville', serif;
}

/* Page Layout */
.sedation-page {
    position: relative;
    width: 100%;
}

/* Common Service Overrides or Page Specifics */
/* Hero Polygon Transforms from Figma */
/* Common Service Overrides or Page Specifics */
/* Hero styles now use common-service.css defaults */

/* Benefits Section */
.benefits {
    background: var(--beige);
    padding: 60px 0;
}

.section-title {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 32px;
    color: var(--logo-gray);
    margin-bottom: 50px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    color: var(--logo-gray);
}

.tooth-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooth-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--logo-blue);
    /* Union shape fallback */
    mask: url('../../assets/service/surgical-icu/teeth_icon.png') no-repeat center;
    -webkit-mask: url('../../assets/service/surgical-icu/teeth_icon.png') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.tooth-icon {
    /* Hide actual img if using mask for color control, or utilize img directly if colored */
    display: block;
    width: 100%;
    height: auto;
}

/* Custom Contact / Footer Section per Figma */
.custom-contact-footer {
    position: relative;
    background: var(--logo-gray);
    color: var(--beige);
    padding: 80px 0 20px;
    overflow: hidden;
}

/* White Ellipse Background */
.footer-bg-white-ellipse {
    position: absolute;
    width: 495px;
    height: 462.94px;
    right: 0;
    bottom: 200px;
    background: var(--beige);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.1;
    /* Adjusting opacity for blend since text is white on dark */
    /* Figma design has this ellipse but overlaying text */
    pointer-events: none;
    display: none;
    /* Hiding for text readability unless essential */
}

.contact-heading {
    font-family: 'Libre Baskerville';
    font-weight: 700;
    font-size: 50px;
    color: var(--beige);
    margin-bottom: 10px;
}

.contact-subheading {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 400;
    font-size: 40px;
    color: var(--beige);
    margin-bottom: 60px;
}

.address-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.blue-marker {
    width: 15px;
    height: 15px;
    background: var(--logo-blue);
    transform: rotate(90deg);
    /* Polygon 1 & 2 styles */
    margin-top: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.address-text {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6;
    color: var(--beige);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--logo-gray);
    font-size: 18px;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--logo-blue);
    color: white;
}

/* Contact Form */
.contact-form {
    position: relative;
    z-index: 1;
}

.form-control {
    background: var(--beige);
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-family: 'Montserrat';
    color: var(--logo-gray);
    font-weight: 500;
}

.form-control::placeholder {
    color: var(--logo-gray);
    opacity: 0.7;
}

.submit-wrapper {
    position: relative;
}

.submit-btn {
    background: var(--logo-blue);
    color: var(--logo-gray);
    border-radius: 6px;
    padding: 12px 30px;
    border: none;
    font-family: 'Lora';
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: white;
}

.copyright {
    font-family: 'Lora';
    font-size: 16px;
    color: var(--beige);
    /* Figma says logo gray on beige, but section is dark? Checking context... Figma has Footer Page bg #183D4A, strip at bottom Bg #F0EFE7. */
}

/* Correction for Copyright Strip */
.custom-contact-footer {
    padding-bottom: 0;
}

.copyright {
    background: var(--beige);
    color: var(--logo-gray);
    width: 100%;
    padding: 10px 0;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 991px) {
    .custom-contact-footer {
        padding: 50px 0 0;
    }

    .contact-heading {
        font-size: 36px;
    }

    .contact-subheading {
        font-size: 28px;
    }

    .section-title {
        text-align: center;
    }

    .polygon-overlay,
    .image-mask {
        transform: rotate(0deg);
        /* Simplify rotation on mobile if it breaks layout */
        border-radius: 20px;
    }
}