@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #360FA1 0%, #E901D2 100%);
    --secondary-gradient: linear-gradient(135deg, #050d3e 25%, #360FA1 50%, #07197c 75%);
    --secondary-color: #1a1a1a;
    --text-color: #4a4a4a;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(166, 0, 255, 0.15);
    --accent-color: #360FA1;
    --card-accent: #360FA1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background: var(--secondary-gradient);
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    transition: var(--transition);
}

.main-nav a:hover {
    opacity: 0.8;
}

header.scrolled .main-nav a {
    color: var(--white);
}

/* Call Now Button Styling */
.header-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(166, 0, 255, 0.3);
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.header-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(166, 0, 255, 0.4);
    opacity: 1;
}

.header-call-btn i {
    font-size: 14px;
    transition: var(--transition);
}

.header-call-btn:hover i {
    transform: scale(1.1);
}

/* Hide mobile button on desktop */
.mobile-header-btn {
    display: none;
}

/* Responsive Header Adjustments */
@media (max-width: 991px) {
    header {
        padding: 8px 0;
    }

    header.scrolled {
        padding: 6px 0;
    }

    .main-nav {
        display: none;
    }

    .logo img {
        height: 45px !important;
    }

    .mobile-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 20px;
        background: var(--primary-gradient);
        color: var(--white);
        border-radius: 30px;
        font-weight: 600;
        font-size: 14px;
        box-shadow: 0 5px 15px rgba(166, 0, 255, 0.3);
        transition: var(--transition);
        border: none;
        text-decoration: none;
    }

    .mobile-header-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(166, 0, 255, 0.4);
    }

    .mobile-header-btn i {
        font-size: 13px;
    }
}

/* Tablet Adjustments */
@media (max-width: 768px) {
    header {
        padding: 7px 0;
    }

    header.scrolled {
        padding: 5px 0;
    }

    .logo img {
        height: 42px !important;
    }

    .mobile-header-btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .mobile-header-btn i {
        font-size: 12px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    header {
        padding: 6px 0;
    }

    header.scrolled {
        padding: 4px 0;
    }

    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 38px !important;
    }

    .mobile-header-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 5px;
    }

    .mobile-header-btn i {
        font-size: 11px;
    }
}

/* Hero Section - Fully Responsive */
.hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop - Extra Large (1920px+) */
@media (min-width: 1920px) {
    .hero {
        max-height: 650px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Desktop - Large (1440px to 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero {
        max-height: 550px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Desktop - Medium (1200px to 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero {
        max-height: 480px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Laptop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero {
        max-height: 420px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        max-height: 380px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Tablet Portrait (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero {
        max-height: 350px;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Mobile (below 576px) */
@media (max-width: 575px) {
    .hero {
        max-height: 300px;
    }


    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Legacy Elements - Hidden for banner-only design */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-wrapper {
    display: none;
}

.hero .container {
    display: none;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(166, 0, 255, 0.2);
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(166, 0, 255, 0.3);
}

/* Categories Showcase - Horizontal Flow Design */
.categories-showcase {
    margin-top: 40px;
}

.categories-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
}

.category-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    max-width: 280px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.category-showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

/* Modern Bento Grid System - Compact Horizontal */
.bento-category-section {
    padding: 80px 0;
    background: #050505;
    position: relative;
    overflow: hidden;
}

/* Background ambient glow */
.bento-category-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(166, 0, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    display: inline-block;
    color: #a600ff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding: 6px 14px;
    background: rgba(166, 0, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(166, 0, 255, 0.2);
}

.section-header-center h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.section-header-center p {
    color: #94a3b8;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Split Layout with Marquee */
.bento-split-layout {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.static-column {
    flex-shrink: 0;
    width: 280px;
    /* Static card slightly larger for emphasis */
    z-index: 20;
    position: relative;
}

/* Static Card Unique Pulse */
.static-card {
    border: 1px solid rgba(166, 0, 255, 0.4);
    box-shadow: 0 0 30px rgba(166, 0, 255, 0.1);
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.9), rgba(15, 10, 20, 0.95));
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    /* Mask to fade edges */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding-left: 20px;
}

/* Pause animation on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    /* Keep compact size for scrolling items */
    min-width: 240px;
    width: 240px;
}

/* Responsive Split */
@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-grid-layout {
        display: grid;
        /* Tablet: 3 Columns (3x2 setup for 6 items) */
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .mobile-grid-item {
        min-width: 0 !important;
        width: 100% !important;
        padding: 20px 15px;
        aspect-ratio: 1;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .card-header-mobile {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .category-icon-box-mobile {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: var(--card-accent);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .card-body-mobile h3 {
        font-size: 16px;
        margin-bottom: 4px;
        color: #fff;
    }

    .card-body-mobile p {
        font-size: 12px;
        color: #94a3b8;
        margin-bottom: 0;
    }

    /* Adjust background icon for mobile grid */
    .mobile-grid-item .card-bg-icon {
        font-size: 80px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-15deg);
        right: auto;
        opacity: 0.05;
    }
}

/* Phone Specific Adjustments */
@media (max-width: 576px) {
    .mobile-grid-layout {
        /* Phone: 2 Columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mobile-grid-item {
        padding: 15px 10px;
    }
}





.section-title {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: #d1c8e0;
    /* Matching featured section description color */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.gradient-text {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Filters */
.portfolio-controls-sticky {
    position: sticky;
    top: 0;
    /* Below site header */
    z-index: 100;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.filter-btn {
    padding: 10px 25px;
    border: none;
    background: var(--white);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 15px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(166, 0, 255, 0.3);
}

@media (max-width: 768px) {
    .portfolio-controls-sticky {
        display: contents;
    }

    .filters {
        position: sticky;
        top: 0%;
        /* Tightened offset for small mobile headers */
        z-index: 99;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 12px 20px;
        margin-bottom: 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        /* Full-width sticky bar on mobile */
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .filter-btn {
        padding: 10px 2px;
        font-size: 11px;
        width: 100%;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        border: 1px solid rgba(0, 0, 0, 0.03);
    }
}

/* Portfolio Section */
.portfolio-section {
    padding-top: 20px;
}

/* Grid */
.portfolio-grid {
    display: block;
    /* Disable CSS Grid for Isotope */
    margin: 0 -15px;
    position: relative;
}

.portfolio-item {
    width: calc(33.333% - 30px);
    margin: 15px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

@media (max-width: 991px) {
    .portfolio-item {
        width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {

    /* Maintain 3 columns layout if the user wants, but usually 1-2 on mobile */
    /* Let's follow the previous grid behavior roughly */
    .portfolio-item {
        width: calc(100% - 30px);
    }
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.item-showcase {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.item-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .item-showcase img {
    transform: scale(1.05);
}

.item-details {
    padding: 25px;
}

.item-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a600ff;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.item-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.item-link {
    display: inline-block;
    margin-top: 15px;
    color: #a600ff;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Make the whole card clickable */
.item-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.item-link i {
    transition: transform 0.3s ease;
}

.item-link:hover i {
    transform: translateX(5px);
}

/* Portfolio Details Page */
.details-hero {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 120px 0 60px 0;
    text-align: center;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.details-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    /* Restore original color/brightness */
}

.details-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Removed dark overlay */
    z-index: 2;
}

.details-hero .container {
    position: relative;
    z-index: 3;
}

.details-title h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.details-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
}

.details-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.details-meta i {
    color: white;
    /* Accent color for icons */
}

.details-content {
    padding: 60px 0;
    background: var(--white);
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* The Scrolling Website Box */
.website-showcase-box {
    --case-height: 600px;
    background: #e0e0e0;
    border-radius: 16px;
    padding: 10px 10px 0 10px;
    /* Top/Side padding looks like a device/browser chrome */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    height: var(--case-height);
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Video Fit mode */
.website-showcase-box.video-fit {
    height: auto;
    min-height: auto;
    padding-bottom: 20px;
    /* Ensure bottom frame is visible */
}

.website-showcase-box.video-fit .scroll-container {
    overflow: hidden;
    /* Keep clipping for rounded corners */
    border-radius: 0 0 12px 12px;
}


.browser-bar {
    height: 30px;
    background: #f1f1f1;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 6px;
    margin-bottom: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.scroll-container {
    flex: 1;
    overflow: hidden;
    background: white;
    border-radius: 0 0 12px 12px;
    position: relative;
}

.full-website-img {
    width: 100%;
    display: block;
    height: auto;
    animation: scroll-website 15s linear infinite alternate;
    will-change: transform;
}

.website-showcase-box:hover .full-website-img {
    animation-play-state: paused;
}

@keyframes scroll-website {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-100% + var(--case-height) - 50px));
    }
}

.project-info-minimal {
    position: sticky;
    top: 100px;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.info-item.about-item {
    flex-direction: column;
    margin-top: 5px;
}

.about-item .info-label {
    width: auto;
    display: inline-flex;
    gap: 2px;
}

.info-label {
    font-size: 13px;
    text-transform: uppercase;
    color: #666;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: 120px;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
}

.info-label::after {
    content: ":";
    margin-left: 5px;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color);
}

.btn-visit {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
    transition: transform 0.2s;
}

.btn-visit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(166, 0, 255, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .details-hero {
        padding: 80px 0 40px 0;
        height: auto;
    }

    .details-title h1 {
        font-size: 32px;
    }

    .details-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .website-showcase-box {
        --case-height: 500px;
    }

    .project-info-minimal {
        position: static;
        margin-top: 30px;
    }
}



/* Portfolio Item Hover Enhancement */
.portfolio-item {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
}



/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #fff;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.elegant-form {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #eee;
    background: #fcfcfc;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a600ff;
    background: #fff;
    box-shadow: 0 10px 20px rgba(166, 0, 255, 0.05);
    outline: none;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    justify-content: center;
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .elegant-form {
        padding: 30px 20px;
    }
}

/* Footer Section Refinement */
.main-footer {
    background: white;
    padding: 30px 0 30px;
    color: black;
    border-top: none;
    margin-top: 0;
}

.footer-cta-mobile {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    background: var(--primary-gradient);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-info {
    flex: 0 0 350px;
    max-width: 350px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 0px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    /* margin-top: 15px; */
    text-align: justify;
}

.footer-links {
    flex: 1;
}

.footer-links.services-col,
.footer-links.links-col,
.footer-links.contact-col {
    text-align: left;
}

.footer-links.contact-col h3,
.footer-links.services-col h3 {
    text-align: left;
}

.footer-info p {
    color: black;
    /* line-height: 1.8; */
    font-size: 15px;
    text-align: justify;
}

.links-col h3 {
    text-align: center;
}

.footer-links h3 {
    font-size: 16px;
    color: black;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0;
}

.services-col ul,
.contact-col ul {
    align-items: flex-start;
}

.footer-links.services-col h3,
.footer-links.contact-col h3 {
    text-align: left;
}

.partner-scroller {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
}

.partner-scroller::-webkit-scrollbar {
    display: none;
}

.links-col ul.partners-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.partners-list li {
    flex: 0 1 auto;
}

.partners-list li.taboola-item {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.partners-list img {
    height: 70px;
    width: auto;
    object-fit: contain;
}



.footer-links ul li {
    color: black;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links ul li.contact-address {
    align-items: flex-start;
}

.footer-links ul li.contact-address i {
    margin-top: 5px;
}

.footer-links ul li.contact-address span {
    text-align: justify;
    line-height: 1.6;
}

.footer-links ul li i {
    color: black;
    width: 16px;
}

.footer-links ul li a {
    color: black;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #360FA1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: black;
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
}

/* Desktop Floating Actions */
.desktop-floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.desktop-book-icon,
.desktop-whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.desktop-book-icon {
    background: #111;
}

.desktop-whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.desktop-book-icon:hover,
.desktop-whatsapp-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.desktop-whatsapp-icon i {
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .desktop-floating-actions {
        display: none;
    }
}

/* =========================================
   Mobile Sticky Footer
   ========================================= */
.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 0;
    display: none;
    gap: 0;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease, opacity 0.3s ease;
}

.sticky-btn:last-child {
    border-right: none;
}

.sticky-btn:hover {
    opacity: 0.8;
}

.sticky-btn i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .mobile-sticky-footer {
        display: flex;
    }

    .main-footer {
        padding: 25px 0 80px;
        text-align: left;
    }

    .footer-cta-mobile {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 25px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        background: var(--primary-gradient);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .footer-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        font-weight: 600;
        font-size: 15px;
        color: #fff !important;
        text-decoration: none;
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        transition: background 0.3s ease;
    }

    .footer-cta-btn:last-child {
        border-bottom: none;
    }

    .footer-cta-btn:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
        flex: 0 0 auto;
    }

    .footer-description {
        display: none !important;
    }

    .footer-links,
    .footer-links.services-col,
    .footer-links.links-col,
    .footer-links.contact-col {
        width: 100%;
        text-align: center;
    }

    .footer-links.services-col {
        display: none !important;
    }

    .footer-links h3 {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center !important;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        gap: 12px;
    }

    .footer-links.links-col ul {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
        align-items: center;
    }

    .footer-links.links-col ul li {
        width: auto;
        flex: 0 0 auto;
    }

    .footer-links.links-col ul li.taboola-item {
        flex-basis: auto;
        margin-top: 0;
    }

    .footer-links.links-col ul li img {
        height: 40px !important;
    }

    .footer-links ul li {
        display: flex;
        justify-content: center;
        text-align: center;
        font-size: 13px;
        gap: 8px;
    }

    .footer-links ul li span {
        text-align: center;
    }

    /* Specific alignment for contact info on mobile */
    .footer-links.contact-col ul {
        align-items: flex-start;
        display: inline-flex;
        width: auto;
        margin: 0 auto;
    }

    .footer-links.contact-col ul li {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        gap: 12px;
    }

    .footer-links.contact-col ul li span {
        text-align: left;
    }

    .footer-links.contact-col ul li.contact-address {
        align-items: flex-start;
    }

    .footer-links.contact-col ul li.contact-address i {
        margin-top: 4px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
        font-size: 12px;
        text-align: center;
    }
}

/* Contact Modal Styles */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 16, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 320px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    z-index: 1;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.modal-content:hover .modal-close {
    opacity: 1;
    visibility: visible;
}

.modal-close:hover {
    background: #eee;
    color: #111;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 15px;
    padding-top: 5px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.modal-header p {
    color: #666;
    font-size: 12px;
}

@media (max-width: 576px) {
    .modal-content {
        padding: 25px 20px;
        max-width: 95%;
    }

    .modal-header h3 {
        font-size: 22px;
    }
}

/* Site Watermark */
.site-watermark {
    position: fixed;
    top: 50%;
    left: 20px;
    writing-mode: vertical-lr;
    transform: rotate(180deg) translateY(50%);
    font-size: 11px;
    font-weight: 700;
    color: rgba(54, 15, 161, 0.35);
    text-transform: uppercase;
    letter-spacing: 5px;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .site-watermark {
        left: 10px;
        font-size: 9px;
    }
}

/* Background Watermark Pattern */
.bg-watermark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.04;
    display: flex;
    flex-wrap: wrap;
    gap: 150px;
    padding: 100px;
    justify-content: space-around;
    align-content: space-around;
}

.bg-watermark-text {
    font-size: 5rem;
    font-weight: 900;
    transform: rotate(-25deg);
    white-space: nowrap;
    user-select: none;
    color: #360FA1;
}

@media (max-width: 768px) {
    .bg-watermark-text {
        font-size: 3rem;
        gap: 80px;
    }
}

/* Image Watermarks - Premium Repeating Diagonal Pattern */
.item-showcase,
.project-image-wrapper,
.slider-img,
.featured-card-media {
    position: relative;
    overflow: hidden;
}

.item-showcase::after,
.project-image-wrapper::after,
.slider-img::after,
.featured-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='180'%3E%3Ctext x='50%25' y='50%25' text-anchor='middle' fill='white' fill-opacity='0.20' font-size='14' font-family='Arial, sans-serif' font-weight='bold' transform='rotate(-35, 125, 90)'%3EKAY MULTIMEDIA%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Base wrapper styles for details page */
.project-image-wrapper {
    position: relative;
    border-radius: 12px;
    margin-bottom: 20px;
}