/* Global Styles & Variables */

:root {

    --bg-dark: #f8fafc;

    /* Slate 950 */

    --bg-card: #ffffff;

    --bg-card-hover: #ffffff;

    --primary-gradient: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%);

    --secondary-gradient: linear-gradient(to right, #3b82f6, #06b6d4);

    --text-main: #0f172a;

    --text-muted: #475569;

    --border-light: rgba(0, 0, 0, 0.1);

    --orange-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);

    --font-main: 'Outfit', sans-serif;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html,

body {

    overflow-x: hidden;

    width: 100%;

    position: relative;

    font-family: var(--font-main);

    background-color: var(--bg-dark);

    color: var(--text-main);

    line-height: 1.7;

    background-image:

        radial-gradient(circle at 15% 50%, rgba(0, 163, 224, 0.15) 0%, transparent 25%),

        radial-gradient(circle at 85% 30%, rgba(255, 140, 0, 0.15) 0%, transparent 25%);

}



/* Typography */

h1,

h2,

h3,

h4,

h5,

h6 {

    font-weight: 700;

    line-height: 1.2;

    color: #ffffff;

}



a {

    text-decoration: none;

    color: inherit;

    transition: all 0.3s ease;

}



ul {

    list-style: none;

}



.container {

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 24px;

}



/* Utilities */

.text-gradient {

    background: var(--primary-gradient);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    display: inline-block;

}



.highlight {

    position: relative;

    color: #F37021;

    z-index: 1;

}



.highlight::after {

    content: '';

    position: absolute;

    bottom: 2px;

    left: -2px;

    right: -2px;

    height: 10px;

    background: rgba(243, 112, 33, 0.2);

    z-index: -1;

    transform: rotate(-2deg);

}



/* Buttons */

.btn {

    display: inline-block;

    padding: 14px 32px;

    border-radius: 50px;

    font-weight: 600;

    font-size: 1rem;

    cursor: pointer;

    border: none;

    position: relative;

    overflow: hidden;

    z-index: 1;

    transition: all 0.3s ease;

}



.btn-primary {

    background: var(--primary-gradient);

    color: white;

    box-shadow: var(--accent-glow);

}



.btn-primary {

    background: linear-gradient(90deg, #38bdf8 0%, #00A3E0 50%, #0284c7 100%);

    background-size: 200% auto;

    color: white;

    box-shadow: 0 4px 15px rgba(0, 163, 224, 0.3), 0 0 10px rgba(0, 163, 224, 0.2);

    border: none;

    z-index: 1;

    animation: gradientMove 3s infinite linear;

}



@keyframes gradientMove {

    0% {

        background-position: 0% center;

    }



    50% {

        background-position: 100% center;

    }



    100% {

        background-position: 0% center;

    }

}



.btn-primary::before {

    content: '';

    position: absolute;

    top: -2px;

    left: -2px;

    right: -2px;

    bottom: -2px;

    background: linear-gradient(45deg, #0284c7, #00A3E0, #38bdf8);

    z-index: -1;

    border-radius: 32px;

    background-size: 400%;

    animation: glowing 20s linear infinite;

    opacity: 0;

    transition: opacity 0.3s ease;

}



.btn-primary:hover {

    transform: translateY(-3px) scale(1.03);

    box-shadow: 0 0 30px rgba(0, 163, 224, 0.5), 0 0 50px rgba(0, 163, 224, 0.3);

}



.btn-secondary {

    background: var(--orange-gradient);

    color: white;

    border: none;

    z-index: 1;

    margin-left: 10px;

    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3), 0 0 10px rgba(234, 88, 12, 0.2);

    transition: all 0.3s ease;

}



.btn-secondary:hover {

    transform: translateY(-3px) scale(1.03);

    box-shadow: 0 0 30px rgba(249, 115, 22, 0.6), 0 0 50px rgba(234, 88, 12, 0.4);

}



.btn-block {

    display: block;

    width: 100%;

}



/* Glassmorphism Classes */

.glass-effect {

    background: var(--bg-card);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border: 1px solid var(--border-light);

    box-shadow: var(--glass-shadow);

    border-radius: 24px;

}



/* Navigation */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background: #ffffff;

    backdrop-filter: blur(12px);

    z-index: 1000;

    padding: 20px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}



.navbar .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo-img {

    height: 50px;

    width: auto;

}



.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;

}



.nav-link {

    font-weight: 500;

    color: var(--text-muted);

    font-size: 0.95rem;

    position: relative;

}



.nav-link:hover,

.nav-link.active {

    color: var(--text-main);

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--primary-gradient);

    transition: width 0.3s ease;

}



.nav-link:hover::after {

    width: 100%;

}

/* Dropdown Sub-menu Styles */
.nav-dropdown {
    position: relative;
    padding-bottom: 5px;
}

.sub-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .sub-arrow {
    transform: rotate(180deg);
}

.dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 1100;
}

.nav-dropdown:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-submenu li {
    padding: 0;
    margin: 0;
}

.dropdown-submenu li a {
    display: block;
    padding: 12px 20px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-submenu li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 25px;
}



.menu-toggle {

    display: none;

    flex-direction: column;

    cursor: pointer;

}



.bar {

    height: 2px;

    width: 28px;

    background-color: white;

    margin: 4px 0;

    transition: 0.4s;

    border-radius: 2px;

}



/* Hero Section - The Cyber Prism Design */

.hero {

    padding: 140px 24px 80px;

    min-height: 100vh;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    overflow: hidden;

    background: #f8fafc;

}



/* Animated Aurora Background */

.hero::before {

    content: '';

    position: absolute;

    top: -20%;

    left: -20%;

    width: 140%;

    height: 140%;

    background:

        radial-gradient(circle at 50% 50%, rgba(0, 163, 224, 0.15), transparent 40%),

        radial-gradient(circle at 20% 80%, rgba(243, 112, 33, 0.15), transparent 40%),

        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.15), transparent 40%);

    animation: rotateBg 15s linear infinite;

    z-index: 0;

    filter: blur(80px);

    pointer-events: none;

}



.hero::after {

    display: none;

    /* Removing old bloom */

}



@keyframes rotateBg {

    0% {

        transform: rotate(0deg);

    }



    100% {

        transform: rotate(360deg);

    }

}



.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    text-align: left;
    gap: 60px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
}



.hero-text h1 {

    font-size: clamp(2rem, 8vw, 4.5rem);

    line-height: 1.1;

    margin-bottom: 25px;

    letter-spacing: -1px;

}



.hero-text .highlight {

    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);

}



.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 0 40px;
    max-width: 650px;
}



.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}



/* 3D Floating Tech Stack Visual */

.hero-image {

    display: flex;

    justify-content: flex-end;

    perspective: 1200px;

    position: relative;

    padding-right: 50px;

}



.tech-stack-visual {

    position: relative;

    width: 100%;

    max-width: 410px;

    height: 500px;

    transform-style: preserve-3d;

    transform: rotateY(0deg) rotateX(0deg);

    animation: hoverStack 6s ease-in-out infinite;

    /* Resetting previous borders/backgrounds */

    background: transparent;

    border: none;

    box-shadow: none;

    padding: 0;

}



/* Needed for the 3D cards */

.stack-card {

    position: absolute;

    width: 100%;

    height: 140px;

    background: #ffffff;

    backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 20px;

    box-shadow:

        0 8px 32px rgba(0, 0, 0, 0.3),

        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    display: flex;

    align-items: center;

    padding: 20px;

    gap: 20px;

    transition: all 0.4s ease;

    left: 0;

}



.card-1 {

    top: 0;

    transform: translateZ(0px) translateX(0px);

    z-index: 3;

    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1), rgba(255, 255, 255, 0.05));

    border-color: rgba(0, 163, 224, 0.3);

}



.card-2 {

    top: 170px;

    transform: translateZ(0px) translateX(0px);

    z-index: 2;

    background: linear-gradient(135deg, rgba(243, 112, 33, 0.1), rgba(255, 255, 255, 0.05));

    border-color: rgba(243, 112, 33, 0.3);

}



.card-3 {

    top: 340px;

    transform: translateZ(0px) translateX(0px);

    z-index: 1;

    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 255, 255, 0.05));

    border-color: rgba(255, 140, 0, 0.3);

}



.stack-icon {

    min-width: 60px;

    height: 60px;

    border-radius: 12px;

    background: rgba(0, 0, 0, 0.3);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);

}



.c1-icon {

    color: #818cf8;

    border: 1px solid #818cf8;

    text-shadow: 0 0 10px #818cf8;

}



.c2-icon {

    color: #c084fc;

    border: 1px solid #c084fc;

    text-shadow: 0 0 10px #c084fc;

}



.c3-icon {

    color: #f472b6;

    border: 1px solid #f472b6;

    text-shadow: 0 0 10px #f472b6;

}



.stack-content h4 {

    color: white;

    margin-bottom: 5px;

    font-size: 1.1rem;

}



.stack-content p {

    color: rgba(255, 255, 255, 0.6);

    font-size: 0.85rem;

    margin: 0;

}



@keyframes hoverStack {



    0%,

    100% {

        transform: rotateY(-15deg) rotateX(10deg) translateY(0);

    }



    50% {

        transform: rotateY(-5deg) rotateX(0deg) translateY(-20px);

    }

}



/* Hover Effect for Cards */

.tech-stack-visual:hover .stack-card {

    transform: translateZ(80px);

}



.tech-stack-visual:hover .card-1 {

    transform: translateZ(100px) translateX(30px) translateY(-10px);

}



.tech-stack-visual:hover .card-2 {

    transform: translateZ(60px) translateX(0px);

}



.tech-stack-visual:hover .card-3 {

    transform: translateZ(20px) translateX(-60px) translateY(10px);

}



/* Services Section */

.services {

    padding: 60px 0;

    /* Reduced from 120px */

    position: relative;

}



.section-title {

    text-align: center;

    margin-bottom: 40px;

    /* Reduced from 80px */

}



.section-title h2 {

    font-size: 3rem;

    margin-bottom: 16px;

    background: linear-gradient(to right, #fff, #94a3b8);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}



.section-title p {

    color: var(--text-muted);

    font-size: 1.1rem;

}



.service-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}



.service-card {

    background: var(--bg-card);

    padding: 40px;

    border-radius: 24px;

    border: 1px solid var(--border-light);

    box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: all 0.4s ease;

    position: relative;

    overflow: hidden;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.service-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);

    opacity: 0;

    transition: opacity 0.4s ease;

}



.service-card:hover {

    transform: translateY(-10px);

    background: var(--bg-card-hover);

    border-color: rgba(255, 255, 255, 0.2);

    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);

}



.service-card:hover::before {

    opacity: 1;

}



.icon-box {

    font-size: 3rem;

    margin-bottom: 24px;

    background: var(--primary-gradient);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}



.service-card h3 {

    font-size: 1.5rem;

    margin-bottom: 16px;

}



.service-card p {

    color: var(--text-muted);

}



/* About Section */

.about {

    padding: 60px 0;

    /* Reduced from 120px */

    background: rgba(255, 255, 255, 0.02);

}



.about-wrapper {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    /* Reduced gap */

    align-items: center;

}



.about-content h2 {

    font-size: 3rem;

    margin-bottom: 24px;

}



.about-content p {

    color: var(--text-muted);

    font-size: 1.1rem;

    margin-bottom: 30px;

}



.features-list li {

    margin-bottom: 16px;

    color: #e2e8f0;

    font-weight: 500;

    display: flex;

    align-items: center;

    gap: 12px;

}



.features-list i {

    color: #F37021;

    font-size: 1.2rem;

}



.stat-item {

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));

    padding: 40px;

    border-radius: 24px;

    text-align: center;

    border: 1px solid var(--border-light);

    backdrop-filter: blur(10px);

}



.stat-item h3 {

    font-size: clamp(2rem, 5vw, 3rem);

    background: var(--secondary-gradient);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

    margin-bottom: 8px;

}



.stat-item p {

    color: var(--text-muted);

    font-weight: 500;

}



/* Contact Section */

.contact {

    padding: 60px 0;

    /* Reduced from 120px */

    position: relative;

}



.contact-box {

    display: grid;

    grid-template-columns: 1fr 1.5fr;

    background: var(--bg-card);

    border-radius: 32px;

    overflow: hidden;

    border: 1px solid var(--border-light);

    backdrop-filter: blur(20px);

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

}



.contact-info {

    padding: 60px;

    background: linear-gradient(135deg, rgba(0, 163, 224, 0.2), rgba(243, 112, 33, 0.2));

    position: relative;

    overflow: hidden;

}



/* Abstract shapes on contact info */

.contact-info::before {

    content: '';

    position: absolute;

    top: -50px;

    left: -50px;

    width: 200px;

    height: 200px;

    background: rgba(255, 140, 0, 0.3);

    border-radius: 50%;

    filter: blur(50px);

}



.contact-info h2 {

    font-size: 2.2rem;

    margin-bottom: 16px;

    position: relative;

    z-index: 1;

}



.contact-info p {

    color: rgba(255, 255, 255, 0.8);

    margin-bottom: 40px;

    position: relative;

    z-index: 1;

}



.info-item {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 30px;

    position: relative;

    z-index: 1;

}



.info-item i {

    width: 48px;

    height: 48px;

    background: rgba(255, 255, 255, 0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    color: #fff;

    font-size: 1.2rem;

}



.info-item h4 {

    font-size: 1.1rem;

    margin-bottom: 4px;

    color: white;

}



.info-item p {

    margin-bottom: 0;

    font-size: 0.95rem;

    color: rgba(255, 255, 255, 0.7);

}



@media (max-width: 480px) {

    .section-title h2 {

        font-size: 2.5rem !important;

    }



    .contact-info {

        padding: 40px 20px !important;

        display: flex;

        flex-direction: column;

        align-items: center;

        text-align: center;

    }



    .info-item {

        flex-direction: column;

        align-items: center;

        gap: 10px;

    }



    .info-item div {

        text-align: center;

    }



    .social-links {

        justify-content: center;

        width: 100%;

        margin-top: 20px;

    }



    .contact-form-wrapper {

        padding: 40px 20px !important;

    }



    .features-list li {

        justify-content: center;

        text-align: center;

    }



    .about-content {

        padding: 0 20px !important;

    }



    .about-content h2 {

        font-size: 2.2rem !important;

        margin-bottom: 20px;

        line-height: 1.2;

        padding: 0 10px;

    }



    .about-content p {

        margin-left: auto;

        margin-right: auto;

        max-width: 100%;

        padding: 0 5px;

    }



    .stat-item {

        margin: 0 10px 20px 10px !important;

        padding: 30px 20px !important;

    }

}



.social-links {

    margin-top: auto;

    display: flex;

    gap: 15px;

    position: relative;

    z-index: 1;

}



.social-links a {

    width: 44px;

    height: 44px;

    background: rgba(255, 255, 255, 0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    transition: 0.3s;

    color: white;

}



.social-links a:hover {

    background: white;

    color: var(--bg-dark);

    transform: translateY(-3px);

}



.contact-form-wrapper {

    padding: 60px;

    background: rgba(255, 255, 255, 0.03);

    border-top: 1px solid rgba(255, 255, 255, 0.05);

}



.contact-form .input-group {

    margin-bottom: 24px;

}



.contact-form input,

.contact-form textarea {

    width: 100%;

    padding: 16px 20px;

    border-radius: 12px;

    background: rgba(15, 23, 42, 0.6);
    /* Darker semi-transparent background */

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: white;

    font-family: inherit;

    font-size: 1rem;

    transition: all 0.3s ease;

}



.contact-form input:focus,

.contact-form textarea:focus {

    outline: none;

    background: rgba(15, 23, 42, 0.8);

    border-color: #0077A3;

    box-shadow: 0 0 15px rgba(0, 119, 163, 0.2);

}



.contact-form input::placeholder,

.contact-form textarea::placeholder {

    color: rgba(255, 255, 255, 0.4);

}



/* Footer */

.footer {

    background: #000000;

    color: white;

    padding: 80px 0 30px;

    border-top: 1px solid var(--border-light);

}



.footer-content {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 60px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    margin-bottom: 30px;

}



.footer-logo {

    height: 80px;

    margin-bottom: 24px;

    opacity: 0.9;

}



.footer-brand p {

    color: #94a3b8;

    max-width: 300px;

 font-size: 1.05rem; }



.footer-links h3,

.footer-contact h3 {

    margin-bottom: 24px;

    font-size: 1.4rem;

    color: white;

    letter-spacing: 0.5px;

}



.footer-links ul li {

    margin-bottom: 14px;

}



.footer-links ul li a {

    color: #cbd5e1;

 font-size: 1.1rem; }



.footer-links ul li a:hover {

    color: #F37021;

    padding-left: 5px;

}



.footer-contact p {

    color: #cbd5e1;

    margin-bottom: 16px;

 font-size: 1.1rem; }



.footer-bottom {

    text-align: center;

    color: #64748b;

    font-size: 0.9rem;

}



/* Mobile Responsive Override */

@media (max-width: 1024px) {

    .nav-menu {

        position: fixed;

        top: 0;

        right: -100%;

        width: 100% !important;

        height: 100vh;

        background: rgba(2, 6, 23, 0.98);

        backdrop-filter: blur(20px);

        flex-direction: column;

        justify-content: center;

        align-items: center;

        padding: 40px 0;

        gap: 25px;

        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

        z-index: 999;

        opacity: 0;

        pointer-events: none;

    }



    .nav-menu.active {

        right: 0;

        opacity: 1;

        pointer-events: auto;

    }



    .menu-toggle {

        display: flex;

        z-index: 1001;

    }



    .hero-content,

    .about-wrapper,

    .contact-box {

        grid-template-columns: 1fr !important;

        gap: 60px;

        text-align: center;

        width: 100% !important;

        overflow: hidden;

    }



    .footer-content {

        grid-template-columns: 1fr 1fr !important;

        gap: 40px;

        text-align: center;

    }



    .footer-brand {

        grid-column: span 2;

        display: flex;

        flex-direction: column;

        align-items: center;

    }



    .footer-brand p {

        margin: 0 auto;

     font-size: 1.05rem; }



    .hero-image {

        margin-top: 40px;

        width: 100%;

        overflow: hidden;

    }



    .tech-stack-visual {

        width: 100% !important;

        max-width: 320px !important;

        height: auto !important;

        margin: 0 auto;

        transform: none !important;

        animation: none !important;

        display: flex !important;

        flex-direction: column !important;

        gap: 15px !important;

        perspective: none !important;

    }



    .stack-card {

        position: relative !important;

        width: 100% !important;

        height: auto !important;

        min-height: 100px !important;

        top: auto !important;

        left: auto !important;

        transform: none !important;

        padding: 20px !important;

    }



    .hero-btns {

        justify-content: center !important;

        flex-direction: column !important;

        align-items: center !important;

        width: 100% !important;

        padding: 0 20px;

    }



    .hero-text p {

        margin-left: auto;

        margin-right: auto;

        width: 100% !important;

    }

}



@media (max-width: 768px) {

    .container {

        max-width: 100% !important;

        padding-left: 20px !important;

        padding-right: 20px !important;

    }



    .service-grid,

    .portfolio-grid,

    .process-grid,

    .faq-grid {

        grid-template-columns: 1fr !important;

        width: 100% !important;

    }



    .service-card,

    .portfolio-item,

    .process-card,

    .faq-item {

        width: 100% !important;

        min-width: unset !important;

        max-width: 100% !important;

    }



    .logo-img {

        height: 40px;

    }

}



@media (max-width: 480px) {

    .container {

        padding: 0 15px;

    }



    .hero {

        padding-top: 100px;

    }



    .hero-text h1 {

        font-size: 2.2rem;

        margin-bottom: 20px;

    }



    .hero-text p {

        font-size: 1rem;

        margin-bottom: 30px;

    }



    .hero-btns {

        flex-direction: column !important;

        gap: 15px;

        width: 100% !important;

        max-width: 280px;

        margin: 0 auto;

    }



    .btn {

        width: 100% !important;

        padding: 12px 24px;

        margin: 0 !important;

    }



    .logo-img {

        height: 45px;

    }



    .tech-stack-visual {

        width: 260px;

        height: 350px;

    }



    .stack-card {

        height: 110px;

        padding: 15px;

    }



    .stack-icon {

        width: 45px;

        height: 45px;

        font-size: 1.2rem;

    }



    /* Fix for About Section on Mobile */

    .about-content h2 {

        font-size: 1.8rem !important;

        line-height: 1.25;

        word-wrap: break-word;

        overflow-wrap: break-word;

        /* Standard */

        word-break: break-word;

        /* Non-standard but effective */

        hyphens: auto;

        padding: 0 5px;

        max-width: 100%;

    }



    .about-content p {

        font-size: 1.2rem !important;

        padding: 0 10px;

    }



    .features-list {

        display: inline-block;

        text-align: left;

        /* Align list text specifically */

        margin: 0 auto;

    }



    .features-list li {

        font-size: 1rem;

        justify-content: flex-start;

    }



    .about-stats {

        flex-direction: column;

        gap: 30px;

        align-items: center;

    }



    .stat-item h3 {

        font-size: 2.5rem;

    }

}



/* Process Section */

.process {

    padding: 60px 0;

    /* Reduced from 100px */

    position: relative;

    background: var(--bg-dark);

}



.process-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}



.process-card {

    padding: 30px;

    text-align: center;

    transition: all 0.3s ease;

}



.process-card:hover {

    transform: translateY(-5px);

    background: var(--bg-card-hover);

}



.step-icon {

    font-size: 2.5rem;

    color: #F37021;

    margin-bottom: 20px;

    height: 70px;

    width: 70px;

    line-height: 70px;

    background: rgba(243, 112, 33, 0.1);

    border-radius: 50%;

    margin-inline: auto;

}



/* Portfolio Section */

.portfolio {

    padding: 60px 0;

    /* Reduced from 100px */

    background: rgba(2, 6, 23, 0.5);

    /* slightly lighter/darker */

}



.portfolio-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

}



.portfolio-item {

    overflow: hidden;

    transition: all 0.4s ease;

    /* group: hover;  -- invalid property */

}



.portfolio-item:hover {

    transform: translateY(-10px);

}



.portfolio-visual {

    height: 200px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 4rem;

    color: rgba(255, 255, 255, 0.8);

    position: relative;

}



.gradient-1 {

    background: linear-gradient(45deg, #4f46e5, #FF8C00);

}



.gradient-2 {

    background: linear-gradient(45deg, #06b6d4, #3b82f6);

}



.gradient-3 {

    background: linear-gradient(45deg, #f59e0b, #ef4444);

}



.portfolio-content {

    padding: 25px;

}



.portfolio-content h3 {

    font-size: 1.3rem;

    margin-bottom: 8px;

}



.portfolio-content .tag {

    display: inline-block;

    padding: 4px 12px;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 20px;

    font-size: 0.8rem;

    margin-top: 15px;

    color: #F37021;

}



/* FAQ */

.faq {

    padding: 60px 0;

    /* Reduced from 100px */

    background: rgba(255, 255, 255, 0.02);

}



.faq-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));

    gap: 30px;

}



.faq-item {

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.faq-item h3 {

    font-size: 1.1rem;

    margin-bottom: 10px;

    display: flex;

    align-items: center;

    gap: 10px;

}



.faq-item h3 i {

    color: #F37021;

}



.faq-item p {

    color: #94a3b8;

    font-size: 0.95rem;

    padding-left: 28px;

}



@media(max-width: 768px) {

    .faq-grid {

        grid-template-columns: 1fr;

    }

}



/* Service Interaction Modal */

.modal-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(2, 6, 23, 0.8);

    backdrop-filter: blur(8px);

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

}



.modal-overlay.active {

    opacity: 1;

    visibility: visible;

}



.modal-content {

    background: #0f172a;

    width: 90%;

    max-width: 400px;

    padding: 40px;

    text-align: center;

    position: relative;

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    transform: translateY(20px);

    transition: all 0.3s ease;

}



.modal-overlay.active .modal-content {

    transform: translateY(0);

}



.close-modal {

    position: absolute;

    top: 15px;

    right: 20px;

    background: none;

    border: none;

    color: var(--text-muted);

    font-size: 2rem;

    cursor: pointer;

    transition: 0.3s;

}



.close-modal:hover {

    color: white;

}



#modal-service-title {

    margin-bottom: 30px;

    font-size: 1.8rem;

    background: linear-gradient(to right, #fff, #94a3b8);

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}



.modal-actions {

    display: flex;

    flex-direction: column;

    gap: 15px;

}



.action-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 16px;

    border-radius: 12px;

    font-weight: 600;

    font-size: 1.1rem;

    transition: all 0.3s ease;

    border: 1px solid transparent;

    cursor: pointer;

    text-decoration: none !important;

}



.action-btn.whatsapp {

    background: rgba(37, 211, 102, 0.1);

    color: #25d366;

    border-color: rgba(37, 211, 102, 0.2);

}



.action-btn.whatsapp:hover {

    background: #25d366;

    color: white;

    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);

}



.action-btn.call {

    background: rgba(249, 115, 22, 0.1);

    color: #f97316;

    border-color: rgba(249, 115, 22, 0.2);

}



.action-btn.call:hover {

    background: var(--orange-gradient);

    color: white;

    box-shadow: 0 0 25px rgba(249, 115, 22, 0.5);

    transform: scale(1.02);

}



/* Unique Call Number Display */

.number-display {

    display: none;

    background: #1e293b;

    padding: 15px;

    border-radius: 12px;

    margin-top: 10px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    animation: fadeIn 0.3s ease;

}



.number-display.active {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.phone-text {

    font-family: monospace;

    font-size: 1.2rem;

    color: white;

    letter-spacing: 1px;

}



.copy-icon {

    background: rgba(255, 255, 255, 0.1);

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    cursor: pointer;

    transition: 0.2s;

}



.copy-icon:hover {

    background: white;

    color: #0f172a;

}



@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(-5px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* Service Full Features Styles */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-description {
    margin-bottom: 20px;
    width: 100%;
}

.service-description p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-features li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #F37021;
    font-weight: 800;
    font-size: 1.1rem;
    top: -3px;
}

/* Dynamic Portfolio Styles */
.portfolio-visual.has-image {
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

.portfolio-visual.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.portfolio-item {
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Premium Pagination Styles */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    padding: 10px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #94a3b8;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.95rem;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(0, 163, 224, 0.4);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%);
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(0, 119, 163, 0.5), 0 0 40px rgba(255, 140, 0, 0.2);
    transform: scale(1.1);
    z-index: 2;
}

.pagination-btn.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.01);
}

.pagination-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.pagination-btn:hover i {
    transform: scale(1.2);
}

.pagination-dots {
    color: #475569;
    font-weight: 700;
    margin: 0 5px;
    letter-spacing: 2px;
}

/* ============================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

/* Tablet & Below (992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(2, 6, 23, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        align-items: flex-start;
        padding-left: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 0;
    }

    /* Dropdown submenu for mobile */
    .dropdown-submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.3);
        margin-top: 10px;
        border-radius: 8px;
    }

    .nav-dropdown:hover .dropdown-submenu {
        transform: none;
    }

    /* Hero Section */
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 3rem);
        text-align: center;
    }

    .hero-text p {
        font-size: 1.1rem;
        text-align: center;
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-secondary {
        margin-left: 0;
    }

    /* Hero Image/Tech Stack */
    .hero-image {
        display: flex;
        justify-content: center;
        padding-right: 0;
    }

    .tech-stack-visual {
        max-width: 380px;
        height: 420px;
    }

    .stack-card {
        height: 120px;
    }

    .card-2 {
        top: 145px;
    }

    .card-3 {
        top: 290px;
    }

    .stack-icon {
        min-width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .stack-text h3 {
        font-size: 1rem;
    }

    .stack-text p {
        font-size: 0.85rem;
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .navbar {
        padding: 15px 0;
    }

    .logo-img {
        height: 40px;
    }

    /* Hero Section */
    .hero {
        padding: 100px 16px 50px;
        min-height: auto;
    }

    .hero-content {
        gap: 40px;
        padding: 0;
    }

    .hero-text h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 25px;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-secondary {
        margin-left: 0;
    }

    /* Tech Stack Visual */
    .hero-image {
        display: flex;
        justify-content: center;
        padding-right: 0;
    }

    .tech-stack-visual {
        max-width: 100%;
        height: 380px;
    }

    .stack-card {
        height: 100px;
        padding: 15px;
        gap: 15px;
    }

    .card-1 {
        top: 0;
    }

    .card-2 {
        top: 125px;
    }

    .card-3 {
        top: 250px;
    }

    .stack-icon {
        min-width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .stack-text h3 {
        font-size: 0.95rem;
    }

    .stack-text p {
        font-size: 0.8rem;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    /* Grid Layouts */
    .services-grid,
    .features-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards */
    .service-card,
    .feature-card,
    .portfolio-item {
        padding: 20px;
    }

    /* Pagination */
    .custom-pagination {
        gap: 8px;
        margin-top: 40px;
    }

    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .tech-stack-visual {
        height: 340px;
    }

    .stack-card {
        height: 90px;
        padding: 12px;
    }

    .card-2 {
        top: 110px;
    }

    .card-3 {
        top: 220px;
    }

    .stack-icon {
        min-width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .stack-text h3 {
        font-size: 0.9rem;
    }

    .stack-text p {
        font-size: 0.75rem;
    }

    .logo-img {
        height: 35px;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}
/* Portfolio Title Fix */
.portfolio .section-title h2 {
    font-family: var(--font-main, 'Outfit', sans-serif) !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #ffffff !important; background: none !important;
    
    letter-spacing: -0.5px !important;
}

@media (max-width: 480px) {
    .portfolio .section-title h2 {
        font-size: 2.5rem !important;
    }
}





/* Blog Post Detail Headings Fix */
.blog-details h1, .blog-details h2, .blog-details h3, .blog-details h4, .blog-details h5, .blog-details h6,
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
article h1, article h2, article h3, article h4, article h5, article h6,
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    color: #ff6b00 !important;
}


/* Blog Card Heading Color Fix */
.blog-card-wow .content h3 {
    color: #ff6b00 !important;
}


/* Fix for light theme hero cards and text */
.hero-text h1, .hero-text h1 span {
    color: #0f172a !important;
}
.hero-text p {
    color: #475569 !important;
}
.stack-card {
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}
.stack-text h3 {
    color: #0f172a !important;
}
.stack-text p {
    color: #475569 !important;
}

/* Fix icon backgrounds to look good on white */
.c1-icon { background: rgba(0, 163, 224, 0.1) !important; color: #00A3E0 !important; }
.c2-icon { background: rgba(139, 92, 246, 0.1) !important; color: #8b5cf6 !important; }
.c3-icon { background: rgba(244, 63, 94, 0.1) !important; color: #f43f5e !important; }


/* Strict Light Theme Fixes */
.service-card h3, .service-card h4, .service-card h2, 
.portfolio-card h3, .portfolio-card h4, .portfolio-item h3,
.feature-card h3, .section-title h2 {
    color: #0f172a !important;
}

/* Fix Hero Gradient Text */
.hero-text h1 .text-gradient, 
.hero-text h1 span {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #00A3E0 !important; /* Brand Blue */
}

/* Ensure section subtitles are readable */
.section-title p, .service-card p, .feature-card p {
    color: #475569 !important;
}


/* Fix for Section Titles (Best Digital Services & Expertise etc) */
.section-title h2, 
.section-title h2 span, 
.section-header h2,
.about-content h2,
.services h2 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #00A3E0 !important; /* Brand Blue */
}


/* Service Card Hover & Border Effects */
.service-card {
    border: 2px solid #ff6b00 !important;
    background: #ff7100 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-card:hover {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    border-color: transparent !important;
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.3) !important;
}

.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover i, 
.service-card:hover .service-icon,
.service-card:hover .icon i {
    color: #ffffff !important;
}

/* Ensure smooth transition for text */
.service-card h3, .service-card p, .service-card i {
    transition: color 0.4s ease !important;
}


/* NEW STRICT OVERRIDE FOR SERVICE CARDS BG */
.service-card {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.service-card h3, 
.service-card p, 
.service-card i, 
.service-card .service-icon,
.service-card .icon i {
    color: #ffffff !important;
}

.service-card:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%) !important;
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.4) !important;
}

.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover i, 
.service-card:hover .service-icon,
.service-card:hover .icon i {
    color: #ffffff !important;
}


/* NEW STRICT OVERRIDE FOR SERVICE CARDS BG - ORANGE DEFAULT, BLUE HOVER */
.service-card { background: #ff7100 !important; border: none !important; border-radius: 20px !important; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; }

.service-card:hover {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.4) !important;
}

.service-card h3, 
.service-card p, 
.service-card i, 
.service-card .service-icon,
.service-card .icon i,
.service-card .c1-icon,
.service-card .c2-icon,
.service-card .c3-icon,
.service-card .stack-icon {
    color: #ffffff !important;
}

.service-card .c1-icon,
.service-card .c2-icon,
.service-card .c3-icon,
.service-card .stack-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}


/* FORCE ALL TEXT AND ICONS IN SERVICE CARDS TO BE WHITE IN BOTH STATES */
.service-card h3, 
.service-card p, 
.service-card i, 
.service-card svg,
.service-card img,
.service-card .service-icon,
.service-card .icon,
.service-card .icon i,
.service-card .c1-icon,
.service-card .c2-icon,
.service-card .c3-icon,
.service-card .stack-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.service-card:hover h3, 
.service-card:hover p, 
.service-card:hover i, 
.service-card:hover svg,
.service-card:hover img,
.service-card:hover .service-icon,
.service-card:hover .icon,
.service-card:hover .icon i,
.service-card:hover .c1-icon,
.service-card:hover .c2-icon,
.service-card:hover .c3-icon,
.service-card:hover .stack-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Make icon wrapper background slightly visible if needed */
.service-card .c1-icon,
.service-card .c2-icon,
.service-card .c3-icon,
.service-card .stack-icon,
.service-card .icon {
    background: rgba(255, 255, 255, 0.15) !important;
}


/* NEW ANIMATED HOVER EFFECT - BOTTOM RIGHT TO TOP LEFT WIPE */
.service-card { position: relative !important; overflow: hidden !important; background: #ff7100 !important; z-index: 1 !important; }

/* Remove the plain background change on hover so the animation shows */
.service-card:hover { background: #ffffff !important; }

/* The Animated Blue Background */
.service-card::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    clip-path: circle(0% at 100% 100%) !important;
    -webkit-clip-path: circle(0% at 100% 100%) !important;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: -1 !important;
}

.service-card:hover::before {
    clip-path: circle(150% at 100% 100%) !important;
    -webkit-clip-path: circle(150% at 100% 100%) !important;
}

/* Ensure content stays above the animation */
.service-card h3, 
.service-card p, 
.service-card i, 
.service-card .service-icon,
.service-card .icon,
.service-card .icon i,
.service-card .c1-icon,
.service-card .c2-icon,
.service-card .c3-icon,
.service-card .stack-icon {
    position: relative !important;
    z-index: 2 !important;
}


/* SLOW DOWN HOVER ANIMATION & FIX ICONS Z-INDEX */
.service-card::before {
    transition: all 1.5s ease-in-out !important; /* Made it slow (1.5s) */
}

/* Ensure ALL content stays above the animation */
.service-card > * {
    position: relative !important;
    z-index: 2 !important;
}

.service-card svg,
.service-card img,
.service-card .service-icon i {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Force icons white again just in case */
.service-card i, .service-card svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}


/* SPEED UP HOVER ANIMATION A BIT */
.service-card::before {
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important; /* Balanced speed (0.7s) */
}


/* TWEAK HOVER ANIMATION SPEED TO 1.0s */
.service-card::before {
    transition: all 1.0s cubic-bezier(0.25, 1, 0.5, 1) !important; /* Perfect middle-ground speed */
}


/* FIX MISSING ICONS - REMOVE GRADIENT CLIPPING */
.service-card .icon-box i,
.service-card i {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #ffffff !important;
}

.service-card .icon-box {
    background: rgba(255, 255, 255, 0.2) !important; /* Slight white background for the circle */
}


/* HOW WE WORK (PROCESS CARDS) - DEFAULT BLUE, HOVER ORANGE W/ WAVE */
.process-card {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    z-index: 1 !important;
    border: none !important;
    border-radius: 20px !important;
}

.process-card:hover {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
}

/* Animated Orange Background */
.process-card::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
    clip-path: circle(0% at 100% 100%) !important;
    -webkit-clip-path: circle(0% at 100% 100%) !important;
    transition: all 1.0s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: -1 !important;
}

.process-card:hover::before {
    clip-path: circle(150% at 100% 100%) !important;
    -webkit-clip-path: circle(150% at 100% 100%) !important;
    transform: translateY(-10px) !important;
}

.process-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3) !important;
}

/* Ensure content stays above the animation */
.process-card > * {
    position: relative !important;
    z-index: 2 !important;
}

/* Force text and icons to be white and remove gradient clipping */
.process-card h3, 
.process-card p, 
.process-card i, 
.process-card svg,
.process-card img,
.process-card .step-icon i,
.process-card .step-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: initial !important;
    transition: color 0.4s ease !important;
}

.process-card .step-icon {
    background: rgba(255, 255, 255, 0.15) !important; /* Semi-transparent white circle for icon */
}


/* MAKE SERVICE CARDS MATCH HOW WE WORK (DEFAULT BLUE -> HOVER ORANGE) */
.service-card {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
}

.service-card:hover {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
}

.service-card::before {
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3) !important;
}

/* FIX ICON BOX SHAPE (Make it a perfect circle instead of a rectangle) */
.service-card .icon-box,
.process-card .step-icon {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.15) !important;
    margin: 0 auto 20px auto !important;
}

/* Ensure font awesome icon is sized right */
.service-card .icon-box i,
.process-card .step-icon i {
    font-size: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* OVERRIDE SECTION TITLE TO ORANGE */
.section-title h2, .section-header h2, .services-section h2,
.services-section .section-title h2 {
    color: #ff6b00 !important; /* Brand Orange */
}


/* REVERT SERVICE CARDS TO DEFAULT ORANGE -> HOVER BLUE */
.service-card { background: #ff7100 !important; }

.service-card:hover { background: #ffffff !important; }

.service-card::before {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important; /* Hover Blue */
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.3) !important; /* Blue shadow on hover */
}


/* FIX HOW WE WORK HOVER FULL DIV COVERAGE */
.process-card::before {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
}

.process-card:hover::before {
    clip-path: circle(300% at 100% 100%) !important;
    -webkit-clip-path: circle(300% at 100% 100%) !important;
}

.service-card::before {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
}

.service-card:hover::before {
    clip-path: circle(300% at 100% 100%) !important;
    -webkit-clip-path: circle(300% at 100% 100%) !important;
}


/* FIX HOW WE WORK TITLE COLOR TO BLUE */
#process .section-title h2 {
    color: #00A3E0 !important;
}


/* FIX PORTFOLIO SUBTITLE TEXT COLOR TO WHITE */
#portfolio .section-title p,
.portfolio-section .section-title p,
.portfolio .section-title p {
    color: #ffffff !important;
}


/* FIX BOTTOM BLUE STRIP / BLEEDING ON HOVER */
.process-card, .service-card {
    border-bottom: 0px solid transparent !important; /* Force remove any rogue border */
    transform: translateZ(0) !important; /* Fix background bleed on rounded corners */
}

.process-card:hover {
    transform: translateY(-10px) translateZ(0) !important; /* Maintain lift and bleed fix */
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3), inset 0 -6px 0 #ea580c !important; /* Inner shadow to hide bottom strip */
}

.service-card:hover {
    transform: translateY(-10px) translateZ(0) !important;
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.3), inset 0 -6px 0 #0284c7 !important; /* Inner shadow to hide bottom strip */
}

.process-card::before, .service-card::before {
    /* Stretch ::before slightly beyond the edges to prevent subpixel gaps */
    top: -5px !important;
    left: -5px !important;
    right: -5px !important;
    bottom: -5px !important;
    width: calc(100% + 10px) !important;
    height: calc(100% + 10px) !important;
}


/* FIX PORTFOLIO BUTTON COLOR TO ORANGE */
#portfolio .btn,
.portfolio .btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3) !important;
    color: #fff !important;
    border: none !important;
}

#portfolio .btn:hover,
.portfolio .btn:hover {
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.5) !important;
    transform: translateY(-3px) !important;
}


/* FIX ABOUT SECTION LIST ITEMS TEXT COLOR */
#about ul li,
.about-content ul li,
.about-list li {
    color: #334155 !important; /* Dark Slate Gray for readability */
    font-weight: 500 !important;
}


/* FIX PORTFOLIO BUTTON COLOR TO ORANGE (Using Tag Selector) */
.portfolio a[href*="portfolio"] {
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3) !important;
    color: #fff !important;
    border: none !important;
}

.portfolio a[href*="portfolio"]:hover {
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.5) !important;
    transform: translateY(-3px) !important;
}


/* MAKE BLOG SECTION A 4-COLUMN SLIDER */
#about ~ .services .container {
    max-width: 100% !important; /* Allow slider to go edge-to-edge if needed, but container padding keeps it neat */
    padding-left: 5% !important;
    padding-right: 5% !important;
}

#about ~ .services .service-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 20px !important;
    padding-bottom: 40px !important; /* Space for scrollbar and shadow */
    margin-bottom: -20px !important; /* Offset padding visually */
    
    /* Modern Scrollbar Styling */
    scrollbar-width: thin;
    scrollbar-color: #ff6b00 #e2e8f0;
}

/* Custom Scrollbar for Webkit */
#about ~ .services .service-grid::-webkit-scrollbar {
    height: 10px;
}
#about ~ .services .service-grid::-webkit-scrollbar-track {
    background: #e2e8f0; 
    border-radius: 10px;
}
#about ~ .services .service-grid::-webkit-scrollbar-thumb {
    background: #ff6b00; 
    border-radius: 10px;
}
#about ~ .services .service-grid::-webkit-scrollbar-thumb:hover {
    background: #ea580c; 
}

#about ~ .services .service-card {
    /* 4 items per row */
    flex: 0 0 calc(25% - 15px) !important;
    scroll-snap-align: start;
    min-width: 250px; /* Ensure cards don't get too crushed on small screens */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    #about ~ .services .service-card {
        flex: 0 0 calc(33.333% - 14px) !important; /* 3 per row on medium */
    }
}
@media (max-width: 991px) {
    #about ~ .services .service-card {
        flex: 0 0 calc(50% - 10px) !important; /* 2 per row on tablet */
    }
}
@media (max-width: 576px) {
    #about ~ .services .service-card {
        flex: 0 0 calc(100% - 10px) !important; /* 1 per row on mobile */
    }
}


/* CHANGE PORTFOLIO SECTION BG TO ORANGE AND BUTTON TO BLUE */
.portfolio {
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
}

.portfolio .section-title h2,
.portfolio .section-title p {
    color: #ffffff !important;
}

.portfolio a[href*="portfolio"] {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    box-shadow: 0 10px 20px rgba(0, 163, 224, 0.3) !important;
    color: #ffffff !important;
    border: none !important;
}

.portfolio a[href*="portfolio"]:hover {
    box-shadow: 0 15px 30px rgba(0, 163, 224, 0.5) !important;
    transform: translateY(-3px) !important;
}


/* =========================================================
   COMPLETE BLOG CARD REDESIGN (INSIGHTS SECTION)
   ========================================================= */

/* Reset card from service-card to a clean blog card */
#about ~ .services .service-card {
    background: #ff7100 !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
}

/* Hover effect for the card */
#about ~ .services .service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
    background: #ffffff !important; /* Keep white, don't use orange wave */
    border-color: #cbd5e1 !important;
}

/* Remove the ::before orange wave entirely from blog cards */
#about ~ .services .service-card::before {
    display: none !important;
}

/* Fix inner content padding */
#about ~ .services .service-card .content {
    padding: 25px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Typography Fixes */
#about ~ .services .service-card h3 {
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    margin: 10px 0 15px 0 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

#about ~ .services .service-card .meta {
    color: #ff6b00 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 5px !important;
}

#about ~ .services .service-card .author {
    margin-bottom: 15px !important;
    margin-top: -5px !important;
}

#about ~ .services .service-card .author span {
    color: #64748b !important;
}

#about ~ .services .service-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Read Article Button Redesign */
#about ~ .services .service-card span[style*="background"] {
    background: #f8fafc !important; 
    color: #00A3E0 !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    animation: none !important; /* Stop that inline animation */
}

/* Button hover effect */
#about ~ .services .service-card:hover span[style*="background"] {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 20px rgba(0, 163, 224, 0.3) !important;
}

/* Fix the squished white box in the top visual header */
#about ~ .services .service-card .blog-visual-link > div:nth-child(3) {
    width: 90% !important; /* Expand to give title more room */
    padding-left: 20px !important;
    padding-right: 20px !important;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0% 100%) !important; /* Less aggressive angle */
}

#about ~ .services .service-card .blog-visual-link span {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 2 !important; /* Prevent huge 4-line wrapped titles */
}

/* Remove icon circle bleeding on white background */
#about ~ .services .service-card .author > div {
    border-color: #e2e8f0 !important;
}


/* =========================================================
   HIDE SCROLLBAR (LINE REMOVED)
   ========================================================= */
#about ~ .services .service-grid::-webkit-scrollbar {
    display: none !important;
}
#about ~ .services .service-grid {
    scrollbar-width: none !important;
    padding-bottom: 20px !important; /* reduce padding since no scrollbar */
}

/* =========================================================
   FIX TOP VISUAL IMAGE FOR NARROW CARDS
   ========================================================= */
/* Set height to make it proportional */
#about ~ .services .service-card .blog-visual-link {
    height: 180px !important; 
}

/* The blue background (remove diagonal cut) */
#about ~ .services .service-card .blog-visual-link > div > div:nth-child(1) {
    clip-path: none !important; 
}

/* The white box overlay with logo and text */
#about ~ .services .service-card .blog-visual-link > div > div:nth-child(3) {
    width: 100% !important; /* Full width */
    height: 100% !important;
    background: transparent !important; /* Remove solid white */
    clip-path: none !important; /* Remove diagonal cut */
    padding: 20px !important;
    align-items: flex-end !important; /* Push text down */
    justify-content: flex-start !important; /* And left */
}

/* Hide the duplicate logo icon inside the visual link since we don't have space */


/* Title text overlay over the blue dots */
#about ~ .services .service-card .blog-visual-link span {
    color: #ffffff !important;
    font-size: 17px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; /* Allow 3 lines */
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
}

/* Ensure the main title is not duplicated if it's already in the blue image */
#about ~ .services 


/* Show the logo again and style it like a badge so it's visible on the blue background */
#about ~ .services .service-card .blog-visual-link > div > div:nth-child(3) img {
    display: inline-block !important;
    max-width: 130px !important;
    height: auto !important;
    background: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    margin-bottom: 5px !important;
}

/* Adjust the container to space things nicely */
#about ~ .services .service-card .blog-visual-link > div > div:nth-child(3) > div {
    justify-content: flex-end !important;
    height: 100% !important;
}


/* =========================================================
   FIX BLOG AUTHOR BLOCK (CIRCLE AND TEXT SIDE BY SIDE)
   ========================================================= */
#about ~ .services .service-card .author {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    margin-top: 5px !important;
    width: 100% !important;
}

/* Ensure the circle is visible properly */
#about ~ .services .service-card .author > div {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure the favicon image inside the circle scales nicely */
#about ~ .services .service-card .author img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 3px !important;
    display: block !important;
}

#about ~ .services .service-card .author span {
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}


/* =========================================================
   FAQ SECTION DESIGN FIX
   ========================================================= */
.faq-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 991px) {
    .faq-grid {
        grid-template-columns: 1fr !important;
    }
}

.faq-item {
    background: #ffffff !important;
    border-radius: 15px !important;
    padding: 30px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
}

.faq-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-color: #cbd5e1 !important;
}

/* Flex layout for the title to align icon and text nicely */
.faq-item h3 {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    color: #0f172a !important; /* Dark text to fix invisible text issue */
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

/* Icon style */
.faq-item h3 i {
    color: #ff6b00 !important;
    font-size: 24px !important;
    flex-shrink: 0 !important; /* Prevent squishing icon */
    margin-top: 2px !important; /* Align with first line of text */
}

/* Answer text style */
.faq-item p {
    color: #475569 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding-left: 39px !important; /* Indent to align with text (24px icon + 15px gap) */
}


/* =========================================================
   CONTACT FORM REDESIGN
   ========================================================= */
/* Fix invisible input fields */
.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    font-family: inherit !important;
    margin-bottom: 0 !important;
}

.contact-form .form-group textarea {
    resize: vertical !important;
    min-height: 120px !important;
}

/* Focus state for inputs */
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none !important;
    border-color: #ff6b00 !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Placeholder color */
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #94a3b8 !important;
}

/* Redesign the submit button to match theme */
.contact-form button[type="submit"] {
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 18px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.3) !important;
    text-transform: uppercase !important;
    animation: none !important; /* Disable previous inline animation */
    margin-top: 10px !important;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.4) !important;
}


/* =========================================================
   MAP SECTION DESIGN FIX
   ========================================================= */
.map-section .blog-card-wow {
    height: 450px !important;
    width: 100% !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid #e2e8f0 !important;
    position: relative !important;
    display: block !important;
}

.map-section .blog-card-wow iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Adjust map section padding for better breathing room */
.map-section {
    padding-bottom: 100px !important;
}


/* =========================================================
   UPDATE FORM COLORS (BLUE BUTTON, ORANGE BG)
   ========================================================= */

/* Make the white background of the form wrapper Orange */
.contact-form-wrapper {
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
    border-left: none !important; /* Remove the old border if any */
}

/* Adjust input fields to look good on Orange */
.contact-form .form-group input,
.contact-form .form-group textarea {
    border: 1px solid rgba(255,255,255,0.8) !important;
    /* Keeping background white */
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #00A3E0 !important; /* Focus outline becomes blue instead of orange */
    box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.2) !important;
}

/* Make the button Blue */
.contact-form button[type="submit"] {
    background: linear-gradient(135deg, #0284c7 0%, #0077A3 50%, #00A3E0 100%) !important;
    box-shadow: 0 10px 25px rgba(0, 163, 224, 0.3) !important;
}

.contact-form button[type="submit"]:hover {
    box-shadow: 0 15px 35px rgba(0, 163, 224, 0.4) !important;
}


/* =========================================================
   FORCE FORM WRAPPER ORANGE
   ========================================================= */
#contact .contact-form-wrapper,
div.contact-form-wrapper {
    background-image: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%) !important;
    background-color: #ff6b00 !important;
}


/* =========================================================
   BACK TO TOP BUTTON FIX
   ========================================================= */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(234, 88, 12, 0.5);
    background: linear-gradient(135deg, #ea580c 0%, #ff6b00 100%);
}


/* =========================================================
   REDUCE FOOTER HEIGHT
   ========================================================= */
.footer {
    padding: 40px 0 20px !important;
}

.footer-content {
    padding-bottom: 30px !important;
    margin-bottom: 20px !important;
}


/* =========================================================
   REDUCE FOOTER HEIGHT EVEN MORE
   ========================================================= */
.footer {
    padding: 20px 0 10px !important;
}

.footer-content {
    padding-bottom: 15px !important;
    margin-bottom: 10px !important;
    gap: 30px !important;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 15px !important;
    font-size: 1.4rem !important;
}

.footer-links li {
    margin-bottom: 8px !important;
}

.footer-logo {
    margin-bottom: 10px !important;
    height: 60px !important;
}

.footer-brand p {
    margin-top: 5px !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
 font-size: 1.05rem; }

.footer-contact p {
    margin-bottom: 10px !important;
 font-size: 1.1rem; }

.footer-bottom p {
    margin: 0 !important;
    padding: 5px 0 !important;
}


/* =========================================================
   EXTREME FOOTER HEIGHT REDUCTION
   ========================================================= */
.footer {
    padding: 10px 0 5px !important;
}

.footer-content {
    padding-bottom: 10px !important;
    margin-bottom: 5px !important;
    gap: 15px !important; /* Reduces vertical gap on mobile, horizontal on desktop */
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 10px !important;
    font-size: 1.2rem !important;
}

.footer-links li {
    margin-bottom: 3px !important;
}

.footer-links li a {
    font-size: 1.05rem !important;
    display: inline-block !important;
}

.footer-logo {
    margin-bottom: 5px !important;
    height: 50px !important;
}

.footer-brand p {
    margin-top: 5px !important;
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
 font-size: 1.05rem; }

.footer-contact p {
    margin-bottom: 5px !important;
    font-size: 1.05rem !important;
 font-size: 1.1rem; }

.footer-bottom p {
    margin: 0 !important;
    padding: 2px 0 !important;
    font-size: 1.2rem !important;
}


/* =========================================================
   FLOATING ACTION BUTTONS (WHATSAPP & CALL)
   ========================================================= */
.floating-actions {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 55px;
    height: 80px;
    border-radius: 50%;
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.fab:hover {
    transform: translateY(-5px);
    color: white !important;
}

@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-fab {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse-wa 2s infinite;
}

.wa-fab:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    animation: none;
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
}

.call-fab {
    background: linear-gradient(135deg, #00A3E0 0%, #0284c7 100%);
    box-shadow: 0 10px 20px rgba(0, 163, 224, 0.4);
}

.call-fab:hover {
    box-shadow: 0 15px 25px rgba(0, 163, 224, 0.5);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        left: 20px;
        flex-direction: row; /* Horizontal on mobile so they don't block too much content */
    }
    .fab {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}


/* =========================================================
   FORCE LEFT ALIGNMENT IN FOOTER (LIKE REEFTECH)
   ========================================================= */
.footer-links, .footer-contact {
    text-align: left !important;
}

.footer-links h3, .footer-contact h3 {
    text-align: left !important;
}

.footer-links ul {
    text-align: left !important;
}

.footer-links li {
    text-align: left !important;
}

.footer-contact p, .footer-contact ul, .footer-contact li {
    text-align: left !important;
}

/* Ensure the grid columns don't force center alignment */
.footer-content {
    text-align: left !important;
}


/* Blog Page Grid */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .blog-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-page-grid {
        grid-template-columns: 1fr;
    }
}


/* Fix Pagination Hover Color */
.pagination-btn:hover:not(.disabled) {
    color: #0284c7 !important;
    background: #ffffff !important;
}
