/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1fa857;
}

.btn-call {
    background-color: #dc2626;
    color: white;
}

.btn-call:hover {
    background-color: #b91c1c;
}

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

.header {
    background-color: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.logo img {
    height: 2.5rem;
    width: auto;
}

.logo-text {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 1.5rem;
    height: 0.25rem;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background-color: white;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #e5e5e5;
    }

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

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu .btn {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

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

.nav-link {
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
}

/* ========================================
   HERO SECTION (FULL WIDTH SLIDER)
   ======================================== */

.hero-full {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-full {
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .hero-full {
        height: 650px;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

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

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.slide-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.slide-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .slide-text h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .slide-text h1 {
        font-size: 3.5rem;
    }
}

.slide-text p {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .slide-text p {
        font-size: 1.25rem;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    width: 2rem;
}

/* ========================================
   PAGE BANNERS
   ======================================== */

.page-banner {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}

.page-banner > * {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .page-banner h1 {
        font-size: 3rem;
    }
}

.page-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.hero-content {
    padding: 0;
    background-color: #ffffff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 0;
    border-radius: 0;
}

.stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #dc2626;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc2626, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.services {
    padding: 4rem 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.service-icon {
    font-size: 3rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

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

.about {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.about-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-features .feature {
    padding: 1rem;
    background: #f9f9f9;
    border-left: 4px solid #dc2626;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.info-card {
    padding: 2rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.industries-list span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   JOBS SECTION
   ======================================== */

.jobs {
    padding: 4rem 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.job-card {
    padding: 2rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.job-company {
    color: #dc2626;
    font-weight: 600;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.job-detail-item {
    color: #666;
    font-size: 0.9rem;
}

.job-description {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.125rem;
}

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

.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.contact-form-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-form-wrapper p {
    color: #666;
    margin-bottom: 2rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: #1a1a1a;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

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

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.info-item p {
    color: #666;
    line-height: 1.8;
}

.info-item a {
    color: #dc2626;
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

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

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #dc2626;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.floating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.floating-btn.whatsapp {
    background-color: #25d366;
}

.floating-btn.whatsapp:hover {
    background-color: #1fa857;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.floating-btn.call {
    background-color: #dc2626;
}

.floating-btn.call:hover {
    background-color: #b91c1c;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

@media (max-width: 640px) {
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-btn {
        width: 3rem;
        height: 3rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 3rem 1.5rem;
        min-height: 200px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
    }
}

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

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-banner h1 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
