:root {
    --bg-color: #2B252F; 
    --orange: #EE9A2E;
    --pink: #FF99C6;
    --yellow: #E5C07B; 
    --white: #ffffff;
    --text-grey: #cccccc;
    --border-line: rgba(255, 255, 255, 0.15);
    --btn-shadow: #b3b3b3;
    --card-bg: rgba(255, 255, 255, 0.05);
}

@font-face { font-family: 'Supreme'; src: url('font/Supreme-Light.otf') format('opentype'); font-weight: 300; }
@font-face { font-family: 'Supreme'; src: url('font/Supreme-Regular.otf') format('opentype'); font-weight: 400; }
@font-face { font-family: 'Supreme'; src: url('font/Supreme-Medium.otf') format('opentype'); font-weight: 500; }
@font-face { font-family: 'Supreme'; src: url('font/Supreme-Bold.otf') format('opentype'); font-weight: 700; }
@font-face { font-family: 'Supreme'; src: url('font/Supreme-Extrabold.otf') format('opentype'); font-weight: 800; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #2F2833;
    font-family: 'Supreme', sans-serif;
    color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px; 
}

a { text-decoration: none; color: inherit; }

/* Base Components (Reused from style.css) */
.navbar { width: 100%; border-bottom: 1px solid var(--border-line); display: flex; justify-content: center; position: fixed; top: 0; left: 0; z-index: 1000; background-color: var(--bg-color); backdrop-filter: blur(10px); }
.nav-content-container { width: 85%; max-width: 1400px; padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.5px; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-grey); font-size: 0.9rem; font-weight: 400; transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }
.layout-wrapper { width: 85%; max-width: 1400px; position: relative; z-index: 1; }
.bordered-layout { border-left: 1px solid var(--border-line); border-right: 1px solid var(--border-line); width: 100%; min-height: calc(100vh - 80px);  }

.btn-keycap { background-color: var(--white); color: var(--bg-color); font-family: 'Supreme', sans-serif; font-weight: 700; font-size: 0.95rem; padding: 12px 24px; border: none; border-radius: 12px; cursor: pointer; box-shadow: 0 4px 0 var(--btn-shadow), 0 5px 10px rgba(0,0,0,0.2); transition: all 0.1s ease; display: flex; align-items: center; justify-content: center; }
.btn-keycap:hover, .btn-keycap:active { transform: translateY(4px); box-shadow: 0 0 0 var(--btn-shadow), inset 0 2px 5px rgba(0,0,0,0.1); }
.btn-keycap .bracket { color: var(--orange); margin: 0 3px; font-weight: 800; }

.content-section { width: 100%; padding: 60px 50px; display: flex; flex-direction: column; align-items: center; position: relative; }
.section-pill { position: absolute; top: 30px; left: 30px; background-color: rgba(255, 255, 255, 0.08); padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border-line); font-size: 0.75rem; font-family: 'Supreme', sans-serif; font-weight: 500; }
.curly-header { font-size: 3rem; font-weight: 400; color: var(--white); margin-bottom: 20px; text-align: center; margin-top: 20px; }
.curly-header .curly { color: var(--orange); }
.section-subtext { max-width: 700px; text-align: center; color: var(--text-grey); font-size: 0.95rem; line-height: 1.6; margin-bottom: 50px; font-weight: 300; }

.code-label { font-family: 'Supreme', sans-serif; font-weight: 400; font-size: 0.85rem; color: var(--white); line-height: 1.6; letter-spacing: 0.02em; }
.punct { color: var(--text-grey); font-weight: 400; }
.tag-name { color: var(--pink); font-weight: 500; font-family: 'Supreme', sans-serif; }
.attr-name { color: var(--orange); font-weight: 500; font-family: 'Supreme', sans-serif; }
.attr-value { color: var(--yellow); font-weight: 500; font-family: 'Supreme', sans-serif; }

/* Contact Specific Styles */
.contact-grid {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-line);
    border-radius: 16px;
    padding: 50px;
}

.contact-info-panel { flex: 1; border-right: 1px solid var(--border-line); padding-right: 40px; }
.contact-form-panel { flex: 1.5; }

.contact-methods { list-style: none; margin-top: 25px; display: flex; flex-direction: column; gap: 20px; }
.contact-methods li { font-size: 0.95rem; font-family: 'Supreme', sans-serif; display: flex; flex-direction: column; gap: 4px; }
.contact-methods .attr-value { color: var(--text-grey); font-weight: 400; letter-spacing: 0.5px; }

.social-icons { display: flex; gap: 18px; }
.social-icons a { color: var(--text-grey); opacity: 0.7; transition: color 0.3s, opacity 0.3s, transform 0.3s; display: flex; align-items: center; justify-content: center; }
.social-icons a:hover { color: var(--white); opacity: 1; transform: translateY(-2px); }
.social-icons svg { width: 22px; height: 22px; }

.contact-form-panel form { display: flex; flex-direction: column; gap: 25px; }

.form-group { display: flex; flex-direction: column; gap: 10px; }

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background: #231E26;
    border: 1px solid var(--border-line);
    border-radius: 10px;
    padding: 16px;
    color: var(--white);
    font-family: 'Supreme', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Custom Dropdown Arrow */
.form-group select {
    appearance: none; /* Removes the default ugly browser arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Draws a custom, perfectly sized orange chevron */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EE9A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px; /* Ensures text doesn't overlap the new arrow */
    cursor: pointer;
}

/* Fix for IE/Edge to remove native dropdown arrow */
.form-group select::-ms-expand {
    display: none;
}
.form-group input::placeholder, 
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.2); }

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(238, 154, 46, 0.15);
}

textarea { resize: vertical; min-height: 120px; }

.submit-btn { align-self: flex-start; margin-top: 10px; padding: 14px 30px; }

/* --- Adjustments for Contact Info Panel --- */
.contact-title {
    font-size: 1.25rem; /* Makes the h3 text noticeably bigger */
    margin-bottom: 5px;
}

.icon-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--orange); /* Sets the icon color to match the text */
}

.icon-label-group svg {
    width: 18px;
    height: 18px;
    margin-top: -2px; /* Slight visual adjustment to align perfectly with the text */
}

/* --- Modern Footer Styles --- */
.site-footer {
    width: 100%;
    padding: 80px 50px 30px 50px;
    background-color: #231E26; /* Slightly darker background to separate it from the main content */
    border-top: 1px solid var(--border-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 130px;
}

.footer-top {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.footer-cta-text {
    color: var(--text-grey);
    font-weight: 300;
    margin-bottom: 30px;
    font-size: 1.05rem;
    max-width: 500px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-line), transparent);
    margin-bottom: 60px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-grey);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 30px;
}

.footer-links-group {
    display: flex;
    gap: 100px;
}

.footer-column ul {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column a {
    color: var(--text-grey);
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Slide to the right slightly on hover like code indentation */
.footer-column a:hover {
    color: var(--orange);
    transform: translateX(6px); 
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-line);
}

.back-to-top {
    color: var(--text-grey);
    font-size: 0.85rem;
    font-family: 'Supreme', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.back-to-top:hover {
    color: var(--orange);
}

.back-to-top .bracket {
    color: var(--pink);
    margin: 0 4px;
    font-weight: 800;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .site-footer { padding: 60px 30px 30px 30px; }
    
    .footer-middle {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-links-group {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .contact-grid { flex-direction: column; padding: 30px; gap: 50px; }
    .contact-info-panel { border-right: none; border-bottom: 1px solid var(--border-line); padding-right: 0; padding-bottom: 40px; }
}