/* ============================================
   SERVICES PAGE - Premium Dark Theme
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.services-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, #1a1a2e 0%, #0a0a16 100%);
    overflow: hidden;
    padding: 8rem 0 4rem;
}

/* Animated background mesh */
.services-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.services-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.services-hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--white);
}

.services-hero-text h1 .highlight {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Hero Visual - Abstract Service Pillars */
.services-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pillar-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    animation: floatPillar 6s ease-in-out infinite;
}

.pillar-circle i {
    font-size: 2rem;
    color: var(--white);
}

.pillar-circle.career {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 20%;
    background: linear-gradient(135deg, rgba(57, 73, 171, 0.4), rgba(57, 73, 171, 0.1));
    border-color: rgba(57, 73, 171, 0.3);
    animation-delay: 0s;
}

.pillar-circle.digital {
    width: 140px;
    height: 140px;
    top: 20%;
    right: 15%;
    background: linear-gradient(135deg, rgba(0, 180, 219, 0.4), rgba(0, 180, 219, 0.1));
    border-color: rgba(0, 180, 219, 0.3);
    animation-delay: 1s;
}

.pillar-circle.wellbeing {
    width: 110px;
    height: 110px;
    bottom: 20%;
    left: 25%;
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.4), rgba(17, 153, 142, 0.1));
    border-color: rgba(17, 153, 142, 0.3);
    animation-delay: 2s;
}

.pillar-circle.spiritual {
    width: 130px;
    height: 130px;
    bottom: 15%;
    right: 25%;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.4), rgba(124, 77, 255, 0.1));
    border-color: rgba(124, 77, 255, 0.3);
    animation-delay: 1.5s;
}

.central-core {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.central-core img {
    height: 40px;
}

@keyframes floatPillar {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   TABS SECTION
   ============================================ */
.services-tabs-container {
    background: var(--dark-bg);
    padding: 2rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.tab-btn.active {
    background: var(--white);
    color: var(--dark-bg);
    border-color: var(--white);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ============================================
   SERVICES CONTENT
   ============================================ */
.services-content-section {
    background: var(--dark-bg);
    padding: 5rem 0;
    min-height: 60vh;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pillar specific colors */
.career .card-icon {
    background: rgba(57, 73, 171, 0.1);
    color: #8c9eff;
    border: 1px solid rgba(57, 73, 171, 0.2);
}

.digital .card-icon {
    background: rgba(0, 180, 219, 0.1);
    color: #4facfe;
    border: 1px solid rgba(0, 180, 219, 0.2);
}

.wellbeing .card-icon {
    background: rgba(17, 153, 142, 0.1);
    color: #38ef7d;
    border: 1px solid rgba(17, 153, 142, 0.2);
}

.spiritual .card-icon {
    background: rgba(124, 77, 255, 0.1);
    color: var(--spiritual-light);
    border: 1px solid rgba(124, 77, 255, 0.2);
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.service-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card:hover .learn-more {
    opacity: 1;
    gap: 0.8rem;
    color: var(--secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .services-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-hero-text p {
        margin: 0 auto 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   COLLAGE HERO (NEW)
   ============================================ */
.collage-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: var(--dark-bg);
}

.collage-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    line-height: 0.85;
}

.collage-bg-text span {
    font-family: 'Impact', sans-serif;
    font-size: clamp(8rem, 15vw, 20rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: -5px;
    white-space: nowrap;
}

.collage-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.collage-card {
    width: 320px;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    text-decoration: none;
}

.collage-card:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 50;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.collage-card h3 {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.2rem;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.collage-card p {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Specific Card Colors */
.card-career {
    background: #4deeea;
    /* Cyan */
    color: #000;
}

.card-digital {
    background: #ff0055;
    /* Pink */
    color: #fff;
}

.card-digital h3,
.card-digital p {
    color: #fff;
}

.card-wellbeing {
    background: #00e676;
    /* Green */
    color: #000;
}

.card-spiritual {
    background: #7c4dff;
    /* Purple */
    color: #fff;
}

.card-spiritual h3,
.card-spiritual p {
    color: #fff;
}

.card-white {
    background: #fff;
    color: #000;
}

/* Polaroid Style */
.card-polaroid {
    background: #fff;
    padding: 15px 15px 50px 15px;
    width: 280px;
    min-height: auto;
    transform-origin: center;
}

.polaroid-inner {
    position: relative;
    overflow: hidden;
}

.polaroid-inner img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border-bottom: 1px solid #eee;
}

.collage-card:hover .polaroid-inner img {
    filter: grayscale(0%);
}

.polaroid-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: left;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.polaroid-caption .date {
    font-size: 0.7rem;
    color: #666;
}

/* Rotations */
.rotate-left {
    transform: rotate(-4deg);
}

.rotate-right {
    transform: rotate(4deg);
}

.rotate-far-left {
    transform: rotate(-8deg);
}

.rotate-far-right {
    transform: rotate(8deg);
}

/* Responsive */
@media (max-width: 992px) {
    .collage-card {
        width: 100%;
        max-width: 400px;
        transform: none !important;
        margin-bottom: 1rem;
    }

    .collage-bg-text span {
        font-size: 15vw;
    }
}


/* ============================================
   PREMIUM FOOTER
   ============================================ */
.footer-premium {
    background: #050510;
    position: relative;
    padding: 5rem 0 2rem;
    overflow: hidden;
    margin-top: 0;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #050510 70%);
    opacity: 0.5;
    z-index: 0;
}

.footer-premium .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    margin: 1.5rem 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links-grid {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}