:root {
    --primary: #16bdc1;
    --secondary: #ff6b00;
    --dark: #1a1a1a;
    --light: #f8f9fa;
}

body {
    overflow-x: hidden;
}

/* Headings use Poppins */
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}

/* Clear visual hierarchy */
h1 { font-size: 2.5rem !important; } /* largest */
h2 { font-size: 2rem !important; }
h3 { font-size: 1.65rem !important; }
h4 { font-size: 1.35rem !important; }
h5 { font-size: 1.15rem !important; }
h6 { font-size: 1rem !important; } /* closest to body text */

/* Paragraphs use Lato */
p {
  font-family: "Lato", sans-serif !important;
  color: #565656 !important;
  line-height: 1.6 !important;
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
}

/* Links (a) */
a {
  font-family: "Lato", sans-serif !important;
  color: #424242 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

a:hover {
  color: #f5a623 !important; /* accent yellow */
  text-decoration: underline !important;
}

/* Lists (ul, ol, li) */
ul, ol {
  font-family: "Lato", sans-serif !important;
  color: #142e36 !important;
  font-size: 1rem !important;
  margin-bottom: 1rem !important;
  padding-left: 1.5rem !important;
  line-height: 1.6 !important;
}

li {
  margin-bottom: 0.4rem !important;
}


h2,
h3,
h4,
h5 {
    color: var(--primary);
    font-weight: bold;
}

/*   */
/* Navbar */
/* .navbar {
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            top:30px;
            z-index: 1030;
        }  */

.navbar-sec {
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}

.navbar-brand img {
    height: 90px;
    width: auto;
}

.nav-link {
    color: #424242 !important;
    margin: 0 0.5rem;
    transition: color 0.3s;
    font-weight: bold;

}

.nav-link:hover {
    color: rgb(10, 119, 138)
}


.navbar-nav {
    /* padding-right: 20%; */
    margin-top: 20px;
}



/* Banner */
.banner {
    background-image: url('../images/banner4.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 112px 0 80px;
    position: relative;
    /* margin-top: -106px; */
}

.banner h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary-custom {
    background: #16bdc1;
    border: none;
    padding: 12px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-custom:hover {
    background: #e55d00;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}




/* About Section */
.about-section {
    padding: 10px 0;
    background: var(--light);
}

.value-about {
    border: 2px solid #ff6b00;
    border-radius: 10px;
    box-shadow: 0 2px 5px #ff6b0075;

}

.item p {
    text-align: center !important;

}

.para-about {
    /* text-align: justify; */
    /* word-spacing: -3px; */
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    /* margin-bottom: 1.5rem; */
    color: #16bdc1;
    position: relative;
    /* padding-bottom: 15px; */
}

/*         
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--secondary);
        }
        */
.custom-container {
    background: white;
    /* max-width: 1400px; */
}


/* Steps Styling */
.steps-section {
    padding-left: 20px;
    /* Adjust for the decorative line/curve */
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    align-items: center;
    /* Use the custom property for delay in CSS */
    animation: fadeInUp 0.6s forwards var(--delay, 0s);
}

.step-number {
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b00 0%, #f5d0b4 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    margin-right: 25px;
    box-shadow: 0 8px 20px #ff6b0075;
    position: relative;
    z-index: 2;
}

/* Connector Line between Steps */
.step:not(:last-child) .step-number::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, #ff6b00 0%, #f5d0b4 100%);
    opacity: 0.3;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

/* Image Float Animation */
.floating-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
    width: 100%
}

@keyframes float {

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

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

/* Step Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides (Matching the original design's media queries) */
@media (max-width: 991.98px) {

    /* Bootstrap's lg breakpoint */
    .content-wrapper {
        gap: 50px;
    }

    .custom-h1 {
        font-size: 2.5em;
    }

    .custom-container {
        padding: 0px 30px;
    }
}

@media (max-width: 599.98px) {
    .section-title {
        font-size: 1.7rem;
    }

    .custom-h1 {
        font-size: 2em;
    }

    .step-number {
        min-width: 50px;
        height: 50px;
        font-size: 1.2em;
    }

    .custom-h3 {
        font-size: 1.1em;
    }

    .value-about .item p {
        font-size: 9px;
        text-align: center;
    }

}

/* service section  */

/* Services on Banner */
.services-banner {
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 3.5rem;
    color: #ff6b00;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--dark);
    font-weight: bold;
    font-size: 1 rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 20px 0;
    background: var(--light);
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 5px;
}

@media (max-width: 420px) {
    .g-recaptcha {
        transform: scale(0.65);
        margin-right: 50%;
    }
}

/* form .form-control::placeholder {
    color: #050202 !important;
    opacity: 1;
} */

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}



/* Footer */
.footer {
    /* background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%); */
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {

    margin-bottom: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary);
}

.reach-us i {
    color: var(--primary);
}



/* .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            margin-right: 10px;
            transition: background 0.3s;
        }
        
        .social-icons a:hover {
            background: var(--secondary);
        } */

@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.2rem;
    }

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


/* services */

.row-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Increased gap for better spacing */
    flex-wrap: wrap;
}

.row-flex-reverse {
    flex-direction: row-reverse;
}

.item-content {
    flex: 1;
    min-width: 200px;
}

.item-photo {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.item-photo img {
    width: 100%;
    height: 100%;
    opacity: 0.9;
    object-fit: cover;
    /* Added for image scaling */
}

.item-label {
    font-size: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 0.9;
    /* Adjusted for better stacking */
}

/* .item-description {
    text-align: justify;
    word-spacing: -2px;
} */

.badge-label {
    display: inline-block;
    font-size: 100px;
    font-weight: 400;
    /* Fixed typo from 400px */
    letter-spacing: 1px;
    margin-right: 15px;
    /* Added margin for separation */
    min-width: 100px;
    color: var(--secondary)
}

/* NEW STYLES for the consolidated section */


.service-item {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    will-change: transform;
    margin-bottom: 30px;
    /* Space between movie blocks */
    padding: 20px;
    border-radius: 8px;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(223, 100, 5, 0.89);
}

.item-photo {
    perspective: 1000px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.item-photo img {
    fill: #333;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px;
}

.item-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(223, 100, 5, 0.89);
}

@media (max-width: 768px) {
    .row-flex {
        display: flex;
        flex-direction: column;
    }

    .badge-label {
        text-align: center;
    }


    .row-flex-reverse {
        flex-direction: column;
    }

}