/* Global Variables & Reset */
:root {
    --primary-blue: #0056b3; /* Highlight color */
    --light-blue: #007bff;
    --dark-bg: #1a1a1a;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Standard Container for Left/Right Padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Request: Left and right padding */
}

/* Typography Helpers */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.line {
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    margin: 10px auto;
}
.logo {
    height: 50px;
    width:auto;
}
/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}


.nav-menu li a {
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

/* Navbar Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
    border-top: 3px solid var(--primary-blue);
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--off-white);
    color: var(--primary-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    width: 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-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #004494;
}

/* Services Section - Blue Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--primary-blue); /* Request: Cards colour is Blue */
    color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #89c4ff; /* Light blue icon to pop against blue bg */
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.process-step .step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--off-white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    border: 2px solid var(--primary-blue);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Counts Section */
.counts-section {
    background-color: #f4f8fb;
}

.counts-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.count-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.count-item h2 {
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Clients Section - Auto Scroll Right to Left */
.slider-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-slider {
    display: inline-block;
    animation: slide 20s linear infinite;
}

.logo-slider img {
    height: 80px;
    margin: 0 40px;
    vertical-align: middle;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-slider img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move half the doubled width */
}

/* Footer Section */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--light-blue);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Design (Mobile & Tablet) */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 80px); /* Full height minus nav bar */
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        gap: 0;
    }

    .nav-menu.active { left: 0; }

    .nav-menu li { width: 100%; margin: 0; }

    .nav-menu li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    /* Fix hover dropdowns for mobile */
    .dropdown-content {
        position: static;
        display: none;
        border: none;
        background-color: #f9f9f9;
    }
    .dropdown.active .dropdown-content { display: block; }

    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .process-grid { grid-template-columns: 1fr; }
    
    .counts-grid { flex-direction: column; gap: 30px; }
}

/* Page Header (Breadcrumb style) */
.page-header {
    background: linear-gradient(rgba(0,86,179,0.9), rgba(0,86,179,0.9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes 2 parts, Info takes 1 part */
    gap: 40px;
    align-items: start;
}

/* Contact Form Styling */
.contact-form-wrapper h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.2);
}

/* Contact Info Styling (Right Side) */
.contact-info-wrapper {
    background-color: var(--primary-blue); /* Blue background for info card */
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.contact-info-wrapper p {
    color: rgba(255,255,255,0.9);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
    color: #89c4ff; /* Lighter blue icon */
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-connect h4 {
    margin-bottom: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Map Section */
.map-section {
    width: 100%;
    line-height: 0; /* Remove gap below iframe */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack vertically on tablets/mobile */
        gap: 50px;
    }

    .form-row {
        grid-template-columns: 1fr; /* Stack inputs vertically */
        gap: 0;
    }
}

/* Reuse Page Header Style (similar to Contact page) */
.page-header {
    background: linear-gradient(rgba(0,86,179,0.9), rgba(0,86,179,0.9)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* 1. Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sub-heading {
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 2. Vision & Mission (Card Style) */
.bg-light {
    background-color: #f8f9fa;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* 3. Our Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}

.value-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: transparent;
    background-color: var(--white);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* 4. Why Choose Us */
.why-us-section {
    background-color: #0056b3; /* Blue background variation */
    color: var(--white);
}

.why-us-section .section-header h2 {
    color: var(--white);
}

.why-us-section .line {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1); /* transparent white */
    padding: 25px;
    border-radius: 8px;
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.icon-box {
    min-width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.why-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.why-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .intro-grid, .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image {
        order: -1; /* Image on top on mobile */
    }
}

/* Page Header (Consistent with other sub-pages) */
.page-header {
    background: linear-gradient(rgba(0,86,179,0.9), rgba(0,86,179,0.9)), url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Industries Grid Layout */
.industries-grid {
    display: grid;
    /* Responsive grid: 4 columns on large screens, automatically wrapping */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px;
}

/* Industry Card Style */
.industry-card {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* Icon Styling */
.icon-wrapper {
    font-size: 3.5rem;
    color: #444; /* Dark gray default */
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

/* Title Styling */
.industry-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
    transition: all 0.4s ease;
}

/* HOVER EFFECTS */
.industry-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15); /* Adds a stronger shadow */
    border-color: var(--primary-blue);
}

.industry-card:hover .icon-wrapper {
    color: var(--primary-blue); /* Icon turns Blue */
    transform: scale(1.1); /* Icon grows slightly */
}

.industry-card:hover h3 {
    color: var(--primary-blue); /* Text turns Blue */
}

/* Optional: Add a subtle bottom bar on hover */
.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--primary-blue);
    transition: width 0.4s ease;
}

.industry-card:hover::after {
    width: 100%;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,86,179,0.9), rgba(0,86,179,0.9)), url('https://images.unsplash.com/photo-1547658719-da2b51169166?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Overview Section (Text + Image) */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text .sub-heading {
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.overview-text p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
}

.overview-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px rgba(0, 86, 179, 0.1); /* Stylized offset shadow */
}

/* Key Features - Stylish Boxes */
.bg-light {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    border-left: 5px solid transparent; /* Hidden border for hover effect */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-blue); /* Blue accent appears on hover */
}

.feat-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f0fa; /* Very light blue bg */
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .feat-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-image {
        order: -1; /* Image first on mobile */
    }
}

/* =========================================
   CAREERS PAGE STYLES
   ========================================= */

/* 1. Page Header Background */
.header-careers {
    /* Image of team/office/growth */
    background: linear-gradient(rgba(0,86,179,0.9), rgba(0,86,179,0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
}

/* 2. Job Accordion Container */
.careers-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 3. Job Item Card */
.job-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition);
}

/* 4. Job Header (Visible Part) */
.job-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.3s ease;
    border-left: 5px solid transparent;
}

.job-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-color);
}

.job-header .icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

/* Hover Effect */
.job-header:hover {
    background-color: #f1f7ff;
    border-left: 5px solid var(--primary-blue);
}

/* Active State (When Open) */
.job-item.active .job-header {
    background-color: var(--primary-blue);
    border-left: 5px solid var(--primary-blue);
}

.job-item.active .job-header h3,
.job-item.active .job-header .icon {
    color: var(--white);
}

.job-item.active .job-header .icon {
    transform: rotate(45deg); /* Turns plus to x */
}

/* 5. Job Content (Hidden Part) */
.job-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fafafa;
}

.content-inner {
    padding: 30px;
    border-top: 1px solid #eee;
}

.content-inner p {
    margin-bottom: 15px;
    color: #555;
}

.content-inner ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 25px;
    color: #555;
}

.content-inner ul li {
    margin-bottom: 8px;
}