/* XPOWER Website Styles - Dark Theme with Gotham Fonts */
/* PANTONE Colors: 2412 C (#48D597), 433 C (#1D252D), 2162 C (#9EA6B4) */

/* Gotham Font Faces */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Light-GkCy.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Medium-GkCy.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Bold-GkCy.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-green: #48D597;
    --dark-blue-gray: #1D252D;
    --light-blue-gray: #9EA6B4;
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #2A3441;
    --gray-200: #3A4651;
    --gray-300: #4A5661;
    --gray-800: #F8F9FA;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --card-bg: #2A3441;
    --border-color: #3A4651;
}

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

body {
    font-family: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--dark-blue-gray);
    overflow-x: hidden;
    font-weight: 300;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(29, 37, 45, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
    background-color: rgba(72, 213, 151, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-blue-gray) 0%, #2A3441 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%233A4651" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Background video support */
.hero.has-video {
    background: none;
}

.hero.has-video::before {
    display: none; /* hide grid overlay when video is present */
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Semi-transparent #2A3441 overlay */
    background: rgba(8, 17, 28, 0.753);
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; /* top-align left text and right logo */
    position: relative;
    z-index: 1; /* keep above background video */
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    align-self: start; /* ensure left text block is top-aligned */
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.title-sub {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--light-blue-gray);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Brand lockup (X + POWER images) */
.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center; /* center POWER and subtitle under X */
    text-align: center;
    gap: 0.25rem;
    line-height: 1;
     justify-self: end; /* flush to right edge of container */
    
    
}

.brand-x {
    height: 150px;
    width: auto;
}

.brand-power {
    height: 72px;
    width: auto;
}

/* Subtitle under POWER image, right-aligned */
.brand-sub {
    text-align: right;
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-top: 0; /* flush to top for alignment */
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-blue-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 500px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--dark-blue-gray);
    box-shadow: 0 4px 15px rgba(72, 213, 151, 0.3);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #3BC085;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 213, 151, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--light-blue-gray);
    color: var(--dark-blue-gray);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.grid-item {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.grid-item:nth-child(odd) {
    animation-delay: 0.5s;
}

.grid-item:nth-child(even) {
    animation-delay: 1s;
}

.grid-item.active {
    background: linear-gradient(135deg, var(--primary-green), #3BC085);
    box-shadow: 0 8px 25px rgba(72, 213, 151, 0.4);
    transform: scale(1.1);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.grid-item.active::before {
    background-color: var(--dark-blue-gray);
    opacity: 1;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--dark-blue-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #3BC085);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-green), #186d47);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue-gray);
    transition: all 0.3s ease;
}

.feature-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-blue-gray);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
}

/* Contacts (inside Features) */
.contact-section {
    margin-top: 4rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-address {
    color: var(--light-blue-gray);
    margin-bottom: 0;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px var(--shadow);
}

.map-container.small { width: 100%; }

.map-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-title { text-align: left; }
}

/* Footer */
.footer {
    background-color: #151B23;
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo {
    height: 32px;
}

.footer-text {
    color: var(--light-blue-gray);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Page-specific Styles */

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--dark-blue-gray) 0%, #2A3441 100%);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%233A4651" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* About page: background image with semi-transparent overlay */
.page-hero.has-image {
    background: linear-gradient(rgba(3, 8, 16, 0.628), rgba(0, 0, 0, 0.658)), url('img/pic4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    padding: 10rem 0 6rem;
}

.page-hero.has-image::before {
    display: none;
}

/* Video background variant for page hero */
.page-hero.has-video {
    background: none;
    min-height: 60vh;
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.page-hero.has-video::before {
    display: none;
}

/* Per-page hero images */
.page-hero.has-image.img-about {
    background-image: linear-gradient(rgba(3, 8, 16, 0.628), rgba(0, 0, 0, 0.658)), url('img/pic3.jpg');
}

.page-hero.has-image.img-mission {
    background-image: linear-gradient(rgba(3, 8, 16, 0.628), rgba(0, 0, 0, 0.658)), url('img/pic1.jpg');
}

.page-hero.has-image.img-vision {
    background-image: linear-gradient(rgba(3, 8, 16, 0.628), rgba(0, 0, 0, 0.658)), url('img/pic2.jpg');
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--light-blue-gray);
    font-weight: 300;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    background-color: var(--dark-blue-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-main h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-main h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--light-blue-gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-blue-gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Mission Page Styles */
.mission-statement {
    margin-bottom: 3rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), #3BC085);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

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

.pillar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), #3BC085);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue-gray);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1) rotate(5deg);
}

.pillar-card h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--light-blue-gray);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

.mission-commitment {
    margin-top: 3rem;
}

.commitment-content p {
    margin-bottom: 1.5rem;
}

/* Vision Page Styles */
.vision-areas {
    margin: 3rem 0;
}

.vision-area {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.area-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.area-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), #3BC085);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue-gray);
}

.vision-area h4 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--white);
}

.vision-area p {
    color: var(--light-blue-gray);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
}

.vision-timeline {
    margin-top: 3rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    border: 3px solid var(--dark-blue-gray);
    box-shadow: 0 0 0 2px var(--primary-green);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--light-blue-gray);
    line-height: 1.6;
    font-weight: 300;
}

/* About Page Styles */
.company-story {
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), #3BC085);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue-gray);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--light-blue-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
}

.team-section {
    margin-top: 3rem;
}

.team-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.member-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue-gray), var(--gray-300));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.member-info h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--light-blue-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Solutions Page Styles */
.solutions-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.solution-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #3BC085);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

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

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), #3BC085);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue-gray);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--light-blue-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    color: var(--light-blue-gray);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.solution-cta {
    margin-top: auto;
}

.industries-section {
    margin: 4rem 0;
    text-align: center;
}

.industries-section h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.industry-item {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.industry-item:hover {
    background: var(--gray-200);
    box-shadow: 0 8px 20px var(--shadow);
    transform: translateY(-3px);
}

.industry-item h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.industry-item p {
    color: var(--light-blue-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 300;
}

.contact-section {
    background: linear-gradient(135deg, #151B23, #1A2129);
    color: var(--white);
    padding: 4rem 0;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--light-blue-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sidebar Styles */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-card,
.innovation-card,
.future-card,
.company-stats,
.certifications-card,
.contact-card,
.cta-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

/* Contact card items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.contact-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-green);
}

.stats-card h4,
.innovation-card h4,
.future-card h4,
.company-stats h4,
.certifications-card h4,
.contact-card h4,
.cta-card h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.stat-item,
.innovation-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child,
.innovation-stat:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.stat-label {
    color: var(--light-blue-gray);
    font-size: 0.9rem;
    font-weight: 300;
}

.innovation-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    padding: 0.5rem 0;
    color: var(--light-blue-gray);
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.cert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.cta-card p,
.future-card p,
.contact-card p {
    color: var(--light-blue-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design for Pages */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .title-main {
        font-size: 3rem;
    }
    /* Adjust brand lockup sizes on mobile */
    .brand-x { height: 52px; }
    .brand-power { height: 52px; }
    .brand-lockup { right: 0.75rem; top: 7rem; }
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .grid-item {
        width: 60px;
        height: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-main h2 {
        font-size: 2rem;
    }
    
    .content-main h3 {
        font-size: 1.5rem;
    }
    
    .pillars-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
    
    .pillar-card,
    .solution-card,
    .value-card {
        padding: 1.5rem;
    }
    
    .contact-content h2 {
        font-size: 2rem;
    }
}

/* Button ripple effect styles */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(29, 37, 45, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
