/* Base Variables & Reset */
:root {
    --primary-blue: #293B7D; 
    --accent-red: #DD2727;
    --bg-white: #ffffff;
    --text-black: #1a1a1a;
    --text-gray: #555555;
    --bg-light-gray: #f9f9f9;
    --gradient-blue: linear-gradient(135deg, #293B7D 0%, #1a2550 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--bg-white); color: var(--text-black); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container 
{ 
/*	max-width: 1200px; */
	margin: 0 auto; 
	padding: 0 20px; }

/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; background-color: var(--bg-white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; padding: 10px 0; }
.navbar { 
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
/*	max-width: 1200px; */
	margin: 0 auto; padding: 0 20px; 
}
.logo img {
    width: 260px; /* Actual visual size scaled for header */
    height: auto;
    max-height: 80px; 
    object-fit: contain;
    transition: width 0.3s ease;
}
.nav-menu { display: flex; gap: 30px; }
.nav-menu li a { font-weight: 500; font-size: 16px; color: var(--text-black); transition: color 0.3s; position: relative; }
.nav-menu li a:hover { color: var(--primary-blue); }
.nav-menu li a::after { content: ''; position: absolute; width: 0%; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-red); transition: width 0.3s; }
.nav-menu li a:hover::after { width: 100%; }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--text-black); transition: all 0.3s ease-in-out; }

/* Buttons */
.btn { padding: 14px 28px; font-size: 16px; font-weight: 600; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; display: inline-block; text-align: center; border: none; }
.btn-primary { background-color: var(--accent-red); color: var(--bg-white); border: 2px solid var(--accent-red); }
.btn-primary:hover { background-color: transparent; color: var(--accent-red); }

/* --- Split Hero Section with Overlay Form --- */
.service-hero {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-performance-marketing {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-social-media-marketing {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-seo-geo-aeo {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-influencer-marketing {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-website-app-development {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-whatsapp-marketing {
    margin-top: 90px;
    padding: 70px 0;
    background: var(--gradient-blue);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.service-hero-performance-marketing::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
/*    background: url('../images/sliders/performance-marketing-2.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.25; z-index: 0;
}
.service-hero-social-media-marketing::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
/*    background: url('../images/sliders/social-media-marketing-2.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.25; z-index: 0;
}
.service-hero-influencer-marketing::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
/*    background: url('../images/sliders/influencer-marketing-2.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.25; z-index: 0;
}
.service-hero-website-app-development::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
/*    background: url('../images/sliders/website-app-development-2.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.25; z-index: 0;
}
.service-hero-whatsapp-marketing::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
/*    background: url('../images/sliders/whatsapp-marketing-2.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.25; z-index: 0;
}
.service-hero-seo-geo-aeo::after {
    content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%;
/*    background: url('../images/sliders/seo-geo-aeo-2.jpg?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.25; z-index: 0;
}
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}
.hero-content-left { flex: 1; max-width: 580px; }
.hero-content-left h1 { font-size: 3.2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.hero-content-left p { font-size: 1.15rem; margin-bottom: 30px; color: #e0e0e0; }
/*
.hero-features li { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.hero-features li i { color: var(--accent-red); }
*/
/* Hero Tag-Style Layout */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Equal gap between tags */
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-tags li {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle transparent background */
    border: 1px solid rgba(255, 255, 255, 0.4); /* Light border for definition */
    color: var(--bg-white);
    padding: 8px 22px;
    border-radius: 30px; /* Rounded box tag style */
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.hero-tags li:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px); /* Slight lift effect on hover */
}
/* Lead Capture Form Overlay (Styled for 7 Elements) */
.hero-form-right {
    flex: 0 0 460px;
}
.form-card {
    background: rgba(255, 255, 255, 0.6); /* Reduced opacity from 0.98 to 0.2 */
    padding: 28px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: var(--text-black);
    position: relative;
    backdrop-filter: blur(12px); /* Blurs the background image through the form */
    -webkit-backdrop-filter: blur(12px); /* Adds Safari compatibility */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle light edge for glass feel */
}
.form-card h3 { color: var(--primary-blue); font-size: 1.6rem; margin-bottom: 4px; text-align: center; font-weight: 700; }
.form-card p { color: var(--text-gray); font-size: 0.85rem; margin-bottom: 18px; text-align: center; }

.input-group { position: relative; margin-bottom: 12px; }
.input-group i { position: absolute; top: 13px; left: 14px; color: var(--text-gray); font-size: 0.95rem; z-index: 2; pointer-events: none; }
.input-group i.icon-textarea { top: 12px; }

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--text-black);
    background-color: #fff;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
	background-color: rgba(255, 255, 255, 0.85); /* Slightly transparent white for inputs */
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.input-group select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23555555' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    cursor: pointer;
}

.input-group select:invalid,
.input-group select option[value=""] {
    color: #757575;
}

.input-group textarea { 
    padding-left: 42px; 
    resize: none; 
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus { 
    border-color: var(--primary-blue); 
    outline: none; 
    box-shadow: 0 0 5px rgba(41, 59, 125, 0.2); 
}

.g-recaptcha { 
    margin-bottom: 14px; 
    display: flex; 
    justify-content: center; 
    transform: scale(0.92); 
    transform-origin: 0 0; 
}

.btn-submit { width: 100%; font-size: 1.05rem; padding: 12px; }

/* Stats Row */
.stats-container { display: flex; justify-content: center; gap: 30px; margin-top: -40px; position: relative; z-index: 2; flex-wrap: wrap; }
.stat-box { background: var(--bg-white); padding: 25px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; width: 240px; border-bottom: 4px solid var(--accent-red); }
.stat-box h3 { color: var(--primary-blue); font-size: 2.3rem; margin-bottom: 5px; }
.stat-box p { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; }

/* Ecosystem Section */
.ecosystem-section { padding: 90px 0 40px; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; margin-top: 35px; }
.eco-item { background: var(--bg-white); padding: 28px; border-left: 4px solid var(--accent-red); box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.eco-item h4 { font-size: 1.15rem; color: var(--primary-blue); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.eco-item p { color: var(--text-gray); font-size: 0.9rem; }

/* Platforms Section */
.platforms { padding: 90px 0; background: var(--bg-light-gray); }
.section-title { text-align: center; margin-bottom: 45px; }
.section-title h2 { color: var(--primary-blue); font-size: 2.3rem; }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.platform-card { background: var(--bg-white); padding: 35px 20px; border-radius: 10px; text-align: center; transition: 0.3s; border: 1px solid #eaeaea; }
.platform-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.platform-card i { font-size: 2.8rem; color: var(--primary-blue); margin-bottom: 18px; }
.platform-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.platform-card p { color: var(--text-gray); font-size: 0.88rem; }

/* Process Section */
.process { padding: 90px 0; }
.process-steps { display: flex; flex-direction: column; gap: 35px; position: relative; }
.process-steps::before { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: var(--primary-blue); opacity: 0.2; transform: translateX(-50%); }
.step { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.step:nth-child(even) { flex-direction: row-reverse; }
.step-content { width: 45%; background: var(--bg-light-gray); padding: 25px; border-radius: 10px; position: relative; }
.step-number { width: 45px; height: 45px; background: var(--accent-red); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.3rem; font-weight: bold; position: absolute; top: 50%; transform: translateY(-50%); }
.step:nth-child(odd) .step-number { right: -68px; }
.step:nth-child(even) .step-number { left: -68px; }

/* Footer */
footer { background-color: var(--bg-light-gray); padding: 60px 0 25px; border-top: 1px solid #eaeaea; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 35px; margin-bottom: 35px; }
.footer-logo { margin-bottom: 18px; height: 48px; }
.footer-col h4 { color: var(--primary-blue); font-size: 1.15rem; margin-bottom: 18px; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--accent-red); }
.footer-links li, .contact-info li { margin-bottom: 10px; color: var(--text-gray); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-red); }
.floating-whatsapp { position: fixed; bottom: 25px; left: 25px; background-color: #25D366; color: white; width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 32px; z-index: 1000; }
#goTopBtn { display: none; position: fixed; bottom: 25px; right: 25px; background-color: var(--primary-blue); color: white; width: 45px; height: 45px; border-radius: 5px; cursor: pointer; border: none; font-size: 18px; z-index: 1000; }

/* Modal */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.modal-content { background-color: #fff; padding: 35px; border-radius: 12px; text-align: center; max-width: 380px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: popUp 0.4s ease-out forwards; }
.modal-icon i { font-size: 3.5rem; color: #28a745; margin-bottom: 12px; }
.modal-content h2 { color: var(--primary-blue); margin-bottom: 8px; }
.modal-content p { color: var(--text-gray); margin-bottom: 22px; }

@keyframes popUp {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content-left { max-width: 100%; }
/*    .hero-features { display: flex; flex-direction: column; align-items: center; }*/
	.hero-tags { 
    justify-content: center; 
	}
    .hero-form-right { width: 100%; flex: auto; max-width: 480px; }
    .g-recaptcha { transform: scale(1); }
	
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu { position: fixed; left: -100%; top: 90px; flex-direction: column; background: var(--bg-white); width: 100%; text-align: center; transition: 0.3s; padding: 20px 0; }
    .nav-menu.active { left: 0; }
    .process-steps::before { left: 20px; }
    .step, .step:nth-child(even) { flex-direction: column; align-items: flex-end; }
    .step-content { width: 85%; }
    .step-number, .step:nth-child(odd) .step-number, .step:nth-child(even) .step-number { left: -45px; }
    .hero-content-left h1 { font-size: 2.3rem; }
	.logo img {
        width: 180px; /* Scaled down for mobile */
    }
}

/* --- Floating Services Menu --- */
.floating-services-menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1001; /* Keeps it above the header */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: none;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 10px;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 65px; /* Collapsed width */
    overflow: hidden;
}

.floating-services-menu:hover {
    width: 280px; /* Expanded width on hover */
}

.fsm-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fsm-list li a {
    display: flex;
    align-items: center;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fsm-list li a i {
    font-size: 1.3rem;
    min-width: 25px;
    text-align: center;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.fsm-list li a span {
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 15px;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

/* Reveal text smoothly when menu expands */
.floating-services-menu:hover .fsm-list li a span {
    opacity: 1;
    transform: translateX(0);
}

.fsm-list li a:hover,
.fsm-list li a.active {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.fsm-list li a:hover i,
.fsm-list li a.active i,
.fsm-list li a:hover span,
.fsm-list li a.active span {
    color: var(--bg-white);
}

/* Hide on mobile to prevent clutter with existing floating buttons */
@media (max-width: 992px) {
    .floating-services-menu {
        display: none; 
    }
}