/* Custom animations and styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.hero{
    background: linear-gradient(180deg, #6B88C8FF 0%, #1A48AAFF 40%, #0033a1 100%);
    min-height: 80vh;
}
.text-primary{
    color: #01043A;
}
.bg-primary{
    background: #01043A;
}
.bg-btn{
    background: #0033A0 !important;
}
.contact-icon-container{    
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    padding: 2px;
}
.contact-icon{
    width: 10px;
    height: 10px;
    transform: rotate(-120deg);
}
.transforn-none{
    transform: none;
}
.nav-item{
    color: #292A3E;
    text-align: center;
}
.cta{
    height: 72px;
    color:#0033A0;
}
.hero-title{
    line-height: 1.2 !important;
}
.hero button{
    font-weight: 400;
}
.hero-main{
    padding-top: 9em;
}
.organogram{
    margin: 70px 0;
    padding:48px 20px;
    display:flex;
    justify-content:center;
}
.about {
    background: radial-gradient(ellipse at center, #edf2f1 0%, #fff 30%, #e2e8f0 70%, #edf2f1 100%);
    padding: 80px 20px;
}

.about-badge {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    color: #022D88;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    justify-content: center;
    background: #F4F8FF;
    padding: 5px 8px;
    border-radius: 25px;
    width: 150px;
    border: 1px solid #E8EFFF;
}

.about .search-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.about .main-title {
    font-size: 40px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 60px;
    max-width: 1030px;
}

.about .content-card {
    background: white;
    border-radius: 24px;
    padding: 20px 30px 0 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    max-width: 75rem;
}

.about .left-content {
    flex: 1;
}
.about .left-content img {
    margin-left: 20px;
}
.about .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 40px;
}

.about .logo-g {
    fill: #2563eb;
}

.about .logo-accent {
    fill: #ef4444;
}

.about .description {
    font-size: 24px;
    line-height: 1.6;
    color: #0033A0;
    font-weight: 400;
    margin-top: 3rem;
    max-width: 650px;
}

.about .right-content {
    flex-shrink: 0;
}

.about .person-image {
    width: 350px;
    height: 380px;
}
.about .person-image img {
    left: -50px;
}

@media (max-width: 768px) {
    .about .content-card {
        flex-direction: column;
        padding: 40px 30px 0;
        gap: 40px;
        text-align: center;
    }

    .about .main-title {
        font-size: 25px;
    }

    .about .person-image {
        width: 250px;
        height: 250px;
    }

    .about .description {
        font-size: 18px;
    }
}

.p-side{
    padding-left: 80px;
    padding-right: 80px;
}

.card-hover-effect {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.services-badge{
    color: #DF6E31;
    font-size: 14px;
}
.work-badge{
    border: 1px solid #DF6E31;
    color: #DF6E31;
}
.work-title{
    color: #25273E;  
}
.max-w-6xl {
    max-width: 72rem;
}
h1, h2{
    line-height: 1.2 !important;
}
.services{
    background: linear-gradient(185.02deg, #FDB989 4.04%, #FF4B3E 128.76%);
}
.nav-container{
    background: #FAFAFF;
}
.download-section{
/* Auto layout */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* padding: 38px 165px; */
gap: 10px;
width: 1203px;
height: 448px;
left: 119px;
top: 4130px;
background: #0033A0;
border-radius: 41px;

}
input[type="email"]{
    box-sizing: border-box;
    width: 449px;
    height: 50px;
    background: #0033A0;
    border: 1px solid #B5CDFF;
    border-radius: 6px;
    flex: none;
    order: 1;
    flex-grow: 0;  
    color: #ffffff;
}

input[type="text"]{
box-sizing: border-box;
width: 294px;
height: 50px;
border: 1px solid #B5CDFF;
border-radius: 6px;
flex: none;
order: 0;
flex-grow: 0;
color: #ffffff;
background: #0033A0;
}

.download-section button{
box-sizing: border-box;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 0px;
gap: 11px;
width: 341px;
height: 55px;
background: #1745A9;
border: 1px solid #FFFFFF;
border-radius: 11px;
flex: none;
order: 2;
flex-grow: 0;
   
}
.text-dark{
    color: #6C6F8D;
}

.border-dark{
    border-color: #25273E;
}
.service-title{
max-width:760px;
margin-bottom: 10px;
font-weight: 500;
line-height: 1.2;
text-align: center;
color: #FFFFFF !important;
flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;
}


.service-description{
font-size: 24px; 
margin-bottom: 25px;
text-align: center;
color: #FFF6F4;
}

@media (max-width: 1024px) {
    .about .person-image img {
        left: 0;
    }
    
    .about .description {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    input[type="email"],
    input[type="text"] {
        width: auto
    }
    .hero-main {
        padding-top: 5em;
    }
    .about .description {
        font-size: 18px;
    }
    .hero{
         min-height: auto;
    }
}

@media (max-width: 639px) {
    .p-side{
        padding-left: 10px;
        padding-right: 10px;
    }
    input[type="email"], input[type="text"] {
        width: 100%;
        font-size: 14px;
    }
    .download-section button>span{
        font-size: 14px;
    }
    .download-section button{
        width: 100%;
        padding: 10px;
    }
    .download-section h2{
        font-size: 25px;
    }
    .download-section>p{
        font-size:16px;
    }
    .download-section{
        padding: 3rem 2rem ! important;
        height: auto;
    }
    .organogram{
        margin: 0;
    }
}

.w-3\.5 {
    width: 0.875rem;
}

.h-3\.5 {
    height: 0.875rem;
}
.pr-4 {
    padding-right: 1rem;
}


.contact-icon-container {
    height: 1.5rem;
    width: 1.5rem;
    background-color: transparent !important;
  }

/* Sticky Header Styles */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* background: rgba(255, 255, 255, 0.95); */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-sticky.scrolled {
    /* background: rgba(255, 255, 255, 0.98); */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Body padding when header is sticky */
.sticky-header-active {
    padding-top: 80px;
}

/* Mobile Menu Styles */
#mobile-menu {
    z-index: 9999;
}

#mobile-menu-panel {
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

#mobile-menu-panel.show {
    transform: translateX(0);
}

.mobile-nav-link {
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.mobile-nav-link:hover {
    border-bottom-color: #e5e7eb;
}

/* Mobile sticky header and menu improvements */
@media (max-width: 768px) {
    .mobile-menu-open {
        overflow: hidden;
    }
    
    #mobile-menu-backdrop {
        backdrop-filter: blur(2px);
    }
    
    .header-sticky {
        /* background: rgba(255, 255, 255, 0.98); */
        backdrop-filter: blur(15px);
    }
    
    .sticky-header-active {
        padding-top: 70px;
    }
    
    /* Ensure mobile menu appears above sticky header */
    #mobile-menu {
        z-index: 10001;
    }
}

/* Advanced WhatsApp Widget - Revolutionary Design */
.whatsapp-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

/* Main Widget Button */
.whatsapp-main-button {
    width: 70px;
    height: 70px;
    background:linear-gradient(135deg, #6B88C8FF 0%, #1A48AAFF 50%, #0033a1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 32px rgba(21, 8, 216, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* overflow: hidden; */
}

.whatsapp-main-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(-45deg);
    animation: shimmer 3s infinite;
}

.whatsapp-main-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(21, 8, 216, 0.4);;
}

.whatsapp-main-button.active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #6B88C8FF 0%, #1A48AAFF 50%, #0033a1 100%);
}

/* Floating Particles */
.whatsapp-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #01043A;
    border-radius: 50%;
    animation: float-particle 4s infinite ease-in-out;
}

.particle:nth-child(1) { animation-delay: 0s; top: 20%; left: 20%; }
.particle:nth-child(2) { animation-delay: 0.5s; top: 80%; left: 30%; }
.particle:nth-child(3) { animation-delay: 1s; top: 60%; left: 80%; }
.particle:nth-child(4) { animation-delay: 1.5s; top: 30%; left: 70%; }
.particle:nth-child(5) { animation-delay: 2s; top: 70%; left: 10%; }

/* Chat Preview Window */
.whatsapp-chat-preview {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    height: 450px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(55, 61, 57, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.whatsapp-chat-preview.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #6B88C8FF 0%, #1A48AAFF 50%, #0033a1 100%);
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}

.chat-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid white;
}

.chat-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

/* Chat Body */
.chat-body {
    padding: 20px;
    flex: 1;
    background: linear-gradient(to bottom, #ECE5DD 0%, #D1D7DB 100%);
    position: relative;
    overflow-y: auto;
    min-height: 280px;
}

/* Animated Message Bubbles */
.message-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 4px;
    margin-bottom: 12px;
    max-width: 80%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInMessage 0.6s ease-out;
    animation-fill-mode: both;
}

.message-bubble:nth-child(1) { animation-delay: 0.5s; }
.message-bubble:nth-child(2) { animation-delay: 1s; }
.message-bubble:nth-child(3) { animation-delay: 1.5s; }

.message-bubble::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-right: 8px solid white;
    border-bottom: 8px solid transparent;
}

/* Typing Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-radius: 18px 18px 18px 4px;
    margin-top: 12px;
    max-width: 80px;
    animation: slideInMessage 0.6s ease-out 2s both;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* Chat Footer */
.chat-footer {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 70px;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    background: white;
    min-height: 20px;
    line-height: 1.4;
}

.chat-input:focus {
    border-color: #01043A;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

.send-button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    right: 20px;
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(21, 8, 216, 0.6);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #ff4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    animation: bounce-badge 2s infinite;
}

/* Quick Action Buttons */
.quick-actions {
    position: absolute;
    bottom: 80px;
    right: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.quick-actions.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.quick-action-btn {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #01043A;
    font-size: 20px;
}

.quick-action-btn:hover {
    transform: scale(1.1);
    background: #01043A;
    color: white;
}

/* Animations */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes slideInMessage {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

@keyframes bounce-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.wrap{
    width:100%;
    position:relative;
    box-sizing:border-box;
    margin-top:100px;
    max-width: 1200px;
    }
    
    /* --- SVG outlines (absolutely positioned behind cards) --- */
    .svg-outline{
    position:absolute;
    pointer-events:none; /* don't block clicks */
    z-index:0;
    position: absolute;
    width: 312px;
    height: 91px;
    }
    
    /* top large dashed rounded rectangle */
    .svg-top {   
        left: 50%;
        top: -100px;
        transform-origin: 50% 50%;
        transform: translateX(-50%);
    }
    
    /* bottom-left dashed rounded rectangle */
    .svg-bottom-left{
        left: 11%;
        bottom: -100px;
    }
    
    /* bottom-right dashed rounded rectangle */
    .svg-bottom-right{
    right:11%;
    bottom:-100px;
    }
    
    /* Make the dashed path look rounded and spaced like the reference */
    .dash-path{
    fill:none;
    stroke:#01043A;
    stroke-opacity:0.34;
    stroke-width:4;
    stroke-dasharray:10 10;
    stroke-linecap:round;
    stroke-linejoin:round;
    }
    
    /* --- Feature cards layout --- */
    .features {
    position:relative;
    z-index:2; /* cards on top of SVG outlines */
    display:flex;
    gap:24px;
    align-items:stretch;
    justify-content:space-between;
    }
    
    .features .card{
    background:#ffffff;
    border-radius:16px;
    padding:24px;
    box-shadow:0 6px 18px rgba(3,10,45,0.06);
    flex:1;
    min-width:200px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    gap:8px;
    }
    
    /* slightly larger middle cards like reference */
    .features .card:nth-child(2),
    .features .card:nth-child(3){
    /* keep them visually balanced — slight extra padding */
    padding-top:28px;
    padding-bottom:28px;
    }
    
    .features .card .icon{
    font-size:20px;
    }
    
    .features .card h3{
    margin:0;
    font-size:20px;
    color:#0b1630;
    font-weight:600;
    }
    
    .features .card p{
    margin:0;
    color:#555971;
    font-size:14px;
    line-height:1.5;
    }
    
    /* small pill labels that sit inside the dashed outlines */
    .pill{
        position: absolute;
        z-index: 3;
        background: #FBFCFF;
        /* padding: 6px 14px; */
        border-radius: 8px;
        font-size: 12px;
        color: #111827;
        box-shadow: 0 2px 8px rgba(3, 10, 45, 0.06);
        display: inline-flex;
        gap: 5px;
        align-items: center;
        width: 124px;
        height: 20px;
        white-space: nowrap;
        text-align: center;
        justify-content: center;
    }
    
    .pill-top{
    left:50%;
    top:-50px;
    transform:translate(-50%,-50%);
    }
    
    .pill-bottom-left{
        left: 11%;
        bottom: -60px;
        transform: translateX(50%);
    }
    
    .pill-bottom-right{
        right: 24%;
        bottom: -60px;
        transform: translateX(50%);
    }
    
/* responsive tweaks */
@media (max-width:980px){
.features{ flex-direction:column; gap:18px; }
.svg-top{ width:88%; left:50%; top:-90px;}
.svg-bottom-left, .svg-bottom-right{ display:none; }
.pill-bottom-left, .pill-bottom-right{ display:none; }
.pill-top{ top:-45px; }
}


@media (max-width: 768px) {
    .whatsapp-widget-container {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-main-button {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-chat-preview {
        width: 280px;
        height: 400px;
        bottom: 70px;
        right: -10px;
    }
    
    .chat-body {
        min-height: 240px;
    }
    
    .chat-footer {
        padding: 12px 15px;
        min-height: 60px;
    }
    
    .chat-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .send-button {
        width: 38px;
        height: 38px;
    }
    
    .quick-actions {
        display: none;
    }
    .mobile-nav-link{
        font-size: 14px;
    }
}
@media(max-width: 452px){
    .about .main-title{
        font-size: 23px;
    }
    .service-title{
        font-size: 24px;
        font-weight: 600;
    }
    .service-description{
        font-size: 16px;
        font-weight: 400;
    }
    .work-section{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .work-title{
        font-size: 24px;
    }
    .work{
        padding-bottom:10px;
    }
    #cta{
        padding: 80px 0;
    }
    .download-section {
        padding: 3rem 1rem ! important;
    }
    .text-xs {
        font-size: 0.65rem;
    }
    .p-side{
        padding: 0 !important;
    }
    .hero-title{
        font-size: 28px;
    }
    .about .description {
        font-size: 16px;
    }
    
    .services-badge,
    .work-badge {
        font-size: 12px;
    }
    .about-badge {
        margin-bottom: 20px;
        font-size: 12px;
        padding: 5px 8px;
        border-radius: 25px;
        width: 120px;
    }
    .about .search-icon {
        width: 14px;
        height: 20px;
        margin-right: 5px;
    }
    .services-badge img,
    .work-badge img{
        height: 16px !important;
    }
    footer p,
    footer a,
    p{
        font-size: 14px !important; 
    }
    .card-hover-effect{
        padding: 1rem !important;
    }
    .work-section{
        padding:0;
    }
    .work-title{
        font-size: 20px;
    }
    .hero-tagline-container{
        margin-bottom: 0 !important;
    }
    .hero-cta{
        font-size: 14px;
    }
    .btn-text{
        margin-left: 0;
    }
    .download-section{
        border-radius: 20px;
    }
    #cta .container{
        padding: 0 !important;
    }
    .organogram{
        padding: 0 !important;
    }
}

@media(max-width: 374px){
    .hero-title{
        font-size: 24px;
    }
    .hero-tagline{
        font-size: 14px;
    }
    .about .main-title {
        font-size: 19px;
    }
    .service-title{
        font-size: 20px;
    }
    .service-description{
        font-size: 14px;
    }
    .card-hover-effect h3,
    .features .card h3{
        font-size: 16px;
    }
}
.max-w-2\.5xl {
    max-width: 36rem;
}
.z-99{
    z-index: 9999;
}

.badge-container{
    overflow: hidden;
    list-style: none;
    height: 1.8rem;
}

ol.badge-container li {
    animation: spin_words 12s infinite;
}

ol.badge-container li span{
    white-space:nowrap;
}

@keyframes spin_words{
    
    0% { 
        transform: translateY(0%); 
    }
    10%{
        transform: translateY(-112%);
    }
    25%{
        transform: translateY(-100%);
    }
    35%{
        transform: translateY(-212%);
    }
    50%{
        transform: translateY(-200%);
    }
    60%{
        transform: translateY(-312%);
    }
    75%{
        transform: translateY(-300%);
    }
    85%{
        transform: translateY(-412%);
    }
    100%{
        transform: translateY(-520%);
    }
}