/* ---------- Base ---------- */
  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
html {
    scroll-behavior: smooth;
    scroll-padding-top: env(safe-area-inset-top, 0px);
}

  .service-card
  {
          text-align: left !important;
  }

/* ---------- Common (shared by all sections) ---------- */
.hero-section,
.trust-bar,
.about-section,
.services-section,
.cta-section,
.solutions-section,
.why-section,
.process-section,
.problems-section,
.faq-section,
.page-footer {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #3b4b5a;
    box-sizing: border-box;
    overflow-x: hidden;
}

.page-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.about-section,
.services-section,
.cta-section,
.solutions-section,
.why-section,
.process-section,
.problems-section,
.faq-section {
    padding: 72px 0;
}

.cta-section
{
  background: linear-gradient(135deg, #0a2036, #12304a);
  padding-bottom: 0px;
  padding-top:0px;
}

.cta-section .right_img
{
    display:flex;
    justify-content:center;
    align-items:end;
}


/* Section headings */
.about-title,
.services-title,
.cta-title,
.solutions-title,
.why-title,
.process-title,
.problems-title,
.faq-title {
    font-family: Poppins, system-ui, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 42px;
    color: #0a2036;
    margin: 0 0 16px;
    padding: 0;
}

.about-title::after,
.services-title::after,
.cta-title::after,
.solutions-title::after,
.why-title::after,
.process-title::after,
.problems-title::after,
.faq-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: #f5b301;
    margin-top: 12px;
}

/* Section paragraphs */
.about-text,
.services-text,
.cta-text,
.solutions-text,
.why-text,
.process-text {
    margin: 0 0 14px;
    padding: 0;
    font-size: 16px;
    line-height: 28px;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s, transform 0.8s;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* Button */
.page-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a2036;
    color: #ffffff;
    font: 600 16px/24px Poppins, sans-serif;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid #0a2036;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 24px rgba(10, 32, 54, 0.22);
    text-decoration: none;
    box-sizing: border-box;
}

.page-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-25deg);
    animation: buttonShine 3.5s infinite;
}

.page-button:hover {
    background: #f5b301;
    border-color: #f5b301;
    color: #0a2036;
    transform: translateY(-3px);
}

.page-button-gold {
    background: #f5b301;
    border-color: #f5b301;
    color: #0a2036;
}

.page-button-gold:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a2036;
}

/* ---------- 1. Hero Section ---------- */
.hero-section {
    position: relative;
    z-index: 0;
    overflow: hidden;
    min-height: 500px;
    padding: 100px 0 140px;
    display: flex;
    align-items: center;
    text-align: center;
    background: url("https://www.structurefx.com/media/hero_section.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: "";
    background: #0a20368a;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 900px;
}

.hero-title {
    font-family: Poppins, system-ui, Arial, sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 72px;
    color: #ffffff;
    margin: 0 0 34px;
    padding: 0;
    animation: fadeUp 0.9s both;
}

.hero-container .page-button {
    animation: fadeUp 0.9s 0.3s both;
}

.hero-ripple {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    border: 2px solid rgba(245, 179, 1, 0.35);
    border-radius: 50%;
    animation: heroRipple 6s ease-out infinite;
}

.hero-ripple-2 {
    animation-delay: 2s;
}

.hero-ripple-3 {
    animation-delay: 4s;
}

.hero-waves {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 200%;
    height: 90px;
    display: flex;
    animation: heroWave 9s linear infinite;
    z-index: 1;
}

.hero-waves svg {
    width: 50%;
    height: 100%;
}

.hero-waves svg path {
    fill: #0a2036;
}

/* ---------- 2. Trust Bar ---------- */
.trust-bar {
    background: #0a2036;
    color: #cfdbe6;
    border-bottom: 4px solid #f5b301;
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 26px;
    padding-bottom: 26px;
    font-size: 15px;
    line-height: 20px;
}

.trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trust-item i {
    color: #f5b301;
    font-size: 24px;
}

/* ---------- 3. About Section ---------- */
.about-container,
.solutions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.about-content,
.solutions-content {
    width: 47%;
}

.about-image {
    width: 47%;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 90%;
    border-radius: 10px;
}

/* ---------- 4. Services Section ---------- */
.services-section {
    background: #eaf2f9;
}

.services-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.service-card,
.why-card {
    background: #ffffff;
    border: 1px solid #dde7f0;
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: 0.35s;
    box-sizing: border-box;
}

.service-card::before,
.why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 0;
    background: #f5b301;
    transition: 0.4s;
}

.service-card:hover,
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(10, 32, 54, 0.14);
}

.service-card:hover::before,
.why-card:hover::before {
    width: 100%;
}

.service-card-icon,
.why-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #0a2036;
    color: #f5b301;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 16px;
    transition: 0.4s;
}

.service-card:hover .service-card-icon,
.why-card:hover .why-card-icon {
    transform: rotateY(180deg);
    background: #f5b301;
    color: #0a2036;
}

.service-card-title,
.why-card-title {
    font-family: Poppins, system-ui, Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 24px;
    color: #0a2036;
    margin: 0 0 8px;
    padding: 0;
}

.service-card-text,
.why-card-text {
    font-size: 15px;
    line-height: 25px;
    margin: 0 0 14px;
    padding: 0;
    color:#000;
}

.service-card-suitable {
    font-size: 14px;
    line-height: 22px;
    color: #12304a;
    padding-top: 10px;
    border-top: 1px dashed #dde7f0;
    margin: 0;
}

/* ---------- 5. CTA Section ---------- */
.cta-section .page-container
{
    background: linear-gradient(135deg, #0a2036, #12304a);
    display: flex !important;
    gap: 25px;
    border-radius:15px;
}

.cta-section .page-container .right_img img
{
    width:100%;
    height:70%;
}
.cta-box {
    border-radius: 28px;
    padding: 56px 0px;
    text-align: left;
    color: #cfdbe6;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}


.cta-title {
    color: #ffffff;
}

.cta-title::after {
    margin: 12px  0;
}

.cta-text {
    max-width: 720px;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
}

.cta-box .page-button {
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

/* ---------- 7. Why Choose Section ---------- */
.why-intro {
    margin: 0;
}

/* ---------- 8. Process Section ---------- */
.process-section {
    background: #eaf2f9;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    counter-reset: processStep;
}

.process-step {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #dde7f0;
    padding: 28px 28px 28px 92px;
    position: relative;
    transition: 0.3s;
    box-sizing: border-box;
}

.process-step:hover {
    border-color: #f5b301;
    transform: translateY(-6px);
}

.process-step::before {
    counter-increment: processStep;
    content: counter(processStep);
    position: absolute;
    left: 24px;
    top: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5b301;
    color: #0a2036;
    font-weight: 800;
    font-size: 20px;
    display: grid;
    place-items: center;
}

.process-step-title {
    font-family: Poppins, system-ui, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 23px;
    color: #0a2036;
    margin: 0 0 6px;
    padding: 0;
}

.process-step-text {
    font-size: 15px;
    line-height: 25px;
    margin: 0;
    padding: 0;
}

/* ---------- 9. Problems Section ---------- */
.problems-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.problems-item {
    background: #ffffff;
    border: 1px solid #dde7f0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 15px;
    line-height: 24px;
    transition: 0.3s;
    box-sizing: border-box;
}

.problems-item:hover {
    transform: translateX(8px);
    border-color: #f5b301;
}

.problems-item i {
    color: #f5b301;
    font-size: 18px;
}

.problems-note {
    font-weight: 600;
    color: #0a2036;
    border-left: 5px solid #f5b301;
    padding: 6px 0 6px 18px;
    margin: 0 0 14px;
}

/* ---------- 10. FAQ Section ---------- */
.faq-section {
    background: #eaf2f9;
}

.faq-title {
    margin-bottom: 36px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #dde7f0;
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 18px 24px;
    transition: 0.3s;
    box-sizing: border-box;
}

.faq-item[open] {
    border-color: #f5b301;
    box-shadow: 0 12px 28px rgba(10, 32, 54, 0.08);
}

.faq-question {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    font-weight: 600;
    color: #0a2036;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    color: #f5b301;
    transition: 0.3s;
}

.faq-item[open] .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    margin: 12px 0 0;
    padding: 0;
    animation: fadeUp 0.4s both;
}

/* ---------- 11. Footer ---------- */
.page-footer {
    background: #0a2036;
    color: #9fb3c6;
    text-align: center;
    padding: 26px;
    font-size: 14px;
}

/* ---------- Animations ---------- */
@keyframes buttonShine {
    0%,
    60% {
        left: -80%;
    }
    100% {
        left: 130%;
    }
}

@keyframes heroWave {
    to {
        transform: translateX(-50%);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroRipple {
    from {
        transform: scale(0.3);
        opacity: 1;
    }
    to {
        transform: scale(3.2);
        opacity: 0;
    }
}

/* ---------- Tablet (max 900px) ---------- */
@media (max-width: 900px) {
    .about-section,
    .services-section,
    .cta-section,
    .solutions-section,
    .why-section,
    .process-section,
    .problems-section,
    .faq-section {
        padding: 52px 0;
    }

    .hero-section {
        min-height: 440px;
        padding: 90px 0 120px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 44px;
    }

    .hero-ripple {
        width: 200px;
        height: 200px;
        margin: -100px 0 0 -100px;
    }

    .trust-container {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .why-grid,
    .process-steps,
    .problems-list {
        grid-template-columns: 1fr;
    }

    .about-title,
    .services-title,
    .cta-title,
    .solutions-title,
    .why-title,
    .process-title,
    .problems-title,
    .faq-title {
        font-size: 26px;
        line-height: 34px;
    }

    .cta-box {
        padding: 34px 20px;
    }
}

/* ---------- Mobile (max 600px) ---------- */
@media only screen and (max-width: 600px) {
    .about-container,
    .solutions-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-content,
    .solutions-content,
    .about-image {
        width: 100%;
    }

    .about-image img {
        width: 100%;
    }

    .hero-section {
        min-height: 356px;
        padding: 30px 0 120px;
    }

    .hero-title {
        font-size: 35px;
        line-height: 44px;
        font-weight: 700;
    }

    .page-button {
        font: 600 15px/8px Poppins, sans-serif;
        width: auto;
    }

    .about-section,
    .services-section,
    .cta-section,
    .solutions-section,
    .why-section,
    .process-section,
    .problems-section,
    .faq-section {
        padding: 30px 0;
    }
        .cta-section .page-container
        {
                background: #fff;
              gap: 0px;
        }
    .cta-section .page-container .right_img img
    {
        display:none;
    }
    
    .solutions-section .why-title 
    {
        padding:0px 20px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-section *,
    .service-card,
    .why-card,
    .process-step,
    .problems-item,
    .faq-item,
    .page-button {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}