/* Global Styles & Variables */

:root {

    --bg-dark: #020617;

    /* Slate 950 */

    --bg-card: rgba(255, 255, 255, 0.03);

    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);

    --secondary-gradient: linear-gradient(to right, #3b82f6, #06b6d4);

    --text-main: #f8fafc;

    --text-muted: #94a3b8;

    --border-light: rgba(255, 255, 255, 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(99, 102, 241, 0.15) 0%, transparent 25%),

        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 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: #a855f7;

    z-index: 1;

}



.highlight::after {

    content: '';

    position: absolute;

    bottom: 2px;

    left: -2px;

    right: -2px;

    height: 10px;

    background: rgba(168, 85, 247, 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, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);

    background-size: 200% auto;

    color: white;

    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3), 0 0 10px rgba(236, 72, 153, 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, #ec4899, #6366f1, #ec4899);

    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(139, 92, 246, 0.6), 0 0 50px rgba(236, 72, 153, 0.4);

}



.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: rgba(2, 6, 23, 0.8);

    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: white;

}



.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: #020617;

}



/* Animated Aurora Background */

.hero::before {

    content: '';

    position: absolute;

    top: -20%;

    left: -20%;

    width: 140%;

    height: 140%;

    background:

        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 40%),

        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.15), transparent 40%),

        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 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.1fr 0.9fr;

    gap: 60px;

    align-items: center;

    position: relative;

    z-index: 1;

    max-width: 1280px;

    margin: 0 auto;

    width: 100%;

    padding: 0;

}



.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-bottom: 40px;

    max-width: 540px;

}



.hero-btns {

    display: flex;

    gap: 15px;

}



/* 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: rgba(255, 255, 255, 0.03);

    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(99, 102, 241, 0.1), rgba(255, 255, 255, 0.05));

    border-color: rgba(99, 102, 241, 0.3);

}



.card-2 {

    top: 170px;

    transform: translateZ(0px) translateX(0px);

    z-index: 2;

    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(255, 255, 255, 0.05));

    border-color: rgba(168, 85, 247, 0.3);

}



.card-3 {

    top: 340px;

    transform: translateZ(0px) translateX(0px);

    z-index: 1;

    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(255, 255, 255, 0.05));

    border-color: rgba(236, 72, 153, 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(3, 1fr);

    gap: 30px;

}



.service-card {

    background: var(--bg-card);

    padding: 40px;

    border-radius: 24px;

    border: 1px solid var(--border-light);

    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: #a855f7;

    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(99, 102, 241, 0.2), rgba(168, 85, 247, 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(236, 72, 153, 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.02);

}



.contact-form .input-group {

    margin-bottom: 24px;

}



.contact-form input,

.contact-form textarea {

    width: 100%;

    padding: 16px 20px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid var(--border-light);

    color: white;

    font-family: inherit;

    font-size: 1rem;

    transition: 0.3s;

}



.contact-form input:focus,

.contact-form textarea:focus {

    outline: none;

    background: rgba(255, 255, 255, 0.1);

    border-color: #a855f7;

    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);

}



.contact-form input::placeholder,

.contact-form textarea::placeholder {

    color: rgba(255, 255, 255, 0.3);

}



/* 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: 55px;

    margin-bottom: 24px;

    opacity: 0.9;

}



.footer-brand p {

    color: var(--text-muted);

    max-width: 300px;

}



.footer-links h3,

.footer-contact h3 {

    margin-bottom: 24px;

    font-size: 1.1rem;

    color: white;

    letter-spacing: 0.5px;

}



.footer-links ul li {

    margin-bottom: 14px;

}



.footer-links ul li a {

    color: var(--text-muted);

}



.footer-links ul li a:hover {

    color: #a855f7;

    padding-left: 5px;

}



.footer-contact p {

    color: var(--text-muted);

    margin-bottom: 16px;

}



.footer-bottom {

    text-align: center;

    color: var(--text-muted);

    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;

    }



    .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: 1rem !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: #a855f7;

    margin-bottom: 20px;

    height: 70px;

    width: 70px;

    line-height: 70px;

    background: rgba(168, 85, 247, 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, #ec4899);

}



.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: #a855f7;

}



/* 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: #a855f7;

}



.faq-item p {

    color: var(--text-muted);

    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: #a855f7;
    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(99, 102, 241, 0.4);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(236, 72, 153, 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;
    }
}