/* --- Global Variables & Reset --- */
:root {
    --primary-blue: #0A2240;   
    --electric-blue: #0056b3;
    --accent-red: #D91A1A;     
    --accent-orange: #FF6B00;  
    --light-grey: #F4F6F9;
    --dark-text: #222222;
    --light-text: #FFFFFF;
    --muted-text: #666666;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--electric-blue); color: var(--light-text); }
.btn-primary:hover { background: #004085; }
.btn-red { background: var(--accent-red); color: var(--light-text); }
.btn-red:hover { background: #b31212; }
.btn-orange { background: var(--accent-orange); color: var(--light-text); }
.btn-orange:hover { background: #d45900; }

/* --- Navbar & Extracted Logo (From Screenshot 2026-06-22 193540.png) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-blue);
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Extraction styling elements derived from image structure */
.extracted-logo {
    position: relative;
    width: 55px;
    height: 55px;
    background: #ffffff;
    border: 3.5px solid var(--accent-red);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dark Grey Tower Elements */
.tower-line {
    position: absolute;
    bottom: 12px;
    width: 2.5px;
    height: 32px;
    background: #333333;
}
.line-left { transform: rotate(14deg); left: 21px; }
.line-right { transform: rotate(-14deg); right: 21px; }

.tower-cross {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #333333;
}
.cross-1 { top: 18px; width: 22px; }
.cross-2 { top: 26px; }

/* Red Lightning Bolt Overlay */
.lightning-bolt {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-right: 14px solid var(--accent-red);
    border-bottom: 18px solid transparent;
    transform: rotate(25deg) skewX(-15deg);
    top: 2px;
    z-index: 3;
}
.lightning-bolt::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-left: 12px solid var(--accent-red);
    border-bottom: 22px solid transparent;
    top: -15px;
    left: -4px;
}

/* Glowing Orange Power Button */
.power-button {
    position: absolute;
    bottom: -1px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FFAA00, var(--accent-orange));
    border-radius: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.2);
}
.power-button i {
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

/* Mini version for footer matching */
.extracted-logo.mini {
    width: 40px;
    height: 40px;
    border-width: 2.5px;
}
.extracted-logo.mini .tower-line { height: 22px; bottom: 8px;}
.extracted-logo.mini .line-left { left: 15px; }
.extracted-logo.mini .line-right { right: 15px; }
.extracted-logo.mini .tower-cross { width: 12px; }
.extracted-logo.mini .cross-1 { top: 12px; width: 14px; }
.extracted-logo.mini .cross-2 { top: 18px; }
.extracted-logo.mini .lightning-bolt { border-top-width: 14px; border-right-width: 10px; top: 1px; }
.extracted-logo.mini .power-button { width: 16px; height: 16px; }
.extracted-logo.mini .power-button i { font-size: 8px; }

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--light-text);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.brand-text span { color: var(--accent-orange); }

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 400;
    transition: var(--transition);
    padding-bottom: 5px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent-orange); }

.hamburger {
    display: none;
    color: var(--light-text);
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 60px;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.hero-content {
    text-align: center;
    color: var(--light-text);
    max-width: 800px;
    padding: 20px;
}
.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 5px solid var(--accent-orange);
    padding-left: 15px;
    display: inline-block;
}
.hero-content p { font-size: 20px; margin-bottom: 30px; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.slider-arrow:hover { background: var(--accent-orange); }
.prev { left: 20px; }
.next { right: 20px; }

/* --- Image Placeholders Standard --- */
.image-placeholder {
    width: 100%;
    height: 350px;
    background: #e9ecef;
    border: 3px dashed #ced4da;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.placeholder-text {
    text-align: center;
    color: var(--muted-text);
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
}
.placeholder-text i { font-size: 40px; margin-bottom: 10px; color: var(--accent-red); }

/* --- About Section --- */
.subtitle { color: var(--accent-red); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.about-text h2 { font-size: 36px; margin: 10px 0 20px; }
.lead { font-size: 18px; font-weight: 600; color: var(--primary-blue); margin-bottom: 15px; }
.values-box { margin-top: 30px; }
.value-item { display: flex; margin-bottom: 20px; align-items: flex-start; }
.value-item i { font-size: 24px; margin-right: 15px; margin-top: 5px; }
.text-orange { color: var(--accent-orange); }
.text-red { color: var(--accent-red); }

/* --- Services Section --- */
.bg-light { background: var(--light-grey); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; position: relative; padding-bottom: 15px;}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
}

.service-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid var(--primary-blue);
}
.service-card:hover { transform: translateY(-5px); border-top-color: var(--accent-orange); }
.icon-box { width: 60px; height: 60px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--light-text); font-size: 24px; margin-bottom: 20px; }
.bg-blue { background: var(--primary-blue); }
.bg-red { background: var(--accent-red); }
.bg-orange { background: var(--accent-orange); }

/* --- NEW: Portfolio Section --- */
.portfolio-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.portfolio-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    background: #e9ecef;
}
.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
.portfolio-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #adb5bd;
    z-index: 1;
}
.portfolio-placeholder i { font-size: 48px; color: var(--primary-blue); margin-bottom: 10px; }
.portfolio-placeholder span { font-size: 12px; font-weight: 600; }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 34, 64, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    z-index: 4;
    transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.project-tag {
    color: var(--accent-orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.portfolio-overlay h3 { color: var(--light-text); font-size: 18px; margin-bottom: 10px; }
.portfolio-overlay p { color: #cbd5e1; font-size: 13px; line-height: 1.5; }

/* --- UPDATED: Contact Info Section --- */
.contact-details { list-style: none; margin: 25px 0; }
.contact-details li { margin-bottom: 20px; font-size: 16px; display: flex; align-items: center; }
.contact-details li i { color: var(--accent-orange); margin-right: 15px; font-size: 20px; }

.social-connect h4 { font-size: 16px; margin-bottom: 15px; color: var(--primary-blue); }
.social-icon-row { display: flex; gap: 15px; }
.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}
.facebook { background: #3b5998; }
.linkedin { background: #0077b5; }
.twitter { background: #000000; }
.social-btn:hover { transform: translateY(-3px); filter: brightness(1.15); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

.contact-image-placeholder {
    width: 100%;
    height: 400px;
    background: #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.contact-image-placeholder img { width: 100%; height: 100%; object-fit: cover; position: absolute; z-index: 2; }

/* --- Footer --- */
footer { background: var(--primary-blue); color: var(--light-text); padding: 30px 0; font-size: 14px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 22px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float span { font-size: 14px; font-weight: 600; margin-left: 8px; display: inline-block; }
.whatsapp-float:hover { background-color: #128C7E; transform: scale(1.05); }

/* --- Responsive Layout Optimization --- */
@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 36px; }
    .contact-image-placeholder { height: 300px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: auto;
        background: var(--primary-blue);
        flex-direction: column;
        display: flex;
        padding: 20px 0;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { left: 0; }
    .nav-menu a { margin: 15px 30px; font-size: 18px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-slider { height: 70vh; }
    .hero-content h2 { font-size: 26px; }
    .hero-content p { font-size: 16px; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 15px; border-radius: 50%; }
}