/* ==========================================
   Secknet Website - Main Stylesheet
   Version: 1.0
   Author: Secknet
   ========================================== */

/* ==========================================
   CSS Variables & Reset
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-color: #A95B95;
    --body-color: #DAD8E9;
    --heading-color: #C6BFEE;
    --card-color: #0B0C23;
    --shape-bg-color: #542c49ff;
    --shape-border-color: #6d4562ff;
    --body-font: 'Mukta', sans-serif;
    --heading-font: 'Prompt', sans-serif;
}

body {
    font-family: var(--body-font);
    font-weight: 300;
    color: var(--body-color);
    background: url('../images/background.jpg') center/cover fixed no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-slide-left.animated {
    animation: slideInLeft 1s ease-out forwards;
}

.animate-slide-right.animated {
    animation: slideInRight 1s ease-out forwards;
}

.animate-scale.animated {
    animation: scaleIn 1s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-text {
    z-index: 2;
}

.hero-text h1 {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--heading-color);
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    border-radius: 0.35em;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Card Sections
   ========================================== */
.card-section {
    padding: 2rem 0 4rem;
}

.card {
    background: rgba(11, 12, 35, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 0.6em;
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(230, 230, 230, 0.1);
}

.card h2 {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--heading-color);
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

/* ==========================================
   Features Grid
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-box {
    background: var(--shape-bg-color);
    border: 1px solid var(--shape-border-color);
    border-radius: 0.35em;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(169, 91, 149, 0.3);
}

.feature-box h3 {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Accent Card
   ========================================== */
.accent-card {
    background: var(--accent-color);
    border-radius: 0.6em;
    padding: 2rem 1.5rem;
    margin: 3rem 0;
    box-shadow: 0 15px 50px rgba(169, 91, 149, 0.4);
}

.accent-card h2 {
    color: #fff;
}

.accent-card .feature-box {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Behind Image Card
   ========================================== */
.behind-card {
    position: relative;
    min-height: 450px;
    border-radius: 0.6em;
    overflow: hidden;
    margin: 3rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.behind-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/consulting-bg.png') center/cover;
    z-index: 0;
}

.behind-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.behind-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 1.5rem;
}

/* ==========================================
   Service Items with Icons
   ========================================== */
.service-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.service-icon {
    flex-shrink: 0;
    width: 2.5em;
    height: 2.5em;
    background: var(--shape-bg-color);
    border: 1px solid var(--shape-border-color);
    border-radius: 0.35em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.service-text h4 {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.service-text p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Contact Grid
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* ==========================================
   Smooth Scroll
   ========================================== */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   Responsive Design - Mobile
   ========================================== */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .card h2 {
        font-size: 1.4rem;
    }

    .hero-image {
        height: 300px;
    }

    .behind-card {
        min-height: 400px;
    }
}

/* ==========================================
   Responsive Design - Tablet
   ========================================== */
@media (min-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        grid-template-columns: 55% 45%;
        gap: 3rem;
        padding: 3rem 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-image {
        height: 450px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .card {
        padding: 2.5rem 3rem;
    }

    .accent-card {
        padding: 2.5rem 3rem;
    }

    .card h2 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .behind-card {
        min-height: 550px;
    }

    .behind-card-content {
        padding: 3.5rem 3rem;
    }

    .feature-box h3 {
        font-size: 1.2rem;
    }

    .feature-box p {
        font-size: 1rem;
    }
}

/* ==========================================
   Responsive Design - Desktop
   ========================================== */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 62.5% 37.5%;
        gap: 4rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.15rem;
    }

    .hero-image {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .card {
        padding: 3rem 3.5rem;
    }

    .accent-card {
        padding: 3rem 3.5rem;
    }

    .card h2 {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .behind-card {
        min-height: 600px;
    }

    .behind-card-content {
        padding: 4rem 3.5rem;
    }

    .service-icon {
        width: 3em;
        height: 3em;
        font-size: 1.3rem;
    }

    .service-text h4 {
        font-size: 1.2rem;
    }

    .service-text p {
        font-size: 1rem;
    }
}

/* ==========================================
   Responsive Design - Large Desktop
   ========================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    body {
        background: white;
        color: black;
    }

    .card, .accent-card, .behind-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}