/* Reset and basic styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f6f8;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================= Header ================= */
.site-header {
    background-color: #007A33;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .logo {
    font-size: 1.6rem;
    font-weight: bold;
}

.main-nav a {
    color: white;
    margin-left: 1.5rem;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* ================= Hero Section ================= */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    padding: 60px 0;
    position: relative;
    margin: 0;
    overflow: hidden;
}

.hero-text {
    flex: 1 1 45%;
    min-width: 280px;
    padding-right: 20px;
    z-index: 2;
}

.hero-text h1,
.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #004d40;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #455a64;
    margin-bottom: 18px;
}

.hero-text .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-text .subtext {
    font-size: 0.98rem;
    color: #607d8b;
    margin-top: 2rem;
}

.cta-button {
    margin-top: 25px;
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: 999px;
    font-weight: 600;
}

.btn-primary {
    background-color: #00796b;
    border: none;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 121, 107, 0.25);
}

.btn-primary:hover {
    background-color: #004d40;
    box-shadow: 0 6px 14px rgba(0, 77, 64, 0.35);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* ================= Hero Images ================= */
.hero-images {
    flex: 1 1 45%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* subtle tilt per image */
.solar-img {
    transform: rotate(-2deg);
}

.wind-img {
    transform: rotate(2deg);
}

/* hover animation per image */
.hero-img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ================= Fade-in Animation ================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= Main Content Containers ================= */
.main-content-container,
.timeline-container,
.animation-container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        padding: 0;
    }

    .hero-images {
        width: 100%;
        margin-top: 24px;
    }

    .hero-img {
        max-width: 320px;
    }

    .hero-text h1,
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

@media (min-width: 576px) {
    .main-content-container,
    .timeline-container,
    .animation-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 768px) {
    .main-content-container,
    .timeline-container,
    .animation-container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (min-width: 992px) {
    .main-content-container,
    .timeline-container,
    .animation-container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (min-width: 1200px) {
    .main-content-container,
    .timeline-container,
    .animation-container {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1400px) {
    .main-content-container,
    .timeline-container,
    .animation-container {
        max-width: 1320px;
    }
    
    .hero-text h1,
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (min-width: 1600px) {
    .main-content-container,
    .timeline-container,
    .animation-container {
        max-width: 1500px;
    }
    
    .hero-img {
        max-width: 450px;
    }
}

/* ================= Upload Page (Remove if not used) ================= */
/* .upload-page { ... } - DELETE THIS SECTION - It's redundant with Bootstrap */

/* ================= Table Styles ================= */
.rcp-table-wrapper {
    overflow-x: auto;
    margin-bottom: 32px;
}

.rcp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background-color: #ffffff;
}

.rcp-table th {
    text-align: left !important;
    vertical-align: middle;
    font-weight: 600;
    padding: 12px 14px;
    background-color: #f4f6f8;
    border: 1px solid #dee2e6;
    white-space: normal;
}

.rcp-table td {
    text-align: left !important;
    vertical-align: top;
    padding: 12px 14px;
    border: 1px solid #dee2e6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rcp-table tbody tr {
    line-height: 1.45;
}

.rcp-table ul {
    padding-left: 18px;
    margin-bottom: 0;
}

.rcp-table li {
    margin-bottom: 4px;
}

/* ================= Social Login Buttons ================= */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin-top: 20px;
}

.social-login-buttons a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-login-buttons a[asp-route-provider="Google"] {
    background-color: #db4437;
}

.social-login-buttons a[asp-route-provider="Google"]:hover {
    background-color: #a33b2d;
}

.social-login-buttons a[asp-route-provider="Microsoft"] {
    background-color: #2F2F2F;
}

.social-login-buttons a[asp-route-provider="Microsoft"]:hover {
    background-color: #1a1a1a;
}

.social-login-buttons a[asp-route-provider="LinkedIn"] {
    background-color: #0077B5;
}

.social-login-buttons a[asp-route-provider="LinkedIn"]:hover {
    background-color: #005983;
}

/* ================= Card Improvements ================= */
.role-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-in-out;
    border-color: #dee2e6;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    border-color: #0d6efd;
    cursor: pointer;
}

/* ================= Utility Classes ================= */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.py-3 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}

/* ================= Photo Container ================= */
.photo-container {
    position: relative;
    min-height: 300px;
    margin-top: 2rem;
}

/* ================= Section Spacing ================= */
section {
    margin-bottom: 0;
}

/* ================= Footer Styles ================= */
.site-footer {
    background-color: #007A33;
    color: #ffffff;
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    color: #80cbc4;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0f2f1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #00796b;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #004d40;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 15px;
}

.footer-legal a {
    color: #b2dfdb;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #b2dfdb;
    margin: 0;
}

/* Responsive Footer */
@@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@@media (min-width: 1400px) {
    .footer-content {
        max-width: 1320px;
    }
}

@@media (min-width: 1600px) {
    .footer-content {
        max-width: 1500px;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 3px solid #007A33;
    animation: slideUp 0.5s ease-out;
}

@@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
}

.cookie-text i {
    color: #80cbc4;
    font-size: 1.2rem;
}

.cookie-link {
    color: #80cbc4;
    text-decoration: underline;
}

.cookie-link:hover {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-buttons .btn-success {
    background-color: #007A33;
    border: none;
}

.cookie-buttons .btn-success:hover {
    background-color: #005a26;
}

.cookie-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 3px solid #007A33;
    animation: slideUp 0.5s ease-out;
}

.cookie-consent-banner.cookie-hidden {
    display: none !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
}

.cookie-text i {
    color: #80cbc4;
    font-size: 1.2rem;
}

.cookie-link {
    color: #80cbc4;
    text-decoration: underline;
}

.cookie-link:hover {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-buttons .btn-success {
    background-color: #007A33;
    border: none;
}

.cookie-buttons .btn-success:hover {
    background-color: #005a26;
}

.cookie-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Toast Message Styles */
.cookie-toast-message {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInToast 0.3s ease-out;
}

@keyframes slideInToast {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-toast-fadeout {
    animation: fadeOutToast 0.5s ease-out forwards;
}

@keyframes fadeOutToast {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .cookie-toast-message {
        white-space: normal;
        text-align: center;
        max-width: 90%;
        font-size: 0.85rem;
        padding: 12px 20px;
        border-radius: 16px;
        bottom: 100px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}