/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-600: #dc2626;
    --red-500: #ef4444;
    --red-400: #f87171;
    --white: #ffffff;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-50: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

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

/* ==================== Utility Classes ==================== */
.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.w-full {
    width: 100%;
}

.z-50 {
    z-index: 50;
}

.fixed {
    position: fixed;
}

.text-red {
    color: var(--red-500);
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.hidden-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-mobile {
        display: flex;
    }
}

/* ==================== Navigation ==================== */
.navbar {
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 1.25rem 0;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-container {
    padding: 0 1rem;
}

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

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

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    flex-shrink: 0;
}

.logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-text {
    color: var(--red-600);
}

.desktop-menu {
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--red-500);
}

.navbar.scrolled .nav-link {
    color: var(--gray-800);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.75rem;
    color: white;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--gray-800);
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--gray-100);
    padding: 0.5rem 0;
}

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

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--red-600);
    background-color: var(--gray-50);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--slate-900);
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border: 1px solid var(--red-500);
    border-radius: 9999px;
    background: rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(4px);
    color: var(--red-400);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--gray-300);
    margin-top: 0.5rem;
    display: block;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 3rem;
    }
}

.hero-description {
    margin-top: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    color: var(--gray-300);
    line-height: 1.6;
    font-weight: 300;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--red-600);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background-color: var(--red-700);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.arrow {
    font-size: 1.25rem;
}

/* ==================== About Section ==================== */
.about-section {
    padding: 6rem 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

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

.section-label {
    color: var(--red-600);
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.about-text {
    space-y: 1.5rem;
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.75;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.feature-item {
    display: flex;
    gap: 0.75rem;
}

.check-icon {
    color: var(--red-500);
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-weight: bold;
}

.feature-item h4 {
    font-weight: bold;
    color: var(--gray-900);
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* History Box */
.history-box {
    background-color: var(--slate-50);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--slate-100);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.history-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline {
    border-left: 2px solid var(--red-200);
    padding-left: 1.5rem;
    space-y: 1.5rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31.5px;
    top: 3px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--slate-300);
    box-shadow: inset 0 0 0 3px white;
}

.timeline-item.active::before {
    background-color: var(--red-600);
}

.timeline-year {
    color: var(--red-600);
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.timeline-item.active .timeline-year {
    color: var(--red-600);
}

.timeline-item:not(.active) .timeline-year {
    color: var(--slate-500);
}

.timeline-item p {
    color: var(--gray-800);
    font-weight: 500;
}

/* ==================== Services Section ==================== */
.services-section {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

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

.section-description {
    color: var(--gray-600);
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--red-50);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-600);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ==================== Strengths Section ==================== */
.strength-section {
    padding: 6rem 0;
    background-color: var(--slate-900);
    color: white;
    position: relative;
    overflow: hidden;
}

.strength-bg-element {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    transform: translateY(-50%) translateX(50%);
    z-index: 0;
}

.strength-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

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

.strength-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.strength-description {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.strength-list {
    space-y: 2rem;
}

.strength-item {
    display: flex;
    gap: 1rem;
}

.strength-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.strength-item h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.strength-item p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

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

.equipment-card {
    background-color: var(--slate-800);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 12rem;
    transition: background-color 0.3s ease;
    position: relative;
}

.equipment-card:hover {
    background-color: var(--slate-700);
}

.equipment-card.highlight {
    background-color: var(--red-600);
    transform: translateY(2rem);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.3);
}

.equipment-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
}

.equipment-card.highlight .equipment-number {
    color: var(--red-400);
}

.equipment-card span:last-child {
    font-weight: bold;
    color: white;
}

/* ==================== Portfolio Section ==================== */
.portfolio-section {
    padding: 6rem 0;
    background-color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.portfolio-card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.portfolio-image {
    width: 100%;
    height: 12rem;
    background-color: var(--slate-200);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-year {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdropfilter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--slate-800);
}

.portfolio-image::before {
    content: '📺';
    font-size: 3rem;
    opacity: 0.3;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-card h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.portfolio-card:hover h3 {
    color: var(--red-600);
}

.portfolio-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ==================== Contact Section ==================== */
.contact-section {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

.contact-container {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

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

.contact-map {
    position: relative;
    min-height: 24rem;
    order: 2;
}

@media (min-width: 1024px) {
    .contact-map {
        order: 1;
    }
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.contact-content {
    padding: 3rem;
    background-color: var(--slate-900);
    color: white;
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-content {
        order: 2;
    }
}

.contact-info {
    flex: 1;
}

.section-title-white {
    font-size: 1.875rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-items {
    space-y: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.contact-oldaddress {
    color: var(--gray-500) !important;
    font-size: 0.75rem !important;
    margin-top: 0.25rem !important;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cert-badges span {
    font-size: 0.75rem;
    background-color: rgba(220, 38, 38, 0.2);
    color: var(--red-400);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.contact-form-wrapper {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-500);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

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

.submit-btn {
    padding: 0.875rem 1.5rem;
    background-color: var(--red-600);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: var(--red-700);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* ==================== Footer ==================== */
.footer {
    background-color: var(--slate-900);
    color: white;
    padding: 3rem 0;
    border-top: 1px solid var(--slate-800);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

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

.footer-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--slate-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-copyright {
    color: var(--slate-500);
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .strength-title {
        font-size: 1.875rem;
    }

    .hero {
        padding-top: 80px;
    }

    .contact-info {
        padding: 2rem;
    }
}