/* ==========================================================================
   CSS Variables & Global Styles
   ========================================================================== */
:root {
    --primary-color: #0A58CA; /* Industrial Blue */
    --primary-hover: #084298;
    --dark-color: #1a1a1a;
    --black-color: #111111;
    --text-color: #555555;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--black-color);
    font-weight: 700;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 100px 0;
}

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: -1;
    transition: var(--transition);
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

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

.btn-black {
    background-color: var(--black-color);
    color: var(--white);
}

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

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--black-color);
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
    background-color: var(--black-color);
    color: #cccccc;
    padding: 10px 0;
    font-size: 14px;
}

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

.topbar-left span {
    margin-right: 20px;
}

.topbar-left i {
    color: var(--primary-color);
    margin-right: 5px;
}

.topbar-right a {
    color: #cccccc;
    margin-left: 15px;
}

.topbar-right a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    background: var(--white);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo h1 {
    font-size: 36px;
    margin-bottom: 0;
    color: var(--black-color);
}

.logo h1 span {
    color: var(--primary-color);
}

.header-contact .contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 84, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.header-contact .text p {
    font-size: 14px;
    margin-bottom: 0;
    color: var(--text-color);
}

.header-contact .text h4 {
    margin-bottom: 0;
    font-size: 18px;
}

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

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.5s ease forwards;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

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

.nav-links {
    display: flex;
}

.nav-links li a {
    display: block;
    padding: 20px 25px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--black-color);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    padding: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 150px 0 180px;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero .subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.hero .subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.hero h2 {
    font-size: 64px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h2 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--white);
}

.hero p {
    color: #e0e0e0;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
    margin-bottom: 50px;
}

.section-title .sub-title {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    line-height: 1.2;
}

.section-title.light-text h2 {
    color: var(--white);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 5px solid var(--white);
}

.experience-badge h3 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 0;
    line-height: 1;
}

.experience-badge p {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 0;
}

.about-text {
    flex: 1;
}

.about-list {
    margin-top: 30px;
    margin-bottom: 40px;
}

.about-list li {
    font-size: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-list li i {
    color: var(--primary-color);
    background: rgba(255, 84, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-author {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eeeeee;
    padding-top: 30px;
}

.about-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    margin-bottom: 0;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--black-color);
    padding: 40px 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    height: 100%;
}

.service-card .service-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--white);
}

.service-card h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: #aaaaaa;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.read-more {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.read-more i {
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .read-more i {
    color: var(--white);
    transform: translateX(5px);
}

/* ==========================================================================
   Call To Action
   ========================================================================== */
.cta {
    background-color: var(--primary-color);
    padding: 60px 0;
}

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

.cta-text h2 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--black-color);
    color: #aaaaaa;
}

.footer-top {
    padding: 80px 15px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-widget h2 {
    color: var(--white);
    font-size: 30px;
}

.footer-widget h2 span {
    color: var(--primary-color);
}

.footer-widget h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.about-widget p {
    margin-bottom: 25px;
}

.footer-socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

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

.links-widget ul li {
    margin-bottom: 15px;
}

.links-widget ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-widget ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.contact-info li i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 5px;
}

.footer-bottom {
    background-color: #0d0d0d;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
    .about-inner {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 48px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar, .header-contact {
        display: none;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
}

/* ==========================================================================
   Subpages Specific Styles (Breadcrumb, Contact, Project)
   ========================================================================== */
.breadcrumb-banner {
    position: relative;
    padding: 120px 0 80px;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white-color);
}
.breadcrumb-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.breadcrumb-banner .container {
    position: relative;
    z-index: 2;
}
.breadcrumb-banner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}
.breadcrumb {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}
.breadcrumb li a {
    color: var(--primary-color);
    transition: color 0.3s;
}
.breadcrumb li a:hover {
    color: var(--white-color);
}
.breadcrumb li i {
    font-size: 12px;
    color: #ccc;
}

/* Company Stats */
.company-stats {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 50px 0;
}
.stats-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.stat-box h2 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.stat-box p {
    font-size: 18px;
    font-weight: 500;
    color: #ccc;
}

/* Contact Page Layout */
.contact-page {
    padding: 100px 0;
}
.contact-page-inner {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
}
.contact-form-wrapper {
    flex: 1.5;
    min-width: 300px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 5px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}
.contact-form .form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Map Section */
.map-section {
    width: 100%;
    height: 450px;
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Portfolio / Project Grid */
.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}
.portfolio-filters button {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s;
}
.portfolio-filters button.active,
.portfolio-filters button:hover {
    color: var(--primary-color);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(10, 88, 202, 0.9);
    color: var(--white-color);
    transition: bottom 0.4s ease-in-out;
}
.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}
.portfolio-overlay h3 {
    margin-bottom: 5px;
    font-size: 20px;
}
.portfolio-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
