/* === RESET & BASE STYLES === */
:root {
    /* Black and white theme inspired by Hims */
    --color-primary: #000000;
    --color-secondary: #FFFFFF;
    --color-accent: #777777;
    --color-dark: #000000;
    --color-light: #FFFFFF;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-400: #CED4DA;
    --color-gray-500: #ADB5BD;
    --color-gray-600: #6C757D;
    --color-gray-700: #495057;
    --color-gray-800: #343A40;
    --color-gray-900: #212529;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;
    
    /* Other variables */
    --border-radius-sm: 0px;
    --border-radius-md: 0px;
    --border-radius-lg: 0px;
    --border-radius-xl: 0px;
    --border-radius-section: 30px; /* Added border radius for sections */
    --transition-speed: 0.3s;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Dark theme variables - inverted for black and white theme */
.dark-theme {
    --color-primary: #FFFFFF;
    --color-secondary: #000000;
    --color-accent: #777777;
    --color-dark: #FFFFFF;
    --color-light: #000000;
    --color-gray-100: #212529;
    --color-gray-200: #343A40;
    --color-gray-300: #495057;
    --color-gray-400: #6C757D;
    --color-gray-500: #ADB5BD;
    --color-gray-600: #CED4DA;
    --color-gray-700: #DEE2E6;
    --color-gray-800: #E9ECEF;
    --color-gray-900: #F8F9FA;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
    -ms-overflow-style: scrollbar; /* For Edge support */
}

body {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: #FFFFFF; /* Explicit background color */
    transition: color 0.5s ease;
    overflow-x: hidden;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease;
    background-color: var(--color-light); /* Added background to sections */
}

.section-heading {
    text-align: center;
    margin-bottom: 6rem;
}

.section-heading h2 {
    font-family: var(--font-primary);
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    letter-spacing: -0.03em;
}

.heading-line {
    width: 6rem;
    height: 0.4rem;
    background-color: var(--color-primary);
    margin: 0 auto 2rem;
}

/* === NAVIGATION === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: var(--color-light);
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--color-dark);
}

.dark-theme header {
    background-color: var(--color-light);
    border-bottom: 1px solid var(--color-dark);
}

.navbar {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 2rem;
}

.logo a {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-dark);
    display: flex;
    align-items: center;
}

.logo a span {
    color: var(--color-dark);
    margin-right: 0.5rem;
}

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

.nav-menu a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: var(--color-dark);
    transition: width 0.3s ease;
}

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

.theme-toggle {
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 0.3rem;
    background-color: var(--color-dark);
    border-radius: 0;
    transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    overflow: hidden;
}

/* Fixed hero background positioning */
.hero-background {
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-background video,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Center container properly with exact same width as navbar */
.hero-section .container {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr; /* Adjusted ratio to give more space to the logo */
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-width); /* Match the navbar container width */
    height: calc(100% - var(--header-height));
    margin: 0 auto;
    padding: var(--header-height) 2rem 0 2rem;
    justify-items: stretch;
}

.hero-content {
    max-width: 100%; /* Allow content to use all available space */
    padding-left: 0; /* Removed left padding to ensure equal spacing */
}

.hero-headline {
    font-family: var(--font-primary);
    font-size: 7rem; /* Increased font size */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.05em;
    color: var(--color-dark);
}

.hero-headline .line1, 
.hero-headline .line2 {
    display: block;
}

.hero-paragraph-container {
    margin-bottom: 4rem;
}

.hero-tagline {
    font-size: 2.2rem; /* Increased font size */
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 4rem;
    max-width: 700px; /* Increased max-width */
}

/* Hero logo styling */
.hero-logo {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 650px; /* Increased from 550px for a larger logo */
    height: auto;
    margin-left: auto;
}

.hero-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 700px; /* Increased from 600px for a larger logo */
}

.hero-cta {
    display: flex;
    gap: 2rem;
}

.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--color-dark);
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 600;
    border: 2px solid var(--color-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

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

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
}

/* === ABOUT SECTION === */
.about-section {
    background: #000000;
    color: var(--color-light);
    position: relative;
    z-index: 3; /* Higher than hero section */
    min-height: 100vh;
    margin-top: 100vh; /* Push it down past the hero section */
    padding: 10rem 0 8rem;
    box-shadow: none;
}

/* Add a subtle pattern overlay for texture */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: -1;
}

.section-heading {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.about-section .section-heading h2 {
    font-family: var(--font-primary);
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}

/* Add stylish underline to the section heading */
.about-section .heading-line {
    width: 15rem;
    height: 0.4rem;
    background: linear-gradient(90deg, transparent, var(--color-light), transparent);
    margin: 0 auto 3rem;
    position: relative;
}

/* Add a highlighted text effect to emphasize "Paradox" */
.about-section .section-heading h2 span {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
}

.about-section .section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    width: 6rem;
    height: 0.3rem;
    background-color: var(--color-light);
    transform: translateX(-50%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Increased the left column ratio to give more space to the image */
    gap: 6rem;
    align-items: center;
    position: relative;
}

.about-image {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Enhanced shadow for depth */
    position: relative;
    height: 100%; /* Ensure the image container takes full height */
    min-height: 500px; /* Set a minimum height */
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
    z-index: 1; /* Ensure gradient appears above the image */
}

.about-image img {
    transition: transform 0.8s ease;
    filter: grayscale(80%) contrast(1.2);
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the entire container */
    object-position: center; /* Center the image */
    position: absolute;
    top: 0;
    left: 0;
}

.about-content {
    position: relative;
}

.about-content p {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent for depth */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow for readability */
}

.about-content h3 {
    font-family: var(--font-primary);
    font-size: 3.2rem;
    font-weight: 600;
    margin: 4rem 0 2rem;
    color: var(--color-light);
    position: relative;
    padding-bottom: 1.5rem;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8rem;
    height: 3px;
    background: linear-gradient(90deg, var(--color-light), transparent);
}

.about-content ul {
    list-style: none;
    margin-bottom: 4rem;
}

.about-content ul li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-light);
    font-weight: bold;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.value-card {
    padding: 3.5rem 2.5rem;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background */
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    backdrop-filter: blur(5px); /* Subtle glass effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-15px);
    background-color: var(--color-light);
    border-color: var(--color-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.value-card:hover h3,
.value-card:hover p {
    color: var(--color-dark);
}

.value-card:hover .card-icon {
    color: var(--color-dark);
    transform: scale(1.2);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--color-light);
    margin-bottom: 2.5rem;
    transition: all 0.4s ease;
}

.value-card h3 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: var(--color-light);
}

.value-card p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Special styling for dark mode to ensure visibility */
.dark-theme .about-section {
    background: linear-gradient(135deg, #030303 0%, #151515 100%);
}

.dark-theme .about-section .section-heading h2,
.dark-theme .about-content h3,
.dark-theme .about-content p,
.dark-theme .about-content ul li,
.dark-theme .value-card h3,
.dark-theme .value-card p,
.dark-theme .card-icon {
    color: var(--color-light);
}

.dark-theme .value-card:hover h3,
.dark-theme .value-card:hover p,
.dark-theme .value-card:hover .card-icon {
    color: var(--color-dark);
}

/* Add a subtle highlight animation to the About heading */
@keyframes headingGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }
}

.about-section .section-heading h2 {
    animation: headingGlow 3s infinite ease-in-out;
}

/* About highlight section */
.about-highlight {
    margin-top: 6rem;
    padding: 4rem;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 5px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-highlight h3 {
    font-family: var(--font-primary);
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-light);
    position: relative;
    display: inline-block;
}

.about-highlight h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    width: 8rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-light), transparent);
    transform: translateX(-50%);
}

.about-highlight p {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--color-light);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.about-highlight .btn {
    background-color: transparent;
    color: var(--color-light);
    border: 1px solid var(--color-light);
    padding: 1.5rem 3rem;
    transition: all 0.3s ease;
}

.about-highlight .btn:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* Enhanced dark mode compatibility */
.dark-theme .about-highlight {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .about-highlight h3,
.dark-theme .about-highlight p {
    color: var(--color-light);
}

.dark-theme .about-highlight .btn {
    color: var(--color-light);
    border-color: var(--color-light);
}

.dark-theme .about-highlight .btn:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* Responsive adjustments for about section */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr 1fr; /* Equal columns on medium screens */
        gap: 4rem;
    }
    
    .about-image {
        min-height: 450px; /* Slightly smaller minimum height */
    }
    
    .about-highlight p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 4rem;
    }
    
    .about-image {
        min-height: 400px; /* Adjust height for mobile */
        margin-bottom: 2rem; /* Add some space before content */
        width: 100%; /* Full width on mobile */
    }
    
    .about-highlight {
        padding: 3rem 2rem;
    }
    
    .about-highlight h3 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .about-highlight h3 {
        font-size: 2.6rem;
    }
    
    .about-highlight p {
        font-size: 1.7rem;
    }
}

/* === PLATFORM SECTION === */
.platform-section {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.platform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.platform-section .section-heading h2,
.platform-section .section-heading p {
    color: var(--color-dark);
}

.platform-section .section-heading p {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-top: 1.5rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 6rem;
    position: relative;
    justify-items: center; /* Center align the grid items horizontally */
    justify-content: center; /* Center the entire grid */
}

.platform-tile {
    height: 30rem;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    width: 100%; /* Ensure tiles take the full width of their grid cell */
    max-width: 35rem; /* Set a maximum width for larger screens */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.platform-tile:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Floating animation for featured tile */
.platform-tile.featured-tile {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.platform-tile.featured-tile:hover {
    animation: none;
    transform: translateY(-15px) scale(1.05);
}

/* Add shine effect to tiles */
.tile-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s;
    z-index: 10;
}

.platform-tile:hover .tile-front::before {
    left: 125%;
}

/* Pulse effect for the icons */
.tile-pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
}

/* Enhanced 3D effects */
.tile-front, .tile-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    border-radius: 1rem;
    overflow: hidden;
}

.tile-front {
    background-color: var(--color-light);
    border: 1px solid var(--color-dark);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.tile-front::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.platform-tile:hover .tile-front::after {
    transform: scaleX(1);
}

.tile-back {
    background-color: var(--color-dark);
    color: var(--color-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
}

.platform-tile:hover .tile-front {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
}

.platform-tile:hover .tile-back {
    transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
}

.tile-front i {
    font-size: 5rem;
    color: var(--color-dark);
    margin-bottom: 2.5rem;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.platform-tile:hover .tile-front i {
    transform: scale(1.2) rotate(10deg);
}

.tile-front h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 2.2rem;
    text-align: center;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

.tile-back p {
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.7;
    max-width: 25rem;
}

.tile-back::before {
    content: attr(data-number);
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    font-weight: 700;
    opacity: 0.1;
    color: var(--color-light);
    font-family: var(--font-primary);
}

.connecting-line {
    position: absolute;
    height: 2px;
    background-color: var(--color-dark);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0;
}

/* === PARTNERS SECTION === */
.partners-section {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: 8rem 0;
}

.partners-section .section-heading h2 {
    color: var(--color-dark);
}

.partnership-cta {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
    padding: 5rem;
    background-color: transparent;
    border: 1px solid var(--color-dark);
    transition: all 0.3s ease;
}

.partnership-cta:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.partnership-cta h3 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.partnership-cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--color-dark);
}

/* === CAREERS SECTION === */
.careers-section {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 8rem 0;
}

.careers-section .section-heading h2 {
    color: var(--color-light);
}

.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.careers-content h3 {
    font-family: var(--font-primary);
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--color-light);
}

.careers-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-light);
}

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

.benefits-list li {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--color-light);
    margin-right: 1.5rem;
    font-size: 2rem;
}

.careers-form {
    background-color: transparent;
    padding: 4rem;
    border: 1px solid var(--color-light);
}

.careers-form h3 {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--color-light);
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

input, select, textarea {
    width: 100%;
    padding: 1.5rem 2rem;
    border: 1px solid var(--color-light);
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    background-color: transparent;
    color: var(--color-light);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-light);
    box-shadow: none;
}

select option {
    background-color: var(--color-dark);
    color: var(--color-light);
}

textarea {
    resize: vertical;
    min-height: 15rem;
}

.file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background-color: transparent;
    border: 1px dashed var(--color-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.file-upload input {
    display: none;
}

#file-name {
    display: block;
    font-size: 1.4rem;
    color: var(--color-light);
    margin-top: 1rem;
    text-align: center;
}

/* Fix for careers form submit button */
.careers-form .btn-primary {
    display: block;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: var(--color-light);
    color: var(--color-dark);
    border: 1px solid var(--color-light);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.careers-form .btn-primary:hover {
    background-color: transparent;
    color: var(--color-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === CONTACT SECTION === */
.contact-section {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.contact-section .section-heading h2 {
    color: var(--color-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.contact-form {
    background-color: transparent;
    padding: 4rem;
    border: 1px solid var(--color-dark);
}

.contact-form input, 
.contact-form textarea,
.contact-form select {
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.contact-form input:focus, 
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--color-dark);
}

.contact-form select option {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.info-item i {
    font-size: 2.4rem;
    color: var(--color-dark);
}

.info-item p {
    font-size: 1.8rem;
    color: var(--color-dark);
}

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

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-5px);
}

/* === NEWSLETTER SECTION === */
.newsletter-section {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 8rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-family: var(--font-primary);
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.newsletter-form-group {
    display: flex;
    max-width: 60rem;
    margin: 0 auto;
}

.newsletter-form-group input {
    flex: 1;
    border-right: none;
    border-color: var(--color-light);
}

.newsletter-form-group .btn {
    background-color: var(--color-light);
    color: var(--color-dark);
    box-shadow: none;
}

.newsletter-form-group .btn:hover {
    background-color: var(--color-accent);
    color: var(--color-light);
}

/* === FOOTER === */
.footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 8rem 0 4rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.footer-about h3 {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-light);
}

.footer-about p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--color-light);
}

.footer-about .social-link {
    border: 1px solid var(--color-light);
    color: var(--color-light);
}

.footer-about .social-link:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.footer-links h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--color-light);
}

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

.footer-links ul li a {
    color: var(--color-light);
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-accent);
    padding-left: 0.5rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-light);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Update for Edge compatibility */
.hero-tagline .gradient-text {
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: var(--color-dark);
}

/* Fix for Edge backdrop-filter issues */
.pi-platform-main-content,
.core-value-card {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Fix for Edge transform issues */
.platform-tile:hover .tile-front {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
}

.platform-tile:hover .tile-back {
    transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
}

/* Ensure animations work in Edge */
@-ms-keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@-ms-keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@-ms-keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Fix for Edge transition issues */
.platform-tile {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

/* Better rendering in Edge */
.hero-tagline,
.section-heading h2,
.about-content p,
.value-card p,
.pi-intro-text {
    text-rendering: optimizeLegibility;
}

/* Fix for Edge gradient issues */
.gradient-bg {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Fix opacity transitions on Edge */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

}

/* === PI PLATFORM SECTION === */
.pi-platform-section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    color: var(--color-light);
    background-color: var(--color-dark);
}

.pi-platform-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.3);
    z-index: 0;
}

.pi-platform-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.pi-platform-content {
    position: relative;
    z-index: 2;
}

.pi-platform-section .section-heading h2 {
    color: var(--color-light);
}

.pi-platform-main-content {
    margin-bottom: 6rem;
}

.pi-platform-intro {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.pi-intro-text {
    font-size: 2.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--color-light);
}

.pi-highlight {
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
}

/* Journey visualization */
.pi-journey-container {
    margin: 8rem 0;
}

.pi-journey {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 100rem;
    margin: 0 auto;
}

.pi-journey::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

.pi-journey-step {
    position: relative;
    width: 22%;
    padding: 2rem;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

.pi-journey-step:hover {
    transform: translateY(-10px);
}

.pi-journey-dot {
    width: 20px;
    height: 20px;
    background-color: var(--color-light);
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.pi-journey-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.pi-journey-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.pi-journey-desc {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* CTA section */
.pi-cta-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 5rem;
    border-radius: 5px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90rem;
    margin: 0 auto;
}

.pi-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.pi-cta-title {
    font-family: var(--font-primary);
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-light);
}

.pi-cta-text {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 4rem;
    color: var(--color-light);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.pi-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.pi-cta-primary {
    display: inline-block;
    padding: 1.8rem 3.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.6rem;
    background-color: var(--color-light);
    color: var(--color-dark);
    border: none;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pi-cta-primary:hover {
    background-color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pi-cta-secondary {
    display: inline-block;
    padding: 1.8rem 3.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.6rem;
    background-color: transparent;
    color: var(--color-light);
    border: 1px solid var(--color-light);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pi-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .pi-journey {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pi-journey-step {
        width: 45%;
        margin-bottom: 4rem;
    }
    
    .pi-journey::before {
        display: none;
    }
    
    .pi-cta-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .pi-platform-section {
        padding: 8rem 0;
    }
    
    .pi-intro-text {
        font-size: 1.8rem;
    }
    
    .pi-cta-container {
        padding: 4rem 2rem;
    }
    
    .pi-cta-title {
        font-size: 3rem;
    }
    
    .pi-cta-text {
        font-size: 1.8rem;
    }
    
    .pi-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .pi-journey-step {
        width: 100%;
    }
    
    .pi-cta-title {
        font-size: 2.6rem;
    }
}

/* === CORE VALUES SECTION === */
.core-values-section {
    padding: 10rem 0;
    position: relative;
    background-color: var(--color-light);
    color: var(--color-dark);
    overflow: hidden;
    background-image: linear-gradient(to bottom, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 1));
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: -1;
}

.sphere-1 {
    width: 40rem;
    height: 40rem;
    background-color: #000;
    top: -20rem;
    right: -15rem;
}

.sphere-2 {
    width: 50rem;
    height: 50rem;
    background-color: #333;
    bottom: -30rem;
    left: -20rem;
}

.sphere-3 {
    width: 30rem;
    height: 30rem;
    background-color: #666;
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
}

.core-values-section .container {
    position: relative;
    z-index: 2;
}

.core-values-section .section-heading h2 {
    color: var(--color-dark);
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

.core-values-section .section-heading h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    width: 8rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-dark), transparent);
    transform: translateX(-50%);
}

.core-values-section .section-heading p {
    font-size: 2.2rem;
    max-width: 70rem;
    margin: 3rem auto 0;
    color: var(--color-dark);
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 8rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .core-values-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .core-value-card {
        padding: 3rem 2rem;
    }
}

.core-value-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    padding: 4.5rem 3rem;
    border-radius: 0.5rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.core-value-card:hover {
    transform: translateY(-10px);
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.core-value-card:hover .core-value-icon i {
    transform: rotate(45deg);
    color: var(--color-light);
}

.core-value-card .core-value-icon i {
    transition: transform 0.4s ease, color 0.4s ease;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Adding a subtle shine effect on hover */
.core-value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s;
    z-index: -1;
}

.core-value-card:hover::after {
    left: 125%;
}

.core-value-card:hover .core-value-title,
.core-value-card:hover .core-value-desc,
.core-value-card:hover .core-value-icon i {
    color: var(--color-light);
}

.core-value-card:hover .core-value-number {
    color: rgba(255, 255, 255, 0.3);
}

.core-value-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
    transition: all 0.4s ease;
}

.core-value-icon {
    margin-bottom: 3rem;
    font-size: 3.5rem;
    color: var(--color-dark);
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.core-value-card:hover .core-value-icon {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Ripple effect on icon hover */
.core-value-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.core-value-card:hover .core-value-icon::before {
    width: 120%;
    height: 120%;
}

.core-values-cta {
    text-align: center;
    margin-top: 5rem;
}

.core-values-cta .btn {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 1.5rem 4rem;
    border-radius: 0;
    font-size: 1.6rem;
    border: 1px solid var(--color-dark);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.core-values-cta .btn:hover {
    background-color: transparent;
    color: var(--color-dark);
}

/* Add animation for the cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.core-value-card {
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.core-value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.core-value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.core-value-card:nth-child(3) {
    animation-delay: 0.3s;
}

.core-value-card:nth-child(4) {
    animation-delay: 0.4s;
}

.core-value-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .core-values-section {
        padding: 8rem 0;
    }
    
    .core-values-section .section-heading h2 {
        font-size: 4rem;
    }
    
    .core-values-section .section-heading p {
        font-size: 1.8rem;
    }
    
    .core-value-title {
        font-size: 2.2rem;
    }
    
    .core-value-desc {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .core-values-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* === FOUNDER SECTION === */
.founder-section {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    margin-top: 6rem;
    align-items: center;
}

.founder-image {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-image img {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(80%) contrast(1.2);
    transition: all 0.5s ease;
}

.founder-image:hover img {
    filter: grayscale(40%) contrast(1.2);
    transform: scale(1.03);
}

.founder-social {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: var(--color-dark);
    color: var(--color-light);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-icon:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-dark);
    transform: translateY(-5px);
}

.founder-message {
    position: relative;
}

.founder-message h3 {
    font-family: var(--font-primary);
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.founder-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--color-dark);
    opacity: 0.8;
    position: relative;
    padding-bottom: 2rem;
}

.founder-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8rem;
    height: 2px;
    background-color: var(--color-dark);
}

.message-content {
    margin-bottom: 4rem;
}

.message-content p {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.message-content p:first-child {
    font-style: italic;
    font-size: 2.2rem;
    font-weight: 500;
}

.founder-email {
    color: var(--color-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--color-dark);
    transition: all 0.3s ease;
}

.founder-email:hover {
    opacity: 0.8;
    border-color: transparent;
}

.btn-founder {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    padding: 1.5rem 3rem;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-founder:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    transform: translateY(-5px);
}

.btn-founder i {
    font-size: 1.6rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .founder-container {
        gap: 4rem;
    }
    
    .founder-message h3 {
        font-size: 3.2rem;
    }
    
    .message-content p {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .founder-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .founder-image {
        max-width: 40rem;
        margin: 0 auto;
    }
    
    .founder-title {
        text-align: center;
    }
    
    .founder-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .founder-message h3 {
        text-align: center;
    }
    
    .message-content {
        text-align: center;
    }
    
    .btn-founder {
        display: flex;
        justify-content: center;
        max-width: 25rem;
        margin: 0 auto;
    }
}

/* Responsive adjustments for hero section */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 5.5rem;
    }
    
    .hero-logo {
        max-width: 350px;
    }
}

@media (max-width: 991px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-headline {
        font-size: 5rem;
    }
    
    .hero-tagline {
        margin: 0 auto 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-logo {
        margin: 0 auto;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 4.5rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta a {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-logo {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 3.8rem;
    }
    
    .hero-tagline {
        font-size: 1.6rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .scroll-indicator {
        bottom: 3rem;
    }
}

/* Custom cursor styling */
.cursor-dot,
.cursor-dot-outline {
    pointer-events: none; /* This prevents the cursor from interfering with mouse events */
    position: fixed;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-dark);
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid var(--color-dark);
}

.dark-theme .cursor-dot {
    background-color: var(--color-light);
}

.dark-theme .cursor-dot-outline {
    border-color: var(--color-light);
}

/* Additional fixes to prevent unwanted scroll */
html, body {
    overscroll-behavior: none; /* Prevents browser bounce effects that can trigger scroll */
}

/* Prevent smooth scroll from being manipulated by JavaScript */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
}

/* Form success and error messages */
.form-success-message,
.form-error-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
    animation: fadeIn 0.3s ease forwards;
}

.form-success-message {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-error-message {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === MODAL STYLES === */
    .modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.7);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .modal.show {
        display: block;
        opacity: 1;
    }
    
    .modal-content {
        background-color: var(--color-light);
        color: var(--color-dark);
        margin: 5% auto;
        padding: 2.5rem;
        border: 1px solid var(--color-gray-300);
        width: 90%;
        max-width: 80rem;
        max-height: 85vh;
        overflow-y: auto;
        position: relative;
        transform: translateY(-50px);
        transition: transform 0.3s ease;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .modal.show .modal-content {
        transform: translateY(0);
    }
    
    .modal-close {
        position: absolute;
        right: 2rem;
        top: 2rem;
        color: var(--color-dark);
        font-size: 3rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        line-height: 1;
    }
    
    .modal-close:hover {
        color: var(--color-accent);
    }
    
    .modal-body {
        margin-top: 2rem;
    }
    
    .modal-body h3 {
        font-family: var(--font-primary);
        font-size: 2rem;
        font-weight: 700;
        margin: 3rem 0 1.5rem;
        color: var(--color-dark);
    }
    
    .modal-body p, 
    .modal-body ul,
    .modal-body ol {
        font-size: 1.6rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        color: var(--color-dark);
    }
    
    .modal-body ul,
    .modal-body ol {
        padding-left: 2rem;
    }
    
    .modal-body li {
        margin-bottom: 0.8rem;
    }
    
    .modal-body a {
        color: #0066cc;
        transition: all 0.2s ease;
    }
    
    .modal-body a:hover {
        text-decoration: underline;
    }
    
    .modal-body strong {
        font-weight: 700;
    }
    
    /* Dark theme compatibility */
    .dark-theme .modal-content {
        background-color: var(--color-dark);
        color: var(--color-light);
        border-color: var(--color-gray-700);
    }
    
    .dark-theme .modal-close {
        color: var(--color-light);
    }
    
    .dark-theme .modal-body h3 {
        color: var(--color-light);
    }
    
    .dark-theme .modal-body p,
    .dark-theme .modal-body ul,
    .dark-theme .modal-body ol {
        color: var(--color-light);
    }
    
    @media (max-width: 768px) {
        .modal-content {
            padding: 2rem;
            margin: 10% auto;
            width: 95%;
        }
        
        .modal-body h3 {
            font-size: 1.8rem;
        }
        
        .modal-body p, 
        .modal-body ul,
        .modal-body ol {
            font-size: 1.5rem;
        }
    }
    
    /* Fix for Edge compatibility */
    @supports (-ms-ime-align:auto) {
        .modal {
            background-color: rgba(0, 0, 0, 0.7);
        }
    }