/*
 * IMPORTANT: For editing rules and coding guidelines, see AI_documents/Rules/Rules_for_the_AI.txt
 * For project overview and details, see AI_documents/Project_Overview_Doc.txt
 * 
 * Production Directory: http://ainspire.ai/css/styles.css
 * Development Directory: http://localhost:8000/css/styles.css
 * 
 * General Styles used across the website all pages and all sections Header, footer, hero, and other stuff 
 */ 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    background: black;
}

/* Canvas Background */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: -2;  
    filter: brightness(1.5);
      background: black;
}

#darken {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    filter: opacity(0.5); 
    
}

.prompt-label {
    color: grey; 
    font-weight: normal;
    font-weight: 900;
}

.hero-title::after {
    content: '|';
    display: inline-block;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#ai-letters-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1.5; 
    opacity: 0.7;
    pointer-events: none;
    
}

#ai-letters-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 500px;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 5;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000e8;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
    padding: 0 40px;
    display: grid;
    grid-template-rows: auto auto;
    gap: 40px;
    align-items: left;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -2px;
     hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title .purple-accent {
    color: #8b5cf6;
    position: relative;
     text-decoration: none; 
}

/*.hero-title .purple-accent::after {
    content: '';
    position: absolute;
     text-decoration: none; 
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    border-radius: 2px;
}*/

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: scale(1.1);
}

.play-button::after {
    content: '▶';
    color: #fff;
    font-size: 24px;
    margin-left: 4px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

.hero-description {
    font-size: 24px;
    color: #e2e8f0;
    line-height: 1.6;
    font-weight: 300;
}

.hero-description .purple-accent {
    color: #8b5cf6;
    font-weight: 400;
}

.hero-cta {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

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

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.hero-cta::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-rows: auto auto;
        gap: 30px;
        padding: 0 20px;
        text-align: left;
    }

    .hero-title {
        font-size: 40px;
    }


    .hero-description {
        font-size: 18px;
    }
}

/* Main Content Container */
/* BACKUP - Original padding with fixed header compensation:
.main-content {
    padding: 80px 20px 40px;
}
.main-content2 {
    padding: 80px 20px 40px;
}
*/

.main-content {
    padding: 20px 20px 40px; /* Reduced top padding - header now takes space naturally */
    position: relative;
    z-index: 1;
    background: #000;
    border-top: 2px solid rgba(139, 92, 246, 0.3) !important;
}

.main-content2 {
    padding: 20px 20px 40px; /* Reduced top padding - header now takes space naturally */
    position: relative;
    z-index: 1;
    background: #000;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.research-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%; 
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(0px) brightness(0.7);
}

 #container2 {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: -0.5;  
                filter: brightness(1.5);
                filter:blur(10px);
        }

.card-content {
    position: relative;
    z-index: 4;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    filter: brightness(1.2);
    justify-content: space-between;
    backdrop-filter: blur(0px);
    transition: backdrop-filter 0.6s ease;
}

.research-card:hover .card-content {
    backdrop-filter: blur(1px);
}

.card-label {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 20px;
}

.card-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    transition: all 0.6s ease;
}

.research-card:hover .card-title {
    transform: translateY(-5px);
}

.card-description {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.research-card:hover .card-description {
    opacity: 1;
    transform: translateX(0);
}

.expand-button {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition-delay: 0.1s;
}

.research-card:hover .expand-button {
    opacity: 1;
    transform: translateY(0);
}

.expand-button:after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}


.research-card:hover .card-background {
    transform: scale(1.15);
    transform-origin: top left; 
    filter: blur(3px) brightness(0.3);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    transition: opacity 0.6s ease;
}

.card-2 .card-background { 
    background-image: url('../images/Comply.webp');
}

.card-3 .card-background { 
    background-image: url('../images/idea.webp');
}

.card-4 .card-background { 
    background-image: url('../images/team4.webp');
}

.card-1 .gradient-overlay {
        background: radial-gradient(#ffffff00, #f9646429);
    /*background: linear-gradient(135deg, rgba(26, 13, 74, 0.9) 0%, rgba(45, 27, 105, 0.8) 50%, rgba(15, 76, 58, 0.9) 100%);*/
}

.card-2 .gradient-overlay {
    background: linear-gradient(135deg, rgba(74, 13, 74, 0.9) 0%, rgba(107, 45, 105, 0.8) 50%, rgba(61, 26, 91, 0.9) 100%);
}

.card-3 .gradient-overlay {
    background: linear-gradient(135deg, rgba(13, 26, 74, 0.9) 0%, rgba(45, 61, 105, 0.8) 50%, rgba(26, 15, 60, 0.9) 100%);
}

.research-card:hover .gradient-overlay {
    opacity: 0.9;
}

.expand-button:hover:after {
    transform: translateX(5px);
}

.shimmer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 3;
}

.research-card:hover .shimmer-overlay {
    transform: translateX(100%);
}

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

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .quote-container {
        flex-direction: column;
    }
    
    .quote-image {
        width: 100%;
        height: 300px;
    }
    
    .quote-content {
        padding: 40px 20px;
    }
    
    .quote-text {
        font-size: 22px;
    }
}

/* Quote Section Styles */
.quote-section {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.quote-container {
    display: flex;
    align-items: center; 
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quote-image {
    position: relative;
    width: 40%;
    height: 400px;
    overflow: hidden;
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8);
}

.quote-container:hover .quote-image img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(72, 61, 139, 0.2) 100%);*/
    opacity: 0;
    transition: opacity 0.6s ease;
}

.quote-container:hover .image-overlay {
    opacity: 1;
}

.quote-content {
    flex: 1;
    padding: 60px;
    color: white;
}

.quote-text {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 30px;
    color: #fff;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: #8b5cf6;
    font-family: serif;
    line-height: 1;
}

.quote-attribution {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 25px;
    font-weight: 400;
}

.read-more-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.read-more-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: translateX(3px);
}

/* 360° Value Section Styles */
.value-section {
    margin-top: 80px;
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #111 50%, #000 100%);
    position: relative;
    overflow: hidden;
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.value-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.value-title {
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 0 40px rgba(139, 92, 246, 0.3);
    }
}

.value-subtitle {
    font-size: 24px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.report-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

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

.report-btn:hover::before {
    left: 100%;
}

.report-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.report-btn::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.report-btn:hover::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .value-title {
        font-size: 50px;
    }
    
    .value-subtitle {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .value-section {
        padding: 60px 20px;
    }
}