/*
    Template Name: Bespoke / Cloud (Merged)
    Author: Tranquil IT
    Author URI: https://tranquilit.net
    Version: 1.1 (Merged)
    Created: Sept 2025
*/

/*================================================
[  START - TABLE OF CONTENTS  ]
==================================================
    1. Root Variables & General Styles
    2. Aether Hero Section
    3. Solar Datacenter Section
    4. Blog Section
    5. Custom & Legacy Styles
    6. Section Dividers & Contrast
    7. Page Headers & Content Styling
    8. AETHER FINAL FIXES
==================================================
[  END - TABLE OF CONTENTS  ]
================================================*/

/*================================================
[  1. Root Variables & General Styles  ]
================================================*/

:root {
    --dark-navy: #0A192F;
    --light-navy: #0B1A30;
    --light-slate: #ccd6f6;
    --dark-slate: #495670;
    --slate: #8892b0;
    --tech-cyan: #64FFDA;
    --cta-magenta: #E31B6D;
    --white: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --lightest-navy: #0F273E;
    --glass-border: rgba(255, 255, 255, 0.1);
    --header-height: 70px;
}

/*================================================
[  2. Aether Hero Section  ]
================================================*/

.hero-section-aether {
    background-color: var(--dark-navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-section-aether .aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section-aether .aurora .aurora-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.hero-section-aether .aurora .spot1 { width: 400px; height: 400px; background-color: var(--tech-cyan); top: 10%; left: 15%; animation: move-spot1 20s infinite alternate ease-in-out; }
.hero-section-aether .aurora .spot2 { width: 350px; height: 350px; background-color: var(--cta-magenta); top: 40%; left: 50%; animation: move-spot2 22s infinite alternate ease-in-out; }
.hero-section-aether .aurora .spot3 { width: 300px; height: 300px; background-color: #4a90e2; top: 60%; left: 20%; animation: move-spot3 25s infinite alternate ease-in-out; }

@keyframes move-spot1 { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(50%, 50%) scale(1.2); } }
@keyframes move-spot2 { from { transform: translate(30%, -30%); } to { transform: translate(-30%, 30%); } }
@keyframes move-spot3 { from { transform: translate(-20%, 20%); } to { transform: translate(20%, -20%); } }

@media (prefers-reduced-motion: reduce) { .hero-section-aether .aurora .aurora-spot { animation: none; } }

.hero-section-aether .container { position: relative; z-index: 1; }

/* New Flexbox Layout */
.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-content-aether {
    max-width: 100%;
    margin-bottom: 50px;
}

.service-pods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 500px; /* Limit width on mobile */
}

.hero-content-aether .subheadline { font-family: var(--font-sans); color: var(--slate); font-size: 1.1rem; margin-bottom: 25px; line-height: 1.6; }
.hero-headline { font-family: var(--font-sans); font-weight: 700; color: var(--light-slate); font-size: clamp(40px, 8vw, 70px); line-height: 1.1; margin-bottom: 30px; }

.hero-cta-btn { background-color: var(--cta-magenta); color: var(--white); padding: 18px 35px; font-size: 1rem; font-weight: 600; border-radius: 5px; transition: all 0.3s ease; border: 2px solid transparent; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.75em; }
.hero-cta-btn:hover { background-color: transparent; border-color: var(--cta-magenta); color: var(--cta-magenta); transform: translateY(-3px); }

.service-pod { background: rgba(42, 63, 100, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 25px; text-align: center; transition: all 0.3s ease; color: var(--light-slate); }
.service-pod:hover { border-color: var(--tech-cyan); color: var(--tech-cyan); transform: translateY(-5px); }
.service-pod i { font-size: 2.5rem; margin-bottom: 15px; display: block; }
.service-pod h5 { font-size: 1rem; font-weight: 600; margin: 0; color: inherit; }

/*================================================
[  3. Solar Datacenter Section  ]
================================================*/

.solar-datacenter-section { background-color: var(--dark-navy); padding: 100px 0; color: var(--light-slate); }
.solar-datacenter-section .section-heading h2 { color: var(--light-slate); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.stat-item { background: rgba(42, 63, 100, 0.15); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 30px; text-align: center; transition: all 0.3s ease; }
.stat-item:hover { transform: translateY(-5px); background: rgba(42, 63, 100, 0.3); }
.stat-item i { font-size: 3rem; color: var(--tech-cyan); margin-bottom: 20px; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--white); margin: 0; }
.stat-unit { font-size: 1.5rem; color: var(--tech-cyan); }
.stat-label { font-size: 1rem; color: var(--slate); margin-top: 10px; }

/*================================================
[  4. Blog Section  ]
================================================*/

.blog-section { padding: 100px 0; background-color: var(--light-slate); }
.blog-section .section-heading h2 { color: var(--dark-navy); }

.card-style-3 { background-color: var(--dark-navy); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; overflow: hidden; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.card-style-3:hover { transform: translateY(-5px); border-color: var(--tech-cyan); }
.card-style-3 .card-img { height: 200px; object-fit: cover; }
.card-style-3 .card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-style-3 .card-title a { font-size: 1.25rem; font-weight: 600; color: var(--light-slate) !important; text-decoration: none; margin-bottom: 15px; }
.card-style-3 .card-title a:hover { color: var(--tech-cyan) !important; }
.card-style-3 p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin-bottom: 20px; }
.card-style-3 .meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--slate); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 15px; margin-top: auto; }
.card-style-3 .meta .author, .card-style-3 .meta .date { color: var(--slate); }
.card-style-3 .meta a.link-btn { color: var(--tech-cyan) !important; font-weight: 600; text-decoration: none; }
.card-style-3 .meta a.link-btn:hover { text-decoration: underline; }

/*================================================
[  5. Custom & Legacy Styles  ]
================================================*/

.admin-title-section { padding: 60px 0; text-align: center; }
.admin-title-section h1 { font-size: 40px; font-weight: 700; letter-spacing: 1px; line-height: 1; color: #fff; text-align: center; margin-bottom: 0; }
.admin-title-section ul { margin-bottom: 0; margin-top: 15px; text-align: center; padding-left: 0; }
.admin-title-section ul li { display: inline-block; vertical-align: middle; }
.admin-title-section ul li a { color: #fff; font-size: 14px; font-weight: 500; }
.tranquil-message-box { position: fixed; top: 50%; left: 39%; padding: 120px; border: 4px solid #000000; border-radius: 15px; background: no-repeat 50% 5%/50% url('/img/logos/whitelogo.svg') #5f5f5f; }
.article_count { border: 1px solid #0848B3; border-radius: 15px; color: white; background-color: #0848B3; width: 20px; text-align: center; margin-right: 25px; }
.btn-outline-theme { color: #000; background-color: transparent; background-image: none; border: 1px solid #0848B3; }
.btn-outline-theme:hover { color: #fff; background-color: #0848B3; border: 1px solid #0848B3; }
.featured { transform: scale(1.05); border: 2px solid #007bff; }
.btn-primary-featured { box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); }
.swiper-container { width: 100%; height: 100vh; }
.swiper-slide { text-align: center; font-size: 18px; background: #fff; display: flex; justify-content: center; align-items: center; }
.split-slider-bg { background-size: cover; background-position: center; width: 100%; height: 100vh; position: absolute; top: 0; left: 0; }
.split-slider-content { padding: 100px; color: #fff; z-index: 2; position: relative; background: rgba(0, 0, 0, 0.5); border-radius: 10px; text-align: center; max-width: 600px; margin-top: 100px; }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.butn { opacity: 1 !important; margin-bottom: 1.5em; }
.blob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; background: rgba(0, 123, 255, 0.6); border-radius: 50%; filter: blur(50px); z-index: -1; }
.fixedHeader { transition: none !important; }

/* New Responsive Layout */
@media (max-width: 576px) {
    .service-pods-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .hero-layout {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: center;
    }

    .hero-content-aether {
        max-width: 55%;
        margin-bottom: 0;
    }

    .service-pods-grid {
        width: 40%;
        max-width: none; /* Remove mobile width limit */
    }
}

/*================================================
[  6. Section Dividers & Contrast  ]
================================================*/

.why-choose-us-section {
    background-color: var(--light-navy);
    position: relative;
}

.why-choose-us-section .section-heading h2 {
    color: var(--light-slate);
}

.hero-section-aether {
    position: relative; /* Needed for z-indexing of the divider */
    z-index: 1;
}

.curved-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.curved-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 75px;
}

.curved-divider .shape-fill {
    fill: var(--light-navy); /* Match the section below */
}

.blog-section-wrapper {
    background: var(--dark-navy);
    padding-top: 5rem; /* Add padding to prevent content from being clipped */
    margin-top: -1px; /* Prevent potential 1px gap */
}

.angled-clip {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -50px;
    padding-top: 100px;
}

/*================================================
[  7. AETHER FINAL FIXES  ]
================================================*/

/* 1. Default Page Background Fix */
html:has(body:not(:has(.hero-section-aether))) {
    background-color: #0A192F !important; /* --dark-navy */
}
body:not(:has(.hero-section-aether)) {
    background-color: #0A192F !important; /* --dark-navy */
}
body:not(:has(.hero-section-aether)) .main-wrapper {
    background-color: transparent !important;
}

body {
    background-color: var(--dark-navy) !important;
}

/* 2. Blog Tiling Fix */
.blog-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
.blog-section .row > [class*='col-'] {
    display: flex !important;
    flex-direction: column !important;
}
.card-style-3 {
    width: 100% !important; /* Ensure card fills the column */
}

.why-choose-us-section {
    background-color: var(--light-navy);
    padding: 100px 5%;
}
.why-choose-us-section .section-heading h2 {
    color: var(--light-slate);
}
.why-choose-us-section .section-heading p {
    color: var(--slate);
}
.card-style1 {
    background-color: var(--lightest-navy);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.card-style1:hover {
    transform: translateY(-5px);
    border-color: var(--tech-cyan);
}
.card-style1 .card-icon i {
    font-size: 2.5rem;
    color: var(--tech-cyan);
    display: block;
}
.card-style1 h3 {
    color: var(--light-slate);
}
.card-style1 p {
    color: var(--slate);
    font-size: 0.9rem;
}
.card-style1 .link-btn {
    color: var(--tech-cyan);
    text-decoration: none;
    font-weight: 600;
}
.card-style1 .link-btn:hover {
    text-decoration: underline;
}

/* Add this to your custom.css file, e.g., in a new section for 'Page Templates' */

/*================================================
[ 8. Futurist Page Template Styles ]
================================================*/

/* New Page Header */
.page-header-futurist {
    background-color: var(--dark-navy);
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-header-aurora {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 300%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, rgba(10, 25, 47, 0) 60%);
    z-index: 0;
    animation: spin 30s linear infinite;
}
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.page-header-futurist .container {
    position: relative;
    z-index: 1;
}
.page-header-futurist h1 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--light-slate);
    font-size: clamp(36px, 5vw, 50px);
    margin-bottom: 0.5rem;
}
.page-header-futurist .page-header-subtitle {
    font-family: var(--font-sans);
    color: var(--slate);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content Wrapper */
.page-content-wrapper {
    background-color: var(--light-navy);
    padding: 80px 0;
    color: var(--slate);
}
.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3 {
    color: var(--light-slate);
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
}
.page-content-wrapper p {
    line-height: 1.6;
    margin-bottom: 1rem;
}
.page-content-wrapper a {
    color: var(--tech-cyan);
}
.page-content-wrapper a:hover {
    text-decoration: underline;
}

.page-content-wrapper h4 {
    color: var(--light-slate);
    font-family: var(--font-sans);
    margin-bottom: 1.25rem;
}

/* Section Divider */
.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    margin: 4rem 0;
}

/* Add this to your custom.css, e.g., in a new 'Typography & Helpers' section */

/* 1. Enhanced Bullet Point Styling */
.list-style-futurist {
    list-style: none;
    padding-left: 1rem;
}

.list-style-futurist li {
    position: relative;
    padding-left: 25px; /* Space for the icon */
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.list-style-futurist li::before {
    content: '\f0da'; /* Font Awesome Chevron Right Icon */
    font-family: 'Font Awesome 5 Pro'; /* Or your Font Awesome font family */
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--tech-cyan);
    font-size: 1rem;
}

/* 2. Page Content Wrapper Fixes */
.page-content-wrapper {
    background-color: var(--light-navy);
    padding: 80px 0;
    color: var(--slate);
    /*overflow-x: hidden; !* This prevents horizontal scrollbars *!*/
}

/* 3. Text Centering Helper */
.text-center {
    text-align: center;
}

/* Add this to a relevant section in custom.css */

/* Team Card Styling */
.team-card {
    background-color: var(--dark-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--tech-cyan);
}
.team-card-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
}
.team-card-name {
    color: var(--light-slate);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.team-card-role {
    color: var(--tech-cyan);
    font-weight: 500;
}

.page-content-wrapper section {
    background-color: transparent;
}

.contact-form-container.text-center .quform-elements {
    display: inline-block;
    text-align: left;
}

.row-flex-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}
.col-text { flex: 1 1 55%; }
.col-img { flex: 1 1 45%; text-align: center; }
.col-img img { max-width: 100%; border-radius: 8px; }
.lead-text {
    color: var(--slate);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 1rem auto 2rem;
}
.text-center { text-align: center; }
.card-style1 .price {
    font-size: 2rem;
    color: var(--tech-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}
.card-style1 .price .per {
    font-size: 1rem;
    color: var(--slate);
    font-weight: 400;
}
@media (max-width: 768px) {
    .row-flex-container {
        flex-direction: column-reverse;
    }
}

/* --- Layered Approach Section --- */
.layered-approach-section {
    padding: 4rem 0;
    margin: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.approach-cards-grid {
    display: grid;
    /* Responsive grid: creates as many columns as fit, each at least 250px wide */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.approach-card {
    background-color: rgba(15, 39, 62, 0.5); /* --lightest-navy with alpha */
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-8px);
    border-color: var(--tech-cyan);
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.7);
}

.card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--tech-cyan);
    margin-bottom: 1.5rem;
}

.card-title {
    color: var(--light-slate);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .row-flex-container, .row-flex-container.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    .layered-approach-section {
        padding: 3rem 0;
    }
    .page-content-wrapper {
        padding: 1rem;
    }
}

.clients-section {
    padding: 4rem 0;
    margin: 3rem 0;
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.client-logo-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: background-color 0.3s ease;
}

.client-logo-item img {
    max-width: 100%;
    height: 60px; /* Standardize height */
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.client-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

/* ===================================================
   RECYCLING PAGE STYLES
==================================================== */
.cta-form-section {
    padding: 4rem 0;
    margin: 3rem 0;
    background-color: var(--dark-navy);
    border-radius: 12px;
}

.recycling-form-wrapper {
    max-width: 800px;
    margin: 2rem auto 0;
    background-color: var(--light-navy);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

/* Basic styling for form elements to match the theme */
.recycling-form-wrapper input[type="text"],
.recycling-form-wrapper textarea {
    background-color: var(--dark-navy);
    border: 1px solid var(--glass-border);
    color: var(--light-slate);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.recycling-form-wrapper input[type="text"]:focus,
.recycling-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--tech-cyan);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.recycling-form-wrapper label {
    color: var(--slate);
    margin-bottom: 0.5rem;
    display: block;
}