/* Modern Dark Purple & Teal Theme */
:root {
    --bg-color: #141228;
    --bg-accent: #1d1a3a;
    --primary: #5ccea3;
    --secondary: #5b54c9;
    --accent: #e864e8;
    --text-color: #e1e1e1;
    --text-secondary: #9ca3af;
    --dark-accent: #0d0b1d;
    --card-bg: #1d1a3a;
    --border-color: #2a2657;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    --glow: 0 0 15px rgba(92, 206, 163, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Noise overlay for texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAB50lEQVR4nO3aPY9PURSF4fcwPwEjRqOTKBRmFAqVQqMxoaAgPgrxUWhUCpGIQqEgIj4KnUI0KtEoNOgUGolCoYCZKAzNLnQ34s65Z9/zvi33STbFPmvtfe7N2TlrrwEhhBBCCCGEEEIYsBFgAdgFjoAfwBrwENgCDv+ow1/GMnqtAR+BY+ApsAJcz3lBF4BnwA/gG/AU6PSZ8wW4ltjHDLCZmPcJmE+2pEt54N+AGwnZHeBJQu4bUo/BTmq9eryTdlETeRtImSngnbHGx5RFWo/BYsqLTchZT8jMpK452SPGDeA7MJ2Q9cyY/z6waMzOpVzQT+CSMbtjzD4Crhqzc9VtPAGcM2Y7xuxH4JIxO+cF7Bqzp43ZdeN31JxVYMWYX036b1JuqdTcYm3uSuoipS5o21vj7zkPXSvxAshZbrc298Zcdc4ZK3Eh03nXgMvGbOvXP6zvmStJb8ByGZumLvB70ncTcw1vwDaDtmmcYYeAJeAVsEyh74F54CPwGrhTou2KUW1a2wXarRzFhfxP1esi1e3dGPB7M/pUosi3YJvek1XrDKzu2Mq+ZNvMfWPTKplr5pHUx2eab8BsQh9Twq8YHUfpo1ppU5vm3CTd0ZT824ScN59TG2l9DHeAGz3GbwmHxs/A7T9mQgghhBBCCCGEMP5+AQs2qBEU2pJfAAAAAElFTkSuQmCC');
    opacity: 0.025;
    pointer-events: none;
    z-index: -1;
}

/* Improve container spacing */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem; /* Increased padding */
}

/* Improve section spacing */
section {
    padding: 7rem 0; /* Increased padding */
    position: relative;
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary);
}

/* Header & Navigation */
header {
    padding: 0.8rem 0;
    background-color: rgba(25, 22, 55, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(108, 98, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
}

.logo a:hover {
    color: var(--text-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 1rem;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary, 
.btn-secondary,
.btn-outline {
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark-accent);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary);
    box-shadow: var(--glow);
    transform: translateY(-2px);
    color: var(--dark-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(0, 229, 176, 0.1);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

/* Button shine effect */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: btn-shine 3s infinite;
}

@keyframes btn-shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Badges Container */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.badge {
    display: flex;
    align-items: center;
    background: rgba(35, 31, 69, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 180px;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 229, 176, 0.2);
}

.badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 176, 0.15), rgba(108, 98, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: var(--primary);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.badge-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.badge-value.online {
    color: #22c55e;
}

/* Code Window */
.code-window {
    background-color: var(--bg-accent);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.code-window:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Remove floating animation */
.floating {
    animation: none;
}

/* Decorative blobs */
.about-blob.blob-4 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    opacity: 0.15;
    top: -150px;
    left: -150px;
    filter: blur(80px);
}

.blob-1, .blob-2, .blob-3, .blob-4 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--dark-accent);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(35, 31, 69, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        225deg,
        rgba(0, 229, 176, 0.03) 0%,
        rgba(108, 98, 255, 0.03) 100%
    );
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 229, 176, 0.2);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
    transition: all 0.3s ease;
    color: var(--primary);
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, rgba(0, 229, 176, 0.15), rgba(0, 194, 153, 0.15));
    color: var(--primary);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, rgba(108, 98, 255, 0.15), rgba(94, 84, 228, 0.15));
    color: var(--secondary);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, rgba(255, 126, 219, 0.15), rgba(224, 102, 195, 0.15));
    color: var(--accent);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}

.feature-card:nth-child(2) .feature-link {
    color: var(--secondary);
}

.feature-card:nth-child(3) .feature-link {
    color: var(--accent);
}

.feature-card:hover .feature-link {
    opacity: 1;
    transform: translateY(0);
}

.feature-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 0.3s ease;
}

.feature-card:nth-child(1) .feature-link::after {
    background-color: var(--primary);
}

.feature-card:nth-child(2) .feature-link::after {
    background-color: var(--secondary);
}

.feature-card:nth-child(3) .feature-link::after {
    background-color: var(--accent);
}

.feature-link:hover::after {
    width: 100%;
}

.feature-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* Languages Section */
.languages {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Improved language icons */
.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.language-icon {
    padding: 1.5rem 1rem;
    border-radius: 8px;
    background-color: rgba(35, 31, 69, 0.5);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.language-icon:hover {
    border-color: var(--primary);
    background-color: rgba(35, 31, 69, 0.9);
    transform: translateY(-10px) scale(1.05);
}

.language-icon i {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.language-icon:hover i {
    color: var(--primary);
}

.language-icon span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--dark-accent);
    position: relative;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

/* Enhanced "About" stats section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat {
    background: rgba(35, 31, 69, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 229, 176, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(120deg, #ffffff, var(--primary) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background-color: var(--dark-accent);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Card reveal animation */
.card-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Container */
.cta-container {
    margin-top: 2.5rem;
    text-align: center;
}

/* Animated gradient heading */
.animate-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 8s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Profile Menu Styles */
.profile-menu {
    position: relative;
    display: inline-block;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.profile-button:hover {
    background-color: var(--border-color);
}

.profile-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-accent);
    font-weight: 600;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.profile-menu.active .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.profile-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.profile-email {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-items {
    padding: 8px 0;
}

.profile-dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-dropdown-item:hover {
    background-color: var(--border-color);
    color: var(--primary);
}

.profile-dropdown-item i {
    width: 20px;
    text-align: center;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-nav-links a {
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-links a.active {
    color: var(--primary);
}

.mobile-nav-links a:hover {
    background-color: rgba(0, 229, 176, 0.05);
    padding-left: 1.5rem;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    position: relative;
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 1.5rem;
}

/* Mobile profile section */
.mobile-profile {
    display: none;
    padding: 1.5rem;
}

.mobile-profile.active {
    display: block;
}

.mobile-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mobile-profile-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--bg-color);
    margin-right: 1rem;
}

.mobile-profile-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mobile-profile-email {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mobile-profile-actions {
    display: flex;
    flex-direction: column;
}

.mobile-profile-actions a,
.mobile-profile-actions button {
    padding: 1rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}

.mobile-profile-actions i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.mobile-profile-actions a:hover,
.mobile-profile-actions button:hover {
    background-color: rgba(0, 229, 176, 0.05);
    padding-left: 1.5rem;
}

.mobile-login-btn {
    display: block;
    background-color: var(--primary);
    color: var(--dark-accent) !important;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-login-btn i {
    margin-right: 0.5rem;
}

.mobile-login-btn:hover {
    background-color: var(--secondary);
    box-shadow: 0 0 15px rgba(108, 98, 255, 0.5);
}

/* Overlay for mobile menu */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(3px);
    transition: opacity 0.3s;
    opacity: 0;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .badges-container {
        gap: 15px;
        padding: 10px;
    }
    
    .badge {
        padding: 12px 20px;
        min-width: 160px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 2rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .badges-container {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .language-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links a {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.8rem;
    }
    
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-login-btn {
        margin: 1rem;
    }
    
    .badge {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .badge-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Hide navbar links by default on mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}