/* Tally Prime 7.0 Landing Page Styles */
@import url('style.css');

:root {
    --tally-green: #248D48; /* Tally/Green ish color */
    --tally-dark: #1C3F39;
    --tally-accent: #0275d8;
    --bg-light: #f4fcf7;
}

body {
    background-color: #ffffff;
}

/* Hero Section */
.tally-hero {
    background: linear-gradient(rgba(28, 63, 57, 0.9), rgba(36, 141, 72, 0.8)),
        url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.tally-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.tally-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Form Container */
.registration-section {
    margin-top: -80px;
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.form-box {
    background: white;
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-top: 5px solid var(--tally-green);
}

.form-box h3 {
    text-align: center;
    color: var(--tally-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--tally-green);
    outline: none;
    box-shadow: 0 0 5px rgba(36, 141, 72, 0.2);
}

.btn-submit {
    width: 100%;
    background: var(--tally-green);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--tally-dark);
}

/* Course Curriculumn */
.curriculum-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.module-card:hover {
    transform: translateY(-5px);
    border-left-color: var(--tally-green);
}

.module-icon {
    font-size: 2rem;
    color: var(--tally-green);
    margin-bottom: 1rem;
}

.module-card h4 {
    margin-bottom: 0.5rem;
    color: var(--tally-dark);
}

/* Mobile */
@media(max-width: 768px) {
    .tally-hero {
        padding: 140px 0 60px;
    }
    .form-box {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}
