@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

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

:root {
    --primary: #0E0E11;
    --secondary: #1C1F26;
    --accent: #4F7CFF;
    --accent-alt: #8B5CF6;
    --highlight: #22D3EE;
    --text: #E5E7EB;
    --text-muted: #9CA3AF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

a:hover {
    color: var(--highlight);
}

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

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

header {
    background-color: var(--secondary);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 124, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    padding: 0.5rem 0;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(79, 124, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 124, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--highlight) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both, floatButton 3s ease-in-out infinite 1.6s;
}

.hero .button-group .btn {
    animation: fadeInUp 1s ease-out 0.6s both, floatButton 3s ease-in-out infinite 1.6s;
}

/* Animated particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px var(--accent);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 19s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 13s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 17s; }

.particle:nth-child(odd) {
    background: var(--accent-alt);
    width: 3px;
    height: 3px;
    box-shadow: 0 0 8px var(--accent-alt);
}

.particle:nth-child(3n) {
    background: var(--highlight);
    width: 5px;
    height: 5px;
    box-shadow: 0 0 12px var(--highlight);
}

/* Animated geometric shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeFloat 20s infinite ease-in-out;
}

.shape-circle {
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: shapeFloat 25s infinite ease-in-out, rotateShape 30s linear infinite;
}

.shape-square {
    width: 150px;
    height: 150px;
    border: 2px solid var(--accent-alt);
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: shapeFloat 30s infinite ease-in-out reverse, pulseShape 4s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--highlight);
    opacity: 0.08;
    top: 30%;
    right: 20%;
    animation: shapeFloat 22s infinite ease-in-out, rotateShape 20s linear infinite;
}

.shape-line {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    top: 50%;
    left: 50%;
    animation: linePulse 3s ease-in-out infinite, lineMove 15s ease-in-out infinite;
}

.shape-line-2 {
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-alt), transparent);
    bottom: 20%;
    left: 15%;
    animation: linePulse 4s ease-in-out infinite 1s, lineMove2 18s ease-in-out infinite reverse;
}

/* Animated grid lines */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        linear-gradient(var(--accent) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Glowing orbs */
.hero-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 25s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: orbFloat 30s infinite ease-in-out;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-alt) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: orbFloat 35s infinite ease-in-out reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--highlight) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation: orbFloat 28s infinite ease-in-out;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0.6;
    }
}

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

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

@keyframes rotateShape {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseShape {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1) rotate(45deg);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1) rotate(45deg);
    }
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleX(1.2);
    }
}

@keyframes lineMove {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) translateX(0);
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) translateX(50px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) translateX(0);
    }
}

@keyframes lineMove2 {
    0%, 100% {
        transform: rotate(-30deg) translateX(0);
    }
    50% {
        transform: rotate(-30deg) translateX(40px);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(79, 124, 255, 0.3);
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(79, 124, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
}

.card .btn {
    margin-top: 1.5rem;
    width: 100%;
}

.button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.button-group .btn {
    margin: 0;
    flex-shrink: 0;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background: var(--secondary);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 124, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(79, 124, 255, 0.2);
    border-color: rgba(79, 124, 255, 0.3);
}

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

.card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 124, 255, 0.2);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag-beginner {
    background: rgba(34, 211, 238, 0.2);
    color: var(--highlight);
}

.tag-advanced {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-alt);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--secondary);
    border: 2px solid rgba(79, 124, 255, 0.2);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-section {
    width: 100%;
}

.contact-section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-section-title h2 {
    margin-bottom: 0.5rem;
}

.contact-info-section {
    width: 100%;
}

.contact-info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-intro {
    margin-bottom: 1.5rem;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-container {
    width: 100%;
    min-height: 400px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 2rem;
    border: 2px solid rgba(79, 124, 255, 0.2);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

footer {
    background: var(--secondary);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(79, 124, 255, 0.1);
}

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

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-muted);
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 124, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent);
    margin: 0 0.5rem;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 14, 17, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid var(--accent);
    box-shadow: 0 10px 50px rgba(79, 124, 255, 0.3);
}

.popup-content h2 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.popup-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.popup-buttons .btn {
    flex: 1;
    min-width: 120px;
    margin: 0;
    padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
    nav {
        gap: 0.5rem;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(79, 124, 255, 0.1);
        gap: 1.5rem;
        align-items: flex-start;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .grid-12 {
        grid-template-columns: 1fr;
    }

    .grid-12 > div[style*="grid-column"] {
        grid-column: span 12 !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-section-title {
        text-align: center;
    }

    .contact-section-title h2 {
        text-align: center;
    }

    .contact-section-title p {
        text-align: center;
    }

    .map-container {
        height: 300px;
        min-height: 300px;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .particle {
        opacity: 0.2; /* Reduce opacity on mobile for better performance */
        animation-duration: 20s; /* Slower animation on mobile */
    }

    .hero-shapes {
        opacity: 0.5; /* Reduce shapes visibility on mobile */
    }

    .hero-orbs {
        opacity: 0.6; /* Reduce orbs visibility on mobile */
    }

    .hero-grid {
        display: none; /* Hide grid on mobile for better performance */
    }

    .section {
        padding: 3rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .button-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        gap: 1.5rem;
    }

    .contact-section-title {
        margin-bottom: 1.5rem;
    }

    .contact-section-title h2 {
        font-size: 1.75rem;
    }

    .map-container {
        height: 250px;
        min-height: 250px;
        margin-top: 1.5rem;
    }

    .map-container iframe {
        min-height: 250px;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-detail {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .contact-wrapper {
        gap: 1.25rem;
    }

    .contact-section-title {
        margin-bottom: 1.25rem;
    }

    .contact-section-title h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .contact-section-title p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

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

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .checkbox-group {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 0.15rem;
        flex-shrink: 0;
    }

    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .contact-info-card h3 {
        font-size: 1.35rem;
        margin-bottom: 0.875rem;
    }

    .contact-intro {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .contact-detail {
        margin-bottom: 1.5rem;
    }

    .contact-detail h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .contact-detail p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .map-container {
        height: 220px;
        min-height: 220px;
        margin-top: 1.25rem;
        border-radius: 8px;
    }

    .map-container iframe {
        min-height: 220px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    nav {
        gap: 0.25rem;
    }

    .hero {
        min-height: 60vh;
    }

    .btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.85rem;
    }

    .card {
        padding: 1.25rem;
    }

    .section {
        padding: 2rem 0;
    }

    .contact-wrapper {
        gap: 1rem;
    }

    .contact-section-title {
        margin-bottom: 1rem;
    }

    .contact-section-title h2 {
        font-size: 1.35rem;
    }

    .contact-section-title p {
        font-size: 0.9rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .checkbox-group label {
        font-size: 0.8rem;
    }

    .contact-info-card {
        padding: 1rem;
    }

    .contact-info-card h3 {
        font-size: 1.25rem;
    }

    .contact-detail h4 {
        font-size: 0.95rem;
    }

    .contact-detail p {
        font-size: 0.85rem;
    }

    .map-container {
        height: 200px;
        min-height: 200px;
        margin-top: 1rem;
    }

    .map-container iframe {
        min-height: 200px;
    }
}

