*{
    padding:0; 
    margin: 0;
    box-sizing: border-box;
}

body,html{
    height: 100%;
    width:100%;
    overflow-x: hidden;
}

/* Theme variables for consistent sections */
:root{
    --bg-start: #1a1a2e;
    --bg-end: #0f0f1e;
    --panel-bg: rgba(255,255,255,0.03);
    --muted: rgba(255,255,255,0.72);
    --accent: rgba(100,150,255,0.5);
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95) 0%, rgba(30, 30, 40, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .navbar {
        padding: 1rem 2rem;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 0.9rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.75rem 1rem;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.7rem 0.8rem;
        justify-content: flex-end;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 0.65rem 0.6rem;
        justify-content: flex-end;
    }
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.5), transparent);
}

.navleft {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
}

.navleft .logo {
    height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 1200px) {
    .navleft {
        font-size: 1.15rem;
    }
}

@media (max-width: 900px) {
    .navleft {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .navleft {
        font-size: 1.05rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 600px) {
    .navleft {
        display: none;
    }
}

@media (max-width: 480px) {
    .navleft {
        display: none;
    }
}

@media (max-width: 400px) {
    .navleft {
        display: none;
    }
}

.navright {
    display: flex;
    align-items: center;
}

/* Menu Button Styles */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 101;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .menu-btn {
        gap: 5px;
        padding: 4px;
    }
    
    .menu-btn span {
        width: 25px;
        height: 2.5px;
    }
}

@media (max-width: 400px) {
    .menu-btn {
        gap: 4px;
        padding: 3px;
    }
    
    .menu-btn span {
        width: 22px;
        height: 2px;
    }
}

/* Hamburger Animation - Active State */
.menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.98) 0%, rgba(30, 30, 40, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: row;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .dropdown-menu {
        flex-direction: column;
    }
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.4), transparent);
}

.dropdown-menu.active {
    max-height: 100vh;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-left {
    width: 50%;
    background: linear-gradient(135deg, rgba(25, 25, 30, 0.6) 0%, rgba(35, 35, 45, 0.6) 100%);
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quote Container Styles */
.quote-container {
    max-width: 520px;
    padding: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInQuote 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInQuote {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-mark {
    font-size: 120px;
    line-height: 0.6;
    color: rgba(100, 150, 255, 0.3);
    font-family: Georgia, serif;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    letter-spacing: 1px;
    margin: 0 0 24px 0;
    font-weight: 300;
}

.quote-author {
    font-size: 1rem;
    font-family: 'Titillium Web', sans-serif;
    color: rgba(100, 150, 255, 0.8);
    font-style: italic;
    letter-spacing: 0.5px;
}

.dropdown-right {
    width: 50%;
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.7) 0%, rgba(25, 25, 35, 0.7) 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-top: 100px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-link {
    color: white;
    text-decoration: none;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
    border-bottom: 1px solid #444;
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.dropdown-link:hover {
    background-color: #444;
    padding-left: 3rem;
}

.dropdown-link:hover .carousel-container {
    display: flex;
}

#homeLink {
    overflow: visible;
    position: relative;
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #444;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-track {
    display: flex;
    animation: scroll 2.5s linear infinite;
    gap: 0;
    width: 100%;
}

.carousel-item {
    flex-shrink: 0;
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #444;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    border: none;
    font-family: 'Bebas Neue', sans-serif;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes colorShift {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* Arrow Styles */
.link-arrow {
    opacity: 0;
    font-size: 2rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px) translateY(5px);
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 10;
    padding: 0 1.5rem;
    background: linear-gradient(to right, transparent, #444,#444,#444);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.dropdown-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.dropdown-link:hover .link-text {
    display: none;
}

/* Page 1 Styles */
.page1 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    font-family: 'Bebas Neue', sans-serif;
}

.globe-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    perspective: 1500px;
    perspective-origin: 50% 50%;
}

/* Responsive Globe Container */
@media (max-width: 1200px) {
    .globe-container {
        padding: 0 5%;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .globe-container {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 30px;
        padding: 20px 5%;
    }
}

@media (max-width: 600px) {
    .page1 {
        padding-top: 60px;
    }
    
    .globe-container {
        gap: 20px;
        padding: 10px 20px;
    }
}

/* Landing Text Styles */
.landing-text {
    max-width: 600px;
    color: white;
    z-index: 10;
    animation: fadeInLeft 1.2s ease-out;
}

@media (max-width: 900px) {
    .landing-text {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.landing-title {
    font-size: 6rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 0.95;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
}

@media (max-width: 1200px) {
    .landing-title {
        font-size: 5rem;
    }
}

@media (max-width: 900px) {
    .landing-title {
        font-size: 3.5rem;
        line-height: 1;
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .landing-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 400px) {
    .landing-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
}

.landing-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
    font-family: 'Bebas Neue', sans-serif;
}

@media (max-width: 900px) {
    .landing-description {
        font-size: 1rem;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .landing-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 400px) {
    .landing-description {
        font-size: 0.9rem;
    }
}

.landing-line {
    width: 100px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s both;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .landing-line {
        width: 80px;
        height: 2px;
        margin-bottom: 1.5rem;
    }
}

.landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.15), rgba(80, 120, 220, 0.15));
    color: white;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 2px;
    border: 2px solid rgba(100, 150, 255, 0.5);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(100, 150, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.8s both, pulse 2s ease-in-out 2s infinite;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .landing-cta {
        padding: 16px 32px;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .landing-cta {
        padding: 14px 28px;
        font-size: 1.1rem;
        letter-spacing: 1.5px;
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .landing-cta {
        padding: 12px 24px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

.landing-cta::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.6s ease;
}

.landing-cta:hover::before {
    left: 100%;
}

.landing-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(100, 150, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.3), rgba(80, 120, 220, 0.3));
    border-color: rgba(100, 150, 255, 0.8);
}

.landing-cta:active {
    transform: translateY(-2px) scale(1.02);
}

.cta-arrow {
    font-size: 1.4rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.landing-cta:hover .cta-arrow {
    transform: translateX(8px) rotate(-15deg);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(100, 150, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(100, 150, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* Page 2 Styles */
.page2 {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-start);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 80px 50px;
    font-family: 'Titillium Web', sans-serif;
    color: rgba(255,255,255,0.92);
}

@media (max-width: 900px) {
    .page2 {
        padding: 60px 30px;
    }
}

@media (max-width: 600px) {
    .page2 {
        padding: 50px 20px;
    }
}

@media (max-width: 400px) {
    .page2 {
        padding: 40px 15px;
    }
}

.page2-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 8px;
    font-family: 'Bebas Neue', sans-serif;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .page2-title {
        font-size: 4rem;
        letter-spacing: 6px;
    }
}

@media (max-width: 600px) {
    .page2-title {
        font-size: 3rem;
        letter-spacing: 4px;
        margin-bottom: 15px;
    }
}

@media (max-width: 400px) {
    .page2-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
}

/* About Cards Container */
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    perspective: 1000px;
}

@media (max-width: 1100px) {
    .about-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 40px 15px;
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .about-container {
        padding: 30px 10px;
        gap: 14px;
    }
}

/* Individual Card */
.about-card {
    position: relative;
    min-height: 240px;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.6), rgba(15, 15, 30, 0.4));
    border: 1.5px solid rgba(100, 150, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

@media (max-width: 900px) {
    .about-card {
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .about-card {
        min-height: 200px;
        border-radius: 16px;
    }
}

@media (max-width: 400px) {
    .about-card {
        min-height: 180px;
        border-radius: 14px;
    }
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(100, 150, 255, 0) 0%,
        rgba(100, 150, 255, 0.8) 50%,
        rgba(100, 150, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(100, 150, 255, 0.15) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover::after {
    opacity: 1;
}

.about-card:hover {
    border-color: rgba(100, 150, 255, 0.5);
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 50px rgba(100, 150, 255, 0.25),
                0 0 0 1px rgba(100, 150, 255, 0.1) inset;
}

.about-card.expanded {
    background: linear-gradient(145deg, rgba(100, 150, 255, 0.15), rgba(80, 120, 255, 0.1));
    border-color: rgba(100, 150, 255, 0.7);
    box-shadow: 0 25px 60px rgba(100, 150, 255, 0.35),
                0 0 80px rgba(100, 150, 255, 0.2);
    transform: translateY(-16px) scale(1.05);
    z-index: 10;
}

.about-card.expanded::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Card Front */
.card-front {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 26px;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.about-card.expanded .card-front {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.6), rgba(150, 100, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    line-height: 1;
    opacity: 0.7;
}

.card-icon {
    font-size: 1.8rem;
    color: rgba(100, 150, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: 300;
    line-height: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(100, 150, 255, 0.3);
    border-radius: 50%;
    background: rgba(100, 150, 255, 0.05);
    flex-shrink: 0;
    padding-bottom: 2px;
}

.about-card:hover .card-icon {
    background: rgba(100, 150, 255, 0.15);
    border-color: rgba(100, 150, 255, 0.6);
}

.about-card.expanded .card-icon {
    transform: rotate(45deg);
    background: rgba(100, 150, 255, 0.2);
}

.card-question {
    font-size: 1.35rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.card-decorative {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(100, 150, 255, 0.15);
    font-size: 0.75rem;
    color: rgba(100, 150, 255, 0.5);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

/* Card Back (Answer) */
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
    z-index: 1;
    transform: scale(0.9);
}

.about-card.expanded .card-back {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.card-answer {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: center;
    position: relative;
    padding: 20px;
}

.card-answer::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 4rem;
    color: rgba(100, 150, 255, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.card-answer::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 0;
    font-size: 4rem;
    color: rgba(100, 150, 255, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .card-front {
        padding: 20px 22px;
    }
    
    .card-number {
        font-size: 2.8rem;
    }
    
    .card-question {
        font-size: 1.15rem;
    }
    
    .card-icon {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }
    
    .card-back {
        padding: 26px 22px;
    }
    
    .card-answer {
        font-size: 1rem;
        line-height: 1.7;
        padding: 16px;
    }
    
    .about-card.expanded {
        transform: translateY(-10px) scale(1.03);
    }
    
    .card-decorative {
        font-size: 0.7rem;
    }
    
    .card-answer::before,
    .card-answer::after {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .card-front {
        padding: 18px 20px;
    }
    
    .card-number {
        font-size: 2.4rem;
    }
    
    .card-question {
        font-size: 1.08rem;
    }
    
    .card-icon {
        font-size: 1.5rem;
        width: 34px;
        height: 34px;
        border-width: 1.5px;
    }
    
    .card-back {
        padding: 24px 20px;
    }
    
    .card-answer {
        font-size: 0.95rem;
        line-height: 1.65;
        padding: 14px;
    }
    
    .about-card.expanded {
        transform: translateY(-8px) scale(1.02);
    }
    
    .card-decorative {
        font-size: 0.65rem;
        padding-top: 12px;
    }
    
    .card-answer::before {
        top: -5px;
        font-size: 2.5rem;
    }
    
    .card-answer::after {
        bottom: -20px;
        font-size: 2.5rem;
    }
}

@media (max-width: 400px) {
    .card-front {
        padding: 16px 18px;
    }
    
    .card-number {
        font-size: 2rem;
    }
    
    .card-question {
        font-size: 1rem;
        line-height: 1.25;
    }
    
    .card-icon {
        font-size: 1.4rem;
        width: 32px;
        height: 32px;
    }
    
    .card-back {
        padding: 22px 18px;
    }
    
    .card-answer {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 12px;
    }
    
    .about-card.expanded {
        transform: translateY(-6px) scale(1.01);
    }
    
    .card-decorative {
        font-size: 0.6rem;
    }
    
    .card-answer::before,
    .card-answer::after {
        font-size: 2rem;
    }
}

.globe-wrapper {
    width: 450px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .globe-wrapper {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 900px) {
    .globe-wrapper {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 600px) {
    .globe-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 400px) {
    .globe-wrapper {
        width: 240px;
        height: 240px;
    }
}

.globe-wrapper:active {
    cursor: pointer;
}

.globe {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Meridians - vertical longitude circles in 3D */
.meridian {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    transform-style: preserve-3d;
    margin-left: -200px;
    margin-top: -200px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.15);
}

/* Parallels - horizontal latitude circles in 3D */
.parallel {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.12);
}

/* Equator - slightly brighter */
.parallel:nth-child(10) {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Page 3 Styles */
.page3 {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-start);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 50px 50px;
    color: rgba(255,255,255,0.95);
    font-family: 'Titillium Web', sans-serif;
}

@media (max-width: 900px) {
    .page3 {
        padding: 100px 30px 40px;
    }
}

@media (max-width: 600px) {
    .page3 {
        padding: 80px 20px 30px;
    }
}

@media (max-width: 400px) {
    .page3 {
        padding: 70px 15px 25px;
    }
}

.page3-title {
    font-size: 5rem;
    font-family: 'Bebas Neue', sans-serif;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 10px;
    margin-bottom: 80px;
    text-align: center;
}

@media (max-width: 900px) {
    .page3-title {
        font-size: 4rem;
        letter-spacing: 8px;
        margin-bottom: 60px;
    }
}

@media (max-width: 600px) {
    .page3-title {
        font-size: 3rem;
        letter-spacing: 6px;
        margin-bottom: 40px;
    }
}

@media (max-width: 400px) {
    .page3-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin-bottom: 30px;
    }
}

/* Page 4 — Features (matches site theme) */
.page4{width:100%;min-height:100vh;background:var(--bg-start);padding:120px 50px 80px;color:rgba(255,255,255,0.95);position:relative;font-family:'Titillium Web',sans-serif}

@media (max-width: 900px) {
    .page4 {
        padding: 100px 30px 60px;
    }
}

@media (max-width: 600px) {
    .page4 {
        padding: 80px 20px 50px;
    }
}

@media (max-width: 400px) {
    .page4 {
        padding: 70px 15px 40px;
    }
}

.page4 .page4-inner{max-width:1200px;margin:0 auto}
.page4 .features-hero{padding:6px 12px 18px;text-align:center}
.page4 .features-title{font-family:'Bebas Neue',sans-serif;font-size:42px;margin:0;color:rgba(255,255,255,0.95);letter-spacing:1px}

@media (max-width: 600px) {
    .page4 .features-title {
        font-size: 32px;
    }
}

@media (max-width: 400px) {
    .page4 .features-title {
        font-size: 28px;
    }
}

.page4 .features-sub{max-width:880px;margin:12px auto 0;color:rgba(255,255,255,0.72);line-height:1.6}

@media (max-width: 600px) {
    .page4 .features-sub {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.page4 .features-grid{display:grid;gap:28px;margin-top:36px;grid-template-columns:repeat(3,1fr);align-items:stretch}

@media (max-width: 1000px) {
    .page4 .features-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 22px;
    }
}

@media (max-width: 700px) {
    .page4 .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }
}

.page4 .feature-card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.04);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:12px;padding:28px 22px 22px;box-shadow:0 10px 40px rgba(0,0,0,0.6);transition:transform 260ms cubic-bezier(.2,.9,.2,1),box-shadow 220ms ease;display:flex;flex-direction:column;align-items:center;text-align:center}

@media (max-width: 700px) {
    .page4 .feature-card {
        padding: 24px 20px 20px;
    }
}

@media (max-width: 400px) {
    .page4 .feature-card {
        padding: 20px 18px 18px;
    }
}

.page4 .feature-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 32px 80px rgba(0,0,0,0.6)}

@media (max-width: 700px) {
    .page4 .feature-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

.page4 .feature-icon{width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,0.08);font-size:28px;margin-bottom:14px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01))}

@media (max-width: 600px) {
    .page4 .feature-icon {
        width: 60px;
        height: 60px;
    }
}

.page4 .feature-icon-img{width:36px;height:36px;display:block}

@media (max-width: 600px) {
    .page4 .feature-icon-img {
        width: 32px;
        height: 32px;
    }
}

.page4 .feature-heading{font-family:'Bebas Neue',sans-serif;margin:0 0 8px 0;font-size:18px;color:rgba(255,255,255,0.95)}

@media (max-width: 600px) {
    .page4 .feature-heading {
        font-size: 16px;
    }
}

.page4 .feature-text{color:rgba(255,255,255,0.72);font-size:14px;line-height:1.6;margin:0}

@media (max-width: 600px) {
    .page4 .feature-text {
        font-size: 13px;
    }
}

/* entrance animation kept */
.page4 .feature-card{opacity:0;transform-origin:center center;animation:cardIn 420ms ease forwards}
.page4 .feature-card:nth-child(1){animation-delay:80ms}
.page4 .feature-card:nth-child(2){animation-delay:160ms}
.page4 .feature-card:nth-child(3){animation-delay:240ms}
.page4 .feature-card:nth-child(4){animation-delay:320ms}
.page4 .feature-card:nth-child(5){animation-delay:400ms}
.page4 .feature-card:nth-child(6){animation-delay:480ms}
@keyframes cardIn{from{opacity:0;transform:translateY(10px) scale(.995)} to{opacity:1;transform:translateY(0) scale(1)}}

@media (max-width:1000px){.page4{padding:64px 18px}.page4 .features-grid{grid-template-columns:repeat(2,1fr);gap:22px}}
@media (max-width:700px){.page4 .features-title{font-size:32px}.page4 .features-grid{grid-template-columns:1fr;gap:16px}.page4 .feature-card{padding:20px}}

/* Services Grid */
.services-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    padding: 48px 20px 96px;
    z-index: 2;
}

/* Make sure cards center and have equal heights in each row */
.services-grid {
    align-items: stretch;
    justify-items: stretch;
}

.service-card {
    position: relative;
    height: 360px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 260ms ease, background 400ms ease;
    box-shadow: 0 12px 36px rgba(0,0,0,0.48);
    background: linear-gradient(180deg, rgba(10,10,15,0.4), rgba(10,10,15,0.6));
}

.service-card:hover {
    background: linear-gradient(180deg, rgba(20, 35, 60, 0.5), rgba(30, 50, 80, 0.7));
}

.service-card:before{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1), transparent 45%);
    pointer-events: none;
}

.card-media{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.05) brightness(0.65);
    transition: transform 600ms cubic-bezier(.2,.9,.2,1), filter 400ms ease;
    will-change: transform;
}

.card-body{
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    color: white;
    transform: translateZ(30px);
    padding-bottom: 6px;
}

/* card icons removed - styles kept intentionally blank */

.card-title{
    font-size: 1.6rem;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    font-family: 'Bebas Neue', sans-serif;
}

.card-desc{
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    opacity: 0.95;
    line-height: 1.3;
    font-family: 'Titillium Web', sans-serif;
}

.card-link{
    display: inline-block;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
    transition: all 300ms ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 500ms ease;
}

.service-card:hover .card-link {
    color: #fff;
    background: linear-gradient(135deg, rgba(66, 165, 245, 1), rgba(100, 181, 246, 1));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card:hover .card-link::before {
    left: 100%;
}

.card-link:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(100, 181, 246, 0.4);
}

.service-card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

.service-card:hover .card-media{
    transform: scale(1.08) translateY(-6px) rotate(-1deg);
    filter: saturate(1.1) contrast(1.05) brightness(0.7);
}

.service-card:active .card-media{
    transform: scale(1.02) translateY(0);
}

/* Small interactive shine on hover */
.service-card .shine{
    position: absolute;
    left: -50%;
    top: -50%;
    width: 40%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0.0));
    transform: rotate(25deg) translateX(-120%);
    transition: transform 700ms cubic-bezier(.2,.9,.2,1);
    pointer-events: none;
}
.service-card:hover .shine{
    transform: rotate(25deg) translateX(20%);
}

@media (max-width: 1000px){
    /* On medium screens show two columns where possible */
    .services-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 22px;
    }
}

@media (max-width: 700px){
    .service-card{ 
        height: 300px;
        border-radius: 12px;
    }
    .card-title{ 
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .card-desc {
        font-size: 0.9rem;
    }
    .services-grid { 
        grid-template-columns: 1fr; 
        gap: 18px; 
        padding: 20px 12px 40px; 
    }
    .card-body {
        left: 18px;
        bottom: 18px;
        right: 18px;
    }
}

@media (max-width: 500px){
    .service-card {
        height: 260px;
        border-radius: 10px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .card-link {
        font-size: 0.85rem;
    }
    
    .card-body {
        left: 16px;
        bottom: 16px;
        right: 16px;
    }
}

@media (min-width: 1000px){
    /* Desktop: exactly 3 columns for a balanced row */
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(10, 10, 20, 0.98));
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 40px 30px;
    border-top: 2px solid rgba(100, 150, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(100, 150, 255, 0.5) 50%, 
        transparent 100%);
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.site-footer .footer-about {
    padding-right: 20px;
}

.site-footer .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff, rgba(100, 150, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-footer .footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.site-footer .footer-desc {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
}

.site-footer h4 {
    font-family: 'Bebas Neue', sans-serif;
    margin: 0 0 18px 0;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 8px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(100, 150, 255, 0.8), transparent);
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin: 12px 0;
    padding-left: 20px;
    position: relative;
}

.site-footer .footer-links li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(100, 150, 255, 0.6);
    transition: transform 0.3s ease;
}

.site-footer .footer-links li:hover::before {
    transform: translateX(4px);
}

.site-footer a {
    color: rgba(200, 220, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.site-footer a:hover {
    color: rgba(100, 150, 255, 1);
    padding-left: 4px;
}

.site-footer .footer-contact p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer .footer-contact p::before {
    content: '•';
    color: rgba(100, 150, 255, 0.7);
    font-size: 1.2rem;
}

.site-footer .footer-bottom {
    text-align: center;
    padding: 24px 0 8px;
    margin-top: 40px;
    border-top: 1px solid rgba(100, 150, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

@media(max-width:900px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: left;
    }
    
    .site-footer h4::after {
        left: 0;
    }
}

@media(max-width:420px) {
    .site-footer {
        padding: 40px 20px 20px;
    }
    
    .site-footer .footer-logo {
        font-size: 1.8rem;
    }
    
    .site-footer .footer-inner {
        gap: 30px;
    }
}


