:root {
    --primary-color: #00D4D4;
    --primary-dark: #00A8A8;
    --secondary-color: #2D5F5D;
    --secondary-light: #3A7876;
    --accent-color: #00FFFF;
    --text-color: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-color: #ffffff;
    --bg-gray: #f8f9fa;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --success: #28a745;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    color: var(--text-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    border-bottom: 2px solid var(--primary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.mobile-menu {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 3rem;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 212, 212, 0.4);
}

.cta-button.primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.6);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Styling */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: var(--bg-gray);
}

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

.value-prop {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.value-prop:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 212, 212, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-prop h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-prop p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.services-section .section-header h2,
.services-section .section-subtitle {
    color: var(--white);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

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

.service-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.3);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-details h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.service-details ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-cta {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-cta:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* ===== SUCCESS STORIES SECTION ===== */
.success-section {
    background-color: var(--bg-color);
}

.success-stories {
    display: grid;
    gap: 4rem;
}

.story-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 212, 212, 0.25);
}

.story-card.highlight {
    border-left-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 212, 212, 0.2);
}

.story-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
    z-index: 10;
}

/* ===== TWO-COLUMN LAYOUT (TEXT + IMAGE) ===== */
.story-content-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.story-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Story Header */
.story-header {
    margin-bottom: 1rem;
}

.story-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.story-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.story-client {
    color: var(--text-light);
    font-style: italic;
    font-size: 1rem;
}

/* Story Sections */
.story-challenge,
.story-solution,
.story-results,
.story-content {
    margin-bottom: 1rem;
}

.story-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.story-text ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.story-text li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: var(--text-light);
}

.story-text p {
    line-height: 1.7;
    color: var(--text-light);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.result-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.1) 0%, var(--bg-gray) 100%);
    transform: translateY(-3px);
}

.result-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== STORY IMAGE CONTAINER ===== */
.story-image-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}

.story-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.story-card:hover .story-photo {
    transform: scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 212, 212, 0.3);
}

.story-image-caption {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 212, 212, 0.3);
}

.story-image-caption i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.story-image-caption span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== STORY CTA BUTTONS ===== */
.story-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.story-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
}

.story-cta .cta-button i {
    font-size: 0.85rem;
}

.story-cta .cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.story-cta .cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .story-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .story-image-container {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .story-badge {
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .success-stories {
        gap: 3rem;
    }
    
    .story-card {
        padding: 2rem;
    }
    
    .story-card h3 {
        font-size: 1.5rem;
    }
    
    .story-icon {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .story-photo {
        aspect-ratio: 16/9;
    }
    
    .story-cta {
        flex-direction: column;
    }
    
    .story-cta .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .story-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .story-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .story-card h3 {
        font-size: 1.3rem;
    }
    
    .story-card h4 {
        font-size: 1.1rem;
    }
    
    .story-image-caption {
        padding: 0.8rem 1.2rem;
    }
    
    .story-image-caption span {
        font-size: 0.85rem;
    }
    
    .story-photo {
        border-width: 3px;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

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

.product-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 212, 212, 0.25);
    border-color: var(--primary-color);
}

.product-card.featured {
    border: 3px solid var(--accent-color);
    box-shadow: 0 8px 35px rgba(0, 212, 212, 0.3);
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.product-card.featured::before {
    height: 8px;
    transform: scaleX(1);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 255, 255, 0.6);
    }
}

/* Product Icon */
.product-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

/* Produ

/* Customers Section */
.customers-section {
    background-color: var(--bg-gray);
}

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

.industry-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 212, 212, 0.25);
}

.industry-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.industry-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Process Section */
.process-section {
    background-color: var(--bg-color);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.process-step {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 212, 212, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 212, 212, 0.4);
}

.process-step h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-badge {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Founder Section */
.founder-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
}

.founder-section .section-header h2,
.founder-section .section-header p {
    color: var(--white);
}

.founder-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-text h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.founder-text h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.founder-title {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.founder-credentials {
    display: grid;
    gap: 1.2rem;
    margin: 2rem 0;
}

.credential {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.credential:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.credential i {
    font-size: 1.5rem;
    color: var(--accent-color);
    min-width: 30px;
    margin-top: 0.2rem;
}

.credential p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.founder-bio {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

/* ===== NEW: SQUARE/RECTANGULAR IMAGE STYLING ===== */
.founder-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.founder-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid var(--accent-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.founder-photo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.4);
}

.founder-caption {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    justify-content: center;
}

.founder-caption i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.founder-caption span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

/* Remove old circular placeholder styles */
.founder-placeholder {
    display: none;
}

/* Responsive Design for Founder Section */
@media (max-width: 1024px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .founder-text h2 {
        font-size: 2rem;
    }
    
    .founder-text h3 {
        font-size: 2.2rem;
    }
    
    .founder-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .founder-text h2 {
        font-size: 1.8rem;
    }
    
    .founder-text h3 {
        font-size: 2rem;
    }
    
    .founder-title {
        font-size: 1rem;
    }
    
    .credential {
        padding: 0.8rem;
    }
    
    .credential i {
        font-size: 1.3rem;
    }
    
    .credential p {
        font-size: 0.9rem;
    }
    
    .founder-bio {
        font-size: 1rem;
        padding: 1.2rem;
    }
    
    .founder-caption {
        padding: 0.8rem 1.2rem;
    }
    
    .founder-caption span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .founder-photo {
        border-radius: 15px;
        border-width: 3px;
    }
    
    .founder-text h3 {
        font-size: 1.8rem;
    }
    
    .founder-caption {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
}

/* Team Section */
.team-section {
    background-color: var(--bg-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 212, 212, 0.25);
}

.team-member.featured {
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 6px 25px rgba(0, 212, 212, 0.2);
    grid-column: span 1;
}

.member-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.image-placeholder i {
    font-size: 4.5rem;
    color: var(--white);
    opacity: 0.7;
}

.member-country {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.8rem;
    background: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.member-info {
    padding: 2rem 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.expertise-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

.team-affiliation {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.team-affiliation i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.team-affiliation p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.team-affiliation strong {
    color: var(--accent-color);
}

/* ===== HERO BACKGROUND IMAGE ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* ===== GLOBAL BADGE IN HERO ===== */
.global-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
    font-size: 1rem;
}

.global-badge i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.global-badge span {
    color: var(--white);
}

.global-badge strong {
    color: var(--accent-color);
}

/* ===== TEAM SECTION - FIX IMAGE SIZING ===== */
.team-section {
    background-color: var(--bg-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 212, 212, 0.25);
}

.team-member.featured {
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 6px 25px rgba(0, 212, 212, 0.2);
}

.member-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ===== THIS IS THE KEY FIX FOR IMAGES ===== */
.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Hide placeholder when real photo exists */
.member-image:has(.member-photo) .image-placeholder {
    display: none;
}

/* Keep gradient overlay subtle */
.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 212, 0.1) 0%, rgba(45, 95, 93, 0.1) 100%);
    z-index: 1;
}

.member-country {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.5rem;
    background: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    gap: 0.3rem;
    white-space: nowrap;
    z-index: 3;
    min-width: fit-content;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .member-country {
        font-size: 1.4rem;
        padding: 0.38rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .member-country {
        font-size: 1.3rem;
        padding: 0.35rem 0.7rem;
        gap: 0.25rem;
        bottom: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .member-country {
        font-size: 1.1rem;
        padding: 0.3rem 0.6rem;
        gap: 0.2rem;
        bottom: 10px;
        right: 10px;
    }
}

.image-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.image-placeholder i {
    font-size: 4.5rem;
    color: var(--white);
    opacity: 0.7;
}

.member-info {
    padding: 2rem 1.5rem;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.expertise-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Responsive adjustments for team section */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-image {
        height: 240px;
    }

    .member-photo {
        width: 160px;
        height: 160px;
    }

    .image-placeholder {
        width: 160px;
        height: 160px;
    }

    .image-placeholder i {
        font-size: 4rem;
    }

    .member-info {
        padding: 1.5rem;
    }
    
    .member-country {
        font-size: 1.3rem;
    }
    
    .global-badge {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .global-badge i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .expertise-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .member-role {
        font-size: 0.85rem;
    }
    
    .member-bio {
        font-size: 0.85rem;
    }
    
    .member-photo {
        width: 140px;
        height: 140px;
    }
}

/* Global Presence Section */
.global-presence {
    margin-top: 5rem;
}

.global-presence h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.base-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 6px 30px var(--shadow);
    transition: all 0.3s ease;
}

.base-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 212, 212, 0.3);
}

.uk-base {
    border-left: 6px solid #012169;
}

.thailand-base {
    border-left: 6px solid #ED1C24;
}

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

.base-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.base-header h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
}

.base-card h5 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.base-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.base-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 20px;
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.base-mission {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    line-height: 1.7;
}

.base-mission strong {
    color: var(--accent-color);
}


/* Responsive adjustments for team section */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-image {
        height: 240px;
    }

    .image-placeholder {
        width: 150px;
        height: 150px;
    }

    .image-placeholder i {
        font-size: 4rem;
    }

    .member-info {
        padding: 1.5rem;
    }

    .team-affiliation {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .expertise-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-info h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 30px;
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-cta-box {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    color: var(--white);
    text-align: center;
}

.contact-cta-box h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.contact-form button {
    justify-self: start;
    cursor: pointer;
    border: none;
}

/* Updated Contact Section Styles */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-location {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    border-radius: 15px;
    color: var(--white);
}

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

.location-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.location-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.3rem;
}

.location-details p {
    margin: 0;
    line-height: 1.7;
    opacity: 0.95;
}

.contact-methods {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.contact-methods h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-location {
        padding: 1.5rem;
    }
    
    .location-header h3 {
        font-size: 1.1rem;
    }
    
    .contact-methods {
        padding: 1.5rem;
    }
}


/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-tagline {
    font-style: italic;
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .founder-content {
        grid-template-columns: 1fr;
    }
    
    .founder-placeholder {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        text-align: center;
        box-shadow: 0 4px 10px var(--shadow);
        gap: 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        padding: 1rem;
        border-bottom: 1px solid var(--light-gray);
    }

    .mobile-menu {
        display: block;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid,
    .value-props,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }

    .founder-placeholder {
        width: 200px;
        height: 200px;
    }

    .founder-placeholder i {
        font-size: 6rem;
    }
}

/* ===== Additional sections for SaaSteam ===== */

/* ===== SUCCESS STORY CTA BUTTONS ===== */
.story-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-gray);
    flex-wrap: wrap;
}

.story-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.story-cta .cta-button i {
    font-size: 0.9rem;
}

.story-cta .cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.story-cta .cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== SERVICE HIGHLIGHT BOX ===== */
.service-highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.service-highlight i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.service-highlight p {
    margin: 0;
    line-height: 1.6;
}

.service-highlight .inline-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-highlight .inline-link:hover {
    color: var(--white);
    text-decoration: none;
}

/* ===== NAV HIGHLIGHT (for SaaSteam link) ===== */


/* ===== TERTIARY CTA BUTTON (for hero) ===== */
.cta-button.tertiary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    border: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.tertiary:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.6);
}

.cta-button.tertiary i {
    font-size: 1rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .story-cta {
        flex-direction: column;
    }
    
    .story-cta .cta-button {
        width: 100%;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
}

/* ===== FORM SUCCESS/ERROR MESSAGES ===== */
.form-message {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    animation: slideDown 0.5s ease;
}

.form-message.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-left: 5px solid #155724;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-left: 5px solid #721c24;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.form-message p {
    margin: 0;
    line-height: 1.6;
}

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

/* Responsive form messages */
@media (max-width: 768px) {
    .form-message {
        margin: 0 1rem 2rem;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-message {
        padding: 1rem;
        font-size: 0.95rem;
    }
}