/* Global Styles */
:root {
    --primary-color: #116dff;
    /* Electric Blue */
    --secondary-color: #080808;
    /* Rich Black */
    --accent-color: #0f2ccf;
    /* Darker Blue Accent */
    --text-color: #333;
    --light-bg: #f5f7ff;
    /* Light Blue Tint */
    --white: #ffffff;
    --dark-footer: #080808;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    /* Use body font (Arial/Helvetica) */
    color: var(--secondary-color);
    /* Dark headings for contrast */
    margin-bottom: 20px;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

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

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

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    /* Clean tech look */
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(17, 109, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--nav-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

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

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

.btn-contact {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: #e65c00 !important;
    color: var(--white) !important;
}

.btn-contact::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 64, 128, 0.8), rgba(0, 64, 128, 0.8)), url('../images/img274.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    /* roughly cover most of screen */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    /* Fallback background color if image fails */
    background-color: var(--primary-color);
}

.hero-content {
    max-width: 1000px;
    /* Increased from 800px to prevent wrapping */
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    white-space: nowrap;
    /* Forces text to stay on one line on large screens */
}

@media (max-width: 900px) {
    .hero-content h1 {
        white-space: normal;
        /* Allow wrapping on smaller screens */
        font-size: 2.2rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-content .btn {
    margin: 10px;
}

/* Intro Section */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 1.1rem;
    color: #555;
}

/* About Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 64, 128, 0.9), rgba(0, 64, 128, 0.9)), url('../images/img322.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: var(--white);
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.presence-list,
.why-us-list {
    margin-top: 20px;
    padding-left: 20px;
}

.presence-list li,
.why-us-list li {
    margin-bottom: 10px;
    list-style-type: disc;
}

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

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(17, 109, 255, 0.1);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* Industries Page Styles */
.industries-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.industry-item {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    font-weight: 500;
    color: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.industry-item i {
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-item:hover i {
    transform: scale(1.1);
}

/* Leadership Page Styles */
.leader-profile {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.leader-img {
    flex: 0 0 350px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-bio {
    flex: 1;
    min-width: 300px;
}

/* Message Page Styles */
.message-container {
    background-color: var(--white);
    padding: 40px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.message-container p {
    margin-bottom: 15px;
    font-style: italic;
}

.signature {
    margin-top: 20px;
    font-weight: bold;
    text-align: right;
}

/* Contact Page Styles */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-footer);
    color: #ccc;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--nav-height);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .leader-img {
        flex: 1 1 100%;
        height: 300px;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 40px;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 33.33%;
    padding: 0 15px;
    box-sizing: border-box;
    list-style: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.prev-btn {
    left: 0;
}

.carousel-btn.next-btn {
    right: 0;
}

.carousel-btn:hover {
    color: var(--secondary-color);
}

/* Logo Carousel */
.logo-carousel {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
}

.logo-track {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.client-logo {
    display: inline-block;
    margin: 0 40px;
    vertical-align: middle;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    height: 60px;
    width: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .carousel-slide {
        min-width: 50%;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }

    .carousel-container {
        padding: 20px 10px;
    }
}