/* FealzSecure Corporate Professional Design */
/* Font imports - fallback to system fonts if Google Fonts unavailable */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #0A4A7A;
    --primary-light: #1E5F8F;
    --accent-navy: #0D1B2A;
    --accent-silver: #415A77;
    --accent-mint: #00B894;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-dark: #1A202C;
    --border-light: #E2E8F0;
    --shadow: 0 4px 20px rgba(10, 74, 122, 0.15);
    --shadow-lg: 0 10px 40px rgba(10, 74, 122, 0.20);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
    overflow-x: hidden;
}

/* COMPACT PROFESSIONAL HEADER */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    height: 60px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile header hide/show functionality */
@media (max-width: 768px) {
    .header.hide-mobile {
        transform: translateY(-100%);
    }

    .header.show-mobile {
        transform: translateY(0);
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo:hover {
    color: var(--primary-light);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: var(--bg-secondary);
    color: var(--primary-blue);
}

/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
    align-self: center;
}

.dropdown > a {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--bg-primary);
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    border-radius: 8px;
    padding: 0.5rem 0;
    border: 1px solid var(--border-light);
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-primary) !important;
    padding: 0.75rem 1.5rem !important;
    text-decoration: none;
    display: block;
    border-radius: 0 !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: var(--bg-secondary) !important;
    color: var(--primary-blue) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Removed dropdown arrow for cleaner look */

.cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white !important;
}

/* RICH BACKGROUND HERO SECTION */
.hero {
    background: linear-gradient(135deg, 
        var(--bg-dark) 0%, 
        var(--primary-blue) 40%, 
        var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='0,0 100,0 100,100' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--accent-mint);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* MAIN CONTENT CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* TEAM SECTION */
.team-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-mint));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* SERVICES GRID */
.services {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Clickable service cards */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card-link .service-card {
    cursor: pointer;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-mint);
    font-weight: bold;
}

/* GUIDING PRINCIPLES SECTION */
.principles-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Force 2x2 grid for 4 cards */
.principles-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 3rem auto 0;
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }

.principle-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.principle-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.principle-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.principle-description {
    color: var(--text-secondary);
}

/* CONTACT FORM */
.contact-section {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ABOUT/STORY SECTION */
.origin-story {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.story-content {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.story-moment {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.moment-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.moment-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.moment-content p {
    color: var(--text-secondary);
}

/* FOOTER */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 2rem;
    clear: both;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-mint);
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-mint);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero graphic responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column !important;
    }
    
    .hero-graphic {
        display: none !important;
        max-width: 300px;
        margin: 2rem auto 0;
    }
}

/* TABLET RESPONSIVE */
@media (max-width: 1024px) {
    .principles-grid-2x2 {
        grid-template-columns: 1fr !important;
        max-width: 600px !important;
    }
    
    /* Override inline styles for specialty services on tablet */
    .services-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        max-width: 600px !important;
    }
}

/* SMALL TABLET/LARGE MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .nav {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .nav a {
        padding: 0.5rem;
        text-align: center;
        font-size: 0.9rem;
    }
    
    /* Hide dropdown functionality on mobile */
    .dropdown-content {
        display: none !important;
    }
    
    /* Adjust header layout for mobile nav */
    .header {
        height: auto;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        height: auto;
    }
    
    .cta-button {
        align-self: center;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .team-grid, 
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Override inline styles for specialty services on mobile */
    .services-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
    }
    
    .credentials-grid,
    .principles-grid-2x2 {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-content {
        padding: 1rem;
    }

    .story-moment {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }
}

/* SMALL MOBILE RESPONSIVE */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .principle-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-3 { margin-top: 3rem; }