html {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --dark-blue: #0a1628;
    --navy: #1a2332;
    --maroon: #8b1538;
    --maroon-light: #a81d4a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-bg: #fafbfc;
    --black: #0d0d0d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    /* normal text */
    font-style: normal;
    background: var(--light-bg);
    color: var(--black);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgb(255 255 255 / 33%);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--dark-blue) !important;
    margin: 0 1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--maroon) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--maroon);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar .cta-btn {
    padding: 0.4rem 1rem;
}

.cta-btn {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('img/bnr.jpg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 21, 56, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 21, 56, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content.hide {
    opacity: 0;
    transform: translateY(-50px);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #14213d;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #000000 40%, #082460 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(13, 13, 13, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.btn-primary-custom {
    background: linear-gradient(135deg, #000000, #082460);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgb(7 31 83 / 33%);
}

.btn-secondary-custom {
    background: transparent;
    color: #082157;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid #082157;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: #082157;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 21, 56, 0.3);
}

/* Portfolio Images Scroll Effect */
.portfolio-scroll {
    position: fixed;
    top: 67px;
    left: 0;
    width: 100%;
    height: 90vh;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: #ffffff85;
    backdrop-filter: blur(10px);
}

.portfolio-scroll.active {
    opacity: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
    padding: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.6s ease;
}

.portfolio-scroll.active .portfolio-item {
    transform: scale(1);
    opacity: 1;
}

.portfolio-item:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio-item:nth-child(2) {
    transition-delay: 0.2s;
}

.portfolio-item:nth-child(3) {
    transition-delay: 0.3s;
}

.portfolio-item:nth-child(4) {
    transition-delay: 0.4s;
}

.portfolio-item:nth-child(5) {
    transition-delay: 0.5s;
}

.portfolio-item:nth-child(6) {
    transition-delay: 0.6s;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.portfolio-item1::before {
    background: url('img/bnr1.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item2::before {
    background: url('img/bnr2.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item3::before {
    background: url('img/bnr3.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item4::before {
    background: url('img/bnr4.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item5::before {
    background: url('img/bnr5.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item6::before {
    background: url('img/bnr6.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item7::before {
    background: url('img/bnr7.webp');
    background-position: center;
    background-size: cover;
}

.portfolio-item:hover::before {
    opacity: 0.7;
}

.portfolio-item-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    color: white;
    z-index: 2;
}

.portfolio-item-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-item-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background: var(--white);
    padding: 100px 0px 0px 0px;
    position: relative;
    z-index: 20;
    margin-top: 115vh;
}

.section-title p {
    margin-bottom: 0px;
    font-size: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 0px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #2e2e2f;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title .highlight {
    background: linear-gradient(135deg, #2e2e2f 40%, #0b2253 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 700px;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.section-title p {
    font-size: 1.2rem;
    color: rgba(13, 13, 13, 0.6);
}

.service-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 21, 56, 0.15);
    border-color: var(--maroon);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(13, 13, 13, 0.7);
    line-height: 1.6;
}

/* === UNIQUE NAMES === */
.censtack-2025 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    padding: 150px 0;
    background-color: #fff;
    background: url('img/bg-hor.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 110vh;
}

#contactModal {
    backdrop-filter: blur(3px);
    overflow: hidden;
}

/* --- CARD BASE --- */
.service-censtack-card {
    width: 100%;
    margin: 30px auto;
    justify-content: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-censtack-card .service-icon {
    font-size: 2.5rem;
    color: #fff;
}
.censtack-inner {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    width: 100%;
    position: relative;
    transition: 0.3s ease;
}

/* --- TITLES & TEXT --- */
.censtack-service-title {
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 10px;
    background: linear-gradient(45deg, #fff1fa, transparent);
    color: #0b2253;
}

.censtack-service-icon {
    font-size: 40px;
}

.censtack-service-description {
    font-size: 20px;
    margin-top: 12px;
    line-height: 1.6;
    color: #444;
}

/* --- TOOLS SECTION (final minimal version) --- */
.censtack-tools {
    margin-top: 24px;
}

.tools-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.tools-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-pill {
    padding: 7px 14px;
    font-size: 14px;
    background: rgb(255 240 244 / 30%);
    border-radius: 20px;
    border: 1px solid #896d86;
    color: #292929;
    transition: 0.25s ease;
}

.tool-pill:hover {
    background: #ffffff;
    border-color: #d1d5db;
}

/* --- CTA BUTTON --- */
.censtack-cta {
    margin: 30px 0px;
    background: linear-gradient(45deg, #751a4f 20%, #bf90af);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgb(29 29 29 / 22%);
}

.censtack-cta:hover {}

/* --- IMAGE --- */
.service-img {
    position: absolute;
    right: 20px;
    bottom: 10px;
    width: 250px;
    transform: rotate(-5deg);
    z-index: 10;
}

/* --- WAVE --- */
.censtack-wave {
    margin-top: 40px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 1;
    z-index: -1;
    border-radius: 24px;
}

/* Testimonials Section */
.testimonials-section {
    background: #fff;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.testimonial-carousel {
    position: relative;
    padding: 20px;
}

.testimonial-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.1);
    text-align: center;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.15);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: rgba(13, 13, 13, 0.7);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-blue);
}

.testimonial-role {
    font-size: 0.9rem;
    color: rgba(13, 13, 13, 0.6);
    margin-bottom: 0px;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--white);
    padding: 100px 0;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 21, 56, 0.15);
}

.portfolio-img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
    color: var(--white);
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Comparison Section */
.comparison-section {
    background: var(--light-bg);
    padding: 100px 0;
}

.comparison-table {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.1);
}

.comparison-table th {
    background: linear-gradient(135deg, #232323 0%, #14213d 100%);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(139, 21, 56, 0.1);
}

.comparison-table .our-agency {
    color: #0f2c6b;
    font-weight: 600;
}

/* Footer Section */
.footer-section {
    background: #000000;
    color: var(--off-white);
    padding: 40px 0 20px;
    position: relative;
    z-index: 10;
}

.footer-section a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--maroon-light);
}

.footer-section h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.cta-container h2 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
}

.cta-container p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Case Study Cards – High-Level Portfolio */
.case-study-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(139, 21, 56, 0.2);
}

.case-study-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
    object-position: top;
}

.case-study-card:hover .case-study-img {
    transform: scale(1.08);
}

.case-study-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.case-study-client {
    font-size: 1rem;
    color: var(--maroon);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-desc {
    color: rgba(13, 13, 13, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.case-study-metrics {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--maroon);
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(13, 13, 13, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-btn {
    margin-top: auto;
    align-self: flex-start;
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.case-study-btn:hover {
    background: var(--maroon);
    color: white;
    transform: translateY(-3px);
}

.testi-bg-fav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
}

.contact-icons {
    display: flex;
    gap: 14px;
    align-items: center;
}

.contact-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    /* white icons */
    background: linear-gradient(45deg, #5e1633, #162139);
    text-decoration: none;
    font-size: 20px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.contact-icons a:hover {
    color: #ffffff;
    opacity: 0.7;
    /* subtle hover effect */
}

.desk-js-end {
    justify-content: end;
    display: flex;
}

.about-cygnus {
    padding: 140px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-cygnus .lead {
    font-size: 1.35rem;
    font-weight: 600;
    color: #5e5e5e;
    margin-bottom: 1.5rem;
}

.about-cygnus .metric-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #afafaf, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-cygnus .metric-label {
    font-size: 0.9rem;
    color: rgba(13, 13, 13, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.sec-title-left {
    text-align: left;
}


/* Responsive */
@media (max-width: 992px) {
    .about-cygnus {
        padding: 100px 0;
        text-align: center;
    }

    .about-cygnus .row>div {
        margin-bottom: 3rem;
    }
}

/* Large desktop & ultra-wide screens – h1 = 70px */
@media (min-width: 1600px) and (max-width: 3000px) {

    .hero h1,
    h1 {
        font-size: 70px !important;
    }

    .section-title h2 {
        font-size: 70px;
    }

    /* Optional: also increase line-height and paragraph size for perfect balance */
    .hero p {
        font-size: 1.5rem !important;
        max-width: 800px;
    }

    .hero .hero-btns {
        gap: 2rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 1.3rem 3.5rem !important;
        font-size: 1.3rem !important;
    }

    .censtack-service-title {
        font-size: 45px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .desk-js-end {
        justify-content: center;
        display: content;
    }

    .testimonials-section,
    .portfolio-section,
    .comparison-section,
    .footer-section {
        padding: 60px 0;
        text-align: center;
    }

    .cta-container p {
        font-size: 1rem;
    }

    p {
        font-size: 1rem;
    }

    .cta-container h2 {
        font-size: 2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .censtack-2025{
        margin-top: 0vh;
        padding-top: 40px;
    }
    .sec-title-left {
        text-align: center;
    }

    .mob-gap {
        gap: 10px;
    }

    .censtack-service-title {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    .portfolio-item{
        height: 100%;
    }
    .portfolio-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, 1fr);
        height: 140vh;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .censtack-card {
        width: 100%;
        height: auto;
    }

    .service-img {
        display: none;
    }
    .mob-hide {
    display: none;
}
.testimonial-item {
    min-width: 300px;
    height: auto;
}
.case-study-btn{
    width: 100%;
}
.hero{
    height: auto;
}
.portfolio-scroll{
    position: relative;
    height: auto;
    top: -100px;
}
}
/* ===========================
   HERO SECTION
   =========================== */

.service-hero {
    height: 100vh;
    background: url('img/game-dev.webp') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    pointer-events: none;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-hero-content.hide {
    opacity: 0;
    transform: translateY(-50px);
    pointer-events: none;
}

.service-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero .highlight {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-subtitle {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===========================
   SECTION TITLE
   =========================== */

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sec-title-left h2 {
    text-align: left;
}

.sec-title-left p {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

/* ===========================
   WHAT WE DO SECTION
   =========================== */

.what-we-do {
    padding: 5rem 0;
    background: #fff;
}

.service-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 21, 56, 0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.15);
    border-color: var(--maroon);
}

.service-icon {
    font-size: 3rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(13, 13, 13, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-block;
    background: rgba(139, 21, 56, 0.1);
    color: var(--maroon);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===========================
   PROCESS SECTION
   =========================== */

.process-section {
    padding: 5rem 0;
    background: url(img/6397260_3296456.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.process-step {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid var(--maroon);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--maroon);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.process-step p {
    color: rgba(13, 13, 13, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.step-list {
    list-style: none;
    padding-left: 0;
}

.step-list li {
    color: var(--maroon);
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--maroon);
    font-weight: bold;
}

/* ===========================
   TECHNOLOGIES SECTION
   =========================== */

.technologies-section {
    padding: 5rem 0;
    background: #fff;
}

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 21, 56, 0.1);
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 21, 56, 0.15);
    border-color: var(--maroon);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--maroon);
    margin-bottom: 1rem;
}

.tech-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.tech-card p {
    color: rgba(13, 13, 13, 0.75);
    font-size: 0.95rem;
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */

.ser-portfolio-section {
    padding: 7rem 0;
    background: url(img/bg-hor.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.portfolio-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 21, 56, 0.1);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #8b1538, #a81d4a);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.game-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bg-maroon {
    background: rgba(139, 21, 56, 0.2);
    color: var(--maroon);
}

.bg-navy {
    background: rgba(10, 22, 40, 0.2);
    color: var(--dark-blue);
}

.game-description {
    color: rgba(13, 13, 13, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.game-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 1.3rem;
    color: var(--maroon);
}

.stat small {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */

.why-choose-us {
    padding: 5rem 0;
    background: #fff;
}

.why-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 21, 56, 0.15);
    border-color: var(--maroon);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--maroon);
    margin-bottom: 1rem;
}

.why-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.why-card p {
    color: rgba(13, 13, 13, 0.75);
    line-height: 1.7;
}

/* ===========================
   PRICING SECTION
   =========================== */

.pricing-section {
    padding: 5rem 0;
    background: var(--white);
}

.pricing-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 21, 56, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 21, 56, 0.15);
    border-color: var(--maroon);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    color: var(--white);
    border: none;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-featured {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--maroon);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.pricing-card.featured h4 {
    color: var(--white);
}

.price {
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--maroon);
}

.pricing-card.featured .amount {
    color: var(--white);
}

.period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-medium);
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.8);
}

.duration {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-card.featured .duration {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.6rem 0;
    color: rgba(13, 13, 13, 0.75);
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-features i {
    color: var(--maroon);
    margin-right: 0.8rem;
    font-weight: 600;
}

.pricing-card.featured .pricing-features i {
    color: var(--white);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 21, 56, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(139, 21, 56, 0.15);
    border-color: var(--maroon);
}

.stars {
    color: var(--maroon);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    color: rgba(13, 13, 13, 0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--black);
    font-weight: 700;
}

.testimonial-author small {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.accordion-item {
    background: var(--light-bg);
    border: 1px solid rgba(139, 21, 56, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--light-bg);
    color: var(--black);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(139, 21, 56, 0.1);
    color: var(--maroon);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238b1538' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: rgba(13, 13, 13, 0.75);
    line-height: 1.7;
}


/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-btns button,
    .hero-btns a {
        width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .service-card,
    .why-card,
    .tech-card {
        padding: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .cta-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-primary-custom {
        padding: 0.7rem 2rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }
}


@media (max-width: 768px) {
    .mob-hide {
        display: none;
    }

    .desk-js-end {
        justify-content: center;
    }

    .mob-gap {
        gap: 1rem;
    }
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.aos-animate {
    animation-duration: 1s;
}

/* ===========================
   SCROLLBAR STYLING
   =========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--maroon);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--maroon-light);
}