
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
:root {
    --primary-blue: #223344;
    --accent-orange: #c84c4c;
    --text-dark: #212529;
    --white: #ffffff;
}


/*Nav bar*/
.navbar1 {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container1 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 2rem; /* Slightly tighter for a sleeker look */
}

.nav-links1 {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}
.nav-container1 a{
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
}
.nav-links1 a:hover{
    color: var(--accent-orange);
}

/* Dropdown Logic */
.dropdown1 {
    position: relative;
    display: inline-block;
}

.dropdown-header1 {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-content1 {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 300px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    top: 100%;
    left: 0; /* Aligned to the left of the parent text */
    padding: 0.5rem 0;
    border-radius: 4px;
    list-style: none;
    z-index: 1001;
}

.dropdown-content1 li a {
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-content1 li a:hover {
    background-color: var(--light-bg);
    color: var(--accent-orange);
}
.btn-cta {
    background-color: var(--accent-orange);
    color: var(--white) !important; /* Forces text to stay white */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.3s ease !important;
}

.btn-cta:hover {
    background-color: #a63d3d !important; 
    transform: translateY(-2px); 
    color: var(--white) !important;
}

/* Desktop Interaction */
@media (min-width: 769px) {
    .dropdown1:hover .dropdown-content1 {
        display: block;
    }
    .burger-menu1 { display: none; }
    
    .dropdown-toggle1 {
        margin-left: 8px;
        font-size: 0.7rem;
        pointer-events: none; /* Let the hover work on the whole header */
    }
}

/* Mobile Interaction */
@media (max-width: 768px) {
    .burger-menu1 {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .burger-menu1 span {
        width: 25px;
        height: 3px;
        background-color: var(--primary-blue);
    }

    .nav-links1 {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem 0;
        gap: 20px;

        max-height: calc(100vh - 100%); 
        overflow-y: auto; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-links1.active { 
        display: flex; 
        align-items: flex-start;
        padding-left: 16px;
    }

    .dropdown-header1 {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-toggle1 {
        font-size: 0.8rem;
        padding: 0 12px; /* Bigger tap area */
        cursor: pointer;
    }

    .dropdown-toggle1.rotate {
        transform: rotate(180deg);
    }

    .dropdown-content1 {
        position: static;
        width: 100%;
        background-color: var(--light-bg);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    .dropdown-content1 li a {
        padding: 10px 2rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .dropdown-content1.show { display: block; }
}
/*End of nav bar*/
/*Header*/

.service-hero {
    overflow: hidden; 
    padding: 80px 0;
    background: #f9f9f9;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

/* --- Content Styling --- */
.hero-content {
    flex: 1;
    opacity: 0;
    animation: slideInLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.eyebrow {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* --- Button Styling --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-orange);
    color: var(--white);
    border: 1px solid var(--accent-orange);
    padding: 15px 30px;
    border-radius: 10px !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.2s ease, background-color 0.3s ease, border 0.3s ease !important;
}

.cta-button:hover{
    background-color: #a63d3d !important; /* A slightly darker shade of your vibrant red */
    transform: translateY(-2px); /* Makes the button "lift" when hovered */
    color: var(--white) !important;
    border: 1px solid #a63d3d;
}

/* --- Image Styling --- */
.hero-image {
    flex: 1;
    opacity: 0;
    animation: slideInRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Animations --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/*End of header*/

/*Section 1*/
.features-section {
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-blue); 
    transition: 
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
        box-shadow 0.4s ease, 
        border-color 0.3s ease,
        opacity 0.8s ease, 
        translateY 0.8s ease;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.feature-card:hover {
    transform: translateY(-15px); 
    border-top-color: var(--accent-orange); 
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.15); 
}
.feature-card:hover .feature-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.feature-card:hover h3 {
    color: var(--accent-orange); 
    transition: color 0.3s ease;
}
.feature-card.reveal {
    opacity: 1;
    transform: translateY(0); 
}
/* Icon Specific Styling */
.feature-icon {
    font-size: 45px;
    color: var(--primary-blue); 
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.4s ease;
}


.feature-card:hover .feature-icon {
    color: var(--accent-orange); 
    transform: scale(1.1) rotate(5deg); 
}


.feature-card i {
    display: block;
}

.feature-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.4s; }

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/*End of section 1*/
/*Section 2*/
.details-section {
    padding: 100px 0;
    background-color: #fcfcfc;
    overflow: hidden;
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

/* --- Left Image Styling --- */
.details-image {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateX(-50%); /* Start from -50% Left */
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.details-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-blue);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.3);
}

@media (max-width: 768px) {
    .details-image{
        transform: none!important;
    }
    .details-text{
        transform: none!important;
    }
    .scroll-reveal-left{
        transform: none!important;
    }
    .scroll-reveal-right{
        transform: none!important;
    }
}

.experience-badge .number { font-size: 2rem; font-weight: 800; display: block; }
.experience-badge .label { font-size: 0.8rem; text-transform: uppercase; }

/* --- Right Text Styling --- */
.details-text {
    flex: 1;
    opacity: 0;
    transform: translateX(50%); /* Start from 50% Right */
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.details-text h2 {
    color: var(--primary-blue);
    font-size: 2.8rem;
    margin: 10px 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.stat-item i {
    color: var(--accent-orange);
    font-size: 1.5rem;
    margin-top: 5px;
}

.stat-item h4 { 
    color: var(--primary-blue); 
    margin-bottom: 5px; 
}
.stat-item p { 
    font-size: 0.9rem; line-height: 1.3; 
}

/* --- Animation Trigger Class --- */
.details-image.reveal, .details-text.reveal {
    opacity: 1;
    transform: translateX(0);
}

/*End of section 2*/
/*Section 3*/
.process-section {
    padding: 100px 0;
    background-color: var(--primary-blue); 
    color: white;
    text-align: center;
}

.process-section .eyebrow { 
    color: var(--accent-orange); 
}
.process-section h2 { 
    color: white; 
    margin-bottom: 60px; 
    font-size: 2.5rem; 
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.step-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    
    /* Animation Initial State */
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card.reveal {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.4s; }

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.step-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}
/*End of section 3*/

/*Section 4*/
.guarantee-section {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.guarantee-header {
    margin-bottom: 60px;
}

.guarantee-grid {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.guarantee-box {
    flex: 1;
    padding: 40px;
    background: #f8faff; 
    border-radius: 20px;
    text-align: left;
    border: 1px solid #e1e8f0;
    transition: all 1s ease-out;
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.guarantee-box h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.guarantee-box li i{
    color: var(--accent-orange);
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.check-list i {
    color: #28a745; /* Success Green for the checks */
}

.final-cta {
    background: #f4f4f4;
    padding: 50px;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.reveal {
    opacity: 1 !important;
    transform: translate(0) !important;
}
/*End of section 4*/

/* Responsive Design */
@media (max-width: 768px) {
    .container1 {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    /*Section 1*/
    .features-container {
        grid-template-columns: 1fr; 
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    /*Section 2*/
    .details-container {
        padding: 0px 10px!important;
        flex-direction: column;
        text-align: center;
    }
    .details-image { 
        transform: translateX(-30px); 
    } 
    .details-text { 
        transform: translateX(30px); 
    }
    .stats-grid { 
        grid-template-columns: 1fr; 
    }
    .stat-item { 
        flex-direction: column; 
        align-items: center; 
    }
    /*Section 3*/
    .process-steps {
        flex-direction: column;
        gap: 50px;
    }
    .process-section h2 { 
        font-size: 1.7rem; 
    }
    /*Section 4*/
    .guarantee-grid {
        flex-direction: column;
    }
    .guarantee-box {
        padding: 30px;
    }
    .final-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /*Header*/
    .experience-badge{
        bottom: -30px;
        right: 0;
        font-size: 0.2rem;
    }
    .final-cta{
        padding: 50px 0px;
    }
    .service-hero {
        padding: 60px 0px!important;    
    }
    .features-section{
        padding: 60px 10px;
    }
    .details-section{
        padding: 60px 0px;
    }
    .process-section{
        padding: 60px 0px;
    }
    .guarantee-section{
        padding: 60px 0px;
    }

    .container1 {
        flex-direction: column; 
        gap: 30px;
        padding: 0 10px;
    }

    /* Adjust the text block */
    .hero-content {
        text-align: center;
        order: 2; 
    }

    .hero-content h1 {
        font-size: 1.7rem; 
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-image {
        order: 1; 
        width: 100%;
    }

    .hero-image img {
        border-radius: 10px;
        max-height: 250px; 
        object-fit: cover;
    }

    .cta-button {
        width: 80%; 
        justify-content: center;
        padding: 18px 10px;
        font-size: 1rem;
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateY(30px); 
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateY(-30px); 
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /*End of header*/
}

/*FOOTER*/
/* --- FOOTER STYLES --- */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 0 0; /* No padding on bottom because of footer-bottom bar */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3.footer-logo {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Red underline for headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-desc {
    color: #bdc3c7; /* Light grayish text for readability */
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.contact-item i {
    color: var(--accent-orange);
    font-size: 1.1rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #1a2938; /* Slightly darker than primary-blue */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
        .result-box{
        padding: 30px;
    }
    .badge-icon{
        display: flex;
        justify-content: center;
    }

    footer .fables-logo{
        width: 80%;
    }
    .container1 p{
        padding: 0 8px;
    }
    .details-text h2{
        font-size: 1.7rem;
    }
}
/*End of footer*/