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

        body {
            font-family: "Comic Neue", cursive;
            background-color: #f5f3f1;
            min-height: 100vh;
            color: #3e2723;
            transition: all 0.3s ease;
        }

        body.dark-mode {
            background-color: #0d0d0d;
        }

        .navbar {
            background: radial-gradient(circle, #e5c5b3, #e9b4b6);
            backdrop-filter: blur(15px);
            padding: 1rem 2rem;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        body.dark-mode .navbar {
             background: #1e1e1e;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1500px;
            margin: 0 auto;
        }

        .logo {
            font-size: 2rem;
            font-weight: 600;
            color: #3e2723;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            min-width: 150px;
        }

        body.dark-mode .logo {
            color: #e0e0e0;
        }

        .logo-icon {
            font-size: 2rem;
        }

        .logo-text {
            font-weight: 600;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: #3e2723;
            font-weight: 600;
            padding: 0.7rem 1rem;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .nav-links a {
            color: #e0e0e0;
            background: rgba(111, 100, 91, 0.133);
            border: 2px solid transparent;
        }
        body.dark-mode .nav-links a:hover {
            background-color: #0d0d0d;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border-color: #1e1e1e;
            color: #e0e0e0;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .dark-mode-btn {
            background-color: #3e2723;
            border: none;
            color: white;
            padding: 0.7rem;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1rem;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        body.dark-mode .dark-mode-btn {
           background-color: #e0e0e0;
            color: #1e1e1e;
        }

        .hamburger-icon {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .hamburger-icon span {
            width: 25px;
            height: 3px;
            background: linear-gradient(45deg, #a4766a, #5d4037);
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .hamburger-icon:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .hamburger-icon span {
            background: #e0e0e0;
        }

        /* Main content styles */
       .main-content {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 100px 20px 20px;
        }

        .contact-box {
            display: flex;
            width: 90%;
            height: auto;
            min-height: 600px;
            max-width: 1100px;
            background: #fff;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            animation: slideUp 0.8s ease-out;
        }

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

        /* Left Column */
        .contact-info {
            background: #f3e0d6 /*linear-gradient(135deg, #ffafaf, #ef8888)*/;
            color: #fff;
            padding: 50px 40px;
            flex: 1;
            position: relative;
            overflow: hidden;
        }


        .contact-info h2 {
            color: #3e2723;
            margin-top: 0;
            font-size: 2.5rem;
            margin-bottom: 25px;
            font-weight: 800;
            position: relative;
            z-index: 2;
        }

        .contact-info p {
            color: #593832;
            margin-bottom: 40px;
            line-height: 1.6;
            font-size: 1.1rem;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        .contact-info .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            font-size: 1rem;
            position: relative;
            z-index: 2;
            padding: 10px 0;
            border-radius: 8px;
            transition: all 0.3s ease;
            color: #32211e;
            font-weight: 500;
            
        }

        .contact-info .info-item:hover {
            background: rgba(255,255,255,0.1);
            padding-left: 10px;
            transform: translateX(10px);
        }

        .contact-info .info-item i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 33px;
            height: 33px;
            background:linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
            color: rgb(59, 59, 59);
            text-decoration: none;
            border-radius: 50%;
            font-size: 0.8rem;
            margin-right: 20px;
            color: #ffffff;
            transition: transform 0.3s ease;
            
        }

        .contact-info .info-item:hover i {
            transform: scale(1.2);
        }
      
        /* Right Column */
        .contact-form-box {
            flex: 1;
            padding: 50px 40px;
            background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
        }

        .contact-form-title {
            font-size: 2.5rem;
            margin-bottom: 30px;
            font-weight: 800;
            color:linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
            text-align: center;
        }

        .contact-form .form-row {
            display: flex;
            gap: 25px;
            margin-bottom: 20px;
        }


        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 15px 18px;
            border: 2px solid #e1e5e9;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #fff;
            font-family: inherit;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #3e2723 ;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: #999;
            transition: opacity 0.3s ease;
        }

        .contact-form input:focus::placeholder,
        .contact-form textarea:focus::placeholder {
            opacity: 0.7;
        }

        .contact-form textarea {
            resize: vertical;
            min-height: 120px;
            font-family: inherit;
        }

        .contact-form button {
            background:linear-gradient(20deg, #3e2723, #6e463e, #3e2723);
            padding: 15px 25px;
            border: none;
            border-radius: 20px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            letter-spacing: 1px;
            color: white;
        }

        .contact-form button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .contact-form button:hover::before {
            left: 100%;
        }

        .contact-form button:hover {
            background:linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
        }

        .contact-form button:active {
            transform: translateY(0px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        #contactSuccess {
            background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
            color: rgb(255, 247, 247);
            padding: 15px 20px;
            border-radius: 12px;
            margin-top: 20px;
            text-align: center;
            transform: translateY(-10px);
            transition: all 0.5s ease;
            font-weight: 500;
            display: none;
        }

        

        .input-group {
            position: relative;
            margin-bottom: 20px;
        }

        .input-group input,
        .input-group textarea {
            margin-bottom: 0;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #3c3c3c;
            font-weight: 600;
            font-size: 1rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .contact-box {
                flex-direction: column;
                width: 95%;
            }

            .contact-info,
            .contact-form-box {
                padding: 30px 20px;
            }

            .contact-form .form-row {
                flex-direction: column;
                gap: 10px;
            }

            .contact-info h2 {
                font-size: 2rem;
            }

            .contact-form-title {
                font-size: 1.5rem;
            }
        }

        /* Loading animation for button */
        .contact-form button.loading {
            pointer-events: none;
            position: relative;
        }

        .contact-form button.loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            margin: auto;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s linear infinite;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }

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

        /* Dark Mode Styles */
        body.dark-mode {
            background: linear-gradient(135deg, #0f0f0f, #2b2b2b, #000000);

        }

        body.dark-mode .contact-box {
            background: #2e1e2a;
            box-shadow: 0 8px 20px rgba(115, 115, 115, 0.25);

        }

        

        body.dark-mode .contact-form-box {
            background: linear-gradient(120deg, #0d0d0d, #282727, #181818);
        }

        body.dark-mode .contact-form-title {
            color: #e0e0e0;
        }

        body.dark-mode .contact-form input,
        body.dark-mode .contact-form textarea {
            background: #0c0c10;
            border: 2px solid #6d6d6d;
            color: #e0e0e0;
        }

        body.dark-mode .contact-form input:focus,
        body.dark-mode .contact-form textarea:focus {
            border-color: #000000;
            box-shadow: 0 0 0 3px rgba(122, 122, 122, 0.2);
            background: #1f1f20;
        }

        body.dark-mode .contact-form input::placeholder,
        body.dark-mode .contact-form textarea::placeholder {
            color: #888;
        }

        body.dark-mode .input-group label {
            color: #ccc;
        }

        body.dark-mode .success-message {
            background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
        }
        
        .footer {
            background: radial-gradient(circle at center, #e9b4b6, #e5c5b3);
            backdrop-filter: blur(15px);
            border-top: 1px solid rgba(255, 255, 255, 0.3);
            margin-top: 4rem;
        }

        body.dark-mode .footer {
            background: #1e1e1e;
        }

        .footer-content {
            max-width: 1500px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            padding: 3rem 2rem 2rem;
        }

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

        @media (max-width:768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }
        }

        .footer-section h3.footer-title {
            color: #3e2723;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }
        .footer-section h3.footer-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 30px;
            height: 3px;
            background: #3e2723;
            border-radius: 2px;
        }

        body.dark-mode .footer-section h3.footer-title {
            color:#e0e0e0;
        }
        body.dark-mode .footer-section h3.footer-title::after {
            background: #e0e0e0;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            font-weight: 700;
            color: #3e2723;
        }

        body.dark-mode .footer-logo {
            color: #e0e0e0;
        }

        .footer-logo-icon {
            font-size: 2rem;
        }

        .footer-description {
            color: #333;
            line-height: 1.6;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

        body.dark-mode .footer-description {
            color: #a0a0a0;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #333;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.3rem 0;
            border-radius: 5px;
        }

        body.dark-mode .footer-links a {
            color: #e0e0e0;
        }

        .footer-links a:hover {
            color: black;
            transform: translateX(4px);
            background: rgba(255, 107, 107, 0.1);
            padding-left: 0.8rem;
        }
        body.dark-mode .footer-links a:hover {
            color: #a0a0a0;
            background: rgba(255, 138, 128, 0.1);
        }

        .footer-bottom {
            background: rgba(0, 0, 0, 0.05);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem 0;
        }

        body.dark-mode .footer-bottom {
             background: #1e1e1e;
        }

        .footer-bottom-content {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        @media (max-width:768px) {
            .footer-bottom-content {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .footer-badges {
                justify-content: center;
            }
        }

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

        body.dark-mode .copyright {
            color: #a0a0a0;
        }

        .copyright .name {
            color: #3e2723;
            font-weight: 600;
        }

        body.dark-mode .copyright .name {
            color: #ef6154;
        }

        .footer-badges {
            display: flex;
            gap: 0.8rem;
            flex-wrap: wrap;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            color: white;
            transition: all 0.3s ease;
        }

        .badge-green {
            background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
        }

        .badge-blue {
            background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
        }

        .badge-purple {
            background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
        }
        body.dark-mode .badge-blue {
            background: #e0e0e0;
            color: #0d0d0d;
        }

        body.dark-mode .badge-green {
            background: #e0e0e0;
            color: #0d0d0d;
        }

        body.dark-mode .badge-purple {
            background: #e0e0e0;
            color: #0d0d0d;
        }
        

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background:linear-gradient(90deg, #3e2723, #6e463e, #3e2723);
            color: white;
            text-decoration: none;
            border-radius: 50%;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }
        .social-link:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .hamburger-icon {
        display: none; /* Hidden on desktop */
        flex-direction: column;
        justify-content: space-around;
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

.hamburger-icon .bar {
    width: 2rem;
    height: 0.25rem;
    background-color: #333; 
    border-radius: 10px;
}

@media (max-width: 1242px) {
    /* Hides the desktop navigation links */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Full screen height */
        background: #1a1a1a; /* Dark background */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 6rem;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%); /* Hides the menu off-screen to the left */
        gap: 0;
        z-index: 999;
    }
    .nav-actions {
    gap: 0.5rem;
    z-index: 1001;
    position: absolute;
    right: 5rem;
  }
    /* This rule makes the menu slide in when it's active */
    .nav-links.active {
        transform: translateX(0);
    }

    /* Styles for the links inside the mobile menu */
    .nav-links li {
        width: 90%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        width: 100%;
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        color: #e0e0e0 !important;
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* This shows the hamburger icon on mobile */
    .hamburger-icon {
        display: flex;
        position: relative; /* Changed from absolute */
        z-index: 1001; /* Ensures it's on top of the dark menu */
    }
}

/* This animates the hamburger icon into an 'X' when it gets the 'active' class */
.hamburger-icon.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}