body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(90deg, #160a4e, #928dab);
    background-size: cover;
    background-position: center;
    height: 100vh;
    justify-content: center;
    align-items: center;

}

.registration {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    /* border-radius: 15px; */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 350px;
    margin-left: auto;
    margin-right: 0;
    margin-top: 20px;
    margin-bottom: 20px;

}

.registration h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}


label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-body {
    display: flex;
    background-color: #0d0d0d;

    overflow: hidden;
    box-shadow: 0 8px 20px rgba(174, 50, 50, 0.4);

    width: 100%;
}



.registration-text {
    flex: 1;
    padding: 40px;
    background-color: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 1.6;
    color: #009d03;
    /* border-right: 2px solid #040303; */
}




.registration {
    flex: 1;
    padding: 40px;
}

.registration h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #494949;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #000000;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #ffffff;
    color: #120c0c;
    font-size: 14px;
}

input::placeholder {
    color: #555555;
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background-color: #00b894;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #019875;
}

@media (max-width: 768px) {
    .main-body {
        flex-direction: column;
    }

    .registration-text {
        border-right: none;
        border-bottom: 2px solid #444;
    }
}

.navbar {
    display: flex;
    padding: 15px 30px;
    align-items: center;
    justify-content: space-between;
}


.navbar-dark {
    background: linear-gradient(90deg, #146312, #794312);
    box-shadow: 0 2px 12px rgba(55, 8, 8, 0.3);
    color: #f7f7f7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;

}

.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 18px;
    padding-left: 18px;
    padding-top: auto;
    padding-bottom: auto;
}

.nav-links a:hover {
    color: #89e4f4;
    transform: scale(1.04);

}


.navbar h1 {
    padding-left: 16px;
    font-size: 1.8rem;
}

.navbar h1 a {
    text-decoration: none;
    color: #ffffff;
}

.navbar h1:hover {
    transform: scale(1.04);
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 20px;
    box-shadow: 1px 1px 4px rgba(121, 83, 83, 0.2);
}

.search-bar input {
    border: none;
    outline: none;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.search-bar i {
    color: black;
    font-size: 16px;
}

.theme-toggle {
    cursor: pointer;
    color: white;
    font-size: 20px;
    margin-left: 20px;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.2);
}

.footer {
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-dark {
    background: #090909;
    color: #aaa;
    border-top: 1px solid #333;
    box-shadow: inset 0 1px 0 #22c1c3;
}


.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand h4 {
    color: #ffebeb;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;

}



.footer-links a,
.footer-social a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 10px;
    color: #777;
}


body.light-theme {
  background: #f9f9f9;
  color: #151414;
}


body.light-theme .navbar {
  background: rgba(201, 186, 186, 0.7);
  box-shadow: 0 2px 12px rgba(57, 7, 7, 0.1);
  color: #000;
}

body.light-theme .nav-links a {
  color: #262525;
}

body.light-theme .nav-links a:hover {
  color: #2b93ae; 
}


body.light-theme .search-bar {
  background-color: #fff;
  box-shadow: 1px 1px 6px rgba(0.5,0,0,0.1);
}

body.light-theme .search-bar i {
  color: #575757;
}


body.light-theme .theme-toggle {
  color: #222;
}

body.light-theme .main-body{
    background-color: #4c7ec0;
}

body.light-theme .registration-text{
    background-color: #4c7ec0;
    color: #000000;
}


body.light-theme .footer {
    background: #e2e2e2;
    color: #4c4b4b;
    border-top: 1px solid #c4c0c0;
    box-shadow: none;
}

body.light-theme .footer-brand h4 {
    color: #444;
}

body.light-theme .footer-links a,
body.light-theme .footer-social a {
    color: #444;
}

body.light-theme .footer-links a:hover,
body.light-theme .footer-social a:hover {
    color: #177715;
}

body.light-theme .footer-bottom {
    color: #606060;
    border-top: 1px solid #ccc;
}