/* ========================================
   CECCR - Construction Company Website
   Pure HTML/CSS/JS - No Framework
   ======================================== */

/* CSS Variables */
:root {
    --primary: #e67e22;
    --primary-dark: #d35400;
    --dark: #1d1d1d;
    --dark-grey: #222222;
    --grey: #b2b2b2;
    --white: #ffffff;
    --black: #000000;
    --red: #e74c3c;
    --green: #27ae60;
    
    --font-display: 'Changa One', Impact, sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(29, 29, 29, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-box img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
}

.nav-contact a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow-x: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 100%;
    max-width: 100vw;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    animation: zoomOut 2s ease forwards;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(29, 29, 29, 0.9), rgba(29, 29, 29, 0.6), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 20px 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(230, 126, 34, 0.2);
    border: 1px solid rgba(230, 126, 34, 0.4);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 96px);
    line-height: 0.95;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-doc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.btn-full {
    width: 100%;
}

.btn-whatsapp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp-submit .fa-whatsapp {
    font-size: 1.25em;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29, 29, 29, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========================================
   PRESENTATION SECTION
   ======================================== */
.presentation {
    background: var(--dark);
    position: relative;
}

.presentation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.section-text p {
    margin-bottom: 15px;
}

.section-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    background: rgba(230, 126, 34, 0.1);
    transform: rotate(3deg);
    z-index: -1;
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary);
    padding: 25px 35px;
    box-shadow: var(--shadow-lg);
}

.card-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--dark);
}

.card-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 45px;
    height: 45px;
    background: rgba(230, 126, 34, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    border-radius: 4px;
}

.feature-item strong {
    display: block;
    color: var(--white);
}

.feature-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--dark-grey);
}

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

.service-card {
    background: var(--dark);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--dark), transparent);
}

.service-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.service-icon i {
    font-size: 24px;
    color: var(--dark);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   REALISATIONS SECTION
   ======================================== */
.realisations {
    background: var(--dark);
    position: relative;
}

.realisations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--dark-grey);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--dark);
}

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

.project-card {
    background: var(--dark-grey);
    overflow: hidden;
    position: relative;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 29, 29, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-btn {
    padding: 12px 25px;
    background: var(--primary);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-btn {
    transform: translateY(0);
}

/* Touch / small screens: no hover — show overlay + VOIR DÉTAILS always */
@media (hover: none), (max-width: 768px) {
    .project-overlay {
        opacity: 1;
        align-items: flex-end;
        padding-bottom: 18px;
        background: linear-gradient(to top, rgba(29, 29, 29, 0.92) 0%, transparent 55%);
    }

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

    .project-card:hover .project-image img {
        transform: none;
    }
}

.project-link-mobile {
    display: none;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
}

@media (hover: none), (max-width: 768px) {
    .project-link-mobile {
        display: inline-block;
    }
}

.project-info {
    padding: 20px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.project-client {
    color: var(--primary);
}

.project-year {
    color: rgba(255, 255, 255, 0.5);
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    transition: var(--transition);
}

.project-card:hover .project-info h3 {
    color: var(--primary);
}

/* ========================================
   MATERIEL SECTION
   ======================================== */
.materiel {
    background: var(--dark-grey);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.equipment-item {
    background: var(--dark);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.equipment-item:hover {
    border-color: rgba(230, 126, 34, 0.3);
    transform: translateY(-4px);
}

.equipment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.equipment-qty {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary);
}

.equipment-icon {
    color: rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.equipment-item:hover .equipment-icon {
    color: var(--primary);
}

.equipment-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.equipment-spec {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.equipment-cta {
    margin-top: 50px;
    padding: 40px;
    background: rgba(230, 126, 34, 0.1);
    border: 1px solid rgba(230, 126, 34, 0.2);
    text-align: center;
}

.equipment-cta h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 10px;
}

.equipment-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

/* ========================================
   DOSSIER TECHNIQUE - EXCEL INTERFACE
   ======================================== */
.dossier-technique {
    background: var(--dark);
}

.excel-container {
    background: var(--dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Excel Tabs */
.excel-tabs {
    display: flex;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.excel-tab {
    padding: 12px 25px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.excel-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.excel-tab.active {
    background: var(--primary);
    color: var(--dark);
}

/* Toolbar */
.excel-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-btn {
    padding: 8px 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.toolbar-spacer {
    flex: 1;
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--green);
}

.sync-status.syncing {
    color: var(--primary);
}

.sync-status.error {
    color: var(--red);
}

/* Spreadsheet */
.excel-spreadsheet {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
}

.spreadsheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spreadsheet-table th,
.spreadsheet-table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.spreadsheet-table th {
    background: #2a2a2a;
    color: var(--primary);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.spreadsheet-table th:first-child,
.spreadsheet-table td:first-child {
    width: 40px;
    text-align: center;
    background: #2a2a2a;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    position: sticky;
    left: 0;
    z-index: 11;
}

.spreadsheet-table th:first-child {
    z-index: 12;
}

.spreadsheet-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.spreadsheet-table td.editable {
    cursor: pointer;
    transition: var(--transition);
}

.spreadsheet-table td.editable:hover {
    background: rgba(230, 126, 34, 0.1);
}

.spreadsheet-table td input {
    width: 100%;
    padding: 8px;
    background: var(--primary);
    border: none;
    color: var(--dark);
    font-size: 14px;
    outline: none;
}

.spreadsheet-table td .delete-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.spreadsheet-table td .delete-btn:hover {
    color: var(--red);
}

/* Excel Footer */
.excel-footer {
    display: flex;
    gap: 30px;
    padding: 10px 15px;
    background: var(--dark-grey);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.sheet-info {
    margin-left: auto;
}

/* Sheets Info */
.sheets-info {
    margin-top: 30px;
}

.info-card {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: rgba(230, 126, 34, 0.05);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 4px;
}

.info-card i {
    font-size: 24px;
    color: var(--primary);
}

.info-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
}

.info-card ol {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.info-card li {
    margin-bottom: 8px;
}

.info-card a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-item {
    padding: 25px;
    background: var(--dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.client-item:hover {
    border-color: rgba(230, 126, 34, 0.3);
    color: var(--primary);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(230, 126, 34, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    border-radius: 4px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.contact-item a:hover {
    color: var(--primary);
}

.legal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--dark-grey);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select option {
    background: var(--dark);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

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

.toast.error {
    background: var(--red);
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 29, 29, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(230, 126, 34, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-image {
        order: -1;
    }
    
    .image-frame img {
        height: 350px;
    }
    
    .floating-card {
        left: 15px;
        bottom: -20px;
        padding: 15px 25px;
    }
    
    .card-number {
        font-size: 36px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-contact {
        display: none;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(29, 29, 29, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }
    
    .nav-links.active {
        display: flex;
        max-height: 400px;
        opacity: 1;
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }
    
    .navbar .container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        z-index: 1001;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .hero-stats {
        position: relative;
        margin-top: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 40px 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-stats .container {
        width: 100%;
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .excel-toolbar {
        flex-wrap: wrap;
    }
    
    .filter-buttons {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--dark);
}
