
:root {
    --bg-main: #ffffff;
    --text-main: #213D5A;
    --text-muted: #555555;
    --cta-main: #D4AF37;
    --cta-hover: #b8962e; 
}

/* Reset */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Layout */
.container {
    max-width: 78rem;
    margin-inline: 4rem;
    padding: 4rem 2rem;
}

/* Header */
.site-header {
    border-bottom: 1px solid #eee;
}

.header-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 2.5rem;
}

.brand-text {
    display: flex;
    flex-direction: column; /* forces new line */
}

.brand-name {
    font-size: 2.0rem;      /* bigger text */
    font-weight: 700;
    line-height: 1.2;
    color: var(--cta-hover);
    text-transform: uppercase;
}

.brand-tagline {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.4rem;      /* bigger text */
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}


.main-nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-main);
    font-weight: bold;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;           /* gap between text and line */
    width: 100%;
    height: 0.2rem;             /* underline thickness */
    background-color: var(--cta-hover);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    color: var(--cta-main);
    font-weight: 600;
}

.nav-toggle {
    display: none;
}

/* Hero */
.hero {
    min-height: 540px ;
    position: relative;
    background-image: url(../img/HeaderImage.jpeg); 
    background-repeat: no-repeat;
    background-position:right;
    background-size: contain;
    background-color: #080F29;
    
}

section.testimonialp{
   background-image: url(../img/HeaderImageTestimonial.jpeg);      
}
section.contactus{
    background-image: url(../img/HeaderImageContactUs.jpeg);     
}

.hero-accent {
    display: block;
    width: 3rem;
    height: 0.2rem;
    background: var(--cta-main);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    max-width: 25ch;
    margin: 0;
    color: var(--bg-main);
}

.hero h1:hover {

    color: var(--cta-main);
}

.hero h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 30ch;
    margin-top: 1rem;
    color: var(--bg-main);
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content:flex-start; /* center align on mobile */
}

/* Buttons */
.btn-primary {
    font-size: clamp(0.8rem, 4vw, 1rem); /* slightly larger min for mobile readability */
    background: var(--cta-main);
    color: #000;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 5vw, 1.5rem); /* responsive padding */
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px); /* subtle hover lift */
}

/* Link button */
.btn-link {
    text-decoration: none;
    color: var(--cta-main);
    font-weight: 500;
    font-size: clamp(0.8rem, 4vw, 1rem);
    display: inline-block;
    text-align: center;
    padding: clamp(0.3rem, 1.5vw, 0.5rem) 0;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-link:hover {
    text-decoration: underline;
    transform: translate(0px, 0px);
}

/* ------------------------------
   Services Section
------------------------------ */
#services {
    padding: 60px 20px;
    text-align: center;
}

#services h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 40px;
}


#services img {
    width:80%;
    height: 50%;
    margin-bottom: 25px;
    border-radius: 10px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 25px;
}

.service {
    position: relative; /* required for ::after */
    background-color: var(--bg-main);
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(33, 61, 90, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--cta-main);
}

.service:hover,
.service:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(33, 61, 90, 0.2);
}

.service h3 {
    color: var(--text-main);
    margin-bottom: 15px;
}

.service p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #444;
}

.services-container .service a
{
    color: var(--cta-main);
    text-decoration: none;
}

.services-container .service a:hover
{
    font-weight: bolder;
}
/* ------------------------------
   Call-to-Action Section
------------------------------ */
#cta {
    background: linear-gradient(135deg, #0F2740, #213D5A);
    color: var(--bg-main);
    padding: 60px 20px;
    text-align: center;

    background-image: url(../img/FooterImage.jpeg); 
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
}

#cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--cta-main);
}

#cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #D4AF37;
    color: #0F2740;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover,
.cta-button:focus {
    background-color: #c19a2e;
    transform: translateY(-2px);
}

/* Clients */
.section-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.client-container {
    margin-inline: 4rem;
    padding: 2rem 2rem;
}

.client-wrapper {
    overflow: hidden;
    width: 100%;
    background: #fff;
    padding: 20px 0;
}

.client-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.client-row img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.4;
    animation: highlight 10s linear infinite;
}

/* Infinite scroll */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Auto highlight effect */
@keyframes highlight {
    0%, 90%, 100% {
        filter: grayscale(100%);
        opacity: 0.4;
        transform: scale(1);
    }
    10%, 20% {
        filter: grayscale(0);
        opacity: 1;
        transform: scale(1.08);
    }
}
/* Footer */
/* .site-footer {
    border-top: 5px solid var(--cta-main);
    background-color: var(--text-main);
    background: linear-gradient(135deg, #0F2740, #3c648f);
    color: var(--bg-main);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--bg-main);
}



.footer-links a:hover{
    color: var(--cta-hover);
    
} */


.site-footer {
  border-top: 5px solid var(--cta-main);
  background: linear-gradient(135deg, #0F2740, #3c648f);
  color: var(--bg-main);
  padding: 1.5rem 0;
}

/* Desktop layout */
.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-group h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-group a {
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: var(--bg-main);
  font-size: 0.95rem;
}

.footer-group a:hover {
  color: var(--cta-hover);
}

.floating-consult {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--cta-main);
    border-radius: 999px;
    padding: 1rem 1.8rem;
    font-weight: 500;
    border: none;
}

/* ===============================
   JS Powered Visual Effects
================================ */


/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(35px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}

/* Premium card hover */
.service {
    position: relative;
}

.service::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* allow clicks through */
}

.service:hover::after {
    opacity: 1;
}

.client-container h2{
    text-align: center;
}

/* Elegant section divider */
#services h2::after,
#about h2::after,
#contact h2::after,
.client-container h2::after{
    content: "";
    display: block;
    width: 180px;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, transparent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.aboutus{
    padding-bottom: 2rem;
    padding-top: 1rem;
    max-width: 100%;
}

.aboutus img{
    display: block;
    margin:auto;
    width: 30%;
    height: 30%;
}

.about-story p{
    text-align: justify;
}
/* ------------------------------
   Contact Section
------------------------------ */
#contact {
    padding: 60px 20px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #f5f7fa;
    border-radius: 2%;
}

#contact h2 {
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact label {
    font-weight: 600;
    color: var(--text-main);
}

#contact input,
#contact select,
#contact textarea {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
    outline: 2px solid #D4AF37;
    border-color: var(--cta-main);
}

#contact button {
    background-color: var(--text-main);
    color: var(--bg-main);
    padding: 12px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
   
}

#contact button:hover,
#contact button:focus {
    background-color: #0F2740;
    transform: translateY(-2px);
}

.about-contact ul {
    list-style: none;
    padding: 0;
}

.about-contact li {
    margin-bottom: 0.5rem;
}

span.icon {
    color: var(--cta-main); /* golden color */
    font-size: 1.2rem;
}

/* Service Page */
/* Service Cards Container */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

/* Individual Service Card */
.service-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 4rem 2rem;
    box-shadow: 0 12px 30px rgba(33,61,90,0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33,61,90,0.12);
}

/* Floating Number Circle */
.service-card .service-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #D4AF37;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Service Icon */
.service-card .service-icon {
    font-size: 2rem;
    color: #213D5A;
    margin-bottom: 1rem;
}

/* Card Heading & Text */
.service-card h3 {
    font-size: 1.5rem;
    color: #213D5A;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* Learn More Button */
.service-card .btn-small {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 0.8rem;
    background-color: #D4AF37;
    color: #213D5A;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.service-card .btn-small:hover {
    transform: translateY(-2px);
}

/* Process section */
.process-v2 {
  background-color: var(--navy);
  padding: 1rem 0.5rem;
  color: var(--white);
}

.process-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 70px;
}

.process-title span {
  color: var(--gold);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.process-item {
  position: relative;
  /* background: linear-gradient(145deg, #1f2b48, #141c30); */
  padding: 50px 35px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ================================
   SCROLL LIFT EFFECT (MOBILE)
================================ */

/* Default state */
.process-item {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Activated on scroll */
.process-item.in-view {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.process-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.icon-wrap {
  width: 54px;
  height: 54px;
  background-color: var(--cta-main);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: var(--bg-main);
}

.process-item h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  /* color: var(--bg-main) */
}

.process-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
  /* color: var(--bg-main) */
}

.step {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cta-main);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ================================
   SVG MICRO-ANIMATIONS
================================ */

.icon-wrap svg {
  transition: transform 0.5s ease, fill 0.3s ease;
  transform-origin: center;
}

/* Hover micro-interaction */
.process-item:hover .icon-wrap svg {
  transform: scale(1.15) rotate(-6deg);
}

/* Individual icon personalities */
.process-item:nth-child(1):hover svg {
  transform: scale(1.15) translateX(2px);
}

.process-item:nth-child(2):hover svg {
  animation: pulse 0.8s ease;
}

.process-item:nth-child(3):hover svg {
  transform: scale(1.15) rotate(6deg);
}

.process-item:nth-child(4):hover svg {
  transform: scale(1.15) rotate(360deg);
}

.process-item:nth-child(5):hover svg {
  transform: scale(1.2) translateY(-2px);
}

.process-item:nth-child(6):hover svg {
  transform: scale(1.15) rotate(-10deg);
}

.process-item:nth-child(7):hover svg {
  transform: scale(1.15) translateY(-4px);
}

.process-item:nth-child(8):hover svg {
  animation: checkBounce 0.6s ease;
}

.process-item:nth-child(9):hover svg {
   transform: scale(1.15) rotate(360deg);
}

/* SVG entrance animation */
svg.icon-animate {
  animation: popIn 0.7s ease forwards;
}

/* ===============================
   Portfolio / Case Studies Page
================================= */

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 4rem 2rem;
}

/* Case Card (Glassmorphism) */
.case-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(33,61,90,0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33,61,90,0.12);
}

/* Floating Number */
.case-card .case-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #D4AF37;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Case Icon */
.case-card .case-icon {
    font-size: 2rem;
    color: #213D5A;
    margin-bottom: 1rem;
}

/* Heading & Text */
.case-card h3 {
    font-size: 1.5rem;
    color: #213D5A;
    margin-bottom: 0.5rem;
}

.case-card .case-meta {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.case-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.case-card .case-points {
    list-style: disc;
    padding-left: 1.2rem;
    color: #213D5A;
}

.case-card .case-points li {
    margin-bottom: 0.5rem;
}


.testimonials.advanced {
    position: relative;
    /* padding: 100px 0; */
    background: linear-gradient(120deg, #f1f5f9 0%, #e2e8f0 100%);
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.testimonial-quote {
    position: relative;
    max-width: 600px;
    padding: 40px 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 10px, 100% 100%, 0% 100%);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s;
}

.testimonial-quote:hover {
    transform: translateY(-10px);
}

.testimonial-quote::before {
    content: "“";
    font-size: 5rem;
    color:var(--text-muted);
    position: absolute;
    top: -20px;
    left: 20px;
}

.testimonial-quote footer {
    font-weight: 600;
    color: #334155;
    margin-top: 20px;
}

/* Alternate positioning */
.quote-left {
    align-self: flex-start;
    border-left: 5px solid var(--cta-hover);
}

.quote-right {
    align-self: flex-end;
    border-right: 5px solid #316092;
}
/* Mobile */
@media (max-width: 48rem) {


    .container {
        max-width: 100%;
        margin-inline: 0.0rem;
        
    }
    .brand-name {
        font-size: 1.0rem;      /* bigger text */
        font-weight: 700;
        line-height: 1.2;
        color: var(--cta-hover);
        text-transform: uppercase;
    }

    .hero-accent {
       margin-top: 55%;
    }
    .hero h1{
        /* margin-top: 50%; */
        font-size: clamp(1.5rem, 6vw, 2.8rem);
    }

    .hero h2 {
        font-size: clamp(1.0rem, 4vw, 1.8rem);
    }

    .hero {
        position: relative;
        background-image: url(../img/HeaderImage.jpeg); 
        background-repeat: no-repeat;
        background-position:top;
        background-size: contain;
        min-height: 480px ;
    }

    .brand-tagline {
        font-weight: 600;
        letter-spacing: 0.5px;
        font-size: 0.7rem;      /* bigger text */
    }

    .hero-actions {
        flex-direction: column; /* stack buttons vertically */
        gap: 0.3rem;
    }

    .btn-primary,
    .btn-link {
        display: block;
        width: 100%;
        margin-bottom: 0.1rem;
    }

    .main-nav ul {
        display: none;
    }


    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
    }

    .main-nav ul {
        z-index: 9999;
        display: none; /* hide menu initially */
        flex-direction: column;
        gap: 20px;
        background: var(--bg-main);
        opacity: 0.7;
        position: absolute;
        top: 64px; /* below header */
        right: 16px;
        padding: 16px 24px;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 200px;
    }
    .main-nav ul.show {
        display: flex;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    /* Services Detailed page  */
    .service-number {
        font-size: 2rem;
    }

    .service-left h3 {
        font-size: 1.25rem;
    }
    
    #services img {
        width:100%;
        margin-bottom: 25px;
        border-radius: 5px;
    }
    .client-container {
        margin-inline: 1rem;
        padding: 2rem 0rem;
    }

    .client-wrapper {
        padding: 12px 0;
    }

    .client-row {
        gap: 32px;
        animation-duration: 25; /* slower scroll */
    }

    .client-row img {
        height: 42px;
        opacity: 0.35;
        animation-duration: 14s; /* slower highlight */
    }

    @keyframes highlight {
        0%, 85%, 100% {
            filter: grayscale(100%);
            opacity: 0.35;
            transform: scale(1);
        }
        10%, 25% {
            filter: grayscale(0);
            opacity: 1;
            transform: scale(1.05);
        }
    }

    .testimonial-quote {
        align-self: stretch !important;
        border-left: none;
        border-right: none;
    }

    /* About us page */
    .aboutus img{
        display: block;
        margin:auto;
        width: 50%;
        height: 50%;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem 2rem;
        gap:0;
    }

    .footer-group {
        margin-top: 1.5rem;
    }

    .footer-group h4 {
        margin-bottom: 0.6rem;
    }

    .footer-group a {
        padding: 0;
    }

    .floating-consult {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        bottom: 1rem;
        right: 1rem;
    }

    .process-item:hover {
        transform: none;
        box-shadow: none;
    }
}