/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Body Styling */
body {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
}



/* Header */
header {
    background: linear-gradient(135deg, #063e7b, #0099cc);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Navigation */
nav.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.header-btn {
    border: 2px solid #ffffff;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.header-btn:hover {
    background: #0056b3;
    color: white;
    

}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background:#ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: linear-gradient(135deg, #063e7b, #0099cc);
        flex-direction: column;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        display: none;
    }

    .nav-links a {
        padding: 1rem;
        text-align: center;
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .hamburger {
        display: flex;
    }

    /* Open Menu */
    .nav-open .nav-links {
        display: flex;
    }

    .nav-open .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 5%;
    background: url('img/hero-img.jpeg') no-repeat center center/cover;
    min-height: 100vh;
    position: relative;
    margin-top: 40px;
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.91);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quote-form h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000000;
    text-align: center;
}

.quote-form p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
    text-align: center;
}
label{ 
    font-size: 0.9rem;
    text-align: left;

}

/* Trust Icons */
.trust-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #ffffff;
}

.trust-icons span {
    font-size: 1rem;
    background-color: #ff6600d5;
    color: #FFFFFF;
    padding: 6px 10px;
    border-radius: 25px;}


.quote-form form {
    display: flex;
    flex-direction: column;
}

.quote-form form label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

.quote-form form select,
.quote-form form input[type="text"],
.quote-form form input[type="datetime-local"],
.quote-form form input[type="tel"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-form form select:focus,
.quote-form form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.quote-form form .btn {
    background: linear-gradient(135deg, #063e7b, #0099cc);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.quote-form form .btn:hover {
    background-color: #023e7e;
    transform: translateY(-2px);
}

.quote-form #price {
    font-size: 1.5rem;
    color: #FF6600;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* Multi-step form */
.form-step {
    display: none;
}

.form-step-active {
    display: block;
}
.select-first-row{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}
.select-second-row{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.form-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.first-btn{
    background: linear-gradient(135deg, #063e7b, #0099cc);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-weight: 500;
}
.sec-btn{
    border: 2px solid #007bff;
    color: #007bff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 40px 10%;
        min-height: 90vh;
    }

    .quote-form h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .quote-form p {
        font-size: 1rem;
    }

    .first-btn{
        font-weight: 500;
        font-size: 12px;

    }
    .sec-btn{
        display: none;
    }
    .form-buttons{
        display: flex;
        flex-direction: column;
        
    }
}

@media screen and (max-width: 480px) {
    .quote-form h1 {
        font-size: 1rem;
    }

    .quote-form p {
        font-size: 0.9rem;
    }
    .trust-icons span {
        font-size: 0.9rem;
        padding: 4px 8px;
        text-align: center;
    }
    .trust-icons{
        display:contents;
        
    }
    
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

.popup-content button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
}




/* Services Section */
.services {
    padding: 80px 5%;
    text-align: center;
}

.services .container {
    max-width: 1200px;
    margin: auto;
}

.services h2 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.services .subtitle {
    font-size: 1.2rem;
    color: #939393;
    margin-bottom: 40px;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Service Card */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Call-to-Action Buttons */
.service-card .btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.service-card .btn:hover {
    background: #0056b3;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .services h2 {
        font-size: 2rem;
    }

    .services .subtitle {
        font-size: 1rem;
    }
}




/* Portfolio Section */
.portfolio {
    padding: 80px 5%;
    text-align: center;
}

.portfolio .container {
    max-width: 1200px;
    margin: auto;
}

.portfolio h2 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.portfolio .subtitle {
    font-size: 1.2rem;
    color: #9b9b9b;
    margin-bottom: 40px;
}

/* Horizontal Scroll Wrapper */
.portfolio-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    scrollbar-width: none;
}

.portfolio-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

/* Portfolio Grid */
.portfolio-grid {
    display: flex;
    gap: 20px;
    scroll-snap-align: start;
    padding-bottom: 10px;
    transition: scroll 0.3s ease-in-out;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px; /* Adjust size */
    height: 250px;
    border-radius: 5px;
    scroll-snap-align: center;
    flex: 0 0 300px; /* Fixed width */
    min-width: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Overlay Effect */
.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.scroll-indicator .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.scroll-indicator .dot.active {
    background: #007bff;
}

/* Responsive for Mobile */
@media screen and (max-width: 768px) {
    .portfolio h2 {
        font-size: 2rem;
    }

    .portfolio .subtitle {
        font-size: 1rem;
    }

    .portfolio-item {
        flex: 0 0 80%; /* Show one full item and a bit of the next */
        min-width: 80%;
    }
}


/* Testimonials Section */
.testimonials {
    padding: 80px 5%;
    text-align: center;
}

.testimonials .container {
    max-width: 1200px;
    margin: auto;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.testimonials .subtitle {
    font-size: 1.2rem;
    color: #939393;
    margin-bottom: 40px;
}

/* Horizontal Scroll Wrapper */
.testimonial-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    scrollbar-width: none;
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

/* Testimonial Grid */
.testimonial-grid {
    display: flex;
    gap: 20px;
    scroll-snap-align: start;
    padding-bottom: 10px;
    transition: scroll 0.3s ease-in-out;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 0 0 300px; /* Fixed width */
    min-width: 300px;
    scroll-snap-align: center;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 1.2rem;
    color: #007bff;
    margin-top: 10px;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.scroll-indicator .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.scroll-indicator .dot.active {
    background: #007bff;
}

/* Responsive for Mobile */
@media screen and (max-width: 768px) {
    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials .subtitle {
        font-size: 1rem;
    }

    .testimonial-card {
        flex: 0 0 20%; /* Show one full card and a bit of the next */
        min-width: 40%;
    }
}

/* Contact Section */
.contact {
    padding: 80px 5%;
    text-align: center;
    background: linear-gradient(135deg, #0a0f1e, #1a2a3a);
    color: #ffffff;
}

.contact .container {
    max-width: 1100px;
    margin: auto;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact .subtitle {
    font-size: 1.2rem;
    color: #b9b9b9;
    margin-bottom: 40px;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

/* Contact Info */
.contact-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #00bfff;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 10px;
}

.contact-info a {
    color: #00bfff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #00bfff;
    margin-bottom: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ddd;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* Footer Section */
.footer {
    background: linear-gradient(135deg, #0a0f1e, #1a2a3a);
    color: white;
    padding: 60px 5%;
    text-align: center;
}

.footer .container {
    max-width: 1200px;
    margin: auto;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #00bfff;
}

/* Footer Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00bfff;
}
/* 404 Page Styles */
.error-container {
    text-align: center;
    padding: 80px 5%;
}

.error-container h1 {
    font-size: 8rem;
    font-weight: bold;
    color: #007bff;
}

.error-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #222;
}

.error-container p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

/* Buttons */
.error-actions {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    margin: 10px;
}

.btn:hover {
    background: #0056b3;
}

.btn-alt {
    background: #555;
}

.btn-alt:hover {
    background: #333;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .error-container h1 {
        font-size: 6rem;
    }

    .error-container h2 {
        font-size: 1.8rem;
    }

    .error-container p {
        font-size: 1rem;
    }
}