* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.headernav {
    background: #007BFF;
    color: #fff;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

h1, h2 {
    text-align: center;
    margin: 20px 0;
}

.main1 {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: background 0.3s;
}

section:hover {
    background: #e9ecef;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea, form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}

form button {
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #0056b3;
}

footer {
    text-align: center;
    padding: 20px 0;
    background: #007BFF;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

ul {
    list-style-type: none;
}

ul li {
    margin: 10px 0;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(to bottom, #e6f3ff, #e6ffe6);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h1 {
    color: #1a365d;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    color: #4a5568;
    font-size: 1.2em;
}

.tabs {
    margin-top: 20px;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px;
    border: none;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.tab-button.active {
    background: #3182ce;
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #3182ce;
    transition: width 0.3s ease;
}

.calculator {
    margin-top: 20px;
}

.calculator input {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    margin-right: 10px;
}

.calculator button {
    padding: 10px 20px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calculator button:hover {
    background: #38a169;
}

.impact-result {
    margin-top: 20px;
    padding: 15px;
    background: #fefcbf;
    border-radius: 5px;
    display: none;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2em;
    }
}


.background-video video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.fallback-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #005f73, #0a9396, #94d2bd);
    z-index: -1;
}

/* Content Overlay */
.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 2rem;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.languages {
    list-style: none;
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.languages li {
    cursor: pointer;
    transition: opacity 0.3s;
}

.languages li:hover {
    opacity: 0.7;
}

/* Main Content */
.main-content {
    margin-top: auto;
    margin-bottom: auto;
}

.main-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    animation: fadeIn 2s ease-in-out;
}

.highlight {
    color: #e63946;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-content h1 {
        font-size: 2rem;
    }
    .languages {
        font-size: 0.8rem;
    }
}

.p{
    padding-left: 25vh;
}