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

/* CSS Custom Properties for Professional White and Blue Color Palette */
:root {
    --primary-blue: #007bff;
    --primary-blue-dark: #0056b3;
    --primary-blue-light: #4da6ff;
    --white: #ffffff;
    --white-off: #f8f9fa;
    --white-pure: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    --gradient-primary: linear-gradient(135deg, #007bff, #0056b3);
    --gradient-secondary: linear-gradient(135deg, #4da6ff, #007bff);
    --gradient-light: linear-gradient(135deg, #e3f2fd, #bbdefb);
    --shadow-light: 0 2px 10px rgba(0, 123, 255, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 123, 255, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 123, 255, 0.2);
    --border-light: 1px solid rgba(0, 123, 255, 0.1);
    --border-medium: 1px solid rgba(0, 123, 255, 0.2);
    --border-focus: 2px solid #007bff;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-large: 12px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
}

/* Remove default focus outlines and add custom ones */
button, a, input, textarea, select {
    outline: none;
}

/* Remove tap/click highlight boxes on mobile */
button, a {
    -webkit-tap-highlight-color: transparent;
}

button:focus, a:focus, input:focus, textarea:focus, select:focus {
    outline: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: #007bff;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    outline: none;
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.btn-secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    outline: none;
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #007bff;
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.btn-outline:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    color: #007bff;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    outline: none;
}

.nav-link:focus {
    outline: none;
}

/* Prevent click/active boxes on navbar links */
.nav-link:active,
.nav-link:focus-visible {
    outline: none;
    box-shadow: none;
    background: transparent;
}

/* Hard-disable any focus/active box inside navbar */
.navbar a:focus,
.navbar a:active,
.navbar a:focus-visible,
.navbar button:focus,
.navbar button:active,
.navbar button:focus-visible,
.navbar .hamburger:focus,
.navbar .hamburger:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #007bff;
    transform: translateY(-1px);
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    outline: none;
}

.hamburger:focus {
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger:hover span {
    background: #007bff;
    transform: scaleX(1.1);
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

         .hero-video-overlay {
             position: absolute;
             top: 0;
             left: 0;
             width: 100%;
             height: 100%;
             background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 100%);
             z-index: 2;
         }

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Organisations Secured Section */
.organisations-secured {
    padding: 80px 0;
    background: white;
}

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

.organisations-secured .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.organisations-secured .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.organisations-scroll {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.organisations-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.organisations-track:hover {
    animation-play-state: paused;
}

.organisation-item {
    flex-shrink: 0;
    background: white;
    padding: 32px 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    min-width: 240px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.organisation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.organisation-item:hover::before {
    left: 100%;
}

.organisation-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.organisation-item img {
    max-width: 160px;
    max-height: 80px;
    min-width: 80px;
    min-height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: block;
    margin: 0 auto;
}
.organisation-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.12);
    background: #f3f4f6;
}
@media (max-width: 900px) {
    .organisation-item img {
        max-width: 100px;
        max-height: 50px;
        min-width: 50px;
        min-height: 24px;
        padding: 4px 6px;
    }
}

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

/* Keep the general section-header styles for other sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Platform Features */
.platform-features {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.features-header h3 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.features-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.features-slider {
    position: relative;
    min-height: 300px;
    margin-bottom: 3rem;
}

.feature-slide {
    display: none;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.feature-slide.active {
    display: block;
}

.feature-content h4 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    outline: none;
}

.learn-more:focus {
    outline: none;
}

.learn-more::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.learn-more:hover::after {
    opacity: 1;
    right: -25px;
}

.slider-controls {
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    outline: none;
    border: none;
}

.dot:focus {
    outline: none;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #007bff;
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.dot:hover::before {
    width: 100%;
    height: 100%;
}

.dot.active {
    background: #007bff;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.dot:hover {
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* Organizations */
.organizations {
    padding: 60px 0;
    background: white;
}

.organizations h4 {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.org-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.org-logo {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

/* Red Team Section */
.red-team {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
}

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

.red-team-header h4 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.red-team-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.red-team-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.researcher-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.researcher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.researcher-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.researcher-card:hover::before {
    opacity: 1;
}

.researcher-card:hover .researcher-avatar {
    transform: scale(1.1);
    color: #007bff;
}

.researcher-avatar {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #007bff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.researcher-location {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.researcher-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    outline: none;
    border: none;
}

.skill:focus {
    outline: none;
}

.skill:hover {
    background: rgba(0, 123, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background: white;
}

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

.use-cases-header h5 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.use-cases-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

.use-case-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    background: white;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 86, 179, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1) rotate(5deg);
    color: #007bff;
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.use-case-card h6 {
    font-size: 1.1rem;
    color: #1a1a1a;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.demo-header h6 {
    font-size: 2rem;
    color: #1a1a1a;
}

.demo-slider {
    position: relative;
    min-height: 300px;
    margin-bottom: 3rem;
}

.demo-slide {
    display: none;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.demo-slide.active {
    display: block;
}

.demo-content h4 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.demo-content p {
    font-size: 1.1rem;
    color: #666;
}

.demo-controls {
    display: flex;
    justify-content: center;
}

.demo-dots {
    display: flex;
    gap: 1rem;
}

.demo-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    outline: none;
    border: none;
}

.demo-dot:focus {
    outline: none;
}

.demo-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #007bff;
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.demo-dot:hover::before {
    width: 100%;
    height: 100%;
}

.demo-dot.active {
    background: #007bff;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.demo-dot:hover {
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* Resources */
.resources {
    padding: 80px 0;
    background: white;
}

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

.resource-card {
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: white;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 86, 179, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.resource-card:hover::before {
    opacity: 1;
}

.resource-card:hover .resource-type {
    color: #0056b3;
    transform: translateX(5px);
}

.resource-type {
    font-size: 0.8rem;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.resource-card h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-align: center;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.25rem 0;
    outline: none;
}

.footer-section ul li a:focus {
    outline: none;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #007bff;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    outline: none;
}

.social-links a:focus {
    outline: none;
}

.social-links a:hover {
    color: #007bff;
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.footer-bottom-right a:focus {
    outline: none;
}

.footer-bottom-right a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #007bff;
    transition: width 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #007bff;
    transform: translateX(3px);
}

.footer-bottom-right a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-alphascan .about-row {
        gap: 32px;
        padding: 32px 24px;
    }
    
    .about-alphascan .services-grid {
        gap: 40px;
    }
    
    .about-alphascan .service-card {
        min-width: 300px;
        padding: 40px 32px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-alphascan .about-row {
        flex-direction: column;
        gap: 24px;
        padding: 24px 16px;
    }
    
    .about-alphascan .about-header,
    .about-alphascan .about-what {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    
    .about-alphascan .services-grid {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .about-alphascan .service-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        padding: 32px 24px;
    }
    
    .organisations-track {
        gap: 24px;
        animation-duration: 25s;
    }
    
    .organisation-item {
        min-width: 180px;
        min-height: 90px;
        padding: 20px 16px;
    }
    
    .organisation-item img {
        max-width: 120px;
        max-height: 60px;
    }
    
    .founder-hero-text-concise .founder-name {
        font-size: 2.4rem;
    }
    
    .founder-hero-text-concise .founder-title {
        font-size: 1.1rem;
    }
    
    .founder-hero-text-concise .founder-bio {
        font-size: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e9ecef;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section h5 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-left p {
        font-size: 0.85rem;
    }
    
    .footer-bottom-right a {
        font-size: 0.8rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-heading h1 {
        font-size: 2.2rem;
    }
    
    .about-alphascan {
        padding: 60px 0 30px 0;
    }
    
    .about-alphascan .about-row {
        padding: 20px 12px;
        border-radius: 12px;
    }
    
    .about-alphascan .about-header,
    .about-alphascan .about-what {
        padding: 20px 16px;
    }
    
    .about-alphascan .about-header h2 {
        font-size: 1.4rem;
    }
    
    .about-alphascan .about-what h3 {
        font-size: 1.3rem;
    }
    
    .about-alphascan .about-header .about-points li,
    .about-alphascan .about-what ul li {
        font-size: 0.95rem;
    }
    
    .about-alphascan .about-services {
        padding: 32px 16px;
        margin-top: 24px;
    }
    
    .about-alphascan .about-services h3 {
        font-size: 1.4rem;
    }
    
    .about-alphascan .service-card {
        padding: 24px 16px;
    }
    
    .about-alphascan .service-card h4 {
        font-size: 1.1rem;
    }
    
    .about-alphascan .service-card ul {
        font-size: 0.95rem;
    }
    
    .organisations-secured {
        padding: 60px 0;
    }
    
    .organisations-secured .section-header h2 {
        font-size: 2rem;
    }
    
    .organisations-track {
        gap: 16px;
        animation-duration: 20s;
    }
    
    .organisation-item {
        min-width: 140px;
        min-height: 70px;
        padding: 16px 12px;
    }
    
    .organisation-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .founder-section {
        padding: 60px 0 0 0;
    }
    
    .founder-heading h2 {
        font-size: 1.8rem;
    }
    
    .founder-img-hover-area .founder-hero-overlay-content.founder-hero-overlay-bottom {
        max-height: 35vh;
    }
    
    .founder-img-hover-area:hover .founder-hero-overlay-content.founder-hero-overlay-bottom {
        height: 35vh;
        min-height: 35vh;
        max-height: 35vh;
    }
    
    .founder-hero-text-concise {
        padding: 16px;
    }
    
    .founder-hero-text-concise .founder-name {
        font-size: 1.8rem;
    }
    
    .founder-hero-text-concise .founder-title {
        font-size: 0.95rem;
    }
    
    .founder-hero-text-concise .founder-bio {
        font-size: 0.9rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .contact-item {
        padding: 12px 16px;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        padding: var(--spacing-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions button {
        width: 100%;
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-heading h1 {
        font-size: 1.8rem;
        margin-top: 32px;
        margin-bottom: 16px;
    }
    
    .about-alphascan {
        padding: 40px 0 20px 0;
    }
    
    .about-alphascan .about-row {
        padding: 16px 8px;
        border-radius: 8px;
    }
    
    .about-alphascan .about-header,
    .about-alphascan .about-what {
        padding: 16px 12px;
    }
    
    .about-alphascan .about-header h2 {
        font-size: 1.2rem;
    }
    
    .about-alphascan .about-what h3 {
        font-size: 1.1rem;
    }
    
    .about-alphascan .about-header .about-points li,
    .about-alphascan .about-what ul li {
        font-size: 0.9rem;
    }
    
    .about-alphascan .about-services {
        padding: 24px 12px;
        margin-top: 20px;
    }
    
    .about-alphascan .about-services h3 {
        font-size: 1.2rem;
    }
    
    .about-alphascan .service-card {
        padding: 20px 12px;
    }
    
    .about-alphascan .service-card h4 {
        font-size: 1rem;
    }
    
    .about-alphascan .service-card ul {
        font-size: 0.9rem;
    }
    
    .organisations-secured {
        padding: 40px 0;
    }
    
    .organisations-secured .section-header h2 {
        font-size: 1.6rem;
    }
    
    .organisation-item {
        min-width: 100px;
        min-height: 50px;
        padding: 12px 8px;
    }
    
    .organisation-item img {
        max-width: 80px;
        max-height: 40px;
    }
    
    .founder-section {
        padding: 40px 0 0 0;
    }
    
    .founder-heading h2 {
        font-size: 1.4rem;
    }
    
    .founder-img-hover-area .founder-hero-overlay-content.founder-hero-overlay-bottom {
        max-height: 30vh;
    }
    
    .founder-img-hover-area:hover .founder-hero-overlay-content.founder-hero-overlay-bottom {
        height: 30vh;
        min-height: 30vh;
        max-height: 30vh;
    }
    
    .founder-hero-text-concise {
        padding: 12px;
    }
    
    .founder-hero-text-concise .founder-name {
        font-size: 1.4rem;
    }
    
    .founder-hero-text-concise .founder-title {
        font-size: 0.85rem;
    }
    
    .founder-hero-text-concise .founder-bio {
        font-size: 0.8rem;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-section .section-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-section .section-header p {
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 10px 12px;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .form-actions button {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .section-heading h1 {
        font-size: 1.6rem;
    }
    
    .about-alphascan .about-header h2 {
        font-size: 1.1rem;
    }
    
    .about-alphascan .about-what h3 {
        font-size: 1rem;
    }
    
    .about-alphascan .about-header .about-points li,
    .about-alphascan .about-what ul li {
        font-size: 0.85rem;
    }
    
    .organisation-item {
        min-width: 80px;
        min-height: 40px;
        padding: 8px 6px;
    }
    
    .organisation-item img {
        max-width: 60px;
        max-height: 30px;
    }
    
    .founder-hero-text-concise .founder-name {
        font-size: 1.2rem;
    }
    
    .founder-hero-text-concise .founder-title {
        font-size: 0.8rem;
    }
    
    .founder-hero-text-concise .founder-bio {
        font-size: 0.75rem;
    }
    
    .contact-section .section-header h2 {
        font-size: 1.4rem;
    }
    
    .contact-section .section-header p {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .contact-item {
        max-width: 260px;
        padding: 6px 10px;
    }
    
    .contact-item i {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .contact-item h4 {
        font-size: 0.7rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .contact-form-container {
        padding: 12px;
        margin: 0 2px;
        border-radius: 6px;
    }
    
    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.85rem;
        border-radius: 4px;
    }
    
    .form-group textarea {
        min-height: 70px;
    }
    
    .form-actions button {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .form-status {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h5 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-bottom-left p {
        font-size: 0.8rem;
    }
    
    .footer-bottom-right a {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
} 

/* About AlphaScan Section */
.about-alphascan {
    padding: 80px 0 40px 0;
    background: #fff;
}
.about-alphascan .about-header {
    text-align: left;
    margin-bottom: 2.5rem;
}
.about-alphascan .about-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
}
.about-alphascan .about-header p {
    font-size: 1.15rem;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Bullet points for Why AlphaScan is Different */
.about-alphascan .about-header .about-points {
    margin: 0;
    padding-left: 1.2rem;
    text-align: left;
    list-style: disc;
    max-width: 700px;
}
.about-alphascan .about-header .about-points li {
    color: #333;
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.about-alphascan .about-what {
    text-align: left;
    margin-bottom: 2.5rem;
}
.about-alphascan .about-what h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}
.about-alphascan .about-what ul {
    display: block;
    text-align: left;
    font-size: 1.05rem;
    color: #444;
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.8;
}
.about-alphascan .about-what ul li {
    margin-bottom: 0.5rem;
    list-style: disc;
}
.about-alphascan .about-services {
    text-align: center;
}
.about-alphascan .about-services h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}
.about-alphascan .services-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.about-alphascan .service-card {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 32px 28px;
    min-width: 260px;
    max-width: 340px;
    flex: 1 1 260px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 2px solid transparent;
    margin-bottom: 1.5rem;
}
.about-alphascan .service-card h4 {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 1rem;
    font-weight: 600;
}
.about-alphascan .service-card ul {
    padding-left: 1.2rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
}
.about-alphascan .service-card ul li {
    margin-bottom: 0.5rem;
    list-style: disc;
}
.about-alphascan .service-card:hover {
    border-color: #007bff;
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.10);
    transform: translateY(-6px) scale(1.03);
}
@media (max-width: 900px) {
    .about-alphascan .services-grid {
        flex-direction: column;
        align-items: center;
    }
    .about-alphascan .service-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
} 

/* About AlphaScan Row Layout - Enhanced */
.about-alphascan .about-row {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: stretch; /* equal heights */
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #eaf4fb 0%, #f8f9fa 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,123,255,0.06);
    padding: 40px 32px 32px 32px;
    position: relative;
}
.about-alphascan .about-header,
.about-alphascan .about-what {
    flex: 1 1 340px;
    min-width: 280px;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 28px 24px; /* uniform padding for alignment */
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}
.about-alphascan .about-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 6px;
    background: linear-gradient(180deg, #007bff 0%, #00c6ff 100%);
    border-radius: 6px;
}
.about-alphascan .about-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
    margin-left: 0;
}
.about-alphascan .about-header p {
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
    margin-left: 0;
}
.about-alphascan .about-what h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 1rem;
}
.about-alphascan .about-what ul {
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
    font-weight: 500;
}

/* Make lists fill the card to align bottoms */
.about-alphascan .about-header .about-points,
.about-alphascan .about-what ul {
    flex: 1 1 auto;
}

/* Services Section - visually distinct */
.about-alphascan .about-services {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,123,255,0.07);
    padding: 48px 32px 40px 32px;
    margin-top: 48px;
    border-top: 5px solid #007bff;
    position: relative;
}
.about-alphascan .about-services h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.about-alphascan .services-grid {
    display: flex;
    gap: 56px;
    justify-content: center;
    flex-wrap: wrap;
}
.about-alphascan .service-card {
    background: #f4faff;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(0,123,255,0.08);
    padding: 48px 40px;
    min-width: 340px;
    max-width: 480px;
    flex: 1 1 340px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 2.5px solid transparent;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.about-alphascan .service-card h4 {
    font-size: 1.25rem;
    color: #007bff;
    margin-bottom: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.about-alphascan .service-card ul {
    padding-left: 1.2rem;
    color: #1a1a1a;
    font-size: 1.12rem;
    line-height: 1.9;
    font-weight: 400;
}
.about-alphascan .service-card ul li {
    margin-bottom: 0.8rem;
    list-style: disc;
}
.about-alphascan .service-card:hover {
    border-color: #00c6ff;
    box-shadow: 0 16px 48px rgba(0, 198, 255, 0.13);
    transform: translateY(-8px) scale(1.04);
}
@media (max-width: 900px) {
    .about-alphascan .about-row {
        flex-direction: column;
        gap: 24px;
        padding: 24px 8px 16px 8px;
    }
    .about-alphascan .about-header,
    .about-alphascan .about-what {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        padding: 24px 12px 24px 20px;
    }
    .about-alphascan .about-header::before {
        top: 12px;
        bottom: 12px;
    }
    .about-alphascan .about-services {
        padding: 32px 8px 24px 8px;
        margin-top: 32px;
    }
    .about-alphascan .services-grid {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .about-alphascan .service-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        padding: 32px 12px;
    }
} 

/* About AlphaScan Section Animation */
.about-alphascan {
    opacity: 0;
    transform: translateY(40px);
    transition: background 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.about-alphascan.in-view {
    opacity: 1;
    transform: translateY(0);
}
.about-alphascan:hover,
.about-alphascan:focus-within {
    background: #f3f4f6 !important;
} 

/* About AlphaScan: Unify card typography, add side line to both, and hover effects */
.about-alphascan .about-header,
.about-alphascan .about-what {
    border: 2px solid transparent;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Apply the same left gradient side line to both cards */
.about-alphascan .about-what::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 6px;
    background: linear-gradient(180deg, #007bff 0%, #00c6ff 100%);
    border-radius: 6px;
}

/* Equalize heading styles between the two cards */
.about-alphascan .about-what h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
}

/* Make body copy consistent across both lists */
.about-alphascan .about-header .about-points,
.about-alphascan .about-what ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.about-alphascan .about-header .about-points li,
.about-alphascan .about-what ul li {
    color: #333;
    font-size: 1.06rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Subtle, consistent hover for both cards */
.about-alphascan .about-header:hover,
.about-alphascan .about-what:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: #00c6ff;
}

.about-alphascan .about-header:hover h2,
.about-alphascan .about-what:hover h3 {
    color: #0056b3;
}

/* Founder Section - Professional Alignment and Effects */
.founder-section {
    padding: 80px 0 0 0;
    background: #f8f9fa;
    text-align: center;
}
.founder-heading {
    margin-bottom: 36px;
    margin-top: 0;
}
.founder-heading h2 {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.founder-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}
.founder-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,123,255,0.10);
    border: 5px solid #fff;
    background: #eaf4fb31;
    transition: box-shadow 0.4s, transform 0.4s;
}
.founder-image img:hover {
    box-shadow: 0 16px 48px rgba(0,123,255,0.18);
    transform: scale(1.04);
}
.founder-info-centered {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 48px 36px;
    transition: box-shadow 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.founder-info-centered:hover {
    box-shadow: 0 12px 48px rgba(0,123,255,0.10);
}
.founder-name {
    font-size: 2rem;
    font-weight: 900;
    color: #007bff;
    margin-bottom: 0.3rem;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.founder-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 1.3rem;
    letter-spacing: 0.5px;
}
.founder-bio {
    font-size: 1.08rem;
    color: #222;
    line-height: 1.85;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
}
.founder-bio strong {
    color: #007bff;
    font-weight: 700;
}
.founder-bio em {
    color: #555;
    font-size: 1rem;
    display: block;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .founder-image img {
        width: 140px;
        height: 140px;
    }
    .founder-info-centered {
        padding: 28px 12px;
    }
    .founder-name {
        font-size: 1.3rem;
    }
    
    .founder-hero-image {
        object-position: center 30%;
    }
}

@media (max-width: 768px) {
    .founder-hero-image {
        object-position: center 25%;
    }
    
    .founder-hero-image-container {
        height: 80vh;
    }
}

@media (max-width: 480px) {
    .founder-hero-image {
        object-position: center 20%;
    }
    
    .founder-hero-image-container {
        height: 70vh;
    }
}

@media (max-width: 360px) {
    .founder-hero-image {
        object-position: center 15%;
    }
    
    .founder-hero-image-container {
        height: 60vh;
    }
}

/* Founder Hero Fullscreen Image Section */
.founder-hero-image-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf4fb;
}
/* Founder image remains original on hover (no effect) */
.founder-hero-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    transition: none;
}
.founder-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    transition: background 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s cubic-bezier(0.4,0,0.2,1);
}
/* Disabled conflicting hover rules - using .founder-img-hover-area instead */
/* .founder-hero-image-container:hover .founder-hero-image,
.founder-hero-image-container:focus-within .founder-hero-image {
    filter: none;
    transform: none;
} */
/* Disabled conflicting hover rules - using .founder-img-hover-area instead */
/* .founder-hero-image-container:hover .founder-hero-overlay,
.founder-hero-image-container:focus-within .founder-hero-overlay {
    background: #fefeffc7;
    opacity: 0;
    pointer-events: auto;
} */
.founder-hero-text {
    color: #fff;
    text-align: center;
    max-width: 900px;
    padding: 56px 36px;
    border-radius: 18px;
    background: rgba(0,0,0,0.22);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
    pointer-events: auto;
}
/* Disabled conflicting hover rules - using .founder-img-hover-area instead */
/* .founder-hero-image-container:hover .founder-hero-text,
.founder-hero-image-container:focus-within .founder-hero-text {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
} */
.founder-hero-text .founder-name {
    font-size: 2.7rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00c6ff 60%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.founder-hero-text .founder-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #e0eaff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.founder-hero-text .founder-bio {
    font-size: 1.18rem;
    color: #f3f4f6;
    line-height: 1.85;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.founder-hero-text .founder-bio strong {
    color: #00c6ff;
    font-weight: 700;
}
.founder-hero-text .founder-bio em {
    color: #b0c4d8;
    font-size: 1rem;
    display: block;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .founder-hero-text {
        padding: 24px 8px;
        max-width: 98vw;
    }
    .founder-hero-text .founder-name {
        font-size: 1.5rem;
    }
    .founder-hero-image {
        width: 100vw;
        height: 100vh;
    }
    .founder-heading h2 {
        font-size: 1.3rem;
    }
}

/* Founder Overlay Side-by-Side Layout */
.founder-hero-overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
}
/* Disabled conflicting hover rules - using .founder-img-hover-area instead */
/* .founder-hero-image-container:hover .founder-hero-overlay-content,
.founder-hero-image-container:focus-within .founder-hero-overlay-content {
    opacity: 1;
    transform: translateY(0) scale(1);
} */
.founder-overlay-image {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder-overlay-img-circle {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,123,255,0.10);
    border: 5px solid #fff;
    background: #eaf4fb;
    transition: box-shadow 0.4s, transform 0.4s;
}
.founder-hero-text-side {
    flex: 1 1 400px;
    max-width: 700px;
    background: rgba(0,0,0,0.22);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    text-align: left;
    min-width: 0;
}
.founder-hero-text-side .founder-name {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00c6ff 60%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.founder-hero-text-side .founder-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.3rem;
    color: #e0eaff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.founder-hero-text-side .founder-bio {
    font-size: 1.08rem;
    color: #f3f4f6;
    line-height: 1.85;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.founder-hero-text-side .founder-bio strong {
    color: #00c6ff;
    font-weight: 700;
}
.founder-hero-text-side .founder-bio em {
    color: #b0c4d8;
    font-size: 1rem;
    display: block;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .founder-hero-overlay-content {
        flex-direction: column;
        gap: 24px;
        max-width: 98vw;
        padding: 0 8px;
    }
    .founder-overlay-image {
        flex: 0 0 120px;
    }
    .founder-overlay-img-circle {
        width: 120px;
        height: 120px;
    }
    .founder-hero-text-side {
        padding: 24px 8px;
        max-width: 100vw;
        align-items: center;
        text-align: center;
    }
    .founder-hero-text-side .founder-name {
        font-size: 1.3rem;
    }
}

/* Founder Overlay: Animate from bottom, expand, hide image on hover */
.founder-hero-overlay-content.founder-hero-overlay-bottom {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%) scale(0.98);
    width: 100vw;
    height: 0;
    max-width: 100vw;
    max-height: 50vh;
    background: transparent;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.7s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
    z-index: 2;
}
/* Disabled conflicting hover rules - using .founder-img-hover-area instead */
/* .founder-hero-image-container:hover .founder-hero-overlay-content.founder-hero-overlay-bottom,
.founder-hero-image-container:focus-within .founder-hero-overlay-content.founder-hero-overlay-bottom {
    transform: translate(-50%, 0) scale(1);
    height: 50vh;
    opacity: 1;
    pointer-events: auto;
    gap: 0;
    background: transparent;
} */
/* Only show overlay text, not the left image, on hover */
/* Disabled conflicting hover rules - using .founder-img-hover-area instead */
/* .founder-hero-image-container:hover .founder-overlay-image,
.founder-hero-image-container:focus-within .founder-overlay-image {
    display: none !important;
} */
.founder-hero-text-concise {
    width: 100vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    box-shadow: none;
    padding: 0 24px;
    color: #fff;
    opacity: 1;
    margin: 0 auto;
    border-radius: 32px 32px 0 0;
    transition: none;
}
.founder-hero-text-concise .founder-name {
    font-size: 3.36rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    opacity: 0;
}
.founder-hero-text-concise .founder-title {
    font-size: 1.44rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: #222222;
    text-shadow: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    opacity: 0;
}
.founder-hero-text-concise .founder-bio {
    font-size: 1.32rem;
    color: #333333;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
    text-shadow: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100%);
    opacity: 0;
}

/* Ensure each founder bio segment is a single, non-wrapping line */
.founder-bio .bio-line {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .founder-bio .bio-line {
        font-size: 0.98rem;
    }
}
@media (max-width: 900px) {
    .founder-hero-overlay-content.founder-hero-overlay-bottom {
        border-radius: 24px 24px 0 0;
        height: 40vh;
        max-height: 40vh;
    }
    .founder-hero-text-concise {
        height: 40vh;
        padding: 0 8px;
        border-radius: 24px 24px 0 0;
    }
    .founder-hero-text-concise .founder-name {
        font-size: 1.2rem;
    }
} 

/* ABOUT Section Heading Styles */
.section-heading {
    text-align: center;
    margin-top: 64px;
    margin-bottom: 32px;
}
.section-heading h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}
@media (max-width: 600px) {
    .section-heading h1 {
        font-size: 2rem;
    }
    .section-heading {
        margin-top: 40px;
        margin-bottom: 20px;
    }
}
/* Adjust spacing between hero, ABOUT, and AlphaScan sections */
.hero + .container .section-heading {
    margin-top: 72px;
}
.container + .about-alphascan {
    margin-top: 0;
}
.about-alphascan {
    margin-top: 0;
} 

/* Only show overlay text when hovering on the founder image area */
.founder-img-hover-area {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder-img-hover-area .founder-hero-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    transition: none;
}
.founder-img-hover-area:hover .founder-hero-image,
.founder-img-hover-area:focus-within .founder-hero-image {
    filter: none;
    transform: none;
    transition: none;
}
.founder-img-hover-area .founder-hero-overlay-content.founder-hero-overlay-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 0;
    max-width: 100vw;
    max-height: 40vh;
    transform: translate(-50%, 100%);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0;
    box-shadow: none;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 2;
}
.founder-img-hover-area:hover .founder-hero-overlay-content.founder-hero-overlay-bottom,
.founder-img-hover-area:focus-within .founder-hero-overlay-content.founder-hero-overlay-bottom {
    height: 40vh;
    min-height: 40vh;
    max-height: 40vh;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-img-hover-area:hover .founder-hero-text-concise .founder-name,
.founder-img-hover-area:focus-within .founder-hero-text-concise .founder-name {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.founder-img-hover-area:hover .founder-hero-text-concise .founder-title,
.founder-img-hover-area:focus-within .founder-hero-text-concise .founder-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.founder-img-hover-area:hover .founder-hero-text-concise .founder-bio,
.founder-img-hover-area:focus-within .founder-hero-text-concise .founder-bio {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
}
.founder-hero-text-concise {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    box-shadow: none;
    padding: 24px;
    color: #fff;
    opacity: 1;
    margin: 0 auto;
    border-radius: 0;
    transition: none;
}
@media (max-width: 900px) {
    .founder-img-hover-area .founder-hero-overlay-content.founder-hero-overlay-bottom {
        border-radius: 24px 24px 0 0;
        height: 40vh;
        max-height: 40vh;
        padding: 0 8px;
    }
    .founder-hero-text-concise {
        height: 40vh;
        padding: 0 8px;
        border-radius: 24px 24px 0 0;
    }
    .founder-hero-text-concise .founder-name {
        font-size: 1.2rem;
    }
} 

/* Slide up animation for founder hover effect */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 

/* Contact Section Styles with Professional White and Blue Design */
.contact-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: var(--white);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(0, 123, 255, 0.02) 0%, rgba(0, 123, 255, 0.05) 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.contact-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.contact-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.contact-info {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    animation: slideInLeft 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 123, 255, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.16);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: none;
    box-shadow: var(--shadow-light);
    background: rgba(0, 123, 255, 0.12);
    border-color: var(--primary-blue);
}

.contact-item i {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.12);
    text-align: center;
}

.contact-item h4 {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

.contact-item p {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
    white-space: nowrap;
}

.contact-item p a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-item p a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Mobile tweaks for compact badges */
@media (max-width: 768px) {
    .contact-info {
        gap: var(--spacing-sm);
    }
    .contact-item {
        padding: 8px 12px;
    }
    .contact-item p {
        font-size: 0.9rem;
    }
}

.contact-form-container {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: var(--border-light);
    backdrop-filter: blur(10px);
    animation: slideInRight 0.8s ease-out;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-md);
    border: var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition-smooth);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--spacing-md);
}

.form-actions button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.form-actions button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-actions button:hover::before {
    left: 100%;
}

.form-actions button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: var(--gradient-secondary);
}

.form-actions button:active {
    transform: translateY(0);
}

.form-status {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition-smooth);
}

.form-status.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-status.loading {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.form-status.hidden {
    display: none;
}

/* Field validation styles */
.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

/* Responsive Design for Contact Section */
@media (max-width: 1200px) {
    .contact-container {
        gap: var(--spacing-lg);
    }
    
    .contact-form-container {
        padding: var(--spacing-xl);
    }
    
    .form-row {
        gap: var(--spacing-md);
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-lg);
        flex-wrap: wrap;
    }
    
    .contact-item {
        min-width: 200px;
        flex: 0 1 auto;
    }
    
    .contact-form-container {
        padding: var(--spacing-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-section .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-section .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .contact-item i {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        padding: var(--spacing-lg);
        margin: 0 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .form-group {
        margin-bottom: var(--spacing-sm);
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .form-group input,
    .form-group textarea {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    .form-actions {
        margin-top: var(--spacing-md);
    }
    
    .form-actions button {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 0.95rem;
    }
    
    .form-status {
        margin-top: var(--spacing-sm);
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: var(--spacing-xl) 0;
    }
    
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h5 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .footer-bottom-left p {
        font-size: 0.8rem;
    }
    
    .footer-bottom-right a {
        font-size: 0.75rem;
    }
    
    .contact-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-section .section-header p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .contact-info {
        gap: var(--spacing-xs);
    }
    
    .contact-item {
        max-width: 280px;
        padding: 8px 12px;
    }
    
    .contact-item i {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .contact-item h4 {
        font-size: 0.75rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .contact-form-container {
        padding: var(--spacing-md);
        margin: 0 5px;
        border-radius: 8px;
    }
    
    .form-group {
        margin-bottom: var(--spacing-xs);
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .form-actions {
        margin-top: var(--spacing-sm);
    }
    
    .form-actions button {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .form-status {
        margin-top: var(--spacing-xs);
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Inline label + value inside badge, avoid multi-line height */
.contact-item > div {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

/* Allow wrapping on small screens to prevent overflow */
@media (max-width: 480px) {
    .contact-item > div {
        white-space: normal;
        gap: 6px;
    }
}
