/* ==========================================================================
   PRIMARY DESIGN TOKEN DEFS & RESET
   ========================================================================== */
:root {
    --primary: #0D47A1;
    --accent: #FF6B00;
    --bg-main: #F7FAFF;
    --bg-card: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --heading-font: 'League Spartan', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 30px rgba(13, 71, 161, 0.04);
    --shadow-hover: 0 20px 40px rgba(13, 71, 161, 0.09);
    --glass: rgba(255, 255, 255, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Responsive safety reset */
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Perfect anti-horizontal scroll rule */
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--body-font);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px; /* Mobile safe side gaps */
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   STICKY NAVIGATION COMPONENT
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 71, 161, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0;
    box-shadow: var(--shadow-soft);
    background: #ffffff;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.logo{
    width:130px;
    height:auto;
    object-fit:contain;
    display:block;
}
.logo span span {
    color: var(--accent);
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.2);
}

.nav-btn:hover {
    background-color: #0a3982;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.nav-btn-mobile { display: none; }

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

/* ==========================================================================
   HERO CORE CONTAINER
   ========================================================================== */
.hero-section {
    padding: 220px 0 100px 0;
    position: relative;
    background: radial-gradient(circle at 85% 15%, rgba(13, 71, 161, 0.04) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    background-color: rgba(13, 71, 161, 0.07);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.subheading {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 0.95rem;
    min-height: 48px; /* Touch target optimized */
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.2);
}

.btn-primary:hover {
    background-color: #0a3982;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.btn-secondary:hover {
    background-color: #20ba59;
    transform: translateY(-3px);
}

.btn-tertiary {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-soft);
}

.btn-tertiary:hover {
    background: var(--bg-main);
    transform: translateY(-3px);
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.4;
}

.shape-1 { width: 150px; height: 150px; background-color: rgba(13, 71, 161, 0.2); top: 15%; left: 5%; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 250px; height: 250px; background-color: rgba(255, 107, 0, 0.1); bottom: 10%; left: 40%; animation: float 12s ease-in-out infinite alternate; }
.shape-3 { width: 180px; height: 180px; background-color: rgba(13, 71, 161, 0.15); top: 30%; right: 10%; animation: float 10s ease-in-out infinite 2s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-25px) rotate(15deg); }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.illustration-box {
    width: 100%;
    max-width: 460px;
    height: 380px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    padding: 30px;
    position: relative;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(13, 71, 161, 0.05);
}

.growth-svg {
    width: 100%;
    height: auto;
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 240px;
}

.glass-card h4 { font-size: 0.95rem; margin-bottom: 2px; }
.glass-card p { font-size: 0.8rem; color: var(--text-muted); }

.active-card {
    top: -20px;
    left: -30px;
    animation: floatingUI 5s ease-in-out infinite;
}

.map-marker { font-size: 1.8rem; color: var(--accent); }

.growth-card {
    top: 60px;
    right: -20px;
    animation: floatingUI 5s ease-in-out infinite 2.5s;
}

.trend-icon { font-size: 1.8rem; color: #25D366; }

@keyframes floatingUI {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   TRUST SECTION COUNTERS
   ========================================================================== */
.trust-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid rgba(13, 71, 161, 0.05);
    border-bottom: 1px solid rgba(13, 71, 161, 0.05);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.counter-box {
    text-align: center;
    padding: 20px;
}

.counter-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.counter-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--heading-font);
    line-height: 1;
    margin-bottom: 8px;
}

.counter-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */
.services-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(13, 71, 161, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.s-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 71, 161, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .s-icon {
    background-color: var(--primary);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: auto;
    line-height: 1.6;
}

.price-tag {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin: 24px 0 16px 0;
}

.btn-card {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    background-color: var(--bg-main);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(13, 71, 161, 0.05);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .btn-card {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.15);
}

/* ==========================================================================
   WHY CHOOSE US CONTAINER
   ========================================================================== */
.why-section {
    padding: 100px 0;
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--bg-main);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.why-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-hover);
    border-left: 3px solid var(--accent);
    transform: translateX(4px);
}

.why-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PORTFOLIO RESULTS SECTION
   ========================================================================== */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(13, 71, 161, 0.03);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.p-image-box {
    min-height: 180px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.08) 0%, rgba(255, 107, 0, 0.04) 100%);
    position: relative;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.seo-before-after {
    width: 100%;
}

.metric-lane {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    gap: 10px;
}

.metric-lane:last-child { border: none; }
.metric-lane .lbl { font-weight: 500; color: var(--text-muted); }
.metric-lane .val { font-weight: 600; text-align: right; }
.metric-lane .val.bad { color: #D32F2F; }
.metric-lane .val.good { color: #388E3C; }

.p-info {
    padding: 24px;
}

.p-info h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.p-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS SLIDER SECTION
   ========================================================================== */
.testimonial-section {
    padding: 100px 0;
    background: #ffffff;
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    text-align: center;
}

.stars {
    color: #FFB300;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
}

.client-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: rgba(13, 71, 161, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.client-meta h4 { font-size: 1.05rem; }
.client-meta p { font-size: 0.85rem; color: var(--text-muted); }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(13, 71, 161, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ==========================================================================
   CONTACT CAPTURE & METRICS
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.90fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.info-links {
    margin: 36px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
}

.info-item i {
    width: 44px;
    height: 44px;
    background-color: rgba(13, 71, 161, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0; /* Prevents compression of icons */
}

.info-item:nth-child(2) i { color: #25D366; background-color: rgba(37, 211, 102, 0.05); }

.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { font-size: 0.88rem; color: var(--text-muted); word-break: break-word; }

.social-channels {
    display: flex;
    gap: 12px;
}

.social-channels a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-channels a:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Glassmorphic Responsive Form Setup */
.contact-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(13, 71, 161, 0.03);
    width: 100%;
    box-sizing: border-box; /* Strict padding boundary enforcement */
}

.contact-form h3 { font-size: 1.6rem; margin-bottom: 24px; }

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background-color: var(--bg-main);
    font-family: var(--body-font);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: var(--transition);
    box-sizing: border-box; /* Anti-overflow shield */
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #25D366; /* WhatsApp Green Theme Accent */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
}

.btn-submit:hover {
    background-color: #1ebd54;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.form-status {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

/* ==========================================================================
   FOOTER CORE ARCHITECTURE
   ========================================================================== */
.footer {
    background-color: #0c1829;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    border-top: 3px solid var(--accent);
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.light-logo span { color: #ffffff; }

.f-brand p {
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.f-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.f-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.f-legal p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING OVERLAY ELEMENTS
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
    .services-grid, .why-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .f-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    /* Compress spacing layouts contextually */
    .hero-section { padding: 120px 0 60px 0; }
    .services-section, .why-section, .portfolio-section, .testimonial-section, .contact-section { padding: 60px 0; }
    
    .hamburger { display: block; }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        padding: 30px 24px;
        gap: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-sizing: border-box;
    }
    
    .nav-menu.active { left: 0; }
    .nav-btn { display: none; }
    
    .nav-btn-mobile { 
        display: block; 
        width: 100%;
        background-color: var(--primary); 
        color: #ffffff; 
        padding: 12px; 
        border-radius: 8px; 
        font-weight: 600; 
    }
    
    .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; } /* Pushes map pack chart above heading text for premium entry */
    .illustration-box { max-width: 100%; height: 280px; padding: 20px; }
    
    .active-card { left: -10px; top: -15px; }
    .growth-card { right: -10px; }
    
    .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .services-grid, .why-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2rem; }
    
    .testimonial-slide { padding: 0 5px; }
    .review-text { font-size: 1.05rem; }
    
    .contact-form-container { padding: 30px 20px; } /* Ensures elements do not slide outside visual frame bounds */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .f-brand { grid-column: span 1; }
    
    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; } /* Clean custom margins on mini layout viewports */
    .hero-content h1 { font-size: 2.1rem; }
    .subheading { font-size: 1.1rem; }
    
    .counter-grid { grid-template-columns: 1fr; gap: 20px; }
    .counter-num { font-size: 2.4rem; }
    
    .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
    .hero-ctas .btn { width: 100%; }
    
    .glass-card { width: 200px; padding: 12px; }
    .glass-card h4 { font-size: 0.85rem; }
}

@media (max-width: 480px) {

.hero-section{
    padding-top: 260px !important;
}

.hero-visual{
    margin-bottom: 40px;
}

}