/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: rgb(240 239 237);
    color: #1a1a1a;
    line-height: 1.5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Profile Header */
.profile-header {
    margin-bottom: 30px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.profile-icon {
    width: 20px;
    height: 20px;
    background: #000000;
    border-radius: 50%;
}

.profile-name {
    color: #000000;
    font-weight: 500;
}

.profile-title {
    color: rgb(102, 102, 102);
    font-weight: 400;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
}

.status-dot-green {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* Hero Section */
.hero {
    margin-bottom: 80px;
}
 .index-page{
        margin-bottom:20px !important;
    }

.hero-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #1a1a1a;
    max-width: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: white;
    color: #1a1a1a;
    border: 1px solid #cccccc;
    border-radius: 40px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.btn-primary:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f0efed;
    color: #1a1a1a;
}



.availability-text {
    color: #00aa00;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

/* Case Studies Section */
.case-studies {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 40px;
    perspective: 1000px;
    padding: 20px 0;
}

@media (max-width: 1000px) {
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

.case-card {
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    aspect-ratio: 460 / 657;
    min-height: 400px;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(2deg);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 20px 40px rgba(0,0,0,0.15),
        0 10px 20px rgba(0,0,0,0.1);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05));
    border-radius: 4px 0 0 4px;
    transform: rotateY(90deg);
    transform-origin: right center;
}

.case-card::after {
    content: '';
    position: absolute;
    top: 4px;
    left: -16px;
    width: 16px;
    height: calc(100% - 8px);
    background: inherit;
    border-radius: 4px 0 0 4px;
    transform: rotateY(90deg);
    transform-origin: right center;
    opacity: 0.8;
    filter: brightness(0.9);
}

.case-card:hover {
    transform: rotateY(-8deg) rotateX(1deg) translateY(-8px);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 30px 60px rgba(0,0,0,0.2),
        0 15px 30px rgba(0,0,0,0.15);
}

/* Case Card Color Themes */
.case-card.coral {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.case-card.coral::after {
    background: linear-gradient(135deg, #ff5252, #ff7979);
}

.case-card.teal {
    background: linear-gradient(135deg, #4ecdc4, #6dd5d0);
}

.case-card.teal::after {
    background: linear-gradient(135deg, #3db5ad, #5cc2bb);
}

.case-card.blue {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.case-card.blue::after {
    background: linear-gradient(135deg, #5aa7ff, #0770cc);
}

.case-card.orange {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.case-card.orange::after {
    background: linear-gradient(135deg, #fcbe55, #d4633f);
}

/* Book Pages Effect */
.case-card .book-pages {
    position: absolute;
    bottom: -3px;
    right: 3px;
    left: 3px;
    height: 8px;
    background: rgba(255,255,255,0.8);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.case-card .book-pages::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 2px;
    left: 2px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.case-card .book-pages::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 4px;
    left: 4px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 0 0 12px 12px;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.case-logo {
    background: white;
    color: #1a1a1a;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.case-logo.circle {
    border-radius: 50%;
}

.case-logo.square {
    border-radius: 4px;
}

.case-logo.dark {
    background: #1a1a1a;
    color: white;
}

.read-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

.case-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
}

.case-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.case-author {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.case-status {
    background: #1a1a1a;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 24px;
}

.case-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Standalone Book Image */
.book-image-container {
    aspect-ratio: 460 / 657;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.standalone-book-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.1),
        0 8px 16px rgba(0,0,0,0.1);
}

.standalone-book-img:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.15),
        0 16px 32px rgba(0,0,0,0.15);
}

/* Placeholder Graphics */
.placeholder-graphic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.coral-graphic::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.placeholder-dashboard {
    width: 100px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    position: relative;
}

.placeholder-dashboard::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.placeholder-mobile-app {
    width: 60px;
    height: 100px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    position: relative;
}

.placeholder-mobile-app::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 8px;
    right: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* About Section */
.about {
    margin-bottom: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.about-title {
    font-size: 40px;
    font-weight: 400;
    color: #1a1a1a;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
}

.help-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.help-title {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
}

.help-text {
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Contact Section */
.contact-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.contact-title {
    font-size: 40px;
    font-weight: 400;
    color: #1a1a1a;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 16px;
    border-bottom: 1px solid #e0e0e0;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #666;
}

.contact-link:last-child {
    border-bottom: none;
}

.arrow {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 400;
}

.footer-note {
    font-size: 12px;
    color: #666;
    text-align: left;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .help-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .case-card {
        padding: 20px;
    }
    
    .case-title {
        font-size: 20px;
    }
}