/* style.css - Complete Updated Version with SVG Logo Clarity */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #005293 0%, #006548 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003865 0%, #002447 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 82, 147, 0.3);
}

.btn-secondary {
    background: #DC052D;
    color: white;
}

.btn-secondary:hover {
    background: #a80423;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 5, 45, 0.3);
}

.btn-light {
    background: white;
    color: #005293;
    border: 2px solid #005293;
}

.btn-light:hover {
    background: #005293;
    color: white;
    transform: translateY(-3px);
}

/* Header & Navigation */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #005293;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px; /* Fixed height to prevent navigation bar from growing */
}

/* ===== SVG LOGO - CRYSTAL CLEAR WITH INCREASED SIZE ===== */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0px; /* Reduced gap from 15px to 5px */
    flex-shrink: 0;
    margin-left: -80px; /* Shifted left to maximize screen space */
}

.logo-image {
    width: 650px;  /* Extreme increase for massive brand impact */
    height: auto;
    max-height: 320px; /* Dominating the header with a deep pop-out effect */
    object-fit: contain;
    object-position: left;
    
    /* SMOOTH RENDERING */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(0, 82, 147, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    line-height: 1.1; /* Tighter line height */
}

.logo-text span:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; /* Slightly reduced from 1.8rem to balance with larger logo */
    font-weight: 800;
    color: #005293;
    line-height: 1.1;
    letter-spacing: -0.5px;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.logo-text span:last-child {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem; /* Slightly reduced from 0.85rem */
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #DC052D;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #005293;
}

/* Services Dropdown */
.services-dropdown {
    position: relative;
}

.services-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 4px solid #DC052D;
    padding: 15px 0;
}

.services-dropdown:hover .services-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services-dropdown-content a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.services-dropdown-content a:hover {
    background: rgba(0, 82, 147, 0.05);
    color: #005293;
    padding-left: 30px;
}

.services-dropdown-content a:last-child {
    border-bottom: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-slider {
    /* margin-top: 80px; */
    height: 500px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #002a4a 0%, #005293 45%, #003865 100%);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding-right: 30px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #005293;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Services Section */
.services-overview {
    padding: 20px 0;
    background: white;
}

.section-header {
    text-align: center;
    /* margin-bottom: 50px; */
}

.section-header h2 {
    font-size: 2.5rem;
    color: #005293;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 82, 147, 0.2);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: #005293;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: #DC052D;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #005293;
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 20px 0;
    background: #f8f9fa;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 82, 147, 0.15);
}

.why-icon {
    font-size: 3rem;
    color: #DC052D;
    margin-bottom: 20px;
}

.why-card h3 {
    color: #005293;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Office Address Section */
.office-address {
    padding: 80px 0;
    background: white;
}

.office-address h2 {
    text-align: center;
    color: #005293;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.address-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.address-content {
    padding-right: 30px;
}

.address-details {
    margin-bottom: 30px;
}

.address-details h3 {
    color: #005293;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.address-details p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-details i {
    color: #DC052D;
    font-size: 1.2rem;
    width: 20px;
}

.address-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-details a:hover {
    color: #DC052D;
}

.address-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.address-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #DC052D;
    padding-left: 5px;
}

/* Prevent text jumping and blinking on contact info links */
.footer-col ul li a[href^="mailto:"],
.footer-col ul li a[href^="tel:"],
a[href^="mailto:"],
a[href^="tel:"] {
    display: inline;
    padding-left: 0 !important;
    transform: none !important;
    transition: color 0.25s ease !important;
}

.footer-col ul li a[href^="mailto:"]:hover,
.footer-col ul li a[href^="tel:"]:hover,
a[href^="mailto:"]:hover,
a[href^="tel:"]:hover {
    color: #DC052D !important;
    padding-left: 0 !important;
    transform: none !important;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #DC052D;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.cta-final {
    background: linear-gradient(135deg, #005293 0%, #006548 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-final-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-final-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .btn-light {
    background: white;
    color: #005293;
    border: 2px solid white;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: none;
}

.cta-final .btn-light:hover,
.cta-final .btn-light:focus,
.cta-final .btn-light:active {
    background: white;
    color: #005293;
    border: 2px solid white;
    transform: none;
    box-shadow: none;
}

.slide-animation {
    animation: none;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 1200px) {
    .why-choose-us .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Logo responsive for tablet */
    .logo-image {
        width: 480px;
        max-height: 250px;
    }
    
    .logo-text span:first-child {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .about-container,
    .address-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Main Mobile Menu Fixes */
@media (max-width: 768px) {
    /* Logo responsive */
    .logo-image {
        width: auto !important;
        max-height: 52px !important;
        max-width: 260px !important;
    }
    
    .logo-text span:first-child {
        font-size: 1.4rem;
    }
    
    .logo-text span:last-child {
        font-size: 0.75rem;
    }
    
    .logo {
        gap: 10px;
        margin-left: 0 !important;
    }
    
    /* Header & Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: block;
        list-style: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 25px !important;
        font-size: 1rem;
        color: #333;
        text-decoration: none;
        width: 100%;
        text-transform: uppercase;
        font-weight: 600;
    }
    
    .nav-link:hover {
        background: #f8f9fa;
        color: #005293;
    }
    
    .nav-link.active {
        color: #005293;
        background: rgba(0,82,147,0.05);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Services Dropdown Mobile Fix */
    .services-dropdown {
        position: relative;
    }
    
    .services-dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .services-dropdown .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .services-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .services-dropdown-content {
        display: none;
        position: static !important;
        width: 100%;
        background: #f8f9fa;
        padding: 10px 0;
        box-shadow: none;
        border-top: 2px solid #DC052D;
        border-radius: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: auto;
    }
    
    .services-dropdown.active .services-dropdown-content {
        display: block !important;
    }
    
    .services-dropdown-content a {
        padding: 12px 35px !important;
        font-size: 0.95rem;
        color: #555;
        border-bottom: 1px solid #e9e9e9;
        display: block;
        text-decoration: none;
    }
    
    .services-dropdown-content a:hover {
        background: rgba(0,82,147,0.1);
        color: #005293;
        padding-left: 45px !important;
    }
    
    .services-dropdown-content a:last-child {
        border-bottom: none;
    }
    
    /* Hero Section Fixes */
    .hero-slider {
        height: 420px !important;
    }
    
    .slide-content {
        padding: 0 15px;
        width: 100%;
    }
    
    .slide-content h1 {
        font-size: 2rem !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: 1rem !important;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .slide-content .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Grid Adjustments */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .why-choose-us .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .hero-slider {
        height: 400px !important;
    }
    
    .slide-content h1 {
        font-size: 1.6rem !important;
    }
    
    .slide-content p {
        font-size: 0.9rem !important;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .why-card {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-dropdown-content a {
        padding: 10px 30px !important;
        font-size: 0.9rem;
    }
    
    /* Logo for small mobile */
    .logo-image {
        width: auto !important;
        max-height: 46px !important;
        max-width: 220px !important;
    }
    
    .logo-text span:first-child {
        font-size: 1.2rem;
    }
    
    .logo-text span:last-child {
        font-size: 0.65rem;
    }
    
    .logo {
        gap: 8px;
        margin-left: 0 !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .logo-image {
        width: auto !important;
        max-height: 42px !important;
        max-width: 190px !important;
    }
    
    .slide-content h1 {
        font-size: 1.4rem !important;
    }
    
    .slide-content p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 360px) {
    .logo-image {
        width: auto !important;
        max-height: 38px !important;
        max-width: 160px !important;
    }
    
    .slide-content h1 {
        font-size: 1.2rem !important;
    }
    
    .logo-text span:first-child {
        font-size: 1rem;
    }
    
    .logo-text span:last-child {
        font-size: 0.6rem;
    }
}

/* Fix for dropdown toggle cursor */
.services-dropdown .dropdown-toggle {
    cursor: pointer;
}


/* ===== PROCESS STUDY SECTION (Industries Approach) ===== */
.process-study-section {
    padding: 20px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.process-study-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-study-header {
    text-align: center;
    margin-bottom: 20px;
}

.process-study-header h2 {
    color: #005293;
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.process-study-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #005293, #DC052D);
}

.process-study-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* margin-bottom: 60px; */
}

.process-card {
    background: white;
    border-radius: 20px;
    padding: 20px 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 82, 147, 0.2);
    border-bottom-color: #DC052D;
}

.process-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 82, 147, 0.1), rgba(220, 5, 45, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: linear-gradient(135deg, #005293, #DC052D);
    transform: scale(1.05);
}

.process-icon i {
    font-size: 1.5rem;
    color: #005293;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon i {
    color: white;
}

.process-card h3 {
    color: #005293;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.process-card:hover h3 {
    color: #DC052D;
}

.process-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.process-feature-list {
    list-style: none;
    margin-top: auto;
}

.process-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #666;
    font-size: 0.9rem;
}

.process-feature-list li i {
    color: #28a745;
    font-size: 0.9rem;
}

.process-integrated-banner {
    background: linear-gradient(135deg, #005293 0%, #003865 100%);
    border-radius: 20px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.process-integrated-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 50,50" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.1;
}

.banner-text {
    flex: 2;
    position: relative;
    z-index: 1;
}

.banner-text h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.banner-image {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    width: 200px;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.banner-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.banner-image:hover img {
    transform: scale(1.05);
}

/* Industries Dropdown Styles */
.industries-dropdown {
    position: relative;
}

.industries-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 4px solid #DC052D;
    padding: 10px 0;
}

.industries-dropdown:hover .industries-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.industries-dropdown-content a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.industries-dropdown-content a:hover {
    background: rgba(0, 82, 147, 0.05);
    color: #005293;
    padding-left: 30px;
}

.industries-dropdown-content a:last-child {
    border-bottom: none;
}

/* ===== FIX: Header Height and Hero Section Spacing ===== */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #005293;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    min-height: 85px;
    max-height: 85px;
}

/* Fix all hero sections margin-top to match header height */
.hero-slider,
.about-page-hero,
.contact-hero,
.careers-hero,
.pec-procurement-hero,
.ces-hero-nexus,
.mps-hero,
.industries-hero {
    margin-top: 85px;
}

/* ===== PRELOADER WITH LOGO - WHITE BACKGROUND ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    position: relative;
    animation: fadeInScale 0.6s ease;
}

.loader-logo {
    width: 200px;
    height: auto;
    /* margin-bottom: 25px; */
    animation: pulseLogo 1.5s ease-in-out infinite;
}

.loader-text {
    color: #005293;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    /* margin-bottom: 8px; */
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.3s forwards;
}

.loader-subtext {
    color: #666;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.5s forwards;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.7s forwards;
}

.loader-dot {
    width: 10px;
    height: 10px;
    background: #DC052D;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

/* Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== PREVENT FOUC AND LAYOUT SHIFTS ===== */
body {
    opacity: 1;
    visibility: visible;
}

.header,
.hero-slider,
.about-page-hero,
.contact-hero,
.careers-hero,
.pec-procurement-hero,
.ces-hero-nexus,
.mps-hero,
.industries-hero {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== RESPONSIVE HEADER HEIGHT ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .navbar {
        height: 60px;
        min-height: 60px;
        max-height: 60px;
    }
    
    .hero-slider,
    .about-page-hero,
    .contact-hero,
    .careers-hero,
    .pec-procurement-hero,
    .ces-hero-nexus,
    .mps-hero,
    .industries-hero {
        margin-top: 64px;
    }
}

@media (max-width: 576px) {
    .header {
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .navbar {
        height: 52px;
        min-height: 52px;
        max-height: 52px;
    }
    
    .hero-slider,
    .about-page-hero,
    .contact-hero,
    .careers-hero,
    .pec-procurement-hero,
    .ces-hero-nexus,
    .mps-hero,
    .industries-hero {
        margin-top: 56px;
    }
}

/* Responsive for Industries Section */
@media (max-width: 992px) {
    .process-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-integrated-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .banner-image {
        width: 180px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .process-study-section {
        padding: 60px 0;
    }
    
    .process-study-header h2 {
        font-size: 2.2rem;
    }
    
    .process-study-header p {
        font-size: 1rem;
    }
    
    .process-study-grid {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        padding: 30px 25px;
    }
    
    .banner-text h3 {
        font-size: 1.5rem;
    }
    
    .banner-image {
        width: 150px;
    }
    
    /* Mobile Industries Dropdown */
    .industries-dropdown {
        position: relative;
    }
    
    .industries-dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .industries-dropdown .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .industries-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .industries-dropdown-content {
        display: none;
        position: static !important;
        width: 100%;
        background: #f8f9fa;
        padding: 10px 0;
        box-shadow: none;
        border-top: 2px solid #DC052D;
        border-radius: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: auto;
    }
    
    .industries-dropdown.active .industries-dropdown-content {
        display: block !important;
    }
    
    .industries-dropdown-content a {
        padding: 12px 35px !important;
        font-size: 0.95rem;
        color: #555;
        border-bottom: 1px solid #e9e9e9;
        display: block;
        text-decoration: none;
    }
    
    .industries-dropdown-content a:hover {
        background: rgba(0, 82, 147, 0.1);
        color: #005293;
        padding-left: 45px !important;
    }
}

@media (max-width: 576px) {
    .process-study-header h2 {
        font-size: 1.8rem;
    }
    
    .process-card h3 {
        font-size: 1.4rem;
    }
    
    .banner-text h3 {
        font-size: 1.3rem;
    }
    
    .banner-text p {
        font-size: 0.9rem;
    }
}

/* =====================================================
   CSS VISUAL PANELS — Copyright-Free Image Replacements
   Replaces all <img> with professional gradient panels
   ===================================================== */

/* Base visual panel — used anywhere an img was */
.vis-panel {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    gap: 14px;
}

/* Animated shimmer layer */
.vis-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: vis-shimmer 3s infinite linear;
    pointer-events: none;
}

@keyframes vis-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Subtle diagonal stripe overlay */
.vis-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 18px,
        rgba(255,255,255,0.03) 18px,
        rgba(255,255,255,0.03) 20px
    );
    pointer-events: none;
}

.vis-panel i {
    font-size: 3.2rem;
    opacity: 0.92;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.vis-panel:hover i {
    transform: scale(1.12);
}

.vis-panel-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}

/* ── Colour Themes ── */

/* Blue — Engineering / Process / Control */
.vis-blue {
    background: linear-gradient(145deg, #003d73 0%, #005293 55%, #0068b8 100%);
    color: #a8d4ff;
    box-shadow: inset 0 0 60px rgba(0,104,184,0.25);
}

/* Navy-Green — Team / People */
.vis-navy {
    background: linear-gradient(145deg, #012a47 0%, #024e70 55%, #036a98 100%);
    color: #7ecbf0;
    box-shadow: inset 0 0 60px rgba(3,106,152,0.3);
}

/* Red-Orange — Fire / Safety / Alarms */
.vis-red {
    background: linear-gradient(145deg, #7a0019 0%, #a80423 55%, #dc052d 100%);
    color: #ffb3c0;
    box-shadow: inset 0 0 60px rgba(220,5,45,0.25);
}

/* Steel — Industrial / Valves / Rotating */
.vis-steel {
    background: linear-gradient(145deg, #1a2a3a 0%, #243447 55%, #2e4060 100%);
    color: #90b8d8;
    box-shadow: inset 0 0 60px rgba(46,64,96,0.4);
}

/* Teal — Petrochemical / Chemical */
.vis-teal {
    background: linear-gradient(145deg, #004d45 0%, #006b61 55%, #008878 100%);
    color: #80f0e0;
    box-shadow: inset 0 0 60px rgba(0,136,120,0.25);
}

/* Amber — Refinery / Heat / Energy */
.vis-amber {
    background: linear-gradient(145deg, #4a2800 0%, #7a4200 55%, #b06010 100%);
    color: #ffd080;
    box-shadow: inset 0 0 60px rgba(176,96,16,0.3);
}

/* Slate — Offshore / Marine / Platform */
.vis-slate {
    background: linear-gradient(145deg, #1c2b38 0%, #243648 55%, #2e4460 100%);
    color: #88bbdd;
    box-shadow: inset 0 0 60px rgba(36,54,72,0.5);
}

/* Indigo — Careers / HR / People */
.vis-indigo {
    background: linear-gradient(145deg, #1a0050 0%, #2d0080 55%, #4200b8 100%);
    color: #c0a0ff;
    box-shadow: inset 0 0 60px rgba(66,0,184,0.3);
}

/* Green — Environment / Safety / Sustainability */
.vis-green {
    background: linear-gradient(145deg, #003820 0%, #005a30 55%, #007840 100%);
    color: #80e0a8;
    box-shadow: inset 0 0 60px rgba(0,120,64,0.3);
}

/* ── Size Variants ── */

/* Full-width section banner (replaces large hero/banner images) */
.vis-panel.vis-lg {
    min-height: 340px;
    border-radius: 12px;
}

/* Standard service/industry card thumbnail */
.vis-panel.vis-md {
    min-height: 220px;
}

/* Small equipment card thumbnail */
.vis-panel.vis-sm {
    min-height: 180px;
    border-radius: 8px;
}
.vis-panel.vis-sm i {
    font-size: 2.6rem;
}
.vis-panel.vis-sm .vis-panel-label {
    font-size: 0.7rem;
}

/* Tall side-image (replaces about/industry section large side images) */
.vis-panel.vis-tall {
    min-height: 420px;
    border-radius: 12px;
}
.vis-panel.vis-tall i {
    font-size: 4.5rem;
}

/* Avatar circle — replaces team member photo */
.vis-avatar {
    width: 120px;
    height: 120px;
    min-height: unset;
    border-radius: 50%;
    font-size: 2.8rem;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    margin: 0 auto;
}
.vis-avatar i {
    font-size: 2.8rem;
}
.vis-avatar .vis-panel-label {
    display: none;
}