:root {
    --primary-blue: #1a365d;
    --accent-orange: #ff9933;
    --bg-light: #f8fafc;
    --text-dark: #334155;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
 .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .logo {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  .logo i {
    background: #0d3b8e;
    color: white;
    padding: 10px;
    border-radius: 12px;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
  }
  
  .nav-links .active {
    background: #0d3b8e;
    color: white;
  }
  
  .profile{
    text-decoration: none;
    color: #ffffff;
    background: var(--primary-blue);
    padding: 7px 10px;
    border-radius: 8px;
    font-weight: 600;
  }
  .signup {
    background: #ff8a00;
    padding: 10px 18px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
  }
  
  
.divider {
    text-align: center;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.divider span {
    background: var(--white);
    padding: 0 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.btn-google {
    width: 100%;
    background: var(--white);
    color: var(--text-main);
    padding: 16px 24px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.btn-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 67, 139, 0.05), transparent);
    transition: left 0.5s;
}

.btn-google:hover::before {
    left: 100%;
}

.btn-google:hover {
    border-color: var(--primary-blue);
    background: rgba(10, 67, 139, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-google i {
    color: #4285f4;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-google:hover i {
    transform: scale(1.1);
}

/* --- Main Hero Split Section --- */


.btn-login-main {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #0d5aa1);
    color: white;
    padding: 18px 24px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.btn-login-main::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;
}

.btn-login-main:hover::before {
    left: 100%;
}

.btn-login-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.btn-login-main:active {
    transform: translateY(-1px);
}

.hero-container {
    display: flex;
}

/* Left Side - Form */
.form-side {
    flex: 1;
    padding: 60px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    margin-bottom: 30px;
}

.role-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.role-card {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.role-card.active {
    border: 2px solid var(--primary-blue);
    background: #f0f4f8;
}

.role-card i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.input-field {
    position: relative;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.input-field input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    outline: none;
}

.btn-create {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.signup-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.signup-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.signup-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.signup-link a:hover::after {
    width: 100%;
}

.signup-link a:hover {
    color: var(--dark-blue);
    transform: translateY(-1px);
}
/* Right Side - Info */
.info-side {
    flex: 1;
    background: var(--primary-blue);
    background-image: 
        linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.9)),
        url('https://www.transparenttextures.com/patterns/cubes.png'); /* Blueprint grid effect */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    text-align: center;
}

.info-content {
    max-width: 450px;
}

.info-icon {
    font-size: 50px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.info-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.check-list {
    text-align: left;
    list-style: none;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.check-list i {
    color: var(--accent-orange);
}

/* --- Scrollable Content (Section 2) --- */
.details-section {
    padding: 100px 50px;
    background: white;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card {
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

@media (max-width: 900px) {
    .hero-container { flex-direction: column; }
    .info-side { order: -1; min-height: 400px; }
    .form-side { padding: 40px 20px; }
    .grid { grid-template-columns: 1fr; }
}
