/* ===== CSS Variables ===== */
:root {
    --cardinal-red: #C41E3A;
    --cardinal-red-dark: #A01A2E;
    --cardinal-red-light: #E02E4A;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(196, 30, 58, 0.2);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Signika', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    font-size: 1.8rem;
    color: var(--cardinal-red);
    font-weight: 700;
    font-family: 'Signika', sans-serif;
    margin: 0;
    line-height: 1.2;
}

.logo .motto {
    font-size: 0.75rem;
    color: var(--dark-gray);
    font-weight: 400;
    margin: 0;
    margin-top: 2px;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cardinal-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cardinal-red);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    text-decoration: none;
    color: var(--cardinal-red);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-phone:hover {
    color: var(--cardinal-red-dark);
    transform: scale(1.05);
}

.btn-login {
    background: var(--cardinal-red);
    color: var(--white);
    border-color: var(--cardinal-red);
    padding: 10px 25px;
    font-size: 0.95rem;
}

.btn-login:hover {
    background: var(--cardinal-red-dark);
    border-color: var(--cardinal-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--cardinal-red);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 30, 58, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.service-area-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-area-icon {
    font-size: 1.2rem;
}

.service-area-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
}

.service-badge-24-7 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

.badge-icon {
    font-size: 1.3rem;
    animation: rotate 3s linear infinite;
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--cardinal-red);
    border-color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--cardinal-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--cardinal-red);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}

/* ===== Service Area Section ===== */
.service-area {
    background: var(--white);
    padding: 80px 0;
}

.service-area-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-area-map {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.area-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--cardinal-red);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.area-card h3 {
    color: var(--cardinal-red);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.area-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.service-area-note {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05) 0%, rgba(196, 30, 58, 0.1) 100%);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(196, 30, 58, 0.2);
    text-align: center;
}

.service-area-note p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.service-area-note strong {
    color: var(--cardinal-red);
}

/* ===== Services Section ===== */
.services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== About Section ===== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: var(--cardinal-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-card {
    background: linear-gradient(135deg, var(--cardinal-red) 0%, var(--cardinal-red-dark) 100%);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-item p a {
    color: var(--cardinal-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item p a:hover {
    color: var(--cardinal-red-dark);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cardinal-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.concrete-info-section {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.concrete-info-section h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.concrete-info-section .form-row {
    margin-bottom: 0;
}

.concrete-info-section .form-row {
    grid-template-columns: 1fr 1fr 1fr;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-dark);
    font-weight: normal;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input-wrapper input[type="date"] {
    flex: 1;
    padding-right: 40px;
    cursor: pointer;
}

.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.calendar-icon {
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    pointer-events: none;
    color: var(--text-light);
    z-index: 1;
}

.captcha-group {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.captcha-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.captcha-group #captchaQuestion {
    color: var(--cardinal-red);
    font-weight: 600;
}

.captcha-group input {
    width: 100px;
    display: inline-block;
}

/* ===== File Upload Styles ===== */
.file-upload-group {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px dashed #d0d0d0;
    transition: all 0.3s ease;
}

.file-upload-group:hover {
    border-color: var(--cardinal-red);
    background: rgba(196, 30, 58, 0.05);
}

.file-upload-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.file-upload-wrapper {
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-upload-wrapper input[type="file"]:hover {
    border-color: var(--cardinal-red);
}

.file-upload-wrapper input[type="file"]:focus {
    outline: none;
    border-color: var(--cardinal-red);
}

.file-upload-info {
    margin-top: 10px;
}

.file-types-info {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 8px 0;
    font-style: italic;
}

.file-selected {
    font-size: 0.9rem;
    color: var(--cardinal-red);
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 5px;
    border-left: 3px solid var(--cardinal-red);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section h3 {
    color: var(--cardinal-red);
    font-family: 'Signika', sans-serif;
}

.motto-footer {
    color: var(--dark-gray) !important;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem !important;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--cardinal-red);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--cardinal-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .btn-login,
    .nav-menu .nav-phone {
        margin: 10px auto;
        display: block;
        width: fit-content;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-area-badge {
        flex-direction: column;
        text-align: center;
        padding: 10px 15px;
    }

    .service-area-text {
        font-size: 0.85rem;
    }

    .service-badge-24-7 {
        flex-direction: column;
        text-align: center;
        padding: 10px 15px;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .service-area-map {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .concrete-info-section .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-area-badge {
        padding: 8px 12px;
    }

    .service-area-text {
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-card {
        padding: 30px 20px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
    }
}

/* ===== Floating Phone Button ===== */
.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--cardinal-red);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    font-weight: 600;
    animation: pulse-phone 2s infinite;
}

.floating-phone:hover {
    background: var(--cardinal-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
    color: var(--white);
}

.phone-icon {
    font-size: 1.3rem;
}

.phone-text {
    font-size: 1rem;
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(196, 30, 58, 0.7);
    }
}

@media (max-width: 768px) {
    .floating-phone {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }

    .phone-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .floating-phone {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
    }

    .phone-text {
        display: none;
    }

    .phone-icon {
        font-size: 1.5rem;
    }
}

/* ===== Calculator Page Styles ===== */
.calculator-section {
    background: var(--light-gray);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.calculator-form h3 {
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.calc-options {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.calc-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.calc-radio input[type="radio"] {
    margin-right: 8px;
}

.calc-radio:has(input:checked) {
    border-color: var(--cardinal-red);
    background: rgba(196, 30, 58, 0.1);
}

.calculator-results {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.calculator-results h3 {
    color: var(--dark-gray);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.result-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-light);
    font-weight: 500;
}

.result-value {
    color: var(--cardinal-red);
    font-size: 1.5rem;
    font-weight: 700;
}

.result-unit {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.calculator-info {
    background: rgba(196, 30, 58, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.calculator-info h4 {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.calculator-info ul {
    list-style: none;
    padding-left: 0;
}

.calculator-info ul li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.calculator-info ul li::before {
    content: '•';
    color: var(--cardinal-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.calculator-cta {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.calculator-cta p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* ===== Login Page Styles ===== */
.login-section {
    background: var(--light-gray);
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.login-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    color: var(--dark-gray);
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
}

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

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

.forgot-password {
    color: var(--cardinal-red);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.login-footer p {
    color: var(--text-light);
}

.login-footer a {
    color: var(--cardinal-red);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ===== Terms & Other Pages Styles ===== */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.terms-section-item {
    margin-bottom: 40px;
}

.terms-section-item h2 {
    color: var(--cardinal-red);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.terms-section-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.terms-section-item a {
    color: var(--cardinal-red);
    text-decoration: none;
}

.terms-section-item a:hover {
    text-decoration: underline;
}

/* ===== Driver Release Form Styles ===== */
.release-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.release-form {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--cardinal-red);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ===== Downloads Page Styles ===== */
.downloads-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.download-category h2 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--cardinal-red);
}

.download-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.download-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-info {
    margin-bottom: 20px;
    flex-grow: 1;
}

.download-info h3 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.download-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.downloads-note {
    background: rgba(196, 30, 58, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.downloads-note p {
    color: var(--text-light);
    margin: 0;
}

.downloads-note a {
    color: var(--cardinal-red);
    text-decoration: none;
}

.downloads-note a:hover {
    text-decoration: underline;
}

/* ===== Responsive Styles for New Pages ===== */
@media (max-width: 968px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    color: var(--cardinal-red);
    font-size: 1.8rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--cardinal-red);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.form-message {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .calculator-form,
    .calculator-results,
    .login-box,
    .terms-content,
    .release-form {
        padding: 30px 20px;
    }

    .download-items {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

