.contact-section {
    background: #f5f5f5;
    padding: 60px 0;
}

/* Main Background Card - Two-tone blocks */
.contact-background-card {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 650px;
}

/* Two-tone background blocks - Top: 30% Black, Bottom: 70% Light Magenta */
.contact-bg-top {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 17%;
    background: #2d2d2d;
    z-index: 0;
}

.contact-bg-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height:83%;
    background: linear-gradient(135deg, #c7d3e8 0%, #b9c5e3 40%, #aebce0 70%, #a5b3dd 100%);
    z-index: 0;
}
/* Title Section - Top 30% area */
.contact-title-section {
    position: relative;
    z-index: 1;
    height: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 5px;
}

.contact-main-title {
    color: #ffffff;
    font-size: 56px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.contact-subtitle {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

/* Cards Wrapper - Bottom 70% area */
.contact-cards-wrapper {
    position: relative;
    z-index: 1;
    height: 85%;
    padding: 40px 60px 60px 60px;
}

/* Inner Cards - White cards for map and form */
.inner-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

/* Map Card */
.map-card-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-card-content iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Form Card */
.form-card {
    display: flex;
    flex-direction: column;
}

.form-card-content {
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-card-title {
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.5px;
}

.form-card-content .form-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
    font-size: 11px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.form-card-content .form-control {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #2c3e50;
    border-radius: 8px;
    font-size: 14px;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.form-card-content .form-control:focus {
    background: #ffffff;
    border-color: #971A08;
    color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(151, 26, 8, 0.1);
}

.form-card-content .form-control::placeholder {
    color: #999999;
    font-size: 13px;
}

.form-card-content .btn-primary {
    background: linear-gradient(135deg, #971A08 0%, #7a1506 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-card-content .btn-primary:hover {
    background: linear-gradient(135deg, #7a1506 0%, #971A08 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(151, 26, 8, 0.4);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-main-title {
        font-size: 36px;
    }
    
    .contact-subtitle {
        font-size: 14px;
    }
    
    .contact-title-section {
        height: 20%;
        padding: 15px;
    }
    
    .contact-cards-wrapper {
        padding: 30px;
        height: 80%;
    }
    
    .inner-card {
        margin-bottom: 20px;
    }
}

/* Contact Info Cards - Smaller version below form */
.contact-info-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon-small i {
    font-size: 28px;
    color: #971A08;
}

.contact-info-card h6 {
    color: #333333;
    font-size: 15px;
}

.contact-info-card p {
    color: #666666;
    font-size: 13px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 25%, #B22222 50%, #A52A2A 75%, #8B1A1A 100%) !important;
    color: #ffffff;
    padding: 40px 0 15px;
}

.footer-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: start;
}

.footer-contact i {
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Values Section - Gradient Card */
.values-gradient-card {
    background: linear-gradient(90deg,rgba(184, 28, 43, 1) 0%, rgba(204, 33, 20, 1) 100%);    
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.values-gradient-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

.values-gradient-card .value-item {
    position: relative;
    z-index: 1;
}

.values-gradient-card .value-item h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.values-gradient-card .value-item p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.7;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.values-gradient-card .value-item img {
    max-width: 120px;
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.values-gradient-card .value-item:hover img {
    transform: scale(1.05) translateY(-5px);
}

/* Responsive adjustments for values card */
@media (max-width: 991px) {
    .values-gradient-card {
        padding: 40px 30px;
    }
    
    .values-gradient-card .value-item {
        margin-bottom: 30px;
    }
    
    .values-gradient-card .value-item:last-child {
        margin-bottom: 0;
    }
}

/* Products Section - Hero Background */
.products-hero-bg {
    background: url('../img/hero-bg.png') top center no-repeat;
    background-size: cover;
    position: relative;
}

.products-hero-bg .container {
    position: relative;
    z-index: 1;
}

/* Services Slider Section */
.services-slider-section {
    background: #f4f4f4;
    padding: 60px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.services-badge {
    background-color: #971A08;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.services-slider-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.services-slider-title {
    color: #2d2d2d;
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
}

.slider-nav-btn {
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #2d2d2d;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.slider-nav-btn:hover {
    background: #971A08;
    border-color: #971A08;
    color: #ffffff;
    transform: scale(1.1);
}

/* Service Card Slider */
.services-swiper {
    padding: 0 10px 30px 10px;
    overflow: visible;
    position: relative;
}

.services-swiper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

.service-card-slider {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: left;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.service-card-slider:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(151, 26, 8, 0.15);
}

.service-card-slider::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.service-icon {
    font-size: 36px;
    color: #971A08;
    margin-bottom: 12px;
    display: block;
}

.service-card-slider h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    min-height: 45px;
}

.service-card-slider p {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
    font-family: 'Roboto', sans-serif;
}

.view-more-btn {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #971A08;
    padding: 7px 14px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Roboto', sans-serif;
}

.view-more-btn:hover {
    background: #971A08;
    color: #ffffff;
    border-color: #971A08;
}

.view-more-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(5px);
}

/* Connection Lines Container */
.service-connection-lines {
    display: none;
}

/* Service Modal */
.service-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.service-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.service-modal-body {
    padding: 50px 40px;
    text-align: center;
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.service-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.service-modal-icon {
    font-size: 70px;
    color: #971A08;
    margin-bottom: 25px;
    display: block;
}

.service-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.service-modal-description {
    font-size: 16px;
    color: #636e72;
    line-height: 1.8;
    font-family: 'Roboto', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .services-slider-title {
        font-size: 32px;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .service-card-slider {
        height: auto;
        min-height: 350px;
    }
    
    .service-modal-body {
        padding: 40px 30px;
    }
    
    .service-modal-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .services-slider-navigation {
        gap: 20px;
    }
    
    .services-slider-title {
        font-size: 28px;
    }
}