/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-blue: #0f2b46;  /* Deep Industrial Blue */
    --safety-orange: #e67e22; /* Factory Safety Color */
    --steel-grey: #dfe6e9;    /* Metallic Light */
    --slate: #2d3436;         /* Dark Machine Grey */
    --tech-font: 'Rajdhani', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tech-font);
    font-weight: 700;
    text-transform: uppercase;
}

/* Common Section Wrapper */
/* section {
    position: relative;
    overflow: hidden;
} */

/* Apply this to specific sections or globally */
section {
    border-bottom: 4px solid #6c757d; /* changed Safety Orange to pink */
    position: relative; /* Ensures z-index works */
}

/* OPTIONAL: Remove border from the last section so it doesn't clash with footer */
section:last-of-type {
    border-bottom: none;
}

/* Common Animated Header Style */
.anim-head, .tech-title {
    position: relative;
    display: inline-block;
    padding: 10px 40px;
    background: var(--primary-blue);
    color: #fff;
    font-size: 3rem;
    font-family: var(--tech-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    /* Industrial Cut Corner */
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
    border-left: 5px solid #E83C91;
}

.anim-head {
    color: #2d3436; 
    background:#fff; 
    border-left-color: #E83C91;
    padding: 10px 40px;
}

.section-header-wrapper {
    text-align: center;
    /* margin-bottom: 50px; */
}

/* =========================================
   2. NAVBAR (Industrial Style)
   ========================================= */
.navbar {
    /* background-color: var(--primary-blue); */
    background-color:#0f2b46;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #E83C91; /* Safety Orange Border changed  */
}

.navbar.scrolled {
    background-color:#0f2b46; /* Deep Blue with slight opacity */
    padding: 0; /* Shrink back to normal height */
    /* border-bottom: 4px solid var(--safety-orange); Bring back orange border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.4); /* Bring back shadow */
    backdrop-filter: blur(5px); /* Optional: Blur effect */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    color: #ecf0f1 !important;
    font-family: var(--tech-font);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px !important;
    transition: 0.3s;
    position: relative;
}

.nav-link i {
    margin-left: 8px; /* Adds space between ERP text and the icon */
    font-size: 0.9em;  /* Makes the icon slightly smaller to match text */
    vertical-align: middle;
}

.nav-link:hover, .nav-link:focus {
    color: #E83C91 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #E83C91;
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after { width: 80%; }

/* Dropdown */
.dropdown-menu {
    background-color: var(--slate);
    border: 1px solid #4b6584;
    border-top: 3px solid #E83C91;
    border-radius: 0;
    padding: 0;
    margin-top: 22px !important; /* Adjust for navbar height */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-item {
    color: #bdc3c7;
    font-family: var(--tech-font);
    text-transform: uppercase;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-item:hover {
    background-color: var(--primary-blue);
    color: #E83C91;
    padding-left: 25px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #E83C91;
    margin: 3px 0;
}

@media (max-width: 991px) {
    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.hero-bg-slider, .hero-slide, .hero-overlay, .hero-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.hero-bg-slider { z-index: 1; }

/* Placeholder animation for background */
.hero-slide {
    background: #222; /* Fallback */
    animation: crossfade 15s infinite;
}

.hero-overlay {
    z-index: 2;
    background: linear-gradient(rgba(15, 43, 70, 0.85), rgba(0, 0, 0, 0.6));
}

.hero-grid {
    z-index: 2;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 900px;
}

.split-text-container {
    display: flex;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    overflow: hidden;
    font-style: italic;
    font-family: var(--tech-font);
    margin-top: 20px;
}

@keyframes slideInText {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-corner-image {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 150px;
    height: 100px;
    z-index: 15;
    border: 2px solid #ced4da;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    opacity: 0;
    animation: fadeInCorner 1.5s ease-out forwards 1s;
    object-fit: fill;
}

@keyframes fadeInCorner {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   4. ABOUT SECTION
   ========================================= */
.about-section {
    padding: 80px 0;
    background-image: 
        linear-gradient(rgba(15, 43, 70, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 43, 70, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.about-content p {
    font-size: 1.4rem;
    font-weight: bolder;
    line-height: 1.8;
    color: #555;
    border-left: 3px solid #dc3545;
    padding-left: 20px;
    text-align: justify;
    margin-top: 0;
    margin-right: 2rem;
}
/* ======================================== */
/* Mission/Vision Flip Cards */
/* =============================================  */

.container1 { width: 100%; margin-bottom: 20px; }

.card-flip {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 300px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #d1d1d1;
    overflow: hidden;
}

.card-flip .face {
    position: absolute;
    bottom: 0; left: 0; width: 100%; 
}

.card-flip .face1 {
    height: 100%;
    padding: 20px;
    padding-bottom:80px ;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-flip .face1 h2 {

    color: var(--primary-blue);
    border-bottom: 2px solid #E83C91;
    display: inline-block;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-flip .face2 {
    height: 60px;
    background: linear-gradient(180deg, #2c3e50 0%, #000000 100%);
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* .card-flip:hover .face2 { height: 60px; } */

.card-flip .face2 h2 {
    font-size: 3rem;
    color: #fff;
    margin: 0;
    transition: 0.5s;
}
/* .card-flip:hover .face2 h2 { font-size: 1.5rem; } */


.mission-list-arrow {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list-arrow li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    color: #555;
    line-height: 1.3;
}

.mission-list-arrow li::before {
    content: '\f0da'; /* Font Awesome Chevron/Arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #E83C91; /* Your Dark Blue Theme Color */
}

/* WRAPPER: Forces children to sit side-by-side */
.custom-card-row {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Space between the two cards */
    width: 100%;
}

/* COLUMNS: Forces them to take exactly 50% width each */
.custom-card-col {
    flex: 1; /* Both cards will grow equally */
    min-width: 300px; /* Prevents them from getting too skinny */
}

/* RESPONSIVE: Stacks them only on Mobile phones */
@media (max-width: 768px) {
    .custom-card-row {
        flex-direction: column; /* Switches back to stack on phone */
    }
}

/* ======================================== */
/* Founder Section */
/* ============================================== */

.founder-sec {
    background-color: #1e272e;
    color: white;
    /* border-top: 5px solid var(--safety-orange); */
    padding: 69px 0;
    padding-bottom:30px;
}

.founder-sec p { color: #b2bec3; font-size: 1.1rem; text-align: justify; }

.leadership-cont {
    font-size: 1.3rem !important;
    font-weight: 400;
    padding-bottom: inherit;
    /* line-height: 1.3;
    border-left: 4px solid #E83C91; */
}
.card-auth {
    position: relative;
    width: 300px;
    height: 220px;
    margin: 20px auto;
}

.card-auth .slide {
    width: 300px;
    height: 200px;
    transition: 0.5s ease-in-out;
    position: absolute;
    top: 0; left: 0;
}

.card-auth .slide1 {
    z-index: 2;
    background: #34495e;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border-bottom: 4px solid #E83C91;
}

.card-auth .slide2 {
    z-index: 1;
    background: #ecf0f1;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transform: translateY(-80px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-radius: 0 0 4px 4px;
}

.card-auth .slide1:hover + .slide2 { transform: translateY(200px); }
.card-auth .slide2 h3 { color: var(--primary-blue); font-size: 1.2rem; margin: 0; }
.card-auth .slide2 p { color: #555; font-size: 0.9rem; margin: 0; }

.slide1 img {
    width:50%; 
    height: auto;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px var(--primary-blue);
    object-fit: cover;
}




/* =========================================
   5. FACILITIES SECTION
   ========================================= */

.facilities-section {
    padding: 80px 0;
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(15, 43, 70, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 43, 70, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ====================================================================================================================================== */

.catalog-container {
            display: flex;
            background: #fff;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-radius: 8px;
            overflow: hidden;
            height: 525px;
            margin-left: 100px;
            margin-right: 100px;
        }

        /* --- SIDEBAR (Updated with Marker Fix) --- */
        aside {
            width: 250px;
            background-color: #1e272e;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            padding-top: 20px;
            z-index: 20;
        }

.parts-nav { list-style: none; width: 100%; }

.filter-btn {
    width: 100%; 
    padding: 20px 25px; 
    background: transparent; 
    border: none; 
    text-align: left; 
    color: #aaa; 
    font-size: 1rem; 
    cursor: pointer;
    transition: all 0.3s;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: relative; 
}

        /* The Custom Marker */
.filter-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;      
    height: 20px;     /* Small vertical marker */
    background-color: transparent;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.3s;
}

.filter-btn:hover { color: #E83C91; background-color: rgba(255,255,255,0.02); }
.filter-btn.active { color: #E83C91; }
.filter-btn.active::before { background-color: #E83C91; }
.filter-btn i { font-size: 0.8rem; }

/* --- SLIDER STYLES --- */
.slider-container { position: relative; overflow: hidden; flex-grow: 1; height: 100%; }

/* LEFT SLIDE (Text) */
.left-slide {
    height: 100%; width: 40%; position: absolute; top: 0; left: 0;
    transition: transform 2s cubic-bezier(0.6, 0.05, 0.28, 0.91);
    background: #2d3436;
}
.left-slide > div {
    height: 100%; width: 100%; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center; padding: 0 3rem; color: #fff;
}
.left-slide h1 { font-size: 2.5rem; margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; }
.left-slide p { font-size: 0.95rem; opacity: 0.8; margin-bottom: 2rem; line-height: 1.6; }
.photo-counter { font-size: 0.75rem; color: #00d2ff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;}

.btn-details {
    padding: 10px 25px; background: transparent; border: 1px solid rgba(255,255,255,0.4);
    color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
    cursor: pointer; transition: 0.3s;
}
.btn-details:hover { background: #fff; color: #333; }

/* RIGHT SLIDE (Images) */
.right-slide {
    height: 100%; position: absolute; top: 0; left: 40%; width: 60%;
    transition: transform 2s cubic-bezier(0.6, 0.05, 0.28, 0.91);
    cursor: pointer; /* Shows user it is clickable */
}
.right-slide > div {
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;
    image-rendering: -webkit-optimize-contrast;
    height: 100%;
    width: 100%;
}



/* Pause Icon Overlay */
.pause-indicator {
    position: absolute; top: 50%; left: 70%; transform: translate(-50%, -50%);
    font-size: 4rem; color: rgba(255,255,255,0.7); pointer-events: none;
    opacity: 0; transition: opacity 0.3s; z-index: 50;
}
.paused .pause-indicator { opacity: 1; }

/* CONTROLS */
.action-buttons button {
    position: absolute; left: 40%; z-index: 100;
    background-color: rgb(0 0 0 / 11%); border: none; color: #aaa; cursor: pointer;
    padding: 15px; width: 50px; height: 50px; font-size: 1rem;
    transition: 0.3s; transform: translateX(-50%);
}
.action-buttons button:hover { color: #222; background-color: #f0f0f0; }
.action-buttons .down-button { top: 50%; border-radius: 0 0 5px 5px; }
.action-buttons .up-button { top: calc(50% - 50px); border-radius: 5px 5px 0 0; }

/* PAGINATION */
.pagination {
    position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 8px; z-index: 100;
}
.dot {
    width: 8px; height: 8px; background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%; cursor: pointer; transition: all 0.3s ease;
}
.dot.active { background-color: #fff; transform: scale(1.5); }

/* RESPONSIVE */
@media(max-width: 900px) {
    .catalog-container { flex-direction: column; height: auto; }
    aside { width: 100%; }
    .parts-nav { display: flex; overflow-x: auto; }
    .filter-btn { border-left: none; border-bottom: 4px solid transparent; }
    .filter-btn.active { border-left: none; } 
    .filter-btn::before { width: 100%; height: 4px; top: auto; bottom: 0; left: 0; transform: none; }
    .slider-container { height: 500px; width: 100%; aspect-ratio: 4 / 3; }
    .left-slide { width: 100%; z-index: 10; background: rgba(0,0,0,0.7); }
    .right-slide { width: 100%; left: 0; }
    .action-buttons button { left: 90%; }
    .pause-indicator { left: 50%; }
}



/* =========================================
   6. Product Range Section
   ========================================= */

#products {
    background-color: #1e272e;
    color: white;
    /* border-top: 5px solid var(--safety-orange); */
    padding: 80px 0;
}
.slider-viewport {
    width: 100%;
    height: 580px; /* Tall enough for 2 rows */
    background-color: #1e272e;
    border-radius: 10px;
    position: relative;
    /* padding: 10px; */
    box-sizing: border-box;
    justify-items: center;
}

.slider-content {
    width: 88%;
    height: 100%;
    overflow-x: auto; 
    overflow-y: hidden;
    white-space: nowrap; 
    padding: 20px 0; 
    scroll-behavior: auto;
}

/* Scrollbar Styling */
.slider-content::-webkit-scrollbar { height: 12px; }
.slider-content::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; margin: 0 20px; }
.slider-content::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; cursor: pointer; }
.slider-content::-webkit-scrollbar-thumb:hover { background: #555; }

/* The Grid */
.slider-grid {
    display: inline-grid;
    grid-template-rows: repeat(2, 1fr); /* 2 Rows locked */
    grid-auto-flow: column; /* Flow to the right */
    gap: 30px; 
    padding: 10px 40px;
}

/* Product Card Styles */
.product-card {
    width: 200px;
    height: 240px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    user-select: none;
}

.product-card img {
    width: 75%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.product-card p {
    margin: 5px 0 0;
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
}

/* HOVER ZOOM EFFECT */
.product-card:hover {
    transform: scale(1.15); /* 15% Bigger */
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border-color: #E83C91;
    background-color: #fff;
    z-index: 100; /* On top of other cards */
}



/* =========================================
   7. CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(15, 43, 70, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 43, 70, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-frame {
    border: 4px solid var(--primary-blue);
    padding: 0px; 
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    height: 300px; 
    width: 100%;
}

/* Force the map to fill the frame exactly */
.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Removes inline spacing issues */
}

.info-panel {
    margin-top: 20px;
    background: #fff;
    border-left: 4px solid #E83C91;
    padding: 15px;
}

.info-item { display: flex; margin-bottom: 15px; color: #555; }
.info-item i { color: var(--primary-blue); font-size: 1.5rem; margin-right: 15px; }

.contact-form-panel {
    background: linear-gradient(145deg, #1a3c5e 0%, #0f2b46 100%);
    padding: 30px;
    color: #fff;
    border-top: 4px solid #E83C91;
}

.form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid #4b6584;
    border-radius: 0;
    color: #fff;
    height: 45px;
}

textarea.form-control {
    height: auto;        /* Allows the rows attribute to work */
    min-height: 100px;   /* Forces a minimum height just in case */
    padding-top: 15px;   /* Adds some space at the top for better typing */
}

.form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}
.form-control::placeholder { color: rgba(255,255,255,0.3); }

.btn-form { width: 100%; font-size: 1.2rem; margin-top: 10px; }
/* Base Style for the Industrial Button */
.btn-industrial {
    background-color: #333; /* Dark industrial base */
    color: #ffffff;
    padding: 12px 30px;
    border: 2px solid #444;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    /* Smooth transition for the illumination effect */
    transition: all 0.4s ease; 
    position: relative;
    overflow: hidden;
}

/* THE ILLUMINATION EFFECT ON HOVER */
.btn-industrial:hover {
    background-color: transparent; /* Changes to your brand blue */
    border-color: #E83C91;     /* Lighter blue border */
    color: #fff;
    
    /* 1. Box Glow: Creates a neon aura around the button */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6), 
                0 0 20px rgba(0, 123, 255, 0.4), 
                0 0 30px rgba(0, 123, 255, 0.2);
    
    /* 2. Text Glow: Makes the letters look like they are glowing */
    /* text-shadow: 0 0 8px rgba(255, 255, 255, 0.8); */

    /* 3. Increase brightness slightly */
    filter: brightness(1.2);
    
    /* 4. Slight lift effect */
    transform: translateY(-2px);
}

/* Active (Click) State */
.btn-industrial:active {
    transform: translateY(0px);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.8);
}

/* =========================================
   8. FOOTER
   ========================================= */
.industrial-footer {
    background-color: #1e272e;
    color: #b2bec3;
    margin-top: auto;
    border-top: 5px solid #2d3436;
}

.hazard-strip {
    width: 100%; height: 10px;
    background: repeating-linear-gradient(45deg, #f1c40f, #f1c40f 10px, #2d3436 10px, #2d3436 20px);
    border-bottom: 3px solid #000;
}

.footer-col { padding: 40px 15px; }
.footer-head {
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.footer-head::after {
    content: ''; position: absolute; left: 0; bottom: -5px;
    width: 40px; height: 3px; background-color: var(--safety-orange);
}

.social-links { display: flex; gap: 10px; margin-top: 15px; }
.social-links a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 40px; height: 40px;
    background: #34495e; color: #fff;
    text-decoration: none; border-radius: 2px; transition: 0.3s;
}
.social-links a:hover { background: var(--safety-orange); transform: translateY(-3px); }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bdc3c7; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }

.contact-plate {
    background: #2d3436; padding: 20px;
    border: 1px solid #4b6584; position: relative;
}
.contact-info { list-style: none; padding: 0; }
.contact-info li { margin-bottom: 15px; display: flex; align-items: center; }
.contact-info li i {
    width: 30px; height: 30px; background: var(--safety-orange); color: #fff;
    display: flex; justify-content: center; align-items: center; margin-right: 15px;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.copyright-box {
    border-top: 1px dashed #555;
    padding: 20px 0; text-align: center; margin-top: 20px;
}

/* --- NAVIGATION (Number Links) --- */




/* =======================
      Certification
======================= */

/* 1. The Container - Controls the size and shape */
/* --- NEW: The Container to align them in a row --- */
/* Container for the certificate to give it a "Document" feel */
.cert-frame {
    padding: 10px;
    width: 50%;
    height: auto;
    background: #fff;
    margin-left: 55px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Soft shadow */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Optional: Slight lift on hover (but no expansion) */
.cert-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.cert-frame-1 {
    margin-left: 200px; /* Space between the two certificates */

}
/* Ensures images fit perfectly inside the columns */
.cert-frame img {
    /* width: 100%;
    height: auto; */
    display: block;
    border-radius: 4px;
}


/* =================================
Hero section nilson-logo
================================= */

.brand-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        background-color: transparent;
        gap: 20px; /* Space between logo and text */
    }

    /* --- 1. LOGO STYLES --- */
    .morph-container {
        width: 400px;
        height: 150px;
        overflow: hidden;
        opacity: 0; 
        
        /* Master Duration: 6s */
        animation: cinematicReveal 6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    }

    .morph-container img {
        width: 100%;
        height: 100%;
        object-fit: scale-down;
    }

    @keyframes cinematicReveal {
        /* 0% - 30%: The Reveal Action */
        0% {
            opacity: 0;
            transform: scale(0.2) rotate(-90deg);
            border-radius: 50%;
            filter: blur(10px);
            box-shadow: 0 0 0 rgba(0,0,0,0);
        }
        20% { /* The Flash point */
            opacity: 1;
            transform: scale(1.2) rotate(0deg);
            border-radius: 50%;
            box-shadow: 0 0 60px rgba(100, 200, 255, 0.8);
            filter: blur(0px);
        }
        30% {
            opacity: 1;
            transform: scale(1) rotate(0deg);
            border-radius: 12px;
        }

        /* 30% - 85%: Stay Visible (While text types) */
        85% {
            opacity: 1;
            transform: scale(1) rotate(0deg);
            border-radius: 12px;
        }

        /* 85% - 100%: Fade Out */
        100% {
            opacity: 0;
            transform: scale(1) rotate(0deg);
            border-radius: 12px;
        }
    }

    /* --- 2. TEXT STYLES --- */
    .typing-text {
        font-family: 'Courier New', monospace;
        font-size: 24px;
        color: white;
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        border-right: 3px solid transparent; /* Hidden by default */
        
        width: 0; 
        max-width: 21ch; 
        
        /* Master Duration: 6s (Must match logo) */
        animation: 
            typingSync 6s steps(21) infinite,
            cursorBlink .5s step-end infinite alternate;
    }

    @keyframes typingSync {
        /* 0% - 35%: WAIT (Logo is revealing) */
        0% { width: 0; border-right-color: transparent; }
        35% { width: 0; border-right-color: #00d2ff; } 

        /* 35% - 55%: TYPE (1.2 seconds of typing) */
        55% { width: 21ch; border-right-color: #00d2ff; }

        /* 55% - 80%: READ (Hold text) */
        80% { width: 21ch; border-right-color: #00d2ff; }

        /* 80% - 90%: DELETE (Backspacing) */
        90% { width: 0; border-right-color: transparent; }

        /* 90% - 100%: PAUSE (Before restart) */
        100% { width: 0; border-right-color: transparent; }
    }

    @keyframes cursorBlink {
        50% { border-color: transparent; }
    }





/* Facility Active action: */
/* 1. Basic button style (Optional - just to make it look clean) */



