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

:root {
    /* Color Variables */
    --primary-color: hsl(221, 83%, 53%);
    --primary-light: hsl(221, 70%, 60%);
    --primary-dark: hsl(221, 83%, 45%);
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(215, 28%, 17%);
    --card-background: hsl(0, 0%, 100%);
    --border-color: hsl(214, 32%, 91%);
    --muted-foreground: hsl(215, 20%, 65%);
    --accent-background: hsl(212, 95%, 95%);
    
    /* Spacing */
    --container-padding: 2rem;
    --section-gap: 3rem;
    --card-padding: 2rem;
    
    /* Border Radius */
    --radius: 0.75rem;
    --radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-contact: 0 10px 30px -10px hsl(221 83% 53% / 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-family: 'poppings', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 20% 80%, hsl(221 83% 53% / 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, hsl(221 70% 60% / 0.05) 0%, transparent 50%);
    min-height: 100vh;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

body.loaded {
    opacity: 1;
}

.page-header {
    background-color: var(--surface-color);
    box-shadow: var(--soft-shadow);
    padding: 1rem 1.5rem;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
}

.back-link {
    font-weight: 500;
    color: hsl(215, 28%, 17%);
    text-decoration: none;
}

.back-link:hover {
    color: #8c8686;
}

.back-link i {
    margin-right: 0.5rem;
    margin-top: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease-out;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: hsl(221 83% 53% / 0.1);
    border-radius: 50%;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #8c8686;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    color: #8c8686;
    background-clip: text;
    -webkit-background-clip: text;
    position: relative;
}

.sparkle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--section-gap);
    margin-bottom: 5rem;
}

.form-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-contact);
    transition: var(--transition);
}

.form-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.form-header h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-header p {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--background);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px hsl(221 83% 53% / 0.1);
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    background-color: #0c0c0c;
    color: white;

}

.submit-btn:hover {
    background-color: #8c8686;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.info-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--shadow-contact);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.info-card > p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--accent-background);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: hsl(221 83% 53% / 0.1);
    border-radius: var(--radius);
    color: #8c8686;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.contact-details p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.social-links h4 {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background-color: #8c8686;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    color: #0c0c0c;
    background: hsl(221 83% 53% / 0.1);
    transform: translateY(-2px);
}

.footer-section {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-contact);
}

.footer-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-card p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--accent-background);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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







/* Responsive Design */


@media (max-width: 1100px) {
    .main-grid {
        grid-template-columns: 1.8fr 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    }
}



@media (max-width: 950px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-card {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
}



@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .hero-section {
        margin-bottom: 3rem;
    }
    
    .hero-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .form-card,
    .info-card,
    .footer-card {
        padding: 1.5rem;
    }
    
    .main-grid {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-card h3 {
        font-size: 1.75rem;
    }
}




@media (max-width: 475px) {
    .container {
        padding: 0.75rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-card,
    .info-card {
        padding: 1.25rem;
    }
    
    .footer-card {
        padding: 1.5rem 1rem;
    }
    
    .footer-card h3 {
        font-size: 1.5rem;
    }
    
    .tech-tags {
        gap: 0.5rem;
    }
    
    .tech-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .contact-methods {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
}




@media (max-width: 436px) {
    .hero-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .sparkle-icon {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}




@media (max-width: 376px) {
    .container {
        padding: 0.5rem;
    }
    
    .hero-section {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 3vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .form-card,
    .info-card {
        padding: 1rem;
    }
    
    .footer-card {
        padding: 1.25rem 0.75rem;
    }
    
    .form-header h2 {
        font-size: 1.375rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        gap: 1.25rem;
    }
    
    .info-card h3 {
        font-size: 1.375rem;
    }
    
    .footer-card h3 {
        font-size: 1.375rem;
    }
}




@media (max-width: 321px) {
    .hero-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.375rem, 2.75vw, 2rem);
    }
    
    .sparkle-icon {
        font-size: 1rem;
        margin-left: 0.25rem;
    }
    
    .form-card,
    .info-card,
    .footer-card {
        padding: 0.875rem;
    }
    
    .form-header h2 {
        font-size: 1.25rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .tech-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}