/* Base Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #ff6584;
    --dark-color: #2f2e41;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: #5a52e0;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-secondary);
}

.section-title span {
    color: var(--primary-color);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family: var(--font-secondary);

}

.hero-title span {
    color: var(--primary-color);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    display: none;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(108, 99, 255, 0.2);
    z-index: -1;
}

.hero-subtitle {
    min-height: 1.5em; /* Prevent layout shift */
    display: inline-block;
    position: relative;
   
}
.hero-subtitle {
    color: #6d5fb6; /* Light purple */
}
.dark-mode .hero-subtitle {
    color: #b9adff; /* Brighter purple for dark mode */
}

/* Optional cursor effect */
.hero-subtitle::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
    animation: pulse 4s infinite alternate;
}

.dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.1;
    z-index: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--gray-color);
    border-radius: 10px;
    margin-top: 5px;
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--gray-color);
    animation: bounce 1.5s infinite;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* About Section - Compact Version */
.about-content {
    display: flex;
    gap: 30px;  /* Reduced from 50px */
    align-items: center;
    margin-top: -110px;  /* Pulls entire section up */
}

.about-image {
    flex: 1;
    position: relative;
    padding: 25px;  /* Reduced from 45px */
    margin-top: 20px;  /* Compensates for container's negative margin */
}

.about-text {
    flex: 1;
    padding-top: 10px;  /* Slight top padding */
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;  /* Reduced from 20px */
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 15px;  /* Reduced from 20px */
    color: var(--gray-color);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;  /* Reduced from 15px */
    margin: 20px 0;  /* Reduced from 30px 0 */
}

.detail-item {
    display: flex;
}

.detail-item span {
    font-weight: 600;
    min-width: 100px;
    color: var(--dark-color);
}

.dark-mode .about-content h3, .detail-item span {
    color: #637ea7;
}
.dark-mode .about-content p {
    color: #c5c2c2;
}


/* skills-section */

/* Simple Animation Styles */
.skills {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: -100px;
}

.skills.animate {
    opacity: 1;
    transform: translateY(0);
}
.skills-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.skill-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-logo {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.skill-name {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

/* Dark Mode Styles */
.dark-mode .skill-item {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .skill-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.dark-mode .skill-logo {
    background-color: rgba(168, 160, 255, 0.1);
    color: #a594f9;
}

.dark-mode .skill-item:hover .skill-logo {
    background-color: #a594f9;
    color: #1e1e1e;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-cloud {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .skill-logo {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-links a {
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.project-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.view-project {
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    background-color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-info p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background-color: var(--light-gray);
    color: var(--dark-color);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(108, 99, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

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

.footer-about .logo {
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }






    /* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 40px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        margin-top: 40px;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 20px;
    }
}

}

/* Theme Toggle Styles */
.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.theme-toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 30px;
    padding: 0 5px;
    background: var(--light-gray);
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
}

.theme-toggle-label i {
    font-size: 14px;
}

.theme-toggle-label .fa-sun {
    color: #f39c12;
}

.theme-toggle-label .fa-moon {
    color: #f1c40f;
}

.theme-toggle-ball {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    z-index: -1;
}

#theme-toggle-checkbox {
    display: none;
}

#theme-toggle-checkbox:checked + .theme-toggle-label .theme-toggle-ball {
    transform: translateX(30px);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
     color: #e0e0e0;
}

.dark-mode .navbar {
    background-color: rgba(30, 30, 30, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a1a 100%, #2d2d2d 100%);
}

.dark-mode .logo {
    color: #f5f5f5;
}

.dark-mode .nav-links a {
    color: #f5f5f5;
}

.dark-mode .skill-category,
.dark-mode .project-card,
.dark-mode .contact-content {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .project-tech span {
    background-color: #2d2d2d;
    color: #f5f5f5;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background-color: #2d2d2d;
    border-color: #444;
    color: #f5f5f5;
}

.dark-mode .footer {
    background-color: #1a1a1a;
}

.dark-mode .footer-links ul li a,
.dark-mode .footer-about p,
.dark-mode .footer-contact ul li {
    color: rgba(255, 255, 255, 0.8);
}

/* System preference detection */
@media (prefers-color-scheme: dark) {
    body:not(.light-mode) {
        background-color: #121212;
        color: #f5f5f5;
    }
    
    body:not(.light-mode) .navbar {
        background-color: rgba(18, 18, 18, 0.95) !important;
    }
    
    /* Add all other dark mode styles here with :not(.light-mode) prefix */
}
/* Dark Mode Hamburger Menu Styles */
.dark-mode .hamburger .line {
    background-color: #ffffff; /* White lines for dark mode */
}

.dark-mode .nav-links {
    background-color: #1e1e1e; /* Dark background for mobile menu */
}

.dark-mode .nav-links a {
    color: #ffffff !important; /* White text for links */
}

.dark-mode .nav-links a:hover {
    color: var(--primary-color) !important;
}

.dark-mode .nav-links a::after {
    background-color: var(--primary-color); /* Primary color underline */
}



/* Animation Styles */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

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

/* Delay animations for each section */
#about.section-visible {
    transition-delay: 0.1s;
}

#skills.section-visible {
    transition-delay: 0.2s;
}

#projects.section-visible {
    transition-delay: 0.3s;
}

#contact.section-visible {
    transition-delay: 0.4s;
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease 0.3s;
}

.hero-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease 0.3s;
}

/* Animate elements when loaded */
body.loaded .hero-content,
body.loaded .hero-image {
    opacity: 1;
    transform: translateX(0);
}

/* About section animation */
.about-image {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.about-text {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

#about.section-visible .about-image,
#about.section-visible .about-text {
    opacity: 1;
    transform: translateX(0);
}

/* Skills animation */
.skill-category {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

#skills.section-visible .skill-category {
    opacity: 1;
    transform: translateY(0);
}

/* Project animation */
.project-card {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

#projects.section-visible .project-card {
    opacity: 1;
    transform: scale(1);
}

/* Contact animation */
.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.contact-form {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

#contact.section-visible .contact-info,
#contact.section-visible .contact-form {
    opacity: 1;
    transform: translateX(0);
}