/* ========================================
   INNER PAGES ENHANCEMENT
   Professional Content Layout & Styling
   ======================================== */

/* Page Hero Sections */
.page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(10, 10, 10, 0.9) 50%,
        rgba(108, 99, 255, 0.1) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00FFFF, #FFFFFF, #6C63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Styling */
.section {
    padding: 6rem 0;
    position: relative;
}

.section.bg-dark-900 {
    background: #0A0A0A;
}

.section.bg-dark-800 {
    background: #1A1A1A;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-glow);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-glow), 
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Icon Boxes */
.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(108, 99, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.glass-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

/* Image Containers */
.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    max-height: 400px;
}

.image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.2) 0%, 
        transparent 50%,
        rgba(108, 99, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.3);
}

.image-container:hover::after {
    opacity: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Team Member Cards - 2035 Futuristic Horizontal Design */
.team-member {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(0, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(0, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.05) 0%, 
        rgba(108, 99, 255, 0.05) 100%);
}

.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    max-height: 280px;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(108, 99, 255, 0.1));
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member:hover .team-photo::after {
    opacity: 1;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%) brightness(0.95);
}

.team-member:hover .team-photo img {
    transform: scale(1.15);
    filter: grayscale(0%) brightness(1.05);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, 
        rgba(10, 10, 10, 0.98) 0%, 
        rgba(10, 10, 10, 0.8) 50%,
        transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(108, 99, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    color: #00FFFF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--primary-glow), 
        var(--secondary-glow));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link:hover::before {
    opacity: 0.2;
}

.social-link i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
}

.social-link:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.2), 
        rgba(108, 99, 255, 0.2));
    transform: translateY(-5px) rotate(5deg);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 255, 255, 0.4),
        0 0 20px rgba(0, 255, 255, 0.3);
}

/* Service/Product Cards */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent,
        var(--primary-glow),
        transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

.timeline-year {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1), 
        rgba(108, 99, 255, 0.1));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
}

/* Case Study Cards */
.case-study-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    max-width: 450px;
    margin: 0 auto;
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.case-study-card img {
    width: 100%;
    height: 250px;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* Filter Buttons */
.filter-btn {
    padding: 0.75rem 1.5rem;
    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.8);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    color: #000;
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-cols-4,
    .grid-cols-3,
    .grid-cols-2 { 
        grid-template-columns: repeat(1, 1fr); 
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    /* Team cards stack on mobile */
    .team-member {
        max-width: 100%;
    }
    
    .team-photo {
        max-height: 220px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Better Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Links */
a {
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-glow);
}
