/*! Wrapid - Trusted Software Development & IAM Solutions */

/* ==========================================================================
   Color System - Professional & Trustworthy
   ========================================================================== */

:root {
    /* Primary colors - Deep blue conveys trust, security, professionalism */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;

    /* Accent colors */
    --accent-color: #2563eb;
    --accent-green: #059669;
    --accent-gold: #d97706;

    /* Neutral colors */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;

    /* Shadows for depth and professionalism */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Trust indicators */
    --trust-badge-color: #10b981;
}

/* === GENERATED === /*
/* ==========================================================================
   Base Styles - Clean and Professional
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Hero Section - Authoritative and Trustworthy
   ========================================================================== */

body > div:first-child {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem 7rem;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

body > div:first-child p:first-child {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body > div:first-child p:last-child {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
}

/* ==========================================================================
   Section Layout - Structured and Professional
   ========================================================================== */

body > div:not(:first-child):not(:last-child) {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

/* ==========================================================================
   Section Headings - Clear Hierarchy
   ========================================================================== */

body > div > p:first-child:not(:only-child) {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Professional underline accent */
body > div > p:first-child:not(:only-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ==========================================================================
   Card System - Professional and Trustworthy
   ========================================================================== */

body > div > div {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
}

/* Subtle hover effect - professional interaction */
body > div > div:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

/* ==========================================================================
   SVG Icons - Professional Styling
   ========================================================================== */

body > div > div svg {
    opacity: 0.9;
    transition: all 0.3s ease;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Typography - Clear and Trustworthy
   ========================================================================== */

body > div > div p:first-of-type {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    padding-top: 0.5rem;
}

body > div > div p:last-child {
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 400;
    clear: both;
}

/* ==========================================================================
   Grid Layouts - Expertise & Domains
   ========================================================================== */

/* Create grid layout with proper gaps */
body > div:nth-child(2),
body > div:nth-child(3) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Reset the first child to not be part of grid */
body > div:nth-child(2) > p:first-child,
body > div:nth-child(3) > p:first-child {
    grid-column: 1 / -1;
}

/* Ensure cards don't have display: inline-block */
body > div:nth-child(2) > div,
body > div:nth-child(3) > div {
    display: block;
    margin: 0;
}

/* ==========================================================================
   Projects Section - Portfolio Showcase
   ========================================================================== */

body > div:nth-child(4) > div {
    border-left: 5px solid var(--primary-color);
    padding-left: 2.5rem;
}

body > div:nth-child(4) > div::before {
    display: none;
}

/* ==========================================================================
   Contact Section - Call to Action with Trust
   ========================================================================== */

body > div:last-child p:first-child {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    letter-spacing: -0.02em;
}

body > div:last-child p:nth-child(2) {
    font-size: 1.375rem;
    margin-bottom: 3.5rem;
    color: white;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
}

/* Contact Method Cards */
body > div:last-child > div {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    margin: 1rem 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow);
    position: relative;
}

body > div:last-child > div:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.5);
}

body > div:last-child > div svg {
    color: white;
    flex-shrink: 0;
    margin: 0;
    opacity: 1;
}

body > div:last-child a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: opacity 0.2s ease;
    position: relative;
}

body > div:last-child a:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* ==========================================================================
   Responsive Design - Mobile First
   ========================================================================== */

@media (max-width: 968px) {
    /* 2 column grid for tablets */
    body > div:nth-child(2),
    body > div:nth-child(3) {
        grid-template-columns: repeat(2, 1fr);
    }

    body > div:first-child p:first-child {
        font-size: 3.5rem;
    }

    body > div > p:first-child:not(:only-child) {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    /* Single column grid for mobile */
    body > div:nth-child(2),
    body > div:nth-child(3) {
        grid-template-columns: 1fr;
    }

    body > div:first-child {
        padding: 5rem 1.5rem 4rem;
    }

    body > div:first-child p:first-child {
        font-size: 2.75rem;
    }

    body > div:first-child p:last-child {
        font-size: 1.25rem;
    }

    body > div > p:first-child:not(:only-child) {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    body > div > div {
        padding: 2rem;
    }

    body > div:last-child {
        padding: 3rem 2rem;
        margin: 0 1rem 3rem;
    }

    body > div:last-child p:first-child {
        font-size: 2.25rem;
    }

    body > div:last-child p:nth-child(2) {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }

    body > div:last-child > div {
        display: flex;
        width: 100%;
        margin: 1rem 0;
        padding: 1.125rem 1.5rem;
    }

    body > div:last-child a {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body > div:first-child,
    body > div:last-child {
        background: #f5f5f5 !important;
        color: #000 !important;
    }

    body > div > div {
        page-break-inside: avoid;
        border: 1px solid #ddd;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }
}

/* === OWN CLASSES === */
.stack {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
}

.icon {
    float: left;
}

.link-button-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--accent-color);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
}

.link-button-container:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.5);
}

.link-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;


    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 5rem 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto 4rem;
}