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

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for rem calculations */
}

/* Responsive font scaling */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

/* Enhanced Touch-friendly interactions */
button, a, .nav-link, .btn, .contact-method, .contact-link {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    min-height: 44px; /* iOS minimum touch target */
    min-width: 44px; /* Minimum touch width */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Improved focus states for accessibility */
button:focus, a:focus, .nav-link:focus, .btn:focus, .contact-method:focus, .contact-link:focus {
    outline: 2px solid var(--primary-pink);
    outline-offset: 2px;
}

/* Better text selection on mobile */
h1, h2, h3, h4, h5, h6, p, span, div {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Prevent zoom on input focus (iOS) */
input, select, textarea {
    font-size: 16px;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Better scrolling on iOS */
.nav-menu {
    -webkit-overflow-scrolling: touch;
}

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

/* Color Variables */
:root {
    --primary-pink: #e91e63;
    --primary-blue: #2196f3;
    --primary-black: #1a1a1a;
    --light-pink: #fce4ec;
    --light-blue: #e3f2fd;
    --gradient-primary: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-blue) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-black) 0%, #333 100%);
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-link:hover {
    color: var(--primary-pink);
}

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

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

.join-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.join-btn::after {
    display: none;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    background: transparent;
    border: none;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    transform-origin: center;
}

/* Enhanced Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--primary-pink);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--primary-pink);
}

/* Improved hamburger accessibility */
.hamburger:focus {
    outline: 2px solid var(--primary-pink);
    outline-offset: 4px;
    border-radius: 4px;
}

.hamburger:hover .bar {
    background: var(--primary-pink);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Tech Icons Animation */
.tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

.tech-icons i {
    font-size: 4rem;
    color: var(--primary-blue);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.tech-icons i:nth-child(2) {
    animation-delay: 0.5s;
    color: var(--primary-pink);
}

.tech-icons i:nth-child(3) {
    animation-delay: 1s;
}

.tech-icons i:nth-child(4) {
    animation-delay: 1.5s;
    color: var(--primary-pink);
}

.tech-icons i:nth-child(5) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.tech-icons i:hover {
    transform: scale(1.2);
    color: var(--primary-pink);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    background: var(--light-blue);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    margin-bottom: 4rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-pink);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

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

.partnership {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.partnership h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Workshops Section */
.workshops {
    background: var(--white);
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 4vw, 2rem);
}

.workshop-card {
    background: var(--light-pink);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-pink);
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.workshop-card i {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
}

.workshop-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

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

/* Team Section */
.team {
    background: var(--light-blue);
}

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

.team-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.team-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-image i {
    font-size: 3rem;
    color: var(--white);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.team-role {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: var(--white);
}

.social-link:focus {
    outline: 2px solid var(--primary-pink);
    outline-offset: 2px;
}

/* Specific social media colors on hover */
.social-link:hover .fa-linkedin {
    color: #0077b5;
}

.social-link:hover .fa-github {
    color: #333;
}

.social-link:hover .fa-globe {
    color: #ff6b6b;
}

.social-link:hover {
    background: var(--white);
    border: 2px solid var(--primary-blue);
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
}

/* Join Section */
.join {
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.join-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-methods {
    max-width: 600px;
    margin: 0 auto;
}

.form-section-full {
    text-align: center;
    background: var(--white);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.form-section-full .btn {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.form-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.form-note {
    margin-top: 1rem;
    color: #ccc;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

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

.contact-item {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--gradient-primary);
    color: var(--white);
}

.social-link i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.social-link:hover i {
    color: var(--white);
}

.social-link span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Methods Section */
.contact-methods-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method-group {
    text-align: left;
}

.contact-method-group h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-pink);
    text-align: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: var(--light-blue);
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-link.email {
    border-left-color: #D44638;
}

.contact-link.email:hover {
    background: rgba(212, 70, 56, 0.1);
}

.contact-link.whatsapp {
    border-left-color: #25D366;
}

.contact-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

.contact-link.instagram {
    border-left-color: #E4405F;
}

.contact-link.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
}

.contact-link.linkedin {
    border-left-color: #0077B5;
}

.contact-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.1);
}

.contact-link i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-link.email i {
    color: #D44638;
}

.contact-link.whatsapp i {
    color: #25D366;
}

.contact-link.instagram i {
    color: #E4405F;
}

.contact-link.linkedin i {
    color: #0077B5;
}

.contact-link span {
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

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

.footer-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-pink);
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Footer About Section */
.footer-about .footer-info {
    margin-top: 2rem;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-info i {
    color: var(--primary-blue);
    width: 16px;
    font-size: 1rem;
}

/* Footer Links */
.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    min-height: 48px; /* Better touch target size */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-method::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.contact-method:active::after {
    width: 200%;
    height: 200%;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-method.whatsapp {
    border-left-color: #25D366;
}

.contact-method.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

.contact-method.instagram {
    border-left-color: #E4405F;
}

.contact-method.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
}

.contact-method.linkedin {
    border-left-color: #0077B5;
}

.contact-method.linkedin:hover {
    background: rgba(0, 119, 181, 0.1);
}

.contact-method.join-form {
    border-left-color: var(--primary-pink);
}

.contact-method.join-form:hover {
    background: rgba(233, 30, 99, 0.1);
}

.contact-method i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-method.whatsapp i {
    color: #25D366;
}

.contact-method.instagram i {
    color: #E4405F;
}

.contact-method.linkedin i {
    color: #0077B5;
}

.contact-method.join-form i {
    color: var(--primary-pink);
}

.contact-method span {
    font-weight: 500;
    font-size: 1rem;
}

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

.footer-bottom-content p {
    color: #999;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-tagline {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* Enhanced Responsive Design */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-container {
        gap: 5rem;
    }
    
    .about-grid,
    .workshop-grid {
        gap: 3rem;
    }
}

/* Large Devices (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-container {
        gap: 4rem;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .tech-icons {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
    
    .tech-icons i {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workshop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-methods-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer adjustments for tablets */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    .contact-methods {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 80px 2rem 2rem 2rem;
        overflow-y: auto;
        z-index: 1000;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .join-btn {
        margin-top: 1rem;
        padding: 1rem 2rem;
    }

    .hero {
        padding-top: 80px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .tech-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }

    .about-grid,
    .workshop-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card,
    .workshop-card,
    .team-card {
        padding: 2rem 1.5rem;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }

    .join-methods {
        margin: 0 1rem;
    }

    .form-section-full {
        padding: 2rem 1.5rem;
    }
    
    .form-section-full .btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .form-features {
        gap: 1rem;
        flex-direction: column;
    }

    .feature-item {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-methods-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .contact-method-group {
        text-align: center;
    }
    
    .contact-link {
        padding: 1.2rem 1rem;
        justify-content: center;
    }
    
    .contact-link span {
        font-size: 0.95rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-about .footer-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-info p {
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }
    
    .contact-methods {
        max-width: 400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1.2rem 1rem;
        font-size: 0.95rem;
    }
    
    .contact-method i {
        font-size: 1.4rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .tech-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tech-icons i {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    section {
        padding: 3rem 0;
    }

    .about-card,
    .workshop-card,
    .team-card {
        padding: 1.5rem 1rem;
    }
    
    .about-card i,
    .workshop-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-card h3,
    .workshop-card h3 {
        font-size: 1.3rem;
    }

    .team-image {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .team-image i {
        font-size: 2.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .form-section-full {
        padding: 1.5rem 1rem;
    }
    
    .form-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-item i {
        font-size: 2.5rem;
    }
    
    .social-link {
        padding: 1rem 0.8rem;
    }
    
    .social-link i {
        font-size: 1.8rem;
    }
    
    .social-link span {
        font-size: 1rem;
    }
    
    .contact-link {
        padding: 1rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-link i {
        font-size: 1.3rem;
    }
    
    .contact-link span {
        font-size: 0.9rem;
    }
    
    .contact-method-group h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.8rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        padding: 1rem 0.8rem;
    }
    
    .contact-method i {
        font-size: 1.3rem;
    }
    
    .contact-method span {
        font-size: 0.9rem;
    }
}

/* Ultra Small Devices (up to 320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .form-section-full .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Ultra small footer optimizations */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
    }
    
    .contact-method {
        padding: 1rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .contact-method i {
        font-size: 1.2rem;
    }
    
    .contact-method span {
        font-size: 0.85rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-container {
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }
    
    .tech-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tech-icons i {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Portrait Orientation Optimizations */
@media (max-width: 767px) and (orientation: portrait) {
    .hero-container {
        padding-top: 1rem;
    }
    
    .tech-icons {
        margin-top: 2rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo h2,
    .hero-title,
    .section-header h2 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .tech-icons i {
        animation: none !important;
    }
}

/* Low-end device optimizations */
.reduce-motion * {
    animation: none !important;
    transition: none !important;
}

.reduce-motion .tech-icons i {
    animation: none !important;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-light: #aaa;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .btn,
    .contact-method,
    .contact-link,
    .footer {
        display: none !important;
    }
    
    .hero-title,
    .section-header h2 {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.loading.visible {
    opacity: 1;
    transform: translateY(0);
}
