.Modern-Slider .item-1 .img-fill {
    background-color: #fff9ec;
}
.navbar .navbar-nav a.nav-link {
    color: #0d3348;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0;
}
.Modern-Slider .item h4 {
    color: #0d3348;
    text-transform: none;
}
a.border-button {
    color: #20815f;
    border: 2px solid #20815f;
}
a.border-button:hover {
	background-color: #e3dccd;
	color: #20815f !important;
}
a.filled-button:hover {
	background-color: #146146;
	color: #fff;
}
.text-content img {
    position: absolute;
    width: 100px;
    height: auto;
    top: 0;
    right: 20px;

    /* z-index: 1; */

    /* margin-top: 20px; */
}
/* Specific styling for the hero image in the banner */
.text-content img.hero-lady {
    width: 80px;
    right: 20px;
}
/* Position the hero image relative to the hero container */
.Modern-Slider .item .img-fill > img.hero-lady {
    position: fixed;
    width: 25%;
    min-width: 0;
    min-height: 0;
    height: auto;
    bottom: 80px;
    right: 320px;
    z-index: 1;
}
/* Ensure text sits above the hero image */
.Modern-Slider .text-content {
    z-index: 3;
}
footer {
    background-color: #0d3348;
}
footer .contact-form input {
    background-color: #20815f;
}
footer .contact-form textarea {
    background-color: #20815f;
}
.sub-footer {
    background-color: #0a2838;
}

/* Features Section Styling */
.features-section {
    background-color: #fff9ec;
}

.feature-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
    
    .feature-item {
        margin-bottom: 30px;
    }
    
    .feature-item img {
        max-width: 150px !important;
        height: 120px !important;
    }
}

@media (max-width: 576px) {
    .features-section {
        padding: 40px 0;
    }
    
    .feature-item h4 {
        font-size: 18px !important;
    }
    
    .feature-item p {
        font-size: 14px;
    }
    .Modern-Slider .item .img-fill > img.hero-lady {
        position: fixed;
        width: 46%;
        min-width: 0;
        min-height: 0;
        height: auto;
        bottom: 110px;
        right: 10px;
        z-index: 1;
    }
    .mobile-top-margin{
        margin-top: 10px !important;
    }
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {
    /* Styles for all iPads */
    .Modern-Slider .item .img-fill > img.hero-lady {
        position: fixed;
        width: 46%;
        min-width: 0;
        min-height: 0;
        height: auto;
        bottom: 340px;
        right: 40px;
        z-index: 1;
    }
}

@media only screen and (min-width: 820px) and (max-width: 880px) {
    /* Styles for unfolded main screen */
    .Modern-Slider .item .img-fill > img.hero-lady {
        position: fixed;
        width: 46%;
        min-width: 0;
        min-height: 0;
        height: auto;
        bottom: 340px;
        right: 40px;
        z-index: 1;
    }
  }

.callback-form {
    background-color: #fff9ec;
    padding-top: 140px;
    margin-top: 0px;
}
.callback-form .contact-form {
    padding-bottom: 30px;
    margin-bottom: 40px;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* About Us Section Styling */
.about-section {
    background-color: #fff9ec;
}

.about-content h3 {
    position: relative;
    padding-bottom: 15px;
}

/* .about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #20815f;
    border-radius: 2px;
}

.about-content.text-center h3::after {
    left: 50%;
    transform: translateX(-50%);
} */

.difference-item {
    padding: 20px 15px;
    transition: transform 0.3s ease;
}

.difference-item:hover {
    transform: translateY(-5px);
}

.difference-icon {
    transition: all 0.3s ease;
}

.difference-item:hover .difference-icon {
    background-color: #20815f !important;
    transform: scale(1.1);
}

.difference-item:hover .difference-icon i {
    color: #fff !important;
}

/* Responsive adjustments for About Us */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 0 !important;
    }
    
    .about-content h3 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    .about-content p {
        font-size: 15px !important;
    }
    
    .difference-item {
        margin-bottom: 30px;
    }
    
    .difference-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .difference-icon i {
        font-size: 24px !important;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 40px 0 !important;
    }
    
    .about-section h2 {
        font-size: 28px !important;
        margin-bottom: 50px !important;
    }
    
    .about-content h3 {
        font-size: 22px !important;
    }
    
    .about-content p {
        font-size: 14px !important;
    }
    
    .difference-item h5 {
        font-size: 16px !important;
    }
    
    .difference-item p {
        font-size: 13px !important;
    }
}

/* Our Specialisms Section Styling */
.specialisms-section {
    background-color: #fff;
}

.specialism-button-container {
    text-align: center;
    padding: 10px;
}

.specialism-button {
    background-color: #e1ead8;
    color: #0d3348;
    border: 0px solid #20815f;
    padding: 15px 0px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 210px;
    cursor: pointer;
}

.specialism-button:hover {
    /* background-color: #146146; */
    /* border-color: #146146; */
    color: #0d3348;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(32, 129, 95, 0.3);
}

.specialism-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 129, 95, 0.2);
}

/* Responsive adjustments for specialisms */
@media (max-width: 768px) {
    .specialisms-section {
        padding: 60px 0;
    }
    
    .specialism-button {
        padding: 12px 25px;
        font-size: 14px;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .specialisms-section {
        padding: 40px 0;
    }
    
    .specialisms-section h2 {
        font-size: 28px !important;
        margin-bottom: 40px !important;
    }
    
    .specialism-button {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 180px;
    }
}

/* Zoom hero text-content on large/high‑res screens */
@media (min-width: 1440px) and (max-width: 1680px) {
    .Modern-Slider .text-content {
        transform: translate(-50%, -50%) scale(1.08);
        width: 70%;
        transform-origin: center center;
    }
    .Modern-Slider .item h4 { font-size: 56px; }
    .Modern-Slider .item h6 { font-size: 26px; }
}

@media (min-width: 1681px) {
    .Modern-Slider .text-content {
        transform: translate(-50%, -50%) scale(1.15);
        width: 68%;
        transform-origin: center center;
    }
    .Modern-Slider .item h4 { font-size: 64px; }
    .Modern-Slider .item h6 { font-size: 28px; }
}

/* Hero section zoom + responsive hero-lady adjustments */
/* Make hero fill screen and slightly zoom on large screens */
.Modern-Slider .item .img-fill {
    height: 100vh !important;
    background-position: center center !important;
}

/* Default desktop positioning for hero image */
.Modern-Slider .item .img-fill > img.hero-lady {
    position: fixed;
    width: 30%;
    height: auto;
    bottom: 80px;
    right: 160px;
    z-index: 1;
}

/* MacBook Pro typical widths: add slight zoom and reposition */
@media (min-width: 1440px) and (max-width: 1680px) {
    .Modern-Slider .item .img-fill { height: 105vh !important; background-position: center top !important; }
    .Modern-Slider .item .img-fill > img.hero-lady { width: 28%; bottom: 90px; right: 200px; }
}

/* Large laptops/desktops */
@media (min-width: 1200px) and (max-width: 1439px) {
    .Modern-Slider .item .img-fill { height: 100vh !important; }
    .Modern-Slider .item .img-fill > img.hero-lady { width: 32%; bottom: 70px; right: 140px; }
}

/* Medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .Modern-Slider .item .img-fill > img.hero-lady { width: 36%; bottom: 80px; right: 80px; }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .Modern-Slider .item .img-fill > img.hero-lady { width: 42%; bottom: 100px; right: 40px; }
}

/* Phones */
@media (max-width: 767px) {
    .Modern-Slider .item .img-fill { height: 100vh !important; }
    .Modern-Slider .item .img-fill > img.hero-lady { width: 48%; bottom: 110px; right: 10px; }
}