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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8eef5 0%, #f5f7fa 100%);
    min-height: 100vh;
    color: #1a1a2e;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 80px;
    background: transparent;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, 
        rgb(255, 0, 0) 0%, 
        rgb(0, 255, 0) 50%, 
        rgb(0, 0, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rgbShift 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes rgbShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a.active {
    color: #4169ff;
}

nav a:hover {
    color: #4169ff;
}

/* TOGGLE SWITCH */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    --background: #28096b;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    transition: .5s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    left: 10%;
    bottom: 15%;
    box-shadow: inset 8px -4px 0px 0px #fff000;
    background: var(--background);
    transition: .5s;
}

input:checked + .slider {
    background-color: #522ba7;
}

input:checked + .slider:before {
    transform: translateX(100%);
    box-shadow: inset 15px -4px 0px 15px #fff000;
}

/* CONTACT SECTION */
.contact-section {
    padding: 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* CONTACT INFO */
.contact-info h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #4169ff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-item i {
    font-size: 32px;
    color: #4169ff;
    background: #f0f4ff;
    padding: 20px;
    border-radius: 12px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 15px;
    color: #4a5568;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    color: #1a1a2e;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: #4169ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(65, 105, 255, 0.4);
}

/* CONTACT FORM */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4169ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(65, 105, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #4169ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #2d4fd9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 255, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .navbar,
    .contact-section {
        padding: 30px 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
        width: 100%;
    }

    .contact-info h1 {
        font-size: 32px;
    }

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

/* DARK MODE */
body.dark-mode {
    background: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 100%);
    color: #e2e8f0;
}

body.dark-mode .logo,
body.dark-mode nav a,
body.dark-mode .info-item h3,
body.dark-mode .form-group label {
    color: #e2e8f0;
}

body.dark-mode nav a.active {
    color: #4169ff;
}

body.dark-mode .contact-info > p,
body.dark-mode .info-item p {
    color: #94a3b8;
}

body.dark-mode .info-item i,
body.dark-mode .social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .social-links a:hover {
    background: #4169ff;
    color: white;
    border-color: #4169ff;
}

body.dark-mode .contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #4169ff;
}

/* ── FOOTER ── */
.footer {
    text-align: center;
    padding: 40px 6%;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a5568;
    font-size: 0.9rem;
}

.footer span {
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

body.dark-mode .footer {
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .footer span {
    background: linear-gradient(135deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
