/*=========================== 
Google Font Link
=============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/*=========================== 
CSS Reset
=============================*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    color: #444;
    overflow-x: hidden;
    /* Smooth scrolling for anchor links */
    scroll-behavior: smooth; 
}
section{
    padding: 80px 0;
}
h1{font-size: 60px;}
h2{font-size: 36px;}
h3{font-size: 25px;}
h4{font-size: 20px;}
h5{font-size: 18px;}
h6{font-size: 16px;}

h2,h3,h4,h5{
    color: black;
}

/*=========================== 
Reusable Classes
=============================*/

/* Colors */
:root{
    --primary-green: #009961;
    --light-green: #18d26e;
    --alert-orange: #FF9900; 
    --dark-blue: #1c2a38; /* New dark color for process section */
}
/* Logo */
.logo{
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}
.logo:hover{
    color: var(--alert-orange);
}
.logo .img-box{
    width: 2.25rem;
    margin-right: 5px;
}
.logo .img-box img {
    border-radius: 5px;
}

/* Social Links */
.social-links ul{
    list-style: none;
}
.social-links ul li{
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid white;
    padding: 10px;
    cursor: pointer;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.social-links ul li a .icon{
    text-decoration: none;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    transition: all 0.3s ease-in-out;
}
.social-links ul li:hover{
    background-color: var(--alert-orange);
    border-color: var(--alert-orange);
}
.social-links ul li:hover .icon{
    color: black;
}

/* Overlay (Darker for better text contrast) */
.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65); 
}

/* Call-to-Action Button (Stunning style) */
.call-to-action-btn{
    font-size: 18px;
    border: 2px solid var(--alert-orange);
    border-radius: 5px;
    color: black!important;
    background-color: var(--alert-orange);
    font-weight: 700;
    padding: 10px 30px;
    transition: all 0.3s ease-in-out;
}
.call-to-action-btn:hover{
    background-color: transparent;
    color: var(--alert-orange)!important;
    border-color: var(--alert-orange)!important;
}
/* Secondary CTA for dark sections */
.call-to-action-btn-secondary {
    font-size: 18px;
    border: 2px solid white;
    border-radius: 5px;
    color: white!important;
    background-color: transparent;
    font-weight: 700;
    padding: 10px 30px;
    transition: all 0.3s ease-in-out;
}
.call-to-action-btn-secondary:hover {
    background-color: var(--alert-orange);
    border-color: var(--alert-orange);
    color: black!important;
}


/* Section Title */
.section-title h2{
    font-weight: 700;
    padding-bottom: 40px;
    text-transform: uppercase;
}
.section-title p{
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
}
.section-title p::after{
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--primary-green);
    margin: 4px 10px;
}

/* Card */
.card{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border: none;
    transition: all 0.3s ease-in-out;
}
.card:hover {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 20px;
}

/*=========================== 
Navbar
=============================*/
.navbar{
    background-color: black;
    padding-top: 15px;
    padding-bottom: 15px;
}
.navbar-nav .nav-item{
    margin: 0 0.75rem;
}
.navbar-nav .nav-item .nav-link{
    font-size: 16px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    padding: 5px 0;
    position: relative;
}
.navbar-nav .nav-item .nav-link:hover{
    color: var(--primary-green);
}
.navbar .menu-icon{
    color: white;
    font-size: 2.25rem;
}
/* Focus color on active link */
.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease-in-out;
}
.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item .nav-link.active::after {
    width: 100%;
}

/*=========================== 
Hero Parallax
=============================*/
#hero-parallax{
    /* Use a high quality hero image and replace the placeholder below */
    background-image: url(/images/electrical-switchgear-industrial-electrical-switch-panel-electrical-switchgear-industrial-electrical-switch-panel-equipments-pipes-100805096.jpg); 
    min-height: 100vh;
    background-attachment: fixed; /* THE PARALLAX EFFECT */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    text-align: center;
    /* Ensure content is centered vertically */
    display: flex;
    align-items: center;
    justify-content: center;
}
#hero-parallax h1 {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}
#hero-parallax h2 {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}


/*=========================== 
About
=============================*/
#about .heading h3{
    font-weight: 600;
}
#about .sub-heading {
    font-style: italic;
}
#about .check-list{
    list-style: none;
    margin: 20px 0;
}
#about .check-list li p{
    margin-bottom: 5px;
}
#about .check-list li p .icon{
    margin-right: 5px;
    font-size: 25px;
    color: var(--primary-green);
    transform: translateY(5px);
}

/*=========================== 
Core Services Section
=============================*/
#core-services .service-card .icon-box {
    color: var(--alert-orange);
    font-size: 40px;
    margin-bottom: 15px;
}
#core-services .service-card {
    border-bottom: 3px solid var(--primary-green);
}

/*=========================== 
Manufacturing Process (New Section)
=============================*/
.process-section {
    background-color: var(--dark-blue);
    position: relative;
}
.process-step .icon-box-process {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: white;
    font-size: 30px;
    transition: background-color 0.3s ease;
}
.process-step:hover .icon-box-process {
    background-color: var(--alert-orange);
    color: var(--dark-blue);
}
.process-step h5 {
    font-weight: 600;
    margin-top: 15px;
}
/* This connects the steps visually (optional advanced design) */
.process-section::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
    display: none; /* Hide line on mobile */
}
@media (min-width: 768px) {
    .process-section::before {
        display: block;
    }
}

/*=========================== 
Achievements (Parallax Section 2)
=============================*/
#achievements{
    /* Use a dedicated, darker background for this section */
    background-image: url(/Images/Acheivements-img.jpg); 
    min-height: 50vh; 
    background-attachment: fixed; /* THE PARALLAX EFFECT */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    padding: 80px 0 60px 0;
}
#achievements .title{
    position: relative;
    z-index: 2;
    margin-bottom: 30px; 
}
#achievements .title h2{
    color: white;
}
#achievements .title p{
    color: #f3f3f3;
}
.achievement-box{
    position: relative;
    z-index: 2;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    border-radius: 5px;
    border-left: 5px solid var(--alert-orange);
    transition: transform 0.3s ease-in-out;
}
.achievement-box:hover {
    transform: scale(1.05);
}
.achievement-box h2{
    color: var(--alert-orange);
    font-size: 48px;
    font-weight: 700;
}
.achievement-box p {
    color: white;
    font-weight: 500;
}

/*=========================== 
Projects Gallery
=============================*/
#projects .project-card {
    overflow: hidden;
}
#projects .project-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
#projects .project-card:hover img {
    transform: scale(1.05);
}

/*=========================== 
Policies & Statements (Services)
=============================*/
#services .service-card{
    margin-bottom: 15px;
    padding: 1.5rem 0;
    border-left: 4px solid transparent;
    border-bottom: none;
}
#services .service-card .icon-box {
    margin-bottom: 15px;
    float: left;
    margin-right: 1.5rem;
}
#services .service-card:hover{
    transform: translateX(5px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 16px;
    border-left-color: var(--primary-green);
}


/*=========================== 
Contact
=============================*/
#contact{
    background-color: #f9f9f9;
}

/* Info Cards */
.info-card{
    padding: 28px 0;
    background: white;
    border-left: 3px solid var(--primary-green);
    transition: all 0.3s ease-in-out;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 16px;
}

/* Form */
#contact form{
    padding: 30px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
#contact form .form-group{
    margin-bottom: 20px;
}
#contact form input,
#contact form textarea{
    box-shadow: none;
    font-size: 14px;
    border-radius: 4px;
}
#contact form input:focus,
#contact form textarea:focus{
    border: 1px solid var(--primary-green);
}
#contact form textarea{
    padding: 12px 15px;
    outline: none;
    height: 10rem;
}

/*=========================== 
Footer
=============================*/
/* Footer Top */
.footer-top{
    padding-top: 60px;
    padding-bottom: 10px;
    background-color: #1b1b1b;
    color: white;
    font-size: 15px;
}
.footer-top .footer-box{
    margin-bottom: 15px;
    background-color: #222; 
    border-top: 4px solid var(--primary-green);
    padding: 20px 0;
}
.footer-top .footer-box a {
    color: white;
}

.footer-top .title{
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}
.footer-top .footer-links ul {
    list-style: none;
}
.footer-top .footer-links ul li{
    padding-bottom: 10px;
}
.footer-top .footer-links ul li .links{
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}
.footer-top .footer-links ul li .links:hover{
    color: var(--primary-green);
}
.footer-top .footer-news-letter form input{
    padding: 8px;
    border: none;
    border-radius: 2px;
    width: 70%;
}
.footer-top .footer-news-letter form .newsletter-btn{
    padding: 8px 15px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 2px;
    font-weight: 600;
    transition: background-color 0.3s ease-in-out;
}
.footer-top .footer-news-letter form .newsletter-btn:hover {
    background-color: var(--light-green);
}

/* Footer Bottom */
.footer-bottom{
    background-color: black;
}

.footer-bottom p{
    font-size: 14px;
    font-weight: 500;
    color: white;
}