* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #ffffff;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    background: #ffffff !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: #0099cc !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    max-height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    color: #333 !important;
}

.nav-link:hover {
    color: #0099cc !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF9900, #0099cc);
    transition: width 0.3s ease;
}

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

/* Slideshow Styles */
.slideshow-section-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slideshow-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: zoomSlide 0.8s ease-out forwards;
}

@keyframes zoomSlide {
    from {
        transform: scale(1.05);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.slideshow-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.6), rgba(255, 153, 0, 0.4));
    z-index: 20;
    text-align: center;
    padding: 40px 20px;
}

.slide-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    animation: slideDownTitle 0.8s ease-out 0.2s backwards;
}

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

.slide-description {
    font-size: clamp(16px, 2.5vw, 24px);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideUpDesc 0.8s ease-out 0.4s backwards;
}

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

.slide-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInFeatures 0.8s ease-out 0.6s backwards;
}

@keyframes fadeInFeatures {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    min-width: 150px;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-item i {
    font-size: 32px;
    color: #FF9900;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    color: #0099cc;
    transform: scale(1.2);
}

.feature-item span {
    font-weight: 600;
    font-size: 14px;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slide-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: rgba(0, 153, 204, 0.3);
    border-color: #0099cc;
    color: #0099cc;
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 12px;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.indicator.active {
    background: #FF9900;
    border-color: #FF9900;
    width: 40px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Business Cards */
.business-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    group: "card";
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.business-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.9), rgba(255, 153, 0, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.card-overlay p {
    color: rgba(255,255,255, 0.95);
    font-size: 14px;
    line-height: 1.6;
}

/* Headings */
h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0099cc;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #FF9900, #0099cc);
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0099cc, #00BFFF);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00BFFF, #00D9FF);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 204, 0.4);
    color: white;
}

.btn-light {
    background: white;
    color: #0099cc;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: #0099cc;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #f5f8ff, #ffffff) !important;
    border-top: 3px solid #0099cc;
    color: #333 !important;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #0099cc !important;
    text-shadow: 0 0 10px rgba(0, 153, 204, 0.5);
}

footer h5, footer h6 {
    color: #0099cc !important;
}

footer p, footer .text-white-50 {
    color: #666 !important;
}

/* Sections */
section {
    position: relative;
    overflow: hidden;
}

.bg-light {
    background: #ffffff !important;
}

/* Page Content Section */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
}

/* Comparison Cards */
.comparison-card {
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
}

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

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.renewable-info {
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.1), rgba(0, 191, 255, 0.05));
    border-left: 5px solid #0099cc;
}

.fossil-info {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 184, 77, 0.05));
    border-left: 5px solid #FF9900;
}

.comparison-card h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comparison-card ul li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

/* At a Glance */
.at-glance {
    background: linear-gradient(135deg, #f5f8ff 0%, #f0f9ff 100%);
}

.glance-card {
    padding: 30px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out;
}

.glance-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.glance-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.glance-card h3 {
    color: #0099cc;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .slideshow-section-fullscreen {
        height: 80vh;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-description {
        font-size: 16px;
    }

    .slide-features {
        gap: 20px;
    }

    .feature-item {
        min-width: 120px;
        padding: 15px 20px;
        font-size: 12px;
    }

    .feature-item i {
        font-size: 24px;
    }

    .slideshow-controls {
        bottom: 20px;
        padding: 15px 30px;
        gap: 20px;
    }

    .slide-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .business-card {
        height: 250px;
    }

    h2 {
        margin-bottom: 30px;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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