/* =========================
   NEW PAGES STYLES (pages.css)
========================= */

/* Top Bar Page Navigation */
.top-bar {
    position: relative;
    /* For absolute centering of page-nav */
}

.page-nav {
    display: flex;
    gap: 25px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.page-nav a {
    color: white !important;
    text-decoration: none;
    font-size: 11px;
    /* Increased further from 16px to 18px */
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1.5px;
    /* Added slightly more letter spacing */
}

.page-nav a:hover {
    color: black !important;
    /* Changed from red to black on hover */
}

.top-header:hover .page-nav a {
    color: #333 !important;
    /* Keep it dark when header background turns white */
}

.top-header:hover .page-nav a:hover {
    color: black !important;
}

@media(max-width: 1200px) {
    .page-nav {
        gap: 20px;
    }

    .page-nav a {
        font-size: 15px;
    }
}

@media(max-width: 768px) {
    .page-nav {
        display: none;
    }
}

/* Global Section Header */
.sec-header {
    text-align: center;
    margin-bottom: 60px;
}

.sec-tag {
    display: inline-block;
    color: #f42153;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 15px;
}

.sec-header h2 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 15px;
}

.sec-header p {
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* Premium Buttons */
.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #f42153;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #333;
    transform: translateY(-3px);
}

/* Hero Banner for Inner Pages */
.page-hero {
    padding-top: 100px;
    height: 60vh;
    min-height: 400px;
    background-color: #111;
    /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Darker overlay for better contrast */
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-services {
    background-image: url("images/shop-4.jpg");
}

.hero-sd {
    background-image: url("images/category-2.jpg");
}

.hero-contact {
    background-image: url("images/featured-3.jpg");
}

/* =========================
   CATEGORIES PAGE
========================= */
.categories-masonry {
    padding: 100px 0;
}

.cat-masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.cat-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.cat-large {
    grid-row: span 2;
}

.cat-wide {
    grid-column: span 2;
}

.cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 0.9;
    transition: 0.4s;
}

.cat-item:hover img {
    transform: scale(1.1);
}

.cat-overlay h3 {
    font-size: 24px;
    margin-bottom: 5px;
    transform: translateY(10px);
    transition: 0.4s;
}

.cat-overlay p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: 0.4s 0.1s;
}

.cat-btn {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #f42153;
    padding-bottom: 3px;
    width: fit-content;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.4s 0.2s;
}

.cat-item:hover .cat-overlay h3,
.cat-item:hover .cat-overlay p,
.cat-item:hover .cat-btn {
    transform: translateY(0);
    opacity: 1;
}

/* =========================
   PROJECTS PAGE
========================= */
.projects-section {
    padding: 80px 0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #eee;
    background: white;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    color: #555;
}

.filter-btn.active,
.filter-btn:hover {
    background: #f42153;
    color: white;
    border-color: #f42153;
}

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.proj-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.proj-item img {
    width: 100%;
    transition: 0.5s;
}

.proj-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    transition: 0.4s;
}

.proj-item:hover .proj-overlay {
    bottom: 0;
}

.proj-item:hover img {
    transform: scale(1.05);
}

/* Before/After Slider */
.ba-slider-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.ba-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.before-img,
.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before-img {
    width: 50%;
    z-index: 2;
    border-right: 3px solid white;
}

.after-img {
    z-index: 1;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #f42153;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: modalIn 0.4s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    cursor: pointer;
    color: #999;
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 50px;
}

.modal-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.modal-cat {
    color: #f42153;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.project-meta {
    list-style: none;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.project-meta li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* =========================
   SHOP PAGE STYLES
========================= */
.shop-section {
    padding: 80px 0;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.shop-info span {
    color: #888;
    font-size: 15px;
}

.custom-select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    color: #444;
    cursor: pointer;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

/* Product Card */
.product-card {
    position: relative;
    transition: 0.4s;
}

.product-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.6s;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f42153;
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-badge.sale {
    background: #333;
}

.product-actions {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    transition: 0.4s;
    width: 100%;
    justify-content: center;
    padding-bottom: 20px;
}

.product-actions button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.product-actions button:hover {
    background: #f42153;
    color: white;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-content {
    text-align: center;
}

.product-cat {
    font-size: 13px;
    color: #f42153;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.product-content h3 a {
    color: #222;
    text-decoration: none;
    font-size: 19px;
    transition: 0.3s;
}

.product-content h3 a:hover {
    color: #f42153;
}

.product-rating {
    color: #ffcc00;
    font-size: 12px;
    margin: 10px 0;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.old-price {
    text-decoration: line-through;
    color: #bbb;
    margin-right: 10px;
    font-weight: 400;
}

/* Pagination */
.shop-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.shop-pagination span {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.shop-pagination span.active,
.shop-pagination span:hover {
    background: #f42153;
    color: white;
    border-color: #f42153;
}

/* Assurance Section */
.assurance-section {
    padding: 60px 0;
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.ass-icon {
    font-size: 30px;
    color: #f42153;
}

.ass-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.ass-text p {
    font-size: 14px;
    color: #777;
    margin: 0;
}

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

    .assurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-controls {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .assurance-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   TESTIMONIALS PAGE
========================= */
.testimonials-page {
    padding: 100px 0;
    background: #fafaf8;
}

.testi-full-card {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 20px auto 50px;
}

.testiPageSwiper {
    padding-bottom: 80px;
}

.testi-full-card {
    background: white;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    max-width: 900px;
    margin: 0 auto;
}

.testi-full-card .testi-rating {
    color: #f42153;
    font-size: 20px;
    margin-bottom: 30px;
}

.testi-full-card .testi-text {
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
}

.testi-full-card .testi-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testi-full-card .testi-user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testi-full-card .testi-user-info {
    text-align: left;
}

.testi-full-card .testi-user-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.testi-full-card .testi-user-info span {
    color: #888;
    font-size: 14px;
}

.leave-review {
    padding: 100px 0;
    background:
        radial-gradient(circle at top left, rgba(244, 33, 83, 0.08), transparent 34%),
        linear-gradient(180deg, #fff 0%, #fafaf8 100%);
}

.review-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #ececec;
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.review-wrapper .sec-header {
    margin-bottom: 35px;
}

.review-wrapper .sec-header h2 {
    font-size: 34px;
}

.review-form {
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.form-grid input,
.review-form textarea {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    outline: none;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 16px;
    transition: 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-grid input::placeholder,
.review-form textarea::placeholder {
    color: #9a9a9a;
    font-size: 15px;
}

.form-grid input:focus,
.review-form textarea:focus {
    border-color: #f42153;
    box-shadow: 0 0 0 4px rgba(244, 33, 83, 0.12);
}

.rating-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
}

.rating-input span {
    font-size: 16px;
    font-weight: 600;
    color: #444;
}

.rating-input .stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-input .stars i {
    color: #d8d8d8;
    cursor: pointer;
    font-size: 20px;
    transition: 0.25s ease;
}

.rating-input .stars i:hover,
.rating-input .stars i.active {
    color: #f42153;
    transform: translateY(-1px) scale(1.06);
}

.review-form textarea {
    min-height: 160px;
    margin-bottom: 22px;
    resize: vertical;
}

.review-form .hero-btn {
    width: 100%;
    margin-top: 0;
    padding: 16px 28px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(244, 33, 83, 0.22);
}

.review-form .hero-btn:hover {
    transform: translateY(-2px);
}

@media(max-width: 768px) {
    .leave-review {
        padding: 70px 0;
    }

    .review-wrapper {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .review-wrapper .sec-header h2 {
        font-size: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .rating-input {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-input .stars {
        flex-wrap: wrap;
    }
}


/* =========================
   ABOUT PAGE STYLES
========================= */
.about-hero {
    padding: 130px 0 80px;
    background:
        radial-gradient(circle at 18% 18%, rgba(244, 33, 83, 0.2), transparent 24%),
        radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.12), transparent 18%),
        linear-gradient(135deg, #0f0f0f 0%, #1b1b1b 58%, #f5f1eb 58%, #ffffff 100%);
    color: #fff;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: start;
}

.about-hero-copy h1 {
    margin: 16px 0 14px;
    font-size: clamp(36px, 4.4vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 11ch;
    overflow-wrap: anywhere;
}

.about-hero-copy {
    min-width: 0;
}

.about-hero-copy p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.about-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.about-hero-actions .hero-btn {
    white-space: nowrap;
}

.hero-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.about-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.about-hero-stats .about-stat-chip:last-child {
    grid-column: 1 / -1;
    max-width: calc((100% - 14px) / 2);
}

.about-stat-chip {
    padding: 18px;
    min-height: 104px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.about-stat-chip strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-chip span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.about-hero-visual {
    position: relative;
    min-height: 500px;
}

.about-hero-image {
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-floating-card {
    position: absolute;
    max-width: 250px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-floating-card strong {
    display: block;
    font-size: 17px;
    margin: 8px 0;
}

.about-floating-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.floating-top {
    top: 26px;
    left: -18px;
}

.floating-bottom {
    right: -10px;
    bottom: 26px;
}

.float-label {
    display: inline-block;
    color: #f42153;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.about-strip {
    padding: 0 0 80px;
    margin-top: 0;
}

.about-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-strip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
}

.about-strip-item i {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(244, 33, 83, 0.1);
    color: #f42153;
    font-size: 18px;
}

.about-strip-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.about-strip-item p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.about-intro {
    padding: 30px 0 90px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.about-text h2 {
    font-size: clamp(34px, 4vw, 54px);
    margin-bottom: 18px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.85;
}

.about-feature-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.03);
}

.about-feature-item i {
    color: #f42153;
    margin-top: 4px;
    font-size: 15px;
}

.about-feature-item span {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 500;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, rgba(244, 33, 83, 0.08), transparent 28%),
        linear-gradient(180deg, #f9f9f7 0%, #ffffff 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.88);
    padding: 42px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.06);
    backdrop-filter: blur(12px);
    transition: 0.3s ease;
}

.mv-card h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #111;
}

.mv-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.85;
}

.mv-card:hover {
    transform: translateY(-8px);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: #f42153;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 25px;
}

/* Statistics */
.statistics {
    padding: 90px 0;
    background:
        radial-gradient(circle at top left, rgba(244, 33, 83, 0.14), transparent 24%),
        linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-number {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    margin-bottom: 10px;
    color: #f42153;
}

.stat-item p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    opacity: 0.8;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
}

.team-img {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-img img {
    width: 100%;
    transition: 0.5s;
}

.team-social {
    position: absolute;
    inset: 0;
    background: rgba(244, 33, 83, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: 0.4s;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-social a {
    width: 45px;
    height: 45px;
    background: white;
    color: #f42153;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.team-social a:hover {
    background: #333;
    color: white;
}

/* Timeline */
.timeline-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at top right, rgba(244, 33, 83, 0.08), transparent 26%),
        linear-gradient(180deg, #fafaf8 0%, #ffffff 100%);
}

.timeline {
    position: relative;
    max-width: 1180px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ddd;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 26px 54px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: #f42153;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 34px 32px;
    border-radius: 26px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.09);
    border: 1px solid rgba(17, 17, 17, 0.06);
    backdrop-filter: blur(12px);
}

.timeline-content h3 {
    color: #f42153;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.timeline-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive adjustments */
@media(max-width: 992px) {

    .about-hero-grid,
    .about-strip-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-copy h1 {
        max-width: none;
    }

    .about-hero-visual {
        min-height: 430px;
    }

    .floating-top {
        left: 12px;
    }

    .floating-bottom {
        right: 12px;
    }

    .about-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-img {
        height: 300px;
    }

    .modal-info {
        padding: 30px;
    }

    .cat-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-wide {
        grid-column: span 2;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .about-hero {
        padding: 112px 0 62px;
    }

    .about-hero-copy {
        text-align: center;
    }

    .about-hero-copy h1 {
        font-size: clamp(30px, 8vw, 42px);
        margin: 14px auto 14px;
        max-width: 100%;
    }

    .about-hero-copy p {
        font-size: 15px;
        margin: 0 auto;
    }

    .about-hero-actions {
        justify-content: center;
        margin-top: 18px;
    }

    .about-hero-actions .hero-btn {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .about-hero-visual {
        min-height: auto;
        padding-top: 8px;
    }

    .about-hero-image {
        height: 330px;
    }

    .about-floating-card {
        display: none;
    }

    .about-hero-stats {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

    .about-hero-stats .about-stat-chip:last-child {
        grid-column: auto;
        max-width: none;
    }

    .about-strip {
        padding-bottom: 64px;
    }

    .about-strip-item {
        padding: 20px;
    }

    .about-intro {
        padding: 18px 0 76px;
    }

    .about-grid {
        gap: 28px;
    }

    .about-text h2 {
        font-size: clamp(30px, 7vw, 40px);
    }

    .mv-card,
    .team-card,
    .timeline-content {
        border-radius: 20px;
    }

    .mv-card h3 {
        font-size: 22px;
    }

    .mv-card p {
        font-size: 15px;
    }
}

@media(max-width: 480px) {
    .about-hero {
        padding: 104px 0 56px;
    }

    .about-hero-copy h1 {
        font-size: 30px;
        line-height: 1.06;
        max-width: 100%;
        text-wrap: balance;
    }

    .about-hero-copy p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-hero-image {
        height: 280px;
    }

    .about-stat-chip {
        padding: 16px;
    }

    .about-stat-chip strong {
        font-size: 22px;
    }

    .about-strip-grid {
        gap: 14px;
    }

    .about-strip-item {
        gap: 12px;
        padding: 18px;
    }

    .about-strip-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .about-strip-item h3 {
        font-size: 17px;
    }

    .about-feature-item {
        padding: 14px 16px;
    }

    .about-feature-item span {
        font-size: 15px;
    }

    .about-grid,
    .mv-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-section,
    .timeline-section,
    .mission-vision,
    .statistics {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 22px !important;
        right: auto !important;
    }

    .about-text p {
        font-size: 15px;
    }
}



/* =========================
   SERVICES PAGE STYLES
========================= */
.services-page-grid {
    padding: 100px 0;
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.srv-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: 0.4s;
}

.srv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.srv-img {
    height: 250px;
    overflow: hidden;
}

.srv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.srv-card:hover .srv-img img {
    transform: scale(1.1);
}

.srv-content {
    padding: 40px;
    position: relative;
}

.srv-icon {
    width: 60px;
    height: 60px;
    background: #f42153;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: absolute;
    top: -30px;
    left: 40px;
    border: 5px solid white;
}

.srv-content h3 {
    font-size: 24px;
    margin: 15px 0;
    font-weight: 600;
}

.srv-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.srv-link {
    color: #f42153;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Process Section */
.how-it-works {
    padding: 100px 0;
    background: #f9f9f7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 80px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    margin-bottom: -30px;
}

.process-step h3 {
    font-size: 22px;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.process-step p {
    color: #777;
    font-size: 15px;
    max-width: 250px;
    margin: 0 auto;
}

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media(max-width: 600px) {
    .srv-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .about-hero {
        padding: 120px 0 70px;
    }

    .about-hero-copy h1 {
        font-size: 42px;
    }

    .about-hero-copy p {
        font-size: 16px;
    }

    .about-hero-actions {
        flex-direction: column;
    }

    .about-hero-visual {
        min-height: 380px;
    }

    .about-floating-card {
        max-width: 220px;
    }

    .about-strip {
        padding-bottom: 70px;
    }

    .projects-masonry {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cat-masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .cat-wide,
    .cat-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .ba-slider {
        height: 350px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 78px;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 22px !important;
    }
}

/* =========================
   CONTACT PAGE STYLES
========================= */
.contact-page-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

.contact-info p {
    color: #666;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: #fdf0f3;
    color: #f42153;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-form-wrap {
    background: white;
    padding: 70px;
    border-radius: 28px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.contact-form-wrap h3 {
    font-size: 28px;
    margin-bottom: 36px;
}

.contact-form-wrap form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0;
}

.contact-form-wrap .form-group {
    margin-bottom: 0 !important;
}

.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    padding: 20px 28px;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    outline: none;
    font-size: 16px;
    background: #fcfcfc;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #333;
}

.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    background: white;
    border-color: #f42153;
    box-shadow: 0 10px 25px rgba(244, 33, 83, 0.1);
}

.contact-form-wrap select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.contact-form-wrap textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form-wrap .hero-btn {
    display: block;
    width: 100%;
    padding: 22px;
    font-size: 18px;
    letter-spacing: 1px;
    margin: 6px 0 0;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(244, 33, 83, 0.2);
}

.contact-form-wrap .hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(244, 33, 83, 0.3);
}


/* =========================
   SERVICE DETAIL STYLES
========================= */
.service-details {
    padding: 110px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
}

.sd-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.sd-content {
    background: white;
    padding: 48px;
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.sd-content h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #111;
}

.sd-content p {
    color: #666;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    gap: 14px;
}

.features-list li {
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
}

.features-list i {
    color: #f42153;
    font-size: 14px;
}

.sd-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sd-images img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.sd-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sd-images-grid img {
    aspect-ratio: 1 / 1;
}

/* Pricing */
.pricing-section {
    padding: 110px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #eee;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.price span {
    font-size: 16px;
    color: #888;
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.price-card ul li {
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.price-card.featured-price {
    background: #111;
    color: white;
    transform: scale(1.05);
    border: none;
    position: relative;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.price-card.featured-price .price,
.price-card.featured-price h3 {
    color: white;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #f42153;
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* FAQ */
.faq-section {
    padding: 110px 0;
    background: #fafaf8;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.faq-question {
    padding: 24px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-out;
    padding: 0 26px;
}

.faq-answer p {
    color: #777;
    line-height: 1.8;
    margin-bottom: 24px;
}

.cta-section {
    padding: 110px 0;
    color: white;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.92;
    margin-bottom: 32px;
}

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

    .price-card.featured-price {
        transform: scale(1);
    }
}

@media(max-width: 992px) {

    .contact-grid,
    .sd-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sd-images {
        order: -1;
    }

    .sd-content h2 {
        font-size: 34px;
    }

    .sd-content p {
        font-size: 16px;
    }

    .sd-content {
        padding: 36px;
        border-radius: 24px;
    }

    .sd-images-grid {
        grid-template-columns: 1fr;
    }

    .sd-images img {
        margin-bottom: 16px;
    }
}

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

    .pricing-section,
    .faq-section,
    .service-details,
    .cta-section {
        padding: 70px 0;
    }

    .cta-section h2 {
        font-size: 34px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 30px;
    }

    .service-details {
        padding: 70px 0;
    }

    .sd-content h2 {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: 18px;
    }

    .sd-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .features-list {
        margin-top: 24px;
    }

    .features-list li {
        font-size: 15px;
        gap: 10px;
    }

    .sd-images img {
        border-radius: 16px;
        margin-bottom: 14px;
    }
}

@media(max-width: 480px) {
    .service-details {
        padding: 60px 0;
    }

    .sd-grid {
        gap: 28px;
    }

    .sd-content {
        padding: 28px;
        border-radius: 20px;
    }

    .sd-content h2 {
        font-size: 30px;
    }

    .sd-content p {
        font-size: 14px;
    }

    .features-list li {
        padding: 12px 14px;
        font-size: 14px;
    }

    .features-list li {
        align-items: flex-start;
        font-size: 14px;
    }

    .sd-images-grid {
        gap: 14px;
    }

    .sd-images img {
        border-radius: 14px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 14px;
    }
}

/* =========================
   FINAL UI POLISH & FIXES
========================= */
@media(max-width: 992px) {

    .fc-grid,
    .bs-grid,
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media(max-width: 600px) {

    .fc-grid,
    .bs-grid,
    .tp-grid {
        grid-template-columns: 1fr;
    }

    .testi-full-card {
        padding: 40px 20px;
    }

    .testi-full-card .testi-text {
        font-size: 16px;
    }
}

/* Fix for overlapping elements on small mobiles */
@media(max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .sec-header h2 {
        font-size: 30px;
    }

    .page-hero h1 {
        font-size: 36px;
    }
}

/* Animation classes for JS Reveal */
.fc-card,
.na-card,
.bs-card,
.tp-card,
.cat-item,
.proj-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fc-card.active,
.na-card.active,
.bs-card.active,
.tp-card.active,
.cat-item.active,
.proj-item.active {
    opacity: 1;
    transform: translateY(0);
}