:root {
    --primary-color: #6a0dad;
    --background-color: #121212;
    --surface-color: #1a1a1a;
    --text-color: #ffffff;
    --subtle-text-color: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --input-bg-color: rgba(255, 255, 255, 0.05);
    --success-color: #4CAF50;
}

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

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header styles - enhanced to match about page */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    z-index: 100;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        padding: 10px 3%;
    }
    
    nav {
        padding: 8px;
    }
    
    .logo {
        font-size: 1.5em;
        margin-left: 10px;
    }
}

header.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: transparent;
    position: relative;
    outline: 1.8px solid #444;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;

}

.logo {
    font-size: 1.8em;
    text-decoration: none;
    margin-left: 20px;
    letter-spacing: 2px;
    font-family: "Roboto Slab", sans-serif;
    font-weight: 500;
    font-style: normal;
    background: linear-gradient(135deg, #4d40c4, #520dad, #7c3aed);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

}


nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 5px 20px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    z-index: 1;

}


.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: white;
    transition: width 0.3s ease;
    z-index: 0;
    border-radius: 25px;

}

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

.nav-link:hover {
    color: black;
}

.nav-link:hover span {
    transform: translateX(5px);
}

/* Mobile Navigation */
.second-nav {
    display: none;
    list-style: none;
    flex-direction: column;
    top: 80px;
    width: 90%;
    max-width: 400px;
    height: max-content;
    position: fixed;
    z-index: 9999;
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    overflow: hidden;
}

.second-nav.active-second-nav {
    display: flex;
    animation: slideDownMobile 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideDownMobile {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.second-nav-li {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    height: max-content;
    text-align: center;
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.second-nav-li:last-child {
    border-bottom: none;
}

.second-nav-li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 13, 173, 0.2), transparent);
    transition: width 0.4s ease;
    z-index: -1;
}

.second-nav-li:hover::before {
    width: 100%;
}

.second-nav-li:hover {
    color: #6a0dad;
    transform: translateX(5px);
}

.second-nav-li a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 18px 0;
    width: 100%;
}

#hamburger {
    display: none;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    position: relative;
}

#hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

#hamburger span:nth-child(1) {
    top: 0;
}

#hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#hamburger span:nth-child(3) {
    bottom: 0;
}

#hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

#hamburger.active span:nth-child(2) {
    opacity: 0;
}

#hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 768px) {
    #hamburger {
        display: inline-block;
    }

    #first-nav {
        display: none;
    }

}

/* Main Content Styles */
main {
    margin-top: 100px;
    padding: 40px 20px;
}

.contact-form-section {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.8em;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1em;
    color: var(--subtle-text-color);
    max-width: 600px;
    margin: 0 auto;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--success-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--success-color);
    display: none;
}

.intake-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

fieldset {
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    background: var(--input-bg-color);
    transition: border-color 0.3s ease;
}

fieldset:focus-within {
    border-color: var(--primary-color);
}

legend {
    font-size: 1.2em;
    font-weight: 500;
    color: var(--primary-color);
    padding: 0 10px;
    margin-left: 10px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 400;
    color: var(--subtle-text-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group label,
.features-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkbox-group label:hover,
.features-grid label:hover {
    background: rgba(255, 255, 255, 0.1);
}

input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--subtle-text-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

input[type="checkbox"]:checked::before {
    content: "✔";
    font-size: 14px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    transition: width 0.4s ease-in-out;
}

.cta-button:hover {
    color: #000;
}

.cta-button:hover::before {
    width: 100%;
}

/* footer section styling */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 60px 0 20px;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(106, 13, 173, 0.3);
    box-shadow: 0 -5px 30px rgba(106, 13, 173, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6a0dad, #5628ee, #6a0dad, transparent);
}

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

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

.footer-column h3.footer-logo {
    font-size: 1.8rem;
    color: #6a0dad;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-column h4 {
    font-size: 1.3rem;
    color: #6a0dad;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    border-radius: 2px;
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #6a0dad;
    margin-right: 10px;
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    margin-right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #6a0dad;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

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

.footer-newsletter-text {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter-form input:focus {
    border-color: #6a0dad;
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.3);
}

.footer-newsletter-form button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a0dad, #5628ee);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(106, 13, 173, 0.5);
}

.footer-social h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.social-media {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.social-media a {
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

/* Social media specific background colors on hover */
.social-media a:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
}

.social-media a[href*="instagram.com"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-media a[href*="github.com"]:hover {
    background: linear-gradient(45deg, #24292e, #343a40);
}

.social-media a[href*="twitter.com"]:hover,
.social-media a[href*="x.com"]:hover {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-media a[href*="linkedin.com"]:hover {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.social-media a[href*="youtube.com"]:hover {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.social-media a[href*="facebook.com"]:hover {
    background: linear-gradient(45deg, #4267B2, #3b5998);
}

.social-media a[href*="dribbble.com"]:hover {
    background: linear-gradient(45deg, #ea4c89, #d6356c);
}

.social-media a[href*="behance.net"]:hover {
    background: linear-gradient(45deg, #1769ff, #0057e7);
}

.footer-bottom {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 80px;
}

.copyright {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #6a0dad;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-bottom {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-form input,
    .footer-newsletter-form button {
        width: 100%;
    }

    .footer-newsletter-form button {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #hamburger {
        display: block;
    }

    /* #hamburger span {
        background-color: var(--background-color);
    } */

    #first-nav {
        display: none;
    }

    body {
        padding: 20px 10px;
    }

    .contact-form-section {
        padding: 20px;
    }

    .section-title {
        font-size: 2.2em;
    }

    main {
        margin-top: 80px;
        padding: 20px 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-bottom {
        justify-content: center;
    }
}