@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;800&display=swap');

:root {
    --blue: #165EFE;
    --black: #000000;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--black);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    display: flex;
    align-items: center;
    /* Frosted glass effect */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(22, 94, 254, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 40px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.logo .accent {
    color: var(--blue);
    font-size: 30px;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

/* Hover underline effect */
.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--blue);
    transition: 0.3s;
}

.navbar ul li a:hover::after, 
.navbar ul li a.active::after {
    width: 100%;
}

/* Styled Button in Nav */
.nav-btn {
    background: var(--blue);
    padding: 12px 25px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(22, 94, 254, 0.3);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 94, 254, 0.5);
}

/* --- Responsive Menu Logic --- */
#click {
    display: none;
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
    background: #fff;
    display: block;
    height: 2px;
    width: 25px;
    position: relative;
    transition: 0.3s;
}

.menu-icon::before { content: ""; top: 8px; }
.menu-icon::after { content: ""; top: -10px; }

@media (max-width: 992px) {
    .nav-container { padding: 0 20px; }
    
    .menu-btn {
        display: block;
    }

    .navbar ul {
        position: fixed;
        top: 90px;
        left: -100%;
        background: #080808;
        height: 100vh;
        width: 100%;
        display: block;
        text-align: center;
        transition: all 0.4s ease;
        padding-top: 50px;
    }

    #click:checked ~ ul {
        left: 0;
    }

    .navbar ul li {
        margin: 30px 0;
    }

    .navbar ul li a {
        font-size: 20px;
        display: block;
    }
    
    /* Transform Hamburger to X when clicked */
    #click:checked ~ .menu-btn .menu-icon { background: transparent; }
    #click:checked ~ .menu-btn .menu-icon::before { transform: rotate(-45deg); top: 0; }
    #click:checked ~ .menu-btn .menu-icon::after { transform: rotate(45deg); top: -2px; }
}



/* Hero Section Base */
.hero {
    /* min-height: 100vh; */
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px; /* Space for floating nav */
    overflow: hidden;
    position: relative;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

/* Text Animations */
.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.blue-gradient {
    color: #165EFE;
    background: linear-gradient(90deg, #165EFE, #6094ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Buttons */
.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: #165EFE;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(22, 94, 254, 0.4); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

/* Visual Side - Abstract Shapes & Cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card {
    width: 300px;
    height: 400px;
    background: linear-gradient(145deg, #111, #000);
    border: 1px solid rgba(22, 94, 254, 0.3);
    border-radius: 30px;
    overflow: visible;       /* Important */
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* IMAGE FULL COVER */
.main-img {
    position: absolute;
    top: -40px;              /* Image extends 40px above the card */
    left: 0;
    width: 100%;
    height: calc(100% + 40px);
    object-fit: cover;
    border-radius: 25px;
    z-index: 1;
}

#service-type{
    background-color: #000000;
    color: #888;
    font-weight: 600;
}

/* Optional Dark Overlay (Modern Look) */
.main-card::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(
to top,
rgba(0,0,0,.5),
transparent
);
}

.glass-card {
    position: absolute;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-weight: 500;
    z-index: 3;
}

.card-1 { top: 20%; right: -20px; animation: float 5s ease-in-out infinite reverse; }
.card-2 { bottom: 20%; left: -20px; animation: float 7s ease-in-out infinite; }

.glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 94, 254, 0.15) 0%, transparent 70%);
    z-index: 1;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero{
        padding-top: 0%;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }
    .hero-text { order: 2; }
    .hero-visual { order: 1; margin-bottom: 50px; }
    .hero-description { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; display: flex; gap: 30px; }
}

.about {
    padding: 100px 0;
    background: #000000;
    color: white;
    overflow: hidden;
}

.about-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.sub-tag {
    color: #165EFE;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 15px 0;
    font-weight: 800;
}

.blue-text {
    color: #165EFE;
}

.section-desc {
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Focus Grid Styles */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.focus-card {
    background: #0A0A0A;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: default;
}

.card-icon {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(22, 94, 254, 0.1);
    margin-bottom: 20px;
    transition: 0.4s;
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.focus-card p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Interaction Effects */
.focus-card:hover {
    transform: translateY(-10px);
    border-color: rgba(22, 94, 254, 0.4);
}

.focus-card:hover .card-icon {
    color: #165EFE;
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(22, 94, 254, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: 0.6s ease;
    z-index: 1;
}

.focus-card:hover .card-glow {
    width: 400px;
    height: 400px;
}

/* Mission Vision Bar */
.mission-vision {
    display: flex;
    background: #0A0A0A;
    padding: 40px;
    border-radius: 20px;
    align-items: center;
    gap: 40px;
}

.mv-box h4 {
    color: #165EFE;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mv-divider {
    width: 2px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .mission-vision {
        flex-direction: column;
        text-align: center;
    }
    .mv-divider {
        width: 50px;
        height: 2px;
    }
}


:root {
    --primary: #165EFE;
    --black: #000000;
    --grey: #111111;
}

.services-modern {
    background: var(--black);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    top: 30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 94, 254, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.sub-title {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-top: 10px;
}

.dot { color: var(--primary); }

.header-desc {
    color: rgba(255,255,255,0.4);
    max-width: 350px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Service Stack Logic */
.service-stack {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.s-item {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
}

.s-info {
    display: flex;
    gap: 60px;
}

.s-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    padding-top: 12px;
}

.s-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: white;
    transition: transform 0.5s ease;
}

/* Hidden Content Reveal */
.s-hidden-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.s-hidden-content p {
    color: rgba(255,255,255,0.5);
    margin: 20px 0;
    max-width: 500px;
    line-height: 1.7;
}

.s-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.s-tags span {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.s-arrow {
    color: white;
    transition: transform 0.5s ease;
}

/* Hover States */
.s-item:hover {
    padding-left: 20px;
    background: rgba(22, 94, 254, 0.03);
}

.s-item:hover .s-hidden-content {
    max-height: 300px;
    opacity: 1;
}

.s-item:hover h3 {
    color: var(--primary);
    transform: translateX(10px);
}

.s-item:hover .s-arrow {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .header-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .s-info { gap: 30px; }
    .s-arrow { display: none; }
}


.portfolio-section {
    background: #000;
    padding: 40px 0;
    color: #fff;
}

.portfolio-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.portfolio-tag {
    color: #165EFE;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.portfolio-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-top: 10px;
}

.blue-dot { color: #165EFE; }

.header-right p {
    color: rgba(255,255,255,0.4);
    max-width: 300px;
    line-height: 1.6;
}

/* Filter Style */
.portfolio-filters {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    padding: 0;
}

.filter-btn.active, .filter-btn:hover {
    color: #165EFE;
}

/* Grid Logic (Masonry-like) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 25px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.large { grid-column: span 2; grid-row: span 1; }
.tall { grid-row: span 2; }

.project-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Add placeholder colors since we don't have images yet */
.img-one { background-color: #165EFE; background-image: linear-gradient(45deg, #165EFE, #000); }
.img-two { background-color: #222; }
.img-three { background-color: #333; }
.img-four { background-color: #444; }

/* The Hover Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-info h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.p-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #165EFE;
    letter-spacing: 1px;
}

.project-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.project-link {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

/* Hover Animations */
.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-card:hover .project-link {
    background: #165EFE;
    border-color: #165EFE;
}

.view-more {
    margin-top: 60px;
    text-align: center;
}

.outline-btn {
    padding: 15px 40px;
    border: 1px solid rgba(22, 94, 254, 0.4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

#toggleSliderBtn{
    background: #165EFE;
}

.outline-btn:hover {
    background: #165EFE;
    box-shadow: 0 10px 20px rgba(22, 94, 254, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .large { grid-column: span 2; }
}

@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
    .large, .tall { grid-column: span 1; grid-row: span 1; }
    .portfolio-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}


.workflow-section {
    background: #000;
    padding: 50px 0;
    color: white;
}

.workflow-header {
    margin-bottom: 100px;
}

.sub-text {
    color: #165EFE;
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 0.8rem;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin: 10px 0;
}

.blue-text { color: #165EFE; }

/* Timeline Structure */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* The vertical line in the middle */
.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 80px;
    transition: 0.5s ease;
}

/* The glowing dot */
.time-dot {
    position: absolute;
    left: 11px;
    top: 10px;
    width: 20px;
    height: 20px;
    background: #111;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    transition: 0.4s;
}

.timeline-item:hover .time-dot {
    background: #165EFE;
    border-color: #165EFE;
    box-shadow: 0 0 20px rgba(22, 94, 254, 0.6);
}

/* Content Styling */
.step-num {
    font-size: 0.9rem;
    font-weight: 800;
    color: #165EFE;
    display: block;
    margin-bottom: 10px;
}

.time-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    transition: 0.3s;
}

.time-content p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 600px;
    font-size: 1.1rem;
}

/* Step Tags */
.step-tags {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.step-tags span {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid #165EFE;
    padding-bottom: 4px;
}

/* Hover Animation for Item */
.timeline-item:hover .time-content h3 {
    color: #165EFE;
    transform: translateX(10px);
}

.timeline-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .timeline-item { padding-left: 60px; }
    .timeline-line { left: 15px; }
    .time-dot { left: 6px; }
}

.counter-section {
    background: #000;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

/* Background Blue Glow */
.blur-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(22, 94, 254, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.counter-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.counter-box {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 15px;
}

.number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.plus, .percent, .unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: #165EFE;
    margin-left: 5px;
}

.counter-card h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #165EFE;
}

.counter-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hover Effects */
.card-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 3px;
    background: #165EFE;
    transition: 0.4s;
    border-radius: 3px;
}

.counter-card:hover {
    transform: translateY(-15px);
    border-color: rgba(22, 94, 254, 0.3);
    background: rgba(20, 20, 20, 0.8);
}

.counter-card:hover .card-line {
    width: 40%;
}

.counter-card:hover .number {
    text-shadow: 0 0 30px rgba(22, 94, 254, 0.4);
}

/* Highlighted Card Version */
.highlight-card {
    border: 1px solid rgba(22, 94, 254, 0.2);
}

@media (max-width: 768px) {
    .number { font-size: 3.5rem; }
    .counter-card { padding: 40px 20px; }
}

.faq-section {
    background: #000;
    padding: 120px 0;
    color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

/* Intro Styling */
.faq-intro .sub-text {
    color: #165EFE;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.8rem;
}

.faq-intro .title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
}

.faq-intro p {
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 30px;
}

.faq-cta span { display: block; color: rgba(255,255,255,0.3); margin-bottom: 10px; }
.faq-cta a { color: #165EFE; text-decoration: none; font-weight: 700; font-size: 1.1rem; }

/* Accordion Logic */
.faq-list {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.4s ease;
}

/* Custom Icon (Plus to Minus) */
.icon {
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
    transition: 0.4s;
}

.icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    transform: rotate(90deg);
    transition: 0.4s;
}

/* Active State */
.faq-item.active .faq-question span {
    color: #165EFE;
    transform: translateX(10px);
}

.faq-item.active .icon {
    background: #165EFE;
}

.faq-item.active .icon::after {
    transform: rotate(0deg);
    background: #165EFE;
}

/* Answer Content */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1); /* Quick reveal, smooth close */
}

.faq-item.active .faq-answer {
    max-height: 200px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-size: 1rem;
    padding-left: 30px; /* Offset to align with question number */
}

/* Responsive */
@media (max-width: 992px) {
    .faq-grid { grid-template-columns: 1fr; gap: 50px; }
    .faq-intro .title { font-size: 2.5rem; }
}

.testi-minimal {
    background: #000000;
    color: #ffffff;
    padding: 40px 0;
    font-family: 'Inter', sans-serif;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.label {
    color: #165EFE;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.testi-info h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.blue-text {
    color: #165EFE;
}

/* Right Side List */
.testi-list {
    display: flex;
    flex-direction: column;
}

.testi-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
    transition: 0.3s ease;
}

.testi-item:last-child {
    border: none;
}

.quote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 400;
}

.client {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
}

.company {
    font-size: 0.9rem;
    color: #165EFE;
    margin-top: 5px;
}

/* Simple Hover Effect */
.testi-item:hover {
    transform: translateX(15px);
}

.testi-item:hover .quote {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
    .testi-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .testi-info h2 {
        font-size: 2.5rem;
    }
}

.brand-section {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.brand-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-header .label {
    color: #165EFE;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Slider Container */
.slider {
    width: 100%;
    height: auto;
    margin: auto;
    position: relative;
    display: flex;
    gap: 30px;
    place-items: center;
}

.slide-track {
    display: flex;
    width: calc(250px * 16); /* Based on slide width * total slides */
    animation: scroll 40s linear infinite;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slide img {
    width: 250px;
    height: 125px;
    object-fit: contain;
    display: block;
}

.slide span {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    transition: 0.3s;
    cursor: default;
    white-space: nowrap;
}

/* Hover Effect: Lights up the specific brand in your blue */
.slide span:hover {
    color: #165EFE;
    text-shadow: 0 0 20px rgba(22, 94, 254, 0.5);
}

/* The Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 8)); } /* Moves halfway through the track */
}

/* Gradient Fades for the edges */
.slider::before,
.slider::after {
    background: linear-gradient(to right, #000 0%, rgba(0, 0, 0, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: max-content;
    z-index: 2;
}

.slider::before { left: 0; top: 0; }
.slider::after { right: 0; top: 0; transform: rotateZ(180deg); }

@media (max-width: 768px) {
    .slide { width: 180px; }
    .slide span { font-size: 1.1rem; }
}

.contact-section {
    background: #000;
    padding: 60px 0 30px 0;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(22, 94, 254, 0.1);
    color: #165EFE;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #165EFE;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 94, 254, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(22, 94, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 94, 254, 0); }
}

.contact-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.contact-desc { color: rgba(255,255,255,0.5); font-size: 1.1rem; margin-bottom: 50px; }

.detail-item { margin-bottom: 30px; }
.detail-item .label { display: block; color: rgba(255,255,255,0.3); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.detail-item a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: 600; transition: 0.3s; }
.detail-item a:hover { color: #165EFE; }

/* Form Styling */
.input-group {
    position: relative;
    margin-bottom: 40px;
}

.modern-form input, .modern-form textarea, .modern-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 0;
    color: white;
    font-size: 1rem;
    outline: none;
}

.modern-form label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255,255,255,0.4);
    pointer-events: none;
    transition: 0.3s;
}

.modern-form input:focus ~ label, 
.modern-form input:valid ~ label,
.modern-form textarea:focus ~ label,
.modern-form textarea:valid ~ label {
    top: -20px;
    font-size: 0.75rem;
    color: #165EFE;
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #165EFE;
    transition: 0.4s;
}

.modern-form input:focus ~ .bar, .modern-form textarea:focus ~ .bar { width: 100%; }

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: #165EFE;
    border: none;
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

.submit-btn:hover { background: white; color: black; transform: translateY(-5px); }

/* Footer */
.studio-footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05); background: #000; color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-content { display: flex; justify-content: space-between; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; }

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-title { font-size: 2.5rem; }
}

/* Container Hidden & Smooth Expand Effect */
.inline-slider-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease, 
                margin-top 0.4s ease;
    margin-top: 0;
}

.inline-slider-container.open {
    max-height: 600px; /* Expands dynamically on page */
    opacity: 1;
    margin-top: 50px;
}

/* Section Header */
.inline-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.inline-slider-header h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.inline-slider-header .slide-count {
    font-size: 0.85rem;
    color: #888;
}

/* Swiper Slider Styling */
.inline-portfolio-swiper {
    width: 100%;
    padding-bottom: 50px !important; /* Space for pagination dots */
    overflow: hidden;
}

.inline-portfolio-swiper .swiper-slide {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 420px;
    background: #111;
    transition: transform 0.3s ease;
}

.inline-portfolio-swiper .swiper-slide:hover {
    transform: translateY(-5px);
}

.inline-portfolio-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Info Card on Each Slide */
.inline-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,12,0.9iderBtn5) 100%);
    color: #fff;
}

.inline-slide-info .p-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #0066ff;
    display: block;
    margin-bottom: 6px;
}

.inline-slide-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Navigation Buttons */
.inline-portfolio-swiper .swiper-button-next,
.inline-portfolio-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(8px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.inline-portfolio-swiper .swiper-button-next:after,
.inline-portfolio-swiper .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.inline-portfolio-swiper .swiper-button-next:hover,
.inline-portfolio-swiper .swiper-button-prev:hover {
    background: #0066ff;
    border-color: #0066ff;
}

.inline-portfolio-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.inline-portfolio-swiper .swiper-pagination-bullet-active {
    background: #0066ff;
    opacity: 1;
    width: 20px;
    border-radius: 4px;
}