/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:#05032e;
    color: #FFFFFF; /* White text */
    line-height: 1.5; /* Increased text height */
}

/* Header */
header {
    text-align: center;
    padding: 1em;
    color: #f4c27b; /* White text */
    
}
.logo{
    width: 150px;
}
h1 {
    margin: 0;
    font-size: 2.5em;
}
h2 {
    color: #f4c27b;
}


.rd_title{
    color:#ff4444!important;
    text-transform: uppercase;
}

.cons {
    color:#00f2f8;
    text-transform: uppercase;
    font-size: 2rem;
}

/* Main Content */
main {
    max-width: 1024px;
    margin: auto;
    padding: 1em;
    background: url(img/firstSectionBg.webp) no-repeat center;
    background-position: top;
  
}

section {
    margin: 2em 0;
    text-align: center;
}


/* Slider Section */
.slider-section {
    position: relative;
    overflow: hidden;
    width: 100%; /* Allow flexible width */
    max-width: 300px; /* Maximum width of 300px */
    height: auto; /* Fixed height for the slider */
    margin: 0 auto; /* Center slider */
    background:; /* Dark blue background */
    border-radius: 10px; /* Rounded corners */
}

.slider {
    width: 100%; /* Matches the width of slider-section */
    height: 100%; /* Matches the height of slider-section */
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    animation: scroll 10s ease-in-out infinite;
}

.slide {
    min-width: 100%; /* Each slide takes the full width of the slider */
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 90%; /* Images stay within the slider boundaries */
    height: auto; /* Maintain proportionality within the slider */
    border-radius: 10%; /* Circular images */
    border: 3px solid #FFFFFF; /* Optional white border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional shadow */
}

/* Keyframes for Scrolling */
@keyframes scroll {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}

.ribbon {
    width: 100%;
    height: auto;
}

.ribbon-caption {
    text-align: center;
    margin: 10px auto;
    background: rgba(5, 3, 46, 0.8);
    padding: 25px;
    border-radius: 8px;
    display: block;
    width: fit-content;
}

.ribbon-caption h2{
    color: #f4c27b;
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ribbon-caption h3, h3 {
    color: #f4c27b;
    font-size: 1.6em;
    margin: 15px 0;
}

.ribbon-caption p {
    color: #f4c27b;
    font-size: 1.4em;
    margin: 15px 0;
}

.button-container {
    text-align: center;
    margin: 10px auto;
    width: 100%;
}

.consultation-btn,.consultation-btn2 {
    display: inline-block;
    background: #ff4444;
    color: #FFFFFF;
    padding: 1em 2em;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.consultation-btn:hover,.consultation-btn2:hover {
    background: #ff2222;
    text-decoration: none;
    color: #FFFFFF;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.features-list li {
    color: #ffffff;
    font-size: 1.2em;
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.features-list li:before {
    content: "•";
    color: #f4c27b;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* About Section */
.about-section, .Removing_damage {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    margin: 50px auto;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    border: 2px solid #f4c27b;
}
.about-section h3, .Removing_damage h3 {
    color: #f4c27b; 
    font-size: 1.5em;
    margin: 10px 0;
}

.about-section p, .Removing_damage p {
    font-size: 1em;
    margin: 15px 0;
    text-align: justify;
}

.services-list, .Removing-list{
    max-width: 380px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    color: #f4c27b; /* Update color */
    font-size: 1.2em;
    
}

.services-list li, .Removing-list li{
    margin: 10px 15px;
    padding-left: 15px;
    position: relative;
    text-align: left;
    list-style:circle;

}


.about-section hr, .Removing_damage hr {
    border: 1px solid #f4c27b;
    margin: 15px 0;
}

/* Services Section */


/* Countdown Styles */
.countdown-container {
    text-align: center;
    font-size: 1.2em;
    margin: 25px auto;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#countdown {
    display: block;
    background: #ff4444;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 2.5em;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulse 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Popup Styles */


/* Video Section */
.web-cam{
    height: 350px;
    max-width: 280px;
    margin:0 auto ;
    overflow: hidden;
    border-radius: 25px;
    border: 10px double white;
}
.web-cam video {
   
    overflow: hidden;
    position: relative;
   
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .slider-section {
            height:auto; /* Let height adjust automatically for smaller screens */
            background-color: ;
    }

    .slide img {
        width: 90%; /* Slightly smaller images for mobile */
        height:400px; /* Maintain aspect ratio */
        margin-bottom:30px;
        border-radius:5% 5% 7% 5%;
        z-index:2;
    }

    .gallery_bot{
        margin-top: 50px;
    }
    .gallery_bot .slide img {
        width: 90%; /* Slightly smaller images for mobile */
        height:250px; /* Maintain aspect ratio */
        margin-bottom:30px;
        border-radius:5% 5% 7% 5%;
        z-index:2;
    }
    .ribbon {
        position:absolute;
        left: 0;
        bottom:0;
        width:100%;
        height:auto;
        z-index:1;
        margin-bottom: 5px;

    }

    .popup-content {
        width: calc(100% - 10px); /* Adjust width for mobile with margin */
        height: 90%; /* Adjust height to half the screen */
        margin: 0 5px; /* Add margin left and right */
        border: 2px solid #f4b353; /* Add border with color */
    }
}

@media (max-width: 480px) {
    .phone-input-container {
        flex-direction: column;
        height: auto;
        gap: 5px;
    }

    #country-code {
        width: 100%;
        height: 45px;
    }

    #phone {
        height: 45px;
    }

    .popup-content {
        width: calc(100% - 20px); /* Adjust width for mobile with margin */
        height: 70%; /* Adjust height to half the screen */
        margin: 0px; /* Add margin left and right */
        border: 2px solid #f4b353; /* Add border with color */
    }
}