*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
}



/* Global animation class for elements */
.animate-on-view {
    opacity: 0;
    transform: translateY(50px); /* Start from bottom */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth transition */
}

.visible .animate-on-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.animate-on-view:nth-child(1) {
    transition-delay: 0s;
}

.animate-on-view:nth-child(2) {
    transition-delay: 0.3s;
}

.animate-on-view:nth-child(3) {
    transition-delay: 0.6s;
}

.animate-on-view:nth-child(4) {
    transition-delay: 0.9s;
}



/* Header styles */
header {
    background-color: #FFFFFF;
    color: #004643;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a{
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #004643;
}
.mobile-logo{
    display: none;
}

/* Navigation menu */
nav {
    order: 1; /* Position nav after hamburger on mobile */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: #001E1D;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    order: 2;
    transition: all 0.3s ease;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #004643;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* hero-section */
.hero-section{
    width: 100%;
    padding: 0 40px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 82px);
    
}


.left-content, .right-content{
    width: 50%;
    display: flex;
    justify-content: center;
    
}


.selection-box{
    position: relative;
    border: 2px dashed #004643;
    width: min-content;
    min-width: 450px;
    min-height: 250px;
    min-height: max-content;
    max-height: 70vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff;
}
.handle{
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #004643;
    box-sizing: border-box;
}
.top-left{
    top: -6px;
    left: -6px;
    cursor: nesw-resize;
}
.top-right{
    top: -6px;
    right: -6px;
    cursor: nesw-resize;
}
.bottom-left{
    bottom: -6px;
    left: -6px;
    cursor: nesw-resize;
}
.bottom-right{
    bottom: -6px;
    right: -6px;
    cursor: nesw-resize;
}

.bottom-right i{
    transform: rotate(-90deg);
    position: absolute;
    top: 20px;
    left: 20px;
    fill: #004643;
    color: #004643;
    font-size: 22px;
    cursor: none;
}


.selection-box h4{
    color: #001E1D;
    font-size: 28px;
  
}
.selection-box h3{
    color: #004643;
    font-size: 46px;
   
}
.selection-box p, .visual-matter p{
    color: #001E1D;
    font-size: 16px;
    font-weight: 500;

}
/* CTA Button */
.cta-btn {
    position: relative;
    /* width: 170px; */
    width: 100%;
    height: 48px;
    background: #4a7cff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 24px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
}

/* Background fill */
.cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #004643;
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    z-index: 0;
}

/* Text */
.cta-text {
    position: absolute;
    left: 24px;
    z-index: 1;
    transition: all 0.45s ease;
}

/* Arrow */
.cta-icon {
    position: absolute;
    right: 6px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #004643;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1;
    transition: all 0.45s ease;
}

/* HOVER STATE */
.cta-btn:hover::before {
    transform: translateX(0);
}

/* Text moves to center */
.cta-btn:hover .cta-text {
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
}

/* Arrow moves fully right */
.cta-btn:hover .cta-icon {
    right: 6px;
    background: #ffffff;
}

.profile-wrapper {
    position: relative;
    width: 300px;          /* Increased size */
    height: 300px;
    border-radius: 50%;
    cursor: pointer;
}

/* Image */
.profile-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
   
}

/* Blue rotating line (NO GAP) */
.profile-ring {
    position: absolute;
    inset: 0;              /* removes gap completely */
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #4a7cff;
    border-right-color: #4a7cff;
    box-shadow: 0 1px 3px #004643;
    z-index: 9;
    transition: transform 0.9s ease-in-out;
}

/* Hover rotation */
.profile-wrapper:hover .profile-ring {
    transform: rotate(180deg);
}



/* solution section */
.solution-section{
    background:#004643;
    padding: 30px 8% 0 8%;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* HEADING */
.heading h1, .visual-matter h1{
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
}

.heading span{
    font-style: italic;
    font-weight: 400;
    display: block;
}

/* HEADING + BULB ALIGNMENT */
.heading-wrapper{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    position:relative;
}

/* BULB CONTAINER */
.bulb-container{
    position:relative;
    margin-right:40px;
    margin-top: -30px;
}

/* WIRE */
.wire{
    width: 2px;
    height: 120px;
    background:#ffffffaa;
    margin: 0 auto;
}

/* BULB */
.bulb{
    width:28px;
    height:38px;
    background:#ffd84d;
    border-radius:50% 50% 45% 45%;
    position:relative;
    box-shadow:
        0 0 15px rgba(255,216,77,0.8),
        0 0 30px rgba(255,216,77,0.6),
        0 0 60px rgba(255,216,77,0.4);
    animation: glow 2s infinite ease-in-out;
}

/* BULB BASE */
.bulb::before{
    content:"";
    position:absolute;
    top:-8px;
    left:50%;
    transform:translateX(-50%);
    width:14px;
    height:8px;
    background:#444;
    border-radius:4px;
}

/* GLOW ANIMATION */
@keyframes glow{
    0%{
        box-shadow:
        0 0 10px rgba(255,216,77,0.6),
        0 0 25px rgba(255,216,77,0.4);
    }
    50%{
        box-shadow:
        0 0 20px rgba(255,216,77,0.9),
        0 0 50px rgba(255,216,77,0.7),
        0 0 90px rgba(255,216,77,0.5);
    }
    100%{
        box-shadow:
        0 0 10px rgba(255,216,77,0.6),
        0 0 25px rgba(255,216,77,0.4);
    }
}

/* PILLS AREA */
.pills-wrapper{
    margin-top: 120px;
    position:relative;
    height:300px;
}



/* COMMON PILL */
.pill{
    position: absolute;
    background: #fff;
    color: #001E1D;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    white-space: nowrap;

    --r: 0deg; /* default rotation */
    transform: rotate(var(--r));
}

/* STACKED POSITIONS (exact resting feel) */
.p1{ bottom:01px; left:0; background-color: #ffd84d;}
.p2{ bottom:44px; left:104px; --r:16deg;}
.p3{ bottom:102px; left:140px; --r:-2deg; background-color: #ffd84d;}

.p4{ bottom:01px; left:240px; }
.p5{ bottom:52px; left:244px; --r:6deg; background-color: #ffd84d;}

.p6{ bottom:01px; left:430px; }
.p7{ bottom:65px; left:326px; --r:15deg; background-color: #ffd84d;}

.p8{ bottom:94px; left:-10px; --r:-41deg}
.p9{ bottom:172px; left:100px; --r:16deg; background-color: #ffd84d;}

.p10{ bottom:140px; left:300px; --r:-15deg}
.p11{ bottom:42px; left:520px; --r:-38deg; background-color: #ffd84d;}

.p12{ bottom:106px; left:425px; }
.p13{ bottom:201px; left:218px; --r:6deg; background-color: #ffd84d;}
.p14{ bottom:01px; left:614px; }

@keyframes buzz {
    0%   { transform: rotate(var(--r)) translateX(0); }
    20%  { transform: rotate(var(--r)) translateX(-2px); }
    40%  { transform: rotate(var(--r)) translateX(2px); }
    60%  { transform: rotate(var(--r)) translateX(-2px); }
    80%  { transform: rotate(var(--r)) translateX(2px); }
    100% { transform: rotate(var(--r)) translateX(0); }
}


/* subtle hover */
.pill:hover{
    animation: buzz 0.35s linear 1;
}





/* section 3 panel */
.visual-matter{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 0;
    margin-top: 100px;
    margin-bottom: 20px;   /* temporary */
}
.visual-matter h1{
    color: #4a7cff;
    margin-bottom: 10px;
    text-align: center;
}
.visual-matter p{
    font-size: 22px;
    font-weight: 200;
    margin-top: -10px;
    margin-bottom: 25px;
    text-align: center;
}

.panel{
    width: 90%;
    display: flex;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 1px 3px 6px 0px rgba(0, 0, 0, 0.5);
}
.left-panel, .right-panel{
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.left-panel h3, .right-panel h3{
    text-align: center;
    font-weight: 700;
    font-size: 24px;
}
.left-panel{
    background-color: #004643;
    color: #ffffff;
    border-radius: 8px 0px 0px 8px;
}
.left-panel ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
    font-weight: 500;
}
.left-panel a{
    text-decoration: none;
    color: #ffffff;
}
.left-panel ul li i, .left-panel button i{
    margin-right: 5px;
}
.left-panel button{
    all: unset;
    border: 2px solid;
    width: max-content;
    padding: 5px 16px;
    font-weight: 600;
    font-size: 16px;
    font-style: italic;
    border-radius: 18px;
    transition-duration: 0.3s;
}
.left-panel button:hover{
    transform: skew(-10deg);
}
.right-panel{
    border-radius: 0px 8px 8px 0px;
}
.right-panel h3{
    color: #4a7cff;
}
.right-panel p{
    font-size: 18px;
    font-weight: 500;
    text-align: left;
}
.right-panel .bold-para{
    text-align: left;
    color: #4a7cff;
    font-weight: 700;
    font-size: 24px;
}

.software-section{
    padding:100px 8%;
    background-color: #004643;
    margin-top: 100px;
}

.section-title{
    text-align:center;
    color:#fff;
    font-size:60px;
    margin-bottom:15px;
}

.section-subtitle{
    text-align:center;
    color:rgba(255,255,255,.8);
    margin-bottom:60px;
    font-size:18px;
}

.software-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.software-card{
    background:#ffffff;
    border-radius:28px;
    padding:35px;
    text-align:center;
    transition:.35s ease;
}

.software-card:hover{
    transform:translateY(-8px);
}

.software-image{
    width:90px;
    height:90px;
    margin:0 auto 24px;
}

.software-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.software-card h3{
    color:#004643;
    font-size:28px;
    margin-bottom:12px;
}

.software-card p{
    color:#666;
    line-height:1.6;
}


/* project section */
/* ===== SECTION ===== */
.projects-section{
    padding:80px 8%;
    color:#fff;
    background-color: #004643;
    
}

/* ===== TABS ===== */
.tabs{
    position:relative;
    display:flex;
    gap:8px;
    background:#ffffff25;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:none; /* firefox */
    padding:6px;
    border-radius:50px;
    width:fit-content;
    margin-bottom:50px;
    left: 50%;
    transform: translateX(-50%);
}
/* chrome scrollbar hide */
.tabs::-webkit-scrollbar{
    display:none;
}
.tab{
    position:relative;
    padding:12px 26px;
    cursor:pointer;
    z-index:2;
    border-radius:40px;
    white-space:nowrap;
    flex: 0 0 auto;
    transition:color .3s ease;
}

.tab.active{
    color:#0b3d3a;
    font-weight:600;
}

/* moving background */
.tab-indicator{
    position:absolute;
    top:6px;
    left:6px;
    height:44px;
    background:#ffd84d;
    border-radius:40px;
    transition:0.35s ease;
    z-index:1;
}

/* ===== GRID ===== */
.projects-grid{
    display:none;
    /* grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap:30px;
}

.projects-grid.active{
    display:grid;
}

/* ===== CARD ===== */
.project-card{
    background:#fff;
    color:#111;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0,0,0,0.25);
    transition:.3s ease;
}

.project-card:hover{
    transform:translateY(-6px);
}

.project-card img{
    width:100%;
    height:280px;
    object-fit:cover;
}

.project-content{
    padding:18px;
}

.project-content h4{
    margin-bottom:6px;
    color: #004643;
    font-weight: 700;
}

/* BUTTON WRAP */
.portfolio-btn-wrap{
    grid-column:1 / -1;
    display:flex;
    justify-content:center;
    margin-top:20px;
}

/* BUTTON */
.portfolio-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border-radius:50px;
    background:#ffd84d;
    color:#004643;
    text-decoration:none;
    font-weight:500;
    transition:.3s ease;
}

.portfolio-btn:hover{
    background:#ffca1a;
    transform:translateY(-2px);
}

/* ===== VIDEO SECTION ===== */
.video-section{
    padding: 80px 8%;
    color: #004643;
    background-color: #ffffff;
}
.video-section  h2{
    font-size: 46px;
    margin-bottom: 30px;
    text-align: center;
}
/* GRID */
.video-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
}

/* CARD (VERTICAL) */
.video-card{
    position:relative;
    aspect-ratio:9 / 16;       
    background:#000;
    border-radius:18px;
    overflow:hidden;
    cursor:pointer;
    box-shadow:0 20px 40px rgba(0,0,0,0.25);
    transition:.3s ease;
}
.video-card:hover{
    transform:translateY(-6px);
}

/* THUMBNAIL */
.video-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* PLAY ICON */
.play-btn{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:#fff;
    background:rgba(0,0,0,0.35);
    pointer-events:none;
}

/* VIDEO */
.video-card video{
    width:100%;
    height:100%;
    object-fit:cover;
    background:#000;
    display:block;
}




/* LIGHTBOX */
.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.8);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    pointer-events:none;
    transition:.3s ease;
    z-index:999;
}

.lightbox.active{
    opacity:1;
    pointer-events:auto;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:14px;
    box-shadow:0 30px 60px rgba(0,0,0,0.5);
    animation:zoom .3s ease;
}

@keyframes zoom{
    from{ transform:scale(.8); }
    to{ transform:scale(1); }
}


/* =================== Project Page ===================== */
.masonry-section{
    padding: 0 8%;
    background-color: #FFFFFF;
}

.masonry-section h2{
    margin-bottom:40px;
    font-size:36px;
    text-align: center;
    color: #004643;
}

/* MASONRY */
.masonry{
    column-count:4;
    column-gap:24px;
}

.masonry-item{
    break-inside:avoid;
    margin-bottom:24px;
    border-radius:16px;
    position:relative;
    cursor:pointer;
    overflow: hidden;
}

.masonry-item img{
    width:100%;
    display:block;
    border-radius:16px;
}
/* OVERLAY */
.masonry-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);   /* overlay color */
    opacity:0;
    transition:.3s ease;
    border-radius:16px;
    transition:.3s ease;
    pointer-events: none;
}

/* HOVER */
.masonry-item:hover::after{
    opacity:1;
}

/* VIDEO masonary */
.masonry-video{
    column-count:3;
}
.video-item video{
    width:100%;
    height:100%;
    object-fit:cover;   /* portrait ya landscape dono safe */
    display:block;
    background:#000;
}

.video-item .play-btn{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:54px;
    color:white;
    background:rgba(0,0,0,0.35);
    border-radius:16px;
    opacity:0;
    transition:.3s ease;
}

.video-item:hover .play-btn{
    opacity:1;
}

/* RESPONSIVE */
@media(max-width:1024px){
    .masonry{ column-count:3; }
}
@media(max-width:768px){
    .masonry{ column-count:2; column-gap:20px; }
}
@media(max-width:320px){
    .masonry{ column-count:1; column-gap:16px;}
}

/* ================ Contact Page ======================== */
/* contact section */
.contact-section{
    padding: 2rem;
    display: flex;
    gap: 3rem;
    background-color: #FFFFFF;
    
}
.contact-form{
    flex: 1;
}
.contact-form h1{
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: left;
    color: #004643;
}
.contact-form p{
    text-align: left;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #000000;
}
.form-group{
    width: 100%;
    text-align: left;
    position: relative;
    margin-bottom: 1.6rem;
}
.form-group input, textarea{
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 12px 12px 10px;
    width: 100%;
    display: block;
    outline: none;
    border: none;
    border-bottom: 2px solid #d3d8e8;
    background: transparent;
    transition: border-bottom-color 0.3s ease, box-shadow 0.3s ease;
    color: #000000;
}

.form-group input:focus, .form-group textarea:focus{
    border-bottom-color: #004643;
}
.form-group label{
    position: absolute;
    left: 10px;
    top: 12px;
    color: #7e8299;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
}
input:focus~label, input:valid~label, textarea:focus~label, textarea:valid~label{
    top: -15px;
    font-size: 14px;
    color: #004643;
}

.form-group textarea{
    resize: vertical;
    height: 60px;
}
.contact-form button{
    background-color: #ffffff;
    color: #004643;
    border: 2px solid #004643;
    font-size: 1.6rem;
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
    border-radius: 50px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.5s ease, border 0.5s ease;
}
.contact-form button::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #004643;
    transition: top 0.5s ease;
    z-index: 0;
}
.contact-form button:hover::before{
    top: 0;
}
.contact-form button:hover{
    color: #ffffff;
}
.contact-form button span {
    position: relative;
    z-index: 1;
}


.contact-info{
    flex: 1;
    padding-left: 2rem;
}
.contact-info h2{
    color: #004643;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.contact-info p{
    font-size: 1.2rem;
    font-weight: 500;
    color: #000000;
    text-align: left;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.contact-info p i{
    background-color: #004643;
    color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    height: 40px;
    width: 40px;
    margin-right: 8px;
}

/* flash messages */
.flash-messages{
    margin: 10px 0;
    text-align: center;
}
.alert-success{
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.alert-danger{
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}


/* ================ footer ============ */
/* ======= footer ============= */
footer {
    background: linear-gradient(to bottom, #004643, #001E1D); /* Gradient dark background */
    color: #fff;
    padding: 60px 8% 30px;
    font-size: 18px;
    position: relative;
    margin-top: 150px;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ff88; /* Green accent */
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #00ff88;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 15px;
}

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

.footer-column a:hover {
    color: #00ff88;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #00ff88;
}


.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #fff;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Fade-in animation */
.footer-container .footer-column {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.footer-column:nth-child(1) { animation-delay: 0.2s; }
.footer-column:nth-child(2) { animation-delay: 0.4s; }
.footer-column:nth-child(3) { animation-delay: 0.6s; }



/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-widget{
    position:fixed;
    bottom:24px;
    right:24px;
    width:58px;
    height:58px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(37,211,102,0.4);
    z-index:999;
    transition:transform .3s ease, box-shadow .3s ease;
}

/* Hover */
.whatsapp-widget:hover{
    transform:scale(1.1);
    box-shadow:0 15px 40px rgba(37,211,102,0.6);
}

/* Pulse animation */
.whatsapp-widget::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgba(37,211,102,0.4);
    animation:pulse 2s infinite;
    z-index:-1;
}

@keyframes pulse{
    0%{
        transform:scale(1);
        opacity:.7;
    }
    100%{
        transform:scale(1.8);
        opacity:0;
    }
}

@media (max-width: 370px) {
    .tabs{
        width: auto;
    }
}


/* Mobile menu styles */
@media (max-width: 768px) {
    header{
        padding: 30px 30px;
    }
    .mobile-logo{
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    .mobile-logo a{
        color: #FFFFFF;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px; /* Start off-screen to the left */
        background-color: #004643;
        width: 250px;
        height: 100vh; /* Full height */
        padding: 30px 20px 20px; /* Padding top for header height */
        transition: left 0.3s ease; /* Smooth slide */
        z-index: 999;
    }

    nav ul.active {
        left: 0; /* Slide in */
    }

    nav ul li {
        margin: 20px 0;
        text-align: left;
    }
    nav ul li a{
        color: #FFFFFF;
    }

    .hamburger {
        display: flex;
    }

    body.menu-open {
        overflow: hidden; /* Prevent scrolling when menu is open */
    }

    .hero-section{
        min-height: unset;
        flex-direction: column-reverse;
        justify-content: center;
        padding: 30px 20px;
        gap: 30px;
    }
    .left-content, .right-content{
        width: 100%;
    }
    
    .selection-box{
        
        min-width: 10px;
        width: max-content;
        padding: 10px;
    }
    .selection-box h4{
        font-size: 22px;
    }
    .selection-box h3, .heading-wrapper h1{
        font-size: 36px;
    }
    .selection-box p{
        font-size: 16px;
    }
    
    .bottom-right i{
        display: none;
    }



    /* solution section. second box */
    .solution-section{
        padding: 30px 5% 0 5%;
    }

    .pills-wrapper{
        height: 350px;
    }
    .pill{
        padding: 10px 20px;
        font-size: 16px;
    }

    .p1{ left:-5%; }
    .p2{ left:55px; --r:11deg;}
    .p3{ bottom:86px; left:155px; --r:-11deg;}

    .p4{ left:170px; }
    .p5{ bottom:44px; left:220px; --r:0deg;}

    .p6{ bottom:104px; left:94px; --r:-35deg}
    .p7{ bottom:299px; left:116px; --r:25deg;}

    .p8{ bottom:84px; left:-34px; }
    .p9{ bottom:196px; left:58px; --r:28deg;}

    .p10{ bottom:180px; left:-6%; --r:15deg}
    .p11{ bottom:262px; left:-20px; --r:-24deg;}

    .p12{ bottom:234px; left:140px; }
    .p13{ bottom:189px; left:218px; --r:-11deg;}
    .p14{ bottom:138px; left:184px; --r:-11deg}

    /* section 3 visuals */
    .visual-matter, .masonry-section{
        padding: 0 5%;
    }
    .visual-matter p{
        font-size: 20px;
    }

    .heading h1, .visual-matter h1, .video-section h2, .masonry-section h2{
        font-size: 30px;
    }
    .panel{
        flex-direction: column;
        width: 100%;
    }
    .left-panel, .right-panel{
        width: 100%;
    }
    .left-panel h3, .right-panel h3{
        font-size: 20px;
    }
    .left-panel{
        border-radius: 8px 8px 0px 0px;
    }
    .left-panel ul{
        font-size: 16px;
    }
    .right-panel{
        border-radius: 0px 0px 8px 8px;
    }
    .right-panel p{
        font-size: 16px;
    }
    .right-panel .bold-para{
        font-size: 20px;
    }


    .software-section{
        padding:70px 6%;
    }
    .software-grid{
        grid-template-columns:1fr;
    }
    .section-title{
        font-size:42px;
    }
    

    /* project section */
    .projects-section, .video-section{
        padding: 80px 5%;
    }
    .tabs{
        padding: 0;
        gap: 8px;
    }
    .tab{
        padding: 7px 10px;
        font-size: 14px;
    }
    .tab-indicator{
        left: 0;
        top: 0;
        height: 32px;
    }

    .projects-grid, .video-grid{
        grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
        gap: 20px;
    }





    /* ============ contact page ============= */
    .contact-section{
        flex-direction: column;
        padding: 1.6rem 1rem;
    }
    .contact-form h1{
        font-size: 1.7rem;
        text-align: center;
    }
    .contact-form button{
        font-size: 1rem;
        padding: 0.8rem 1rem;
        width: 100%;
    }
    .contact-info{
        padding-left: 0;
    }
    .contact-info h2{
        font-size: 1.4rem;
        text-align: center;
    }
    .contact-form p, .contact-info p{
        font-size: 1rem;
        text-align: center;
    }


    /* ===== footer ====== */
    footer{
        padding: 60px 5% 30px;
    }


    /* == whatsapp == */
    .whatsapp-widget{
        width:52px;
        height:52px;
        font-size:24px;
        bottom:25px;
        right:25px;
    }
}






/* ============== Tablet Screen ============= */
/* Media query for tablets screen */
@media only screen and (min-width: 769px) and (max-width: 1023px){
    .hero-section{
        padding: 0 20px;
    }
    .left-content{
        width: 60%;
    }
    .right-content{
        width: 40%;
    }
   
    .selection-box h4{
        font-size: 22px;
    }
    .selection-box h3{
        font-size: 40px;
    }
    .selection-box{
        min-width: 400px;
    }

    .profile-wrapper{
        width: 250px;
        height: 250px;
    }

    .heading h1, .visual-matter h1{
        font-size: 40px;
    }
    .software-grid{
        grid-template-columns:repeat(2,1fr);
    }
}