/* Fenix IT Solutions - Corporate Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
.text-bold {
    font-weight: 600;
    color: #1f2937;
}

.hero .text-bold {
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

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

.btn-primary {
    background-color: #1f2937;
    color: white;
}

.btn-primary:hover {
    background-color: #111827;
}

.btn-white {
    background-color: white;
    color: #1e40af;
}

.btn-white:hover {
    background-color: #dbeafe;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Navigation */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #111827;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #dbeafe 0%, white 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-desktop button {
    background: none;
    border: none;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-desktop button:hover {
    color: #dbeafe;
}

.nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: #111827;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile button {
    background: none;
    border: none;
    text-align: left;
    font-weight: 500;
    color: white;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-mobile button:hover {
    color: #dbeafe;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        hsl(220, 60%, 25%) 0%, 
        hsl(210, 65%, 30%) 30%, 
        hsl(230, 55%, 35%) 70%, 
        hsl(215, 60%, 28%) 100%);
}

.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.float-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 5rem;
    left: 2.5rem;
    width: 5rem;
    height: 5rem;
    border: 2px solid rgba(191, 219, 254, 0.6);
    border-radius: 50%;
    animation-delay: 0s;
}

.float-2 {
    top: 10rem;
    right: 5rem;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(147, 197, 253, 0.5);
    border-radius: 0.5rem;
    animation-delay: 2s;
}

.float-3 {
    bottom: 10rem;
    left: 5rem;
    width: 4rem;
    height: 4rem;
    background-color: rgba(191, 219, 254, 0.4);
    border-radius: 50%;
    animation-delay: 4s;
}

.float-4 {
    top: 33.333333%;
    right: 25%;
    width: 2rem;
    height: 2rem;
    background-color: rgba(147, 197, 253, 0.5);
    transform: rotate(45deg);
    animation-delay: 1s;
}

.float-5 {
    bottom: 33.333333%;
    left: 25%;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(191, 219, 254, 0.5);
    border-radius: 50%;
    animation-delay: 3s;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-gradient {
    background: linear-gradient(to right, white, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-description {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
}

.scroll-wheel {
    width: 0.25rem;
    height: 0.75rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

/* Sections */
.mission-section,
.services-section,
.contact-section {
    padding: 5rem 0;
}

.mission-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(249, 250, 251, 0.5);
    z-index: 1;
}

.mission-section .container {
    position: relative;
    z-index: 10;
}

.services-section {
    background-color: #f9fafb;
}

.contact-section {
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
    font-weight: 300;
}

/* Cards */
.cards-grid {
    display: grid;
    gap: 2rem;
    max-width: 90rem;
    margin: 0 auto;
}

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

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1f2937;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background: #1f2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.card-content p {
    color: #6b7280;
    font-weight: 300;
    line-height: 1.6;
}

.values-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.value-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-weight: 300;
}

.bullet {
    width: 0.5rem;
    height: 0.5rem;
    background: #1f2937;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.value-item strong {
    color: #1f2937;
}

/* Services */
.services-grid {
    display: grid;
    gap: 2rem;
    max-width: 112rem;
    margin: 0 auto 3rem;
}

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

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

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #1f2937;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: #1f2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.service-card:hover .feature-item {
    transform: translateX(0.25rem);
}

.feature-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background: #1f2937;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.feature-item span:last-child {
    color: #6b7280;
    font-weight: 500;
}

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

/* Contact */
.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 96rem;
    margin: 0 auto;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    overflow: hidden;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.contact-card::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: #1f2937;
    opacity: 0.6;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #1f2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-item h4 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #6b7280;
}

.urgent-contact {
    background: #1f2937;
    color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgent-contact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.urgent-contact p {
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.contact-form-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f2937;
}

.form-group textarea {
    resize: none;
}

/* Footer */
.footer {
    position: relative;
    background: #111827;
    color: white;
    overflow: hidden;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    background: linear-gradient(to right, white, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-solutions {
    color: white;
    font-weight: 300;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    cursor: default;
}

.footer-contact-item:hover {
    color: #dbeafe;
}

.footer-contact-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #1f2937, #1f2937);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    transform: scale(1.1);
}

.footer-contact-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.footer-nav h4,
.footer-services h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #dbeafe;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links button {
    background: none;
    border: none;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.footer-links button:hover {
    color: #dbeafe;
    transform: translateX(0.5rem);
}

.footer-links p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    transition: color 0.3s ease;
    cursor: default;
}

.footer-links p:hover {
    color: #dbeafe;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.footer-highlight {
    color: #dbeafe;
}

.btn-back-to-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back-to-top:hover {
    background: white;
    color: #1f2937;
    transform: scale(1.05);
}

.btn-back-to-top svg {
    width: 1rem;
    height: 1rem;
}

/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border: 1px solid #d1fae5;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
    max-width: 24rem;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toast-icon {
    width: 2rem;
    height: 2rem;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.toast h4 {
    font-weight: 600;
    color: #065f46;
    margin-bottom: 0.25rem;
}

.toast p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(-50%, 0, 0);
    }
    40%, 43% {
        transform: translate3d(-50%, -30px, 0);
    }
    70% {
        transform: translate3d(-50%, -15px, 0);
    }
    90% {
        transform: translate3d(-50%, -4px, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile-btn {
        display: flex;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .cards-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .toast {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}