       :root {
            --primary-red: #ff0015;
            --dark: #1d1d1d;
            --light: #f1faee;
            --gray: #a8a8a8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--dark);
            color: var(--light);
            line-height: 1.6;
        }
        
       
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        main {
            padding: 3rem 0;
        }
        
        .hero {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary-red);
           
        }
        
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            color: var(--gray);
        }
        
        .calculator-section {
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 2rem;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .calculator-section h2 {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--primary-red);
        }
        
        .calculator-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        
        @media (max-width: 768px) {
            .calculator-form {
                grid-template-columns: 1fr;
            }
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        
        .form-group input, .form-group select {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid var(--gray);
            border-radius: 5px;
            background-color: var(--dark);
            color: var(--light);
            font-size: 1rem;
        }
        
        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: var(--primary-red);
        }
        
        .btn {
            background-color: var(--primary-red);
            color: var(--light);
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: background-color 0.3s;
            width: 100%;
        }
        
        .btn:hover {
            background-color: #c1272d;
        }
        
        .result-section {
            margin-top: 2rem;
            padding: 1.5rem;
            border-radius: 10px;
            display: none;
        }
        
        .result-section.show {
            display: block;
            animation: fadeIn 0.5s;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .result-section h3 {
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .bmi-value {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 1rem;
        }
        
        .bmi-category {
            text-align: center;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            padding: 0.5rem;
            border-radius: 5px;
        }
        
        .category-underweight {
            background-color: rgba(255, 193, 7, 0.2);
            color: #ffc107;
        }
        
        .category-normal {
            background-color: rgba(40, 167, 69, 0.2);
            color: #28a745;
        }
        
        .category-overweight {
            background-color: rgba(255, 152, 0, 0.2);
            color: #ff9800;
        }
        
        .category-obese {
            background-color: rgba(220, 53, 69, 0.2);
            color: #dc3545;
        }
        
        .bmi-info {
            margin-top: 1.5rem;
            padding: 1rem;
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 5px;
        }
        
        .bmi-chart {
            margin-top: 2rem;
        }
        
        .bmi-chart h4 {
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .chart-container {
            display: flex;
            height: 50px;
            margin-top: 1rem;
            border-radius: 5px;
            overflow: hidden;
        }
        
        .chart-segment {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light);
            font-weight: bold;
            text-align: center;
            font-size: 0.8rem;
        }
        
        .segment-underweight {
            background-color: #ffc107;
            width: 20%;
        }
        
        .segment-normal {
            background-color: #28a745;
            width: 25%;
        }
        
        .segment-overweight {
            background-color: #ff9800;
            width: 25%;
        }
        
        .segment-obese {
            background-color: #dc3545;
            width: 30%;
        }
        
        .chart-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        footer {
            background-color: rgba(255, 255, 255, 0.05);
            padding: 2rem 0;
            margin-top: 3rem;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .footer-column {
            flex: 1;
            min-width: 250px;
            margin-bottom: 1.5rem;
        }
        
        .footer-column h3 {
            color: var(--primary-red);
            margin-bottom: 1rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--primary-red);
        }
        
        .copyright {
            text-align: center;
            margin-top: 2rem;
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .active-marker {
            position: relative;
            width: 10px;
            height: 10px;
            background-color: var(--primary-red);
            border-radius: 50%;
            bottom: -25px;
            transition: left 0.3s;
        }
   