/* =========================================
   EXTERNAL CSS - THERMAL CONVERSION
   ========================================= */

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1714;
    color: #ffffff;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background: transparent !important;
}

.logo {
    display: inline-flex;
    align-items: center;
    padding: 0; 
    border-radius: 0; 
    background: transparent !important; 
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important; 
    transition: all 0.3s ease;
}

.logo img {
    width: 360px; 
    height: auto;
    display: block;
    mix-blend-mode: multiply; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    padding: 0.5rem 1.0rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    transition: .4s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.35);
}

.nav-item {
    position: relative;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 35, 5, 0.95); 
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1rem;
    min-width: 220px; 
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column; 
    gap: 8px; 
}

.dropdown a {
    background: transparent !important; 
    border: none !important;            
    backdrop-filter: none !important;   
    padding: 0.6rem 1rem !important;    
    border-radius: 8px !important;      
    display: block !important;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #a8e08a !important; 
}

.hero-cta {
    position: absolute;
    bottom: 4rem;
    right: clamp(3rem, 8vw, 8rem);
    display: flex;
    align-items: center;
    gap: 1.2rem;          
    z-index: 5;
}

.glass-tile {
    position: relative;   
    padding: 2rem 3rem;
    max-width: 520px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 28px;
    transition: opacity .4s ease, transform .4s ease;
}

.scroll-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.scroll-icon img {
    width: 18px;
    height: auto;
    pointer-events: none;
}

.scroll-icon:hover {
    transform: translateY(4px);
    background: rgba(255,255,255,0.2);
}

/* --- Background Images & Overlays --- */
.background-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 15, 13, 0.98), rgba(15, 23, 20, 0.7), transparent);
}

.main-content {
    background: url('assets/images/thermal_heroimg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
}


.hero-container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    flex-direction: row;
    flex-grow: 1; 
    justify-content: space-between;
    align-items: center;
    position: relative;  
    z-index:2;
}

/* --- Hero Section (Left Aligned) --- */
.hero-section {
    max-width: 48rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding-top: 120px;
}

.hero-tag {
    color: #9ca3af;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.875rem; }
}

.hero-desc {
    color: #cbced3;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 44rem;
    font-weight: 400;
}

/* --- Buttons --- */
.button-group {
    display: flex;
    flex-wrap: wrap;
    width: 185%;
    justify-content: flex-end; 
    gap: 1.25rem;
}

.btn {
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #4CAF50;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(76, 175, 80, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* --- Feature Cards Container (Modified Shapes) --- */
.features-wrapper {
    width: 100%;
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    justify-content: center;
}

.features-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    max-width: 1280px;
    width: 100%;
    overflow-x: auto; 
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
}

.features-container::-webkit-scrollbar {
    display: none; 
}

@media (min-width: 1024px) {
    .features-container {
        justify-content: center;
        overflow-x: visible;
    }
}

/* --- Feature Card Styling (NEW LEAF SHAPE) --- */
.feature-card {
    flex: 0 0 auto;
    width: 290px; 
    height: 310px; 
    /* The new shape: Asymmetrical rounded corners resembling a leaf */
    border-radius: 50px 10px 50px 10px; 
    background: linear-gradient(145deg, rgba(30, 42, 35, 0.6) 0%, rgba(15, 22, 18, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem; 
    position: relative;
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    /* Inverts the leaf shape on hover for a dynamic effect */
    border-radius: 10px 50px 10px 50px; 
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 30px 50px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(76, 175, 80, 0.1);
}

.feature-card.highlight-feature {
    background: linear-gradient(145deg, rgba(46, 75, 54, 0.5) 0%, rgba(20, 30, 24, 0.8) 100%);
    border-color: rgba(76, 175, 80, 0.3);
}

/* --- Feature Card Inner Content --- */
.feature-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.feature-icon-wrap i {
    color: #4CAF50;
    width: 1.75rem;
    height: 1.75rem;
}

.feature-title {
    font-size: 1rem; 
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    line-height: 1.3;
}

.feature-text {
    font-size: 0.8rem; 
    color: #9ca3af;
    line-height: 1.5;
    font-weight: 400;
    max-width: 95%; 
}

/* Highlight Feature Typography */
.highlight-number {
    font-size: 1.5rem; 
    font-weight: 800;
    color: #75d479;
    margin-bottom: 0.25rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.highlight-label {
    color: #4CAF50;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.highlight-divider {
    width: 3rem;
    height: 2px;
    background: linear-gradient(to right, transparent, #4CAF50, transparent);
    margin: 0.75rem auto;
    opacity: 0.5;
}

/* Default state (VISIBLE) */
.fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animation */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUpSmooth {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- Section Container --- */
.impact-section {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: #f7fee3;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

/* --- Asymmetric Layout Grid --- */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .layout-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        align-items: flex-start;
    }
}

/* --- Left Column: Header --- */
.header-col {
    position: relative;
    animation: fadeRight 1s ease-out forwards;
}

.header-col::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 16px 16px;
    z-index: -1;
    opacity: 0.5;
}

.main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0047aa;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #8cb500 0%, #8cb500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Right Column: Content Narrative --- */
.content-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    animation: fadeLeft 1s ease-out 0.2s forwards;
    opacity: 0;
}

.content-col::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #10b981 20%, #059669 80%, transparent);
    opacity: 0.3;
}

/* --- Individual Text Blocks --- */
.text-block {
    position: relative;
    padding-left: 5rem;
}

.indicator-orb {
    position: absolute;
    left: 19px; 
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: #267aee;
    border-radius: 50%;
    box-shadow: 0 0 20px 6px rgba(16, 185, 129, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-block:hover .indicator-orb {
    transform: scale(1.5);
    box-shadow: 0 0 25px 8px rgba(16, 185, 129, 0.5);
    background-color: #8cb500;
}

.watermark {
    position: absolute;
    top: -2.5rem;
    left: 3.5rem;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(16, 185, 129, 0.06);
    line-height: 1;
    z-index: 0;
    user-select: none;
    transition: color 0.4s ease, transform 0.4s ease;
}

.text-block:hover .watermark {
    color: rgba(16, 185, 129, 0.12);
    transform: translateX(10px);
}

.text-block p {
    position: relative;
    z-index: 1;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: #475569;
    line-height: 1.8;
    font-weight: 100;
}

.text-block p::first-line {
    color: #1e293b;
    font-weight: 500;
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1023px) {
    .impact-section { padding: 4rem 1.5rem; }
    .content-col::before { left: 12px; }
    .indicator-orb { left: 7px; }
    .text-block { padding-left: 3.5rem; }
    .watermark { left: 2rem; font-size: 4.5rem; top: -1.5rem; }
}

/* --- SLIDER STYLES --- */
.impact-slider-section {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #333;
}

.impact-slider-header {
    text-align: center;
    margin-bottom: 50px;
}

.impact-slider-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0047aa;
    margin-bottom: 12px;
}

.impact-slider-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.impact-slider-container {
    padding-bottom: 50px !important; 
    overflow: hidden; 
}

.swiper-slide {
    height: auto;
    display: flex;
}

.impact-card {
    background: #e9fec1;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    width: 100%; 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.impact-card:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }

.impact-accent { width: 4px; height: 36px; background-color: #6b7280; border-radius: 2px; flex-shrink: 0; }
.accent-blue { background-color: #3b82f6; }
.accent-green { background-color: #10b981; }
.accent-orange { background-color: #f59e0b; }
.accent-purple { background-color: #8b5cf6; }

.impact-title { font-size: 20px; font-weight: 700; color: #111827; margin: 0; line-height: 1.2; }
.impact-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #9ca3af; letter-spacing: 0.1em; margin-top: 4px; }
.impact-desc { font-size: 15px; color: #4b5563; line-height: 1.6; font-style: italic; margin: 0; }

.swiper-pagination { bottom: 0px !important; }
.swiper-pagination-bullet-active { background: #2563eb !important; }

/* --- Mission Section --- */
.mission-section {
  padding: 80px 20px;
  background-color: #f9f4ef; 
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.mission-container {
  max-width: 900px;
  text-align: center;
}

.mission-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: #8cb500; 
  margin-bottom: 20px;
  font-weight: 700;
}

.mission-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #220303;
  font-weight: 300;
  margin: 0 auto;
}

.mission-text strong {
  color: #0047aa; 
  font-weight: 600;
}

.mission-line {
  width: 60px;
  height: 4px;
  background-color: #8cb500;
  margin: 30px auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .mission-text { font-size: 1.25rem; }
  .mission-section { padding: 50px 20px; }
}

/* ==========================================================================
   FOOTER CSS
   ========================================================================== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 140px 60px 80px; 
    background: linear-gradient(145deg, #0047a5, #003579);
    color: #fff;
    font-family: "Poppins", -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
    gap: 50px;
}

.footer-left {
    flex: 1.2;
    min-width: 300px;
}

.footer-left h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-badges { display: flex; gap: 25px; margin-bottom: 35px; }
.footer-badges span { display: flex; align-items: center; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.dot { width: 10px; height: 10px; background: #00d063; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 12px rgba(0, 208, 99, 0.6); }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
    max-width: 450px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links li a:hover { opacity: 1; padding-left: 5px; color: #00d063; }
.footer-copy { font-size: 13px; opacity: 0.5; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; }

.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;
    min-width: 350px;
}

.footer-desc { font-size: 16px; opacity: 0.9; line-height: 1.7; margin-bottom: 35px; max-width: 440px; }
.footer-btn {
    padding: 14px 32px;
    border-radius: 50px;
    background: #ffffff;
    color: #003579;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-btn:hover { transform: scale(1.05) translateX(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.footer-logo { margin-bottom: 25px; }
.footer-logo img { width: 250px; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25)); border-radius: 8px; }
.footer-legal { display: flex; gap: 25px; }
.footer-legal a { color: #ffffff; font-size: 13px; text-decoration: none; opacity: 0.6; transition: opacity 0.3s; }
.footer-legal a:hover { opacity: 1; }

.footer-floating-icons {
    position: absolute;
    right: 40px; 
    top: 50%;
    transform: translateY(-50%); 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    z-index: 10;
}

.circle-btn {
    width: 48px;
    height: 48px;
    background: #004fbb;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-btn:hover { background: #00d063; transform: translateY(-5px); }

.side-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
}

.icon-btn {
    width: 42px;
    height: 42px;
    background: #0051c5;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.icon-btn:hover { transform: scale(1.15) rotate(5deg); background: #0047a5; }