/* RFEN Brand Stylesheet - Global Styles */
:root {
    --color-green-600: #16a34a;
    --color-green-700: #15803d;
    --color-green-900: #1b4332;
    --color-red-600: #dc2626;
    --color-red-50: #fef2f2;
    --color-gray-50: #f9fafb;
    --color-gray-100: #e5e7eb;
    --color-gray-200: #d1d5db;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-900: #1f2937;
    --color-gray-950: #030712;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-gray-900);
    background-color: var(--color-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--color-green-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-green-700);
}

/* Buttons */
.btn, button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 9999px;
}

.btn-primary {
    background-color: var(--color-green-600);
    color: white;
    padding: 16px 36px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-green-700);
    transform: translateY(-2px);
    box-shadow: 0 12px 16px rgba(22, 163, 74, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--color-green-600);
    padding: 16px 36px;
    font-size: 1.1rem;
    border: 2px solid var(--color-green-600);
}

.btn-secondary:hover {
    background-color: var(--color-gray-50);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Spacing */
section {
    padding: 6rem 1rem;
}

/* Navigation */
nav {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-green-600);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7)), center / cover no-repeat;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Cards */
.card {
    background-color: white;
    border: 1px solid var(--color-gray-100);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Icon Ring */
.icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green-600);
    margin-bottom: 1.5rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

/* CTA Section */
.cta-section {
    background-color: var(--color-green-900);
    color: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

/* Alert/Banner */
.banner {
    background-color: var(--color-red-50);
    border-left: 4px solid var(--color-red-600);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.banner.success {
    background-color: #dcfce7;
    border-left-color: var(--color-green-600);
}

/* Team Member Card */
.team-member {
    text-align: center;
}

.team-member-image {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-image {
    transform: scale(1.05);
}

.team-member-title {
    color: var(--color-green-600);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--color-gray-950);
    color: var(--color-gray-400);
    padding: 2rem 1rem;
    border-top: 1px solid var(--color-gray-900);
    text-align: center;
}

footer a {
    color: var(--color-gray-300);
}

footer a:hover {
    color: white;
}

/* Utilities */
.text-green-600 { color: var(--color-green-600); }
.text-green-700 { color: var(--color-green-700); }
.text-gray-900 { color: var(--color-gray-900); }
.text-gray-600 { color: var(--color-gray-600); }
.text-white { color: white; }

.bg-green-50 { background-color: #dcfce7; }
.bg-green-600 { background-color: var(--color-green-600); }
.bg-green-900 { background-color: var(--color-green-900); }
.bg-white { background-color: white; }
.bg-gray-50 { background-color: var(--color-gray-50); }

.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }

.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1); }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 640px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}
