/* ==========================================================================
   1. CORE RESET & VARIABLE TOKENS
   ========================================================================== */
:root {
    --primary: #2ecc71;
    --primary-hover: #27ae60;
    --dark: #1e272e;
    --light: #f5f6fa;
    --text: #2f3640;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
body { 
    font-family: var(--font); 
    color: var(--text); 
    background-color: #ffffff; 
    line-height: 1.6; 
    overflow-x: hidden; 
}
a { 
    text-decoration: none; 
    color: inherit; 
}

/* Structural Content Containers */
.container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}
section { 
    padding: 60px 0; 
    border-bottom: 1px solid #f0f0f0; 
}
.section-title { 
    text-align: center; 
    font-size: 2.2rem; 
    margin-bottom: 40px; 
    color: var(--dark); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    position: relative; 
}
.section-title::after { 
    content: ''; 
    display: block; 
    width: 60px; 
    height: 4px; 
    background: var(--primary); 
    margin: 10px auto 0; 
}


/* Standardized Information Clean Tables with Full Borders */
.scrollable-table-wrap {
    width: 100% !important;
    overflow-x: auto !important; /* Prevents stretching outside mobile screen lines */
    -webkit-overflow-scrolling: touch;
    margin: 15px 0 25px 0;
    border: 1px solid #cccccc; /* External boundary line */
    border-radius: 4px;
}

.data-table { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 0.95rem; 
    margin: 0 !important; 
    background-color: #ffffff;
}

/* Header Cells styling */
.data-table th { 
    background-color: #1e272e; /* Slate black theme */
    color: #ffffff; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 0.5px; 
    padding: 12px 15px;
    border: 1px solid #34495e; /* Crisp border around head cells */
}

/* Data Cells styling with clean box grid lines */
.data-table td { 
    padding: 12px 15px; 
    text-align: left; 
    border: 1px solid #cccccc; /* Grid borders inside the card table view */
    color: #2f3640;
}

/* Zebra shading lines for quick, comfortable line-by-line scanning */
.data-table tr:nth-child(even) { 
    background-color: #f8f9fa; 
}


/* ==========================================================================
   2. GLOBAL NAVIGATION HEADER (DESKTOP DEFAULT)
   ========================================================================== */
header { 
    background: #ffffff; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.header-wrap { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 80px; 
    position: relative; 
}
.logo { 
    font-size: 1.6rem; font-weight: 700; color: var(--dark); 
}

/* Desktop Horizontal Menu Configuration */
nav { 
    display: flex !important; 
    gap: 20px; 
    align-items: center; 
    position: static; 
    width: auto; 
    background: transparent; 
    box-shadow: none; 
    padding: 0; 
}
nav a { 
    font-weight: 600; font-size: 0.95rem; transition: color 0.3s; color: var(--text); 
}
nav a:hover { 
    color: var(--primary); 
}
.btn-reg { 
    background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 4px; transition: background 0.3s; 
}
.btn-reg:hover { 
    background: var(--primary-hover); 
}

/* Hamburger Toggle Button Styling (Hidden on Desktop) */
.menu-toggle { 
    display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 1001; 
}
.menu-toggle span { 
    display: block; width: 100%; height: 3px; background-color: var(--dark); border-radius: 2px; transition: all 0.3s ease; 
}

/* ==========================================================================
   3. HERO PRESENTATION VIDEO SHOWCASE
   ========================================================================== */
.hero { 
    text-align: center; background: var(--light); padding: 50px 0; 
}
.hero h1 { 
    font-size: 2.5rem; margin-bottom: 10px; color: var(--dark); 
}
.hero p { 
    font-size: 1.2rem; margin-bottom: 30px; font-weight: 600; color: #57606f; 
}

/* Fluid Widescreen 16:9 Aspect Video Fix */
.video-container { 
    max-width: 800px; width: 100%; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-radius: 8px; overflow: hidden; position: relative; aspect-ratio: 16 / 9; 
}
.video-container iframe { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; object-fit: contain; 
}

/* ==========================================================================
   4. AVAILABLE WORK PROJECTS GRID MATRIX
   ========================================================================== */
.projects-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 20px; 
}
.project-card { 
    background: #ffffff; border: 1px solid #e1e8ed; border-radius: 8px; padding: 30px; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; 
}
.project-card:hover { 
    transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}
.project-card h3 { 
    font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); 
}
.project-card ul { 
    list-style-type: none; margin-bottom: 25px; 
}
.project-card ul li { 
    margin-bottom: 10px; font-size: 0.95rem; padding-left: 20px; position: relative; 
}
.project-card ul li::before { 
    content: "•"; color: var(--primary); font-weight: bold; font-size: 1.2rem; position: absolute; left: 0; top: -2px; 
}
.btn-readmore { 
    margin-top: auto; display: inline-block; text-align: center; border: 2px solid var(--primary); color: var(--primary); padding: 10px 0; font-weight: bold; border-radius: 4px; transition: all 0.3s; 
}
.btn-readmore:hover { 
    background: var(--primary); color: white; 
}

/* ==========================================================================
   5. HOVER ARROWS OUTSIDE FIXED SINGLE CAROUSEL DISPLAY
   ========================================================================== */
/* Outer Shell Wrapper: Flex layout centering elements horizontally */
.carousel-outer-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 920px !important; /* Extra room added to clear outer button channels */
    margin: 0 auto !important;
    position: relative !important;
    padding: 0 60px !important; /* Space buffer for arrow controls to rest inside */
    box-sizing: border-box;
}

/* Inner Sliding Viewport frame window */
.slider-viewport { 
    width: 100% !important; 
    max-width: 800px !important; 
    overflow: hidden !important; 
    position: relative !important; 
    border-radius: 8px !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; 
    background: var(--light) !important;
    border-top: 4px solid var(--primary) !important;
    box-sizing: border-box;
}

/* Filmstrip track linking panels horizontally */
.testimonials-slider { 
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.5s ease-in-out !important; 
}

/* Clean, standard card padding dimensions */
.testimonial-card { 
    width: 100% !important;
    min-width: 100% !important; 
    max-width: 100% !important;
    flex-shrink: 0 !important; 
    padding: 45px 40px !important; 
    text-align: center !important; 
    box-sizing: border-box !important; 
    display: flex !important; 
    flex-direction: column !important; 
    justify-content: space-between !important; 
}
.testimonial-card p { 
    font-style: italic !important; 
    font-size: 1.05rem !important; 
    margin-bottom: 20px !important; 
    color: #57606f !important; 
}
.stars { 
    color: #f1c40f !important; 
    margin-bottom: 15px !important; 
    font-size: 1.2rem !important; 
}
.author { 
    font-weight: 700 !important; 
    color: var(--dark) !important; 
    font-size: 0.95rem !important; 
    text-transform: uppercase !important; 
}

/* Navigation Controllers fixed outside on left/right wings */
.nav-arrow {
    position: absolute !important;
    top: 50% !important; 
    transform: translateY(-50%) !important;
    background: rgba(30, 39, 46, 0.7) !important; /* Semi-transparent background */
    color: #ffffff !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.3s ease !important;
}
.nav-arrow:hover {
    background: var(--primary) !important;
}

/* Absolute left/right alignment paths outside card card text borders */
.nav-arrow.prev { left: 0 !important; }
.nav-arrow.next { right: 0 !important; }

/* Responsive adjustments for phones and tablets */
@media (max-width: 768px) {
    .carousel-outer-wrapper {
        padding: 0 45px !important; /* Narrow width cushions spacing safely */
    }
    .testimonial-card {
        padding: 40px 20px !important; 
    }
    .testimonial-card p {
        font-size: 0.95rem !important;
    }
    .nav-arrow {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.9rem !important;
    }
}



/* ==========================================================================
   6. CONTACT US FORM & ADDRESS SECTIONS
   ========================================================================== */
.contact-box { 
    max-width: 600px; margin: 0 auto; background: #ffffff; padding: 40px; border: 1px solid #e1e8ed; border-radius: 8px; 
}
.form-group { 
    margin-bottom: 20px; 
}
.form-group label { 
    display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; 
}
.form-control { 
    width: 100%; padding: 12px; border: 1px solid #cccccc; border-radius: 4px; font-family: var(--font); font-size: 1rem; transition: border-color 0.3s; 
}
.form-control:focus { 
    outline: none; border-color: var(--primary); 
}
.btn-submit { 
    background: var(--primary); color: white; border: none; padding: 14px 28px; font-size: 1rem; font-weight: bold; border-radius: 4px; cursor: pointer; transition: background 0.3s; width: 100%; 
}
.btn-submit:hover { 
    background: var(--primary-hover); 
}
.status-success { 
    color: #27ae60; text-align: center; font-weight: 600; margin-bottom: 20px; 
}
.status-error { 
    color: #e74c3c; text-align: center; font-weight: 600; margin-bottom: 20px; 
}
.address-footer { 
    text-align: center; margin-top: 30px; font-size: 0.95rem; color: #57606f; 
}
.address-footer a { 
    color: var(--primary); font-weight: 600; 
}

/* ==========================================================================
   7. UNIFIED SITE FOOTER
   ========================================================================== */
footer { 
    background: var(--dark); color: #ffffff; padding: 25px 0; text-align: center; font-size: 0.9rem; 
}

/* ==========================================================================
   8. ADAPTIVE TABLET & MOBILE VIEW OVERRIDES (768PX AND DOWN)
   ========================================================================== */
@media (max-width: 768px) {
    .menu-toggle { 
        display: flex; 
    }
    
    nav { 
        position: absolute; top: 80px; left: 0; width: 100%; background: #ffffff; flex-direction: column; padding: 20px 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1); gap: 15px; text-align: center; display: none !important; 
    }
    nav.active { 
        display: flex !important; 
    } 
    
    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* MOBILE CAROUSEL MECHANICS OVERRIDE */
    .slider-viewport { 
        max-width: 100%; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    }
    .testimonials-slider { 
        display: flex; grid-template-columns: none; gap: 0; transition: transform 0.5s ease-in-out; width: 100%; 
    }
    .testimonial-card { 
        min-width: 100%; border-radius: 0; box-shadow: none; 
    }

    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .contact-box { padding: 20px; }
}

/* ========================================================================
   DESKTOP DEFAULT RULES (Laptops & Wide Screens)
   ======================================================================== */
.mobile-only-reg-btn {
    display: none !important; /* Completely hide the mobile button on desktop */
}
.desktop-only-reg-btn {
    display: inline-block !important; /* Show the normal button on desktop */
}

/* ========================================================================
   RESPONSIVE MOBILE RULES (For screens 768px and smaller)
   ======================================================================== */
@media (max-width: 768px) {
    /* 1. Show the mobile button on top bar near logo */
    .mobile-only-reg-btn {
        display: inline-block !important;
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    /* 2. Completely hide the desktop button out of the mobile menu layout */
    .desktop-only-reg-btn {
        display: none !important;
    }

    /* 3. Keep your mobile header container flex alignment uniform */
    .header-wrap {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}
