/* ============================================
   JASON BOURNE PORTFOLIO - COMPLETE STYLES
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #2d3748;
    background: #ffffff;
    line-height: 1.6;
}

/* ============================================
   COLOR VARIABLES
   ============================================ */

:root {
    --primary-navy: #1a2332;
    --accent-teal: #00a8a8;
    --accent-teal-light: #00d4d4;
    --warm-gold: #d4a574;
    --light-neutral: #f5f7fa;
    --medium-gray: #6b7280;
    --dark-charcoal: #2d3748;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    --border-light: #e5e7eb;
    --text-light: #e5e7eb;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 44px;
}

h3 {
    font-size: 32px;
    font-weight: 600;
}

h4 {
    font-size: 24px;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

small, .caption {
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* ============================================
   CONTAINER & GRID
   ============================================ */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
}

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

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

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

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, #00a8a8, #00d4d4);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 168, 168, 0.3);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 168, 168, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: #00a8a8;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #00a8a8;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #00a8a8;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: #1a2332;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: #00a8a8;
    color: #00a8a8;
    background: rgba(0, 168, 168, 0.05);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #1a2332, #00a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-item a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00a8a8, #00d4d4);
    transition: width 0.3s ease;
}

.nav-item a:hover {
    color: #00a8a8;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a.active {
    color: #00a8a8;
}

.nav-item a.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #00a8a8, #00d4d4);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 168, 168, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #1a2332;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-item {
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-item a {
        display: block;
        padding: 16px 20px;
    }

    .nav-item a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #1a2332 0%, #1a2332 50%, rgba(0, 168, 168, 0.1) 100%);
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(-30px);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content h1 {
    font-size: 56px;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: slideInUp 0.8s ease;
}

.hero-content p {
    font-size: 18px;
    color: #e5e7eb;
    margin-bottom: 32px;
    line-height: 1.6;
    animation: slideInUp 0.8s ease 0.1s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-image {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(212, 165, 116, 0.1));
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 80px 32px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-image {
        height: 400px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-container {
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-image {
        height: 300px;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 44px;
    color: #1a2332;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

.section-header-light h2 {
    color: #ffffff;
}

.section-header-light p {
    color: #e5e7eb;
}

/* ============================================
   FEATURED PROJECTS SECTION
   ============================================ */

.section-featured {
    padding: 80px 48px;
    background: #f5f7fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

@media (max-width: 640px) {
    .section-featured {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   CARDS
   ============================================ */

.card-project {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-project-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f5f7fa, #e5e7eb);
    object-fit: cover;
    overflow: hidden;
}

.card-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-project:hover .card-project-image img {
    transform: scale(1.05);
}

.card-project-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-project-tag {
    display: inline-block;
    background: rgba(0, 168, 168, 0.1);
    color: #00a8a8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    width: fit-content;
}

.card-project-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 8px;
}

.card-project-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.card-project-link {
    color: #00a8a8;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.card-project-link:hover {
    gap: 12px;
}

/* ============================================
   COMPETENCIES SECTION
   ============================================ */

.section-competencies {
    padding: 80px 48px;
    background: #ffffff;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.competency-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    background: #f5f7fa;
    transition: all 0.3s ease;
}

.competency-card:hover {
    background: #ffffff;
    border: 2px solid #00a8a8;
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 168, 168, 0.1);
}

.competency-icon {
    font-size: 48px;
    margin-bottom: 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.competency-card h3 {
    font-size: 18px;
    color: #1a2332;
    margin-bottom: 12px;
}

.competency-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

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

@media (max-width: 640px) {
    .section-competencies {
        padding: 60px 20px;
    }

    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */

.section-stats {
    padding: 80px 48px;
    background: linear-gradient(135deg, #00a8a8 0%, #00d4d4 100%);
}

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

.stat-item {
    text-align: center;
    color: #ffffff;
    animation: fadeInUp 0.8s ease;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 640px) {
    .section-stats {
        padding: 60px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-number {
        font-size: 44px;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.section-testimonials {
    padding: 80px 48px;
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slide {
    background: #ffffff;
    border-left: 4px solid #d4a574;
    border-radius: 8px;
    padding: 32px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-slide.prev {
    opacity: 0;
    transform: translateX(-100px);
}

.testimonial-quote {
    font-size: 16px;
    color: #2d3748;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a8a8, #00d4d4);
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
    margin: 0;
}

.testimonial-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0 0 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #00a8a8;
    transform: scale(1.3);
}

@media (max-width: 640px) {
    .section-testimonials {
        padding: 60px 20px;
    }

    .testimonial-slide {
        padding: 24px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.section-services {
    padding: 80px 48px;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.card-service {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.card-service:hover {
    border-color: #00a8a8;
    background: rgba(0, 168, 168, 0.02);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 168, 168, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #00a8a8, #00d4d4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.card-service:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 12px;
}

.service-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section-services {
        padding: 60px 20px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.section-about {
    padding: 80px 48px;
    background: #f5f7fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 24px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.skill-category h3 {
    font-size: 18px;
    color: #1a2332;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #00a8a8, #00d4d4);
    border-radius: 2px;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    padding: 8px 0;
    color: #6b7280;
    font-size: 14px;
}

.skill-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    margin-right: 12px;
}

@media (max-width: 640px) {
    .section-about {
        padding: 60px 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */

.section-cta {
    padding: 80px 48px;
    background: #f5f7fa;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 44px;
    color: #1a2332;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .section-cta {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-hero {
    background: linear-gradient(135deg, #1a2332, #2d3748);
    padding: 80px 48px;
    text-align: center;
    color: #ffffff;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.contact-content {
    padding: 80px 48px;
    background: #f5f7fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 24px;
    color: #1a2332;
    margin-bottom: 32px;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h4 {
    font-size: 14px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    font-size: 18px;
    color: #1a2332;
    font-weight: 600;
}

.contact-item a {
    color: #00a8a8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #00d4d4;
}

.contact-social {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2332;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.social-link:hover {
    background: #00a8a8;
    border-color: #00a8a8;
    color: #ffffff;
    transform: translateY(-4px);
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 60px 20px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-content {
        padding: 60px 20px;
    }

    .contact-form {
        padding: 32px 20px;
    }
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
    display: block;
}

.form-label .required {
    color: #ef4444;
}

.form-input,
.form-textarea,
.form-select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1a2332;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #00a8a8;
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8a8' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

.form-input.error ~ .form-error,
.form-textarea.error ~ .form-error,
.form-select.error ~ .form-error {
    display: block;
}

.form-help-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.form-checkbox,
.form-radio {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #00a8a8;
}

.form-checkbox-label,
.form-radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #2d3748;
    cursor: pointer;
    user-select: none;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    justify-content: center;
}

.form-success-message {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: none;
}

.form-success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #1a2332;
    color: #e5e7eb;
    padding: 40px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00a8a8;
}

@media (max-width: 640px) {
    .footer {
        padding: 32px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
    display: none;
}

.visible {
    display: block;
}