/* Modern Design for Services Pages */
.amp-service-page.amp-main {
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #001f4d 0%, #003473 100%);
    font-family: 'Inter', sans-serif;
}

.amp-service-page .amp-article {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 6px solid #24469c;
    position: relative;
    overflow: hidden;
}

.amp-service-page .amp-article::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(36, 70, 156, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.amp-service-page .amp-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.amp-service-page .amp-article h1 {
    font-size: 2.75rem;
    /* +10% */
    font-weight: 800;
    color: #1a2a5e;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

.amp-service-page .amp-article h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #24469c, #4d6fb3);
    border-radius: 5px;
}

/* User asked: "fix all pages in services image fixed in a particular lanscapes size" */
.amp-service-page .amp-article img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.amp-service-page .amp-article img:hover {
    transform: scale(1.03);
}

.amp-service-page .amp-article p {
    font-size: 1.21rem;
    /* +10% */
    line-height: 1.85;
    color: #4a5568;
    margin-bottom: 25px;
    font-weight: 400;
}

.amp-service-page .amp-article ul {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.amp-service-page .amp-article ul li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
    font-size: 1.155rem;
    /* +10% */
    color: #4a5568;
    background: #f8fbff;
    padding: 15px 20px 15px 55px;
    border-radius: 12px;
    border-left: 5px solid #24469c;
    /* More creative */
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.amp-service-page .amp-article ul li:hover {
    transform: translateX(10px);
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(36, 70, 156, 0.1);
    border-left-color: #24469c;
}

.amp-service-page .amp-article ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #24469c;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.amp-service-page .amp-article ul li:hover::before {
    color: #24469c;
}

/* Added Professional Section styling inside article */
.amp-pro-content {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px dashed #e2e8f0;
}

.amp-pro-content h3 {
    font-size: 2.2rem;
    color: #1a2a5e;
    margin-bottom: 20px;
    font-weight: 700;
}

.amp-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.amp-pro-item {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.amp-pro-item:hover {
    border-color: #24469c;
    box-shadow: 0 10px 25px rgba(36, 70, 156, 0.1);
    transform: translateY(-5px);
}

.amp-pro-item i {
    font-size: 2.5rem;
    color: #24469c;
    margin-bottom: 15px;
}

.amp-pro-item h4 {
    font-size: 1.21rem;
    color: #1a2a5e;
    margin-bottom: 10px;
    font-weight: 700;
}

.amp-pro-item p {
    font-size: 1.05rem !important;
    /* Slightly smaller for this box */
    margin-bottom: 0 !important;
}

/* Aside Component Styling for Services */
.amp-service-page .amp-aside {
    padding-left: 30px;
}

@media (max-width: 991px) {
    .amp-service-page .amp-aside {
        padding-left: 15px;
        margin-top: 50px;
    }
}

.amp-service-page .amp-aside-list {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-top: 5px solid #24469c;
}

.amp-service-page .amp-aside-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amp-service-page .amp-aside-group li {
    margin-bottom: 15px;
}

.amp-service-page .amp-aside-group li:last-child {
    margin-bottom: 0;
}

.amp-service-page .amp-aside-group li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8fbff;
    color: #1a2a5e;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.155rem;
    /* +10% */
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid #ccd6f6;
}

.amp-service-page .amp-aside-group li a::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.amp-service-page .amp-aside-group li a:hover,
.amp-service-page .amp-aside-group li a.active {
    background-color: #24469c;
    color: #ffffff;
    border-left-color: #24469c;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(36, 70, 156, 0.3);
}

.amp-service-page .amp-aside-group li a:hover::after {
    transform: translateX(5px);
}

/* Creative Contact Us Sidebar */
.amp-service-page .amp-aside-contact {
    background: linear-gradient(135deg, #1a2a5e 0%, #24469c 100%);
    border-radius: 20px;
    padding: 40px 25px;
    /* Adjust padding for email */
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(36, 70, 156, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.amp-service-page .amp-aside-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    animation: pulseContact 6s infinite ease-in-out;
    z-index: -1;
}

@keyframes pulseContact {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(0.8);
    }
}

.amp-service-page .amp-aside-contact .contact-icon {
    font-size: 3.5rem;
    color: #24469c;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 5px 15px rgba(36, 70, 156, 0.4));
    animation: bounceIcon 3s infinite;
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.amp-service-page .amp-aside-contact h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.amp-service-page .amp-aside-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 1.21rem;
    /* +10% */
}

/* User asked: "email id must be fitted in padding" */
.amp-service-page .amp-aside-contact .email-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.amp-service-page .amp-aside-contact .email-box p {
    margin-bottom: 0;
}

.amp-service-page .amp-aside-contact .email-box p a {
    background: transparent;
    padding: 0;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    font-size: 1.15rem;
}

.amp-service-page .amp-aside-contact .email-box p a:hover {
    color: #24469c;
    transform: none;
    box-shadow: none;
}

.amp-service-page .amp-aside-contact>a {
    display: inline-block;
    color: #fff;
    background: linear-gradient(90deg, #24469c, #4d6fb3);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.155rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(36, 70, 156, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.amp-service-page .amp-aside-contact>a:hover {
    background: linear-gradient(90deg, #1a2a5e, #24469c);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(36, 70, 156, 0.6);
}

/* Modern Locations Page Settings */
.amp-locations {
    padding: 80px 0;
    background: linear-gradient(135deg, #001f4d 0%, #003473 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.amp-locations h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

.amp-locations h1::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #4d6fb3, #ffffff);
    border-radius: 5px;
}

.amp-locations-list {
    margin-top: 30px;
}

.amp-location {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.amp-location:hover {
    background: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.amp-location i {
    font-size: 3rem;
    color: #4d6fb3;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.amp-location:hover i {
    color: #003473;
    transform: scale(1.1);
}

.amp-location a {
    display: block;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.amp-location:hover a {
    color: #003473;
}

/* Homepage Locations Section */
.amp-locations-home {
    padding: 80px 0;
    background: #f8fbff;
    position: relative;
}

.amp-location-home-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.amp-location-home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 52, 115, 0.1);
    border-bottom-color: #003473;
}

.amp-location-home-card i {
    font-size: 2.8rem;
    color: #4d6fb3;
    margin-bottom: 15px;
    display: inline-block;
    transition: all 0.4s ease;
}

.amp-location-home-card:hover i {
    color: #003473;
    transform: scale(1.1);
}

.amp-location-home-card h3 {
    font-size: 1.4rem;
    color: #1a2a5e;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Custom City Icons Image */
.city-icon-img {
    height: 75px;
    /* Force an identical height for every icon */
    width: 100%;
    /* Let width scale naturally */
    max-width: 85px;
    /* Ensure no icon stretches too wide */
    object-fit: contain;
    /* Lock the aspect ratio */
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.amp-location-home-card:hover .city-icon-img {
    transform: scale(1.1);
}

.amp-location-home-card .btn-modern-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #003473;
    color: #003473;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.amp-location-home-card:hover .btn-modern-outline {
    background: linear-gradient(90deg, #001f4d, #003473);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 52, 115, 0.3);
}

.amp-location-home-card .btn-modern-outline i {
    font-size: 0.9rem;
    margin: 0;
    margin-left: 5px;
    color: inherit;
    transition: transform 0.3s ease;
}

.amp-location-home-card:hover .btn-modern-outline i {
    transform: translateX(4px);
    color: #ffffff;
}

/* Increased standard font sizes for Request Quote & Book Order */
.amp-form label {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    color: #001f4d;
}

.amp-form .form-control {
    font-size: 1.15rem;
    padding: 12px 18px;
    border-radius: 8px;
    height: auto;
}

.amp-form .form-control::placeholder {
    font-size: 1.05rem;
    color: #8c9bb3;
}

.amp-form .btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    margin-top: 15px;
}

.invalid-feedback {
    font-size: 0.95rem;
    color: #e63946;
}

/* Fix floating headers / adjust modern layout for amp-forms-container */
.amp-forms-container .amp-form {
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-top: 6px solid #24469c;
    position: relative;
    z-index: 20;
}

@media (max-width: 768px) {
    .amp-forms-container .amp-form {
        padding: 40px 25px;
    }
}