/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header Section */
.topper {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.topper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../../assets/imgs/productprivacy.jpg") no-repeat center;
    filter: brightness(0.55);
    background-size: cover;
}
@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1000px); }
}
.headline {
    font-size: 3.5em;
    opacity: 0.9;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
}
.tagline {
    font-size: 2.2em;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.text-container {
    margin-top:50px;
    display: flex; 
    justify-content: space-between;
    gap:50px;
    align-items: center; 
    width: 100%;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/*button style*/
.cta-btn{
    display:inline-block;
    padding:15px 30px;
    background:#007bff;
    color:#fff;
    font-size:2.5rem;
    text-decoration:none;
    border-radius:6px;
    margin-top:20px;
    
}

/*firstline*/
.first_line{
    display: inline-block; 
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 70px;
}


/* Services Section */
.services-timeline {
  position: relative;
  max-width: 1500px;
  margin: 60px auto;
  padding: 40px 0;
}

/* Service row */
.service-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

/* Left aligned service */
.service-row.left {
  justify-content: flex-start;
  
}

/* Right aligned service */
.service-row.right {
  justify-content: flex-end;
  
}

ul {
    list-style: none;
    padding-left: 2rem;        
    margin-top: 1.5rem;        
    margin-bottom: 1.5rem;
}



/* Image */
.service-image {
  width: 40%;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
}

/* Text content */
.service-content {
  font-size:1.8rem;
  width: 80%;
  padding: 0 30px;
}

.service-content h3 {
  margin-bottom: 10px;
}

.service-content p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Button */
.service-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #0a58ca;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .services-timeline::before {
    display: none;
  }

  .service-row {
    flex-direction: column;
    text-align: center;
  }

  .service-image,
  .service-content {
    width: 100%;
  }
}






/*end picture*/
.closing-section {
            position: relative;
            margin: 80px 0;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            height: 60vh;              /* Fixed shorter height (~60% of viewport) */
            max-height: 600px;         /* Max limit for large screens */
            min-height: 400px;         /* Minimum for small screens */
        }
        .closing-image {
            width: 100%;
            height: 100%;
            object-fit: cover;         /* Crops image nicely without distortion */
            display: block;
            filter: brightness(0.65);
        }
        .closing-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 40px 20px;
        }
        .closing-headline {
            font-size: clamp(2rem, 5vw, 3.2rem);
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
        }
        .closing-text {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            max-width: 900px;
            margin: 0 auto;
            opacity: 0.95;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .closing-section {
                height: 70vh;
                max-height: 500px;
                min-height: 350px;
                margin: 40px 0;
                border-radius: 20px;
            }
            .closing-overlay {
                padding: 30px 15px;
            }
        }
        @media (max-width: 480px) {
            .closing-headline {
                font-size: 1.8rem;
            }
            .closing-text {
                font-size: 1.1rem;
            }
        }



.services {
    padding: 80px 0;
    background: white;
}
.services h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
    color: #007bff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease-out;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #007bff;
}
.service-card p {
    margin-bottom: 20px;
}
.service-card .btn {
    background: #007bff;
    color: white;
    padding: 20px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.service-card .btn:hover {
    background: #0056b3;
}

/* Center Booking Button */
.center-booking {
    text-align: center;
    margin: 50px 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.book-btn {
    background: #28a745;
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}
.book-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
    background: #218838;
}

/* Consultation Form */
.consultation {
    background: #e9ecef;
    padding: 60px 0;
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out 0.9s both;
}
.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #007bff;
}
/* Page background */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f7fb;
}

/* Form container */
.consultation-form {
    max-width: 900px;
    margin: 60px auto;
    padding: 35px 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Heading */
.consultation-form h2 {
    text-align: center;
    color: #0b63ff;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

/* Input row */
.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"] {
    width: 85%;
    padding: 12px 14px;
    margin-right: 3%;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.consultation-form input:last-child {
    margin-right: 0;
}

/* Focus effect */
.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #0b63ff;
    box-shadow: 0 0 0 2px rgba(11, 99, 255, 0.15);
}

/* Services title */
.consultation-form p {
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

/* Checkbox layout */
.consultation-form label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 15px;
    color: #444;
    cursor: pointer;
}

/* Checkbox style */
.consultation-form input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

/* Textarea */
.consultation-form textarea {
    width: 100%;
    min-height: 90px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    resize: vertical;
    margin-top: 15px;
}

/* Button */
.consultation-form button {
    margin-top: 25px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0b63ff, #00b3ff);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Button hover */
.consultation-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 99, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .consultation-form input[type="text"],
    .consultation-form input[type="email"],
    .consultation-form input[type="tel"] {
        width: 100%;
        margin-right: 0;
    }
}




/* Footer Space */
footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .headline { font-size: 2em; }
    .services-grid { grid-template-columns: 1fr; }
}

/* === MOBILE OPTIMIZATIONS ONLY (added at the end - no existing rules changed) === */
@media (max-width: 992px) {
    /* Hero text columns stack */
    .text-container {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }

    /* Service rows stack vertically */
    .service-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 60px;
    }

    .service-row.right {
        flex-direction: column;
    }

    .service-content,
    .service-image {
        width: 100%;
        padding: 0 15px;
    }

    .service-image {
        order: -1; /* Image on top */
        margin-bottom: 20px;
    }

    .service-image img {
        border-radius: 16px;
    }

    /* Reduce margins */
    .first_line {
        margin: 40px 15px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    /* Smaller padding overall */
    .topper {
        padding: 50px 15px;
    }

    /* Headline and text scaling */
    .headline {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .service-content {
        font-size: 1.4rem;
    }

    .service-content h3 {
        font-size: 2rem;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 1.8rem;
    }

    /* Closing section adjustments */
    .closing-section {
        height: 70vh;
        max-height: 500px;
        min-height: 350px;
        margin: 50px 15px;
        border-radius: 20px;
    }

    .closing-overlay {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 1.6rem;
    }

    .service-content {
        font-size: 1.3rem;
    }

    .service-content h3 {
        font-size: 1.8rem;
    }

    .closing-headline {
        font-size: 2rem;
    }
}