/* ==========================================================================
   Base Styles & Variables - DARK THEME
   ========================================================================== */

:root {
    --primary: #4f7cff;
    --primary-dark: #3a6bff;
    --secondary: #9d4edd;
    --accent: #ff4081;
    --light: #121212;
    --dark: #f5f5f7;
    --gray: #8e8e93;
    --light-gray: #2c2c2e;
    --success: #30d158;
    --warning: #ff9f0a;
    --danger: #ff453a;
    
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    --mobile-padding: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--mobile-padding);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}


.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(79, 124, 255, 0.3);
    z-index: -1;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-family: var(--font-primary);
    touch-action: manipulation;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(79, 124, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 124, 255, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(79, 124, 255, 0.1);
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 60%;
    filter: brightness(1.1) contrast(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(28, 28, 30, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(30px);
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    margin: 15px 0;
    display: block;
    text-align: center;
    position: relative;
    transition: var(--transition);
    padding: 10px 20px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.hero-visual {
    flex: 1;
    position: relative;
    width: 100%;
    height: 300px;
    order: -1;
}

.three-container {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, 
        rgba(10, 15, 40, 0.95) 0%,
        rgba(20, 30, 80, 0.85) 50%,
        rgba(10, 15, 40, 0.95) 100%);
    border: 1px solid rgba(79, 124, 255, 0.3);
    position: relative;
    touch-action: none;
}

.three-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(79, 124, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.mobile-3d-fallback {
    display: none;
    width: 100%;
    height: 200px;
    margin-top: 30px;
}

.fallback-graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    background: rgba(10, 15, 40, 0.95);
    border-radius: var(--border-radius);
    padding: 20px;
    gap: 10px;
}

.graph-line {
    width: 20px;
    height: var(--height);
    background-color: var(--color);
    border-radius: 4px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.feature-card {
    background-color: #1c1c1e;
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(79, 124, 255, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.15), rgba(157, 78, 221, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Modules Section
   ========================================================================== */

.modules {
    padding: 80px 0;
    background-color: #121212;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.module-card {
    background: #1c1c1e;
    padding: 20px 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: white;
    border-color: transparent;
}

.module-card:hover::before {
    opacity: 1;
}

.module-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark);
    transition: var(--transition);
}

.module-card:hover h3 {
    color: white;
}

.module-card p {
    font-size: 0.8rem;
    opacity: 0.8;
    transition: var(--transition);
}

.module-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Industries Section
   ========================================================================== */

.industries {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.industries-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    justify-content: center;
    background: #1c1c1e;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-tab {
    padding: 10px 16px;
    background: #2c2c2e;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    touch-action: manipulation;
    color: var(--gray);
}

.industry-tab:hover,
.industry-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 124, 255, 0.3);
}

.industry-details {
    display: none;
    background: #1c1c1e;
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-details.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.industry-details h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.industry-list span {
    background: rgba(79, 124, 255, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(79, 124, 255, 0.3);
    transition: var(--transition);
}

.industry-list span:hover {
    background: rgba(79, 124, 255, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team {
    padding: 80px 0;
    background-color: #121212;
}

.team-slider {
    padding: 30px 0 !important;
}

.swiper-slide.team-card {
    background: #1c1c1e;
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-slide.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 124, 255, 0.3);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(79, 124, 255, 0.3);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.95), rgba(157, 78, 221, 0.95));
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.swiper-slide.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.team-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.swiper-slide.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.swiper-slide.team-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    /* background: rgba(28, 28, 30, 0.8); */
    width: 50px;
    height: 50px;
    /* border-radius: 50%; */
    /* backdrop-filter: blur(10px); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--gray);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form {
    order: 1;
}

.contact-info {
    order: 2;
}

.contact-map {
    order: 3;
    height: 400px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
    background: #1c1c1e;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #2c2c2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.2);
    background: #3c3c3e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238e8e93' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
    background-color: #2c2c2e;
}

/* Info Cards */
.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: #1c1c1e;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 124, 255, 0.3);
}

.info-icon {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: #050505;
    color: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    filter: brightness(1.2) contrast(1.2);
}

.footer-tagline {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--dark);
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary);
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    touch-action: manipulation;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(79, 124, 255, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #1c1c1e;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
    line-height: 1;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.modal-close:hover {
    color: var(--danger);
    background: rgba(255, 68, 58, 0.1);
}

.modal-body {
    padding: 40px 25px;
}

.modal-body h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.modal-module-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.modal-description h4,
.modal-features h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.modal-description p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-features ul {
    list-style-type: none;
}

.modal-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dark);
    position: relative;
    padding-left: 30px;
}

.modal-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.loading-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Shapes */
.floating-shapes {
    display: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-form {
        flex: 1 1 60%;
        order: 1;
    }
    
    .contact-info {
        flex: 1 1 35%;
        order: 2;
    }
    
    .contact-map {
        flex: 1 1 100%;
        order: 3;
        height: 350px;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        flex-direction: row;
        transform: none;
        padding: 0;
        backdrop-filter: none;
        border: none;
    }
    
    .nav-link {
        font-size: 1rem;
        margin: 0 0 0 30px;
        padding: 0;
    }
    
    .nav-link::after {
        left: 0;
        transform: none;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .modal-module-details {
        flex-direction: column;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 600px;
        text-align: left;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-visual {
        height: 500px;
        order: 1;
    }
    
    .mobile-3d-fallback {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .floating-shapes {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
    }
    
    .shape {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        opacity: 0.05;
        filter: blur(20px);
    }
    
    .shape-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
        bottom: 50px;
        left: -50px;
        background: linear-gradient(135deg, var(--accent), var(--warning));
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
        top: 150px;
        right: 30%;
        background: linear-gradient(135deg, var(--success), var(--primary));
    }
    
    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .contact-form {
        grid-column: 1;
        grid-row: 1;
    }
    
    .contact-info {
        grid-column: 2;
        grid-row: 1;
    }
    
    .contact-map {
        grid-column: 1 / span 2;
        grid-row: 2;
        height: 400px;
    }
    
    .section-header h2 {
        font-size: 3.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 4rem;
    }
}

/* Mobile Landscape */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .nav-menu {
        padding-top: 80px;
    }
    
    .nav-link {
        font-size: 1.2rem;
        margin: 10px 0;
    }
}

/* ==========================================================================
   Accessibility & Performance
   ========================================================================== */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .btn, .feature-card, .module-card, .info-card {
        border: 0.5px solid rgba(255, 255, 255, 0.1);
    }
}

/* ==========================================================================
   Map Styling for Dark Theme
   ========================================================================== */

.leaflet-container {
    background: #1c1c1e !important;
    font-family: var(--font-primary);
}

.leaflet-tile {
    filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9) !important;
}

.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(28, 28, 30, 0.9) !important;
    border-radius: 6px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-control-zoom a {
    background: #2c2c2e !important;
    color: var(--dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: var(--transition) !important;
}

.leaflet-control-zoom a:hover {
    background: var(--primary) !important;
    color: white !important;
}

.leaflet-popup-content-wrapper {
    background: #2c2c2e !important;
    color: var(--dark) !important;
    border: 1px solid rgba(79, 124, 255, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-popup-tip {
    background: #2c2c2e !important;
    border: 1px solid rgba(79, 124, 255, 0.3) !important;
}

.leaflet-popup-content b {
    color: var(--primary) !important;
}

/* Remove the theme toggle button from HTML if you're not using it */
.theme-toggle {
    display: none;
}
/* ==========================================================================
   Clients Section
   ========================================================================== */

.clients-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.clients-section .section-header {
    margin-bottom: 60px;
    text-align: center;
}

.clients-section .section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients-section .section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs Container */
.clients-tabs-container {
    margin-bottom: 40px;
    position: relative;
}

.clients-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 70%;
    overflow-x: auto;
    padding: 10px;
    margin: 0 auto;
}

/* Hide scrollbar but keep functionality */
.clients-tabs::-webkit-scrollbar {
    height: 6px;
}

.clients-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.clients-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* Tabs */
.client-tab {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(28, 28, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--gray);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    max-width: 150px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    outline: none;
}

.client-tab:hover {
    background: rgba(79, 124, 255, 0.15);
    border-color: rgba(79, 124, 255, 0.3);
    transform: translateY(-2px);
    color: var(--dark);
}

.client-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 124, 255, 0.3);
}

.client-tab i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.client-tab span {
    text-align: center;
    line-height: 1.3;
    display: block;
}

/* Clients Content */
.clients-content {
    margin-bottom: 60px;
}

/* Client Details - Hidden by default, shown via JS */
.client-details {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.client-details.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Client Header */
.client-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.client-header h3 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.client-count {
    background: rgba(79, 124, 255, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(79, 124, 255, 0.3);
    white-space: nowrap;
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Client Card */
.client-card {
    background: rgba(28, 28, 30, 0.7);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.client-card:hover {
    transform: translateY(-5px);
    background: rgba(28, 28, 30, 0.9);
    border-color: rgba(79, 124, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Client Logo */
.client-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

/* Client Name */
.client-card h4 {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Stats Section */
.clients-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stat Card */
.stat-card {
    background: rgba(28, 28, 30, 0.7);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(28, 28, 30, 0.9);
    border-color: rgba(79, 124, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Stat Icon */
.stat-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, 
        rgba(79, 124, 255, 0.1), 
        rgba(157, 78, 221, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

/* Stat Content */
.stat-content h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 5px 0;
    line-height: 1;
}

.stat-content p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media (max-width: 992px) {
    .clients-section {
        padding: 80px 0;
    }
    
    .clients-section .section-header h2 {
        font-size: 2.5rem;
    }
    
    .clients-tabs {
        gap: 8px;
        padding: 5px;
    }
    
    .client-tab {
        min-width: 110px;
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .client-tab i {
        font-size: 1.3rem;
    }
    
    .client-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .client-header h3 {
        font-size: 1.5rem;
    }
    
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-card {
        padding: 20px;
    }
    
    .client-logo {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1rem;
    }
    
    .client-card h4 {
        font-size: 0.95rem;
    }
    
    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
    }
    
    .stat-content h3 {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }
    
    .clients-section .section-header h2 {
        font-size: 2rem;
    }
    
    .clients-section .section-header p {
        font-size: 1rem;
    }
    
    .clients-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
    }
    
    .client-tab {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .client-tab i {
        font-size: 1.2rem;
    }
    
    .client-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .client-header h3 {
        font-size: 1.3rem;
    }
    
    .client-count {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    .client-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .client-card {
        padding: 18px;
    }
    
    .client-card h4 {
        font-size: 0.9rem;
    }
    
    .clients-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.3rem;
    }
    
    .stat-content h3 {
        font-size: 1.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
    
    .client-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .client-logo {
        width: 50px;
        height: 50px;
    }
    
    .client-card h4 {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stat-content h3 {
        font-size: 2rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .client-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.client-tab:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.client-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .clients-section {
        background: white !important;
        color: black !important;
    }
    
    .client-tab {
        background: #f5f5f5 !important;
        color: black !important;
        border: 1px solid #ddd !important;
    }
    
    .client-card {
        background: #f9f9f9 !important;
        color: black !important;
        border: 1px solid #ddd !important;
    }
    
    .client-logo {
        background: #666 !important;
        color: white !important;
    }
}
/* ==========================================================================
   SMART POOL SERVICES – separate, beautiful, detailed page
   Filename: smart-pool.css
   ========================================================================== */

:root {
    --pool-primary: #00c8ff;
    --pool-deep: #0077be;
    --pool-dark: #0b1c2f;
    --pool-light: #e0f7ff;
    --pool-accent: #9ee7ff;
    --shadow-heavy: 0 30px 60px rgba(0,0,0,0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: radial-gradient(circle at 10% 20%, #0a1927, #030812);
    color: #f0fcff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION (pool version) ===== */
.pool-nav {
    background: rgba(8, 20, 30, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,200,255,0.25);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}


.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: #e2f0fa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 6px 0;
    position: relative;
    transition: 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pool-primary);
    transition: 0.3s;
    box-shadow: 0 0 10px #00c8ff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: white;
    text-shadow: 0 0 10px var(--pool-primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--pool-primary);
    cursor: pointer;
}

/* ===== POOL HERO ===== */
.pool-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at 50% 40%, #003049, #00101a);
    overflow: hidden;
}

.pool-water-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.12"><path fill="%2300c8ff" d="M60,100 Q80,70 100,100 T140,100 T180,100 T220,100" stroke="%2300c8ff" stroke-width="2" fill="none"><animate attributeName="d" dur="8s" repeatCount="indefinite" values="M60,100 Q80,70 100,100 T140,100 T180,100 T220,100; M60,100 Q80,130 100,100 T140,100 T180,100 T220,100; M60,100 Q80,70 100,100 T140,100 T180,100 T220,100"/></path></svg>') repeat;
    pointer-events: none;
}

.pool-hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding: 20px;
    animation: riseUp 1.2s ease;
}

.pool-title {
    font-size: 5.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(to right, #fff, #a8e4ff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px #00c8ff, 0 0 70px #0077be;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.pool-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: #b3ecff;
    margin-bottom: 30px;
    text-shadow: 0 0 20px #005a8c;
}

.pool-wave i {
    font-size: 2rem;
    margin: 0 12px;
    color: var(--pool-primary);
    opacity: 0.8;
    animation: wave 2.5s infinite;
}

.pool-wave i:nth-child(2) { animation-delay: 0.5s; }
.pool-wave i:nth-child(3) { animation-delay: 1s; }

@keyframes wave {
    0%,100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-15px); opacity: 1; }
}

@keyframes riseUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 60px;
    color: white;
}
.section-heading span {
    color: var(--pool-primary);
    text-shadow: 0 0 15px #00c8ff;
    border-bottom: 4px solid var(--pool-primary);
    padding-bottom: 10px;
}

/* ===== SHOWCASE CARDS ===== */
.pool-showcase {
    padding: 100px 0 80px;
    background: rgba(2, 18, 28, 0.7);
    backdrop-filter: blur(8px);
    margin-top: -2px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.showcase-card {
    background: rgba(12, 30, 44, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0,200,255,0.3);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 50px -10px rgba(0,0,0,0.8);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.showcase-card:hover {
    transform: translateY(-16px);
    border-color: var(--pool-primary);
    box-shadow: 0 40px 80px rgba(0,200,255,0.2);
}

.card-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.image-tag {
    background: rgba(0,40,70,0.8);
    backdrop-filter: blur(8px);
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    border: 1px solid #00c8ff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.card-content {
    padding: 30px 25px;
    color: #d4edff;
}

.card-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin-top: 25px;
}
.feature-badges li {
    background: rgba(0,150,255,0.14);
    border: 1px solid #00a3ff;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #caf0fe;
    font-weight: 500;
}

/* ===== DETAILED GRID – extensive pool cleaning ===== */
.pool-detailed {
    padding: 100px 0;
    background: linear-gradient(145deg, #00161f, #002b3a);
    position: relative;
}
.detailed-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}
.section-subtitle {
    color: var(--pool-primary);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 1rem;
    font-weight: 600;
}
.detailed-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 15px 0 20px;
    line-height: 1.2;
    color: white;
}
.detailed-header p {
    font-size: 1.2rem;
    color: #b0e0fa;
}

.detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px 30px;
}
.detail-item {
    background: rgba(8, 30, 44, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 40px 25px;
    border: 1px solid rgba(0,200,255,0.2);
    transition: 0.3s;
    text-align: center;
}
.detail-item:hover {
    border-color: var(--pool-primary);
    background: rgba(0,60,90,0.6);
    transform: scale(1.02);
}
.detail-icon {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 20%, #005c8a, #002b3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--pool-primary);
    margin: 0 auto 25px;
    border: 2px solid #00a6ff;
    box-shadow: 0 0 40px #00a6ff66;
}
.detail-item h4 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: white;
}
.detail-item p {
    color: #c2e4ff;
    font-size: 1rem;
}

/* ===== GALLERY ===== */
.pool-gallery {
    padding: 80px 0;
    background: #00121c;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.gallery-item {
    aspect-ratio: 1 / 0.8;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    border: 2px solid rgba(0,200,255,0.4);
    transition: 0.5s;
    box-shadow: 0 15px 35px black;
}
.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--pool-primary);
    box-shadow: 0 0 50px #00c8ff;
}

/* ===== WHY US SECTION ===== */
.pool-why {
    padding: 100px 0;
    background: #0a1a28;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.why-text h2 {
    font-size: 2.8rem;
    margin-bottom: 35px;
    color: white;
}
.why-text ul {
    list-style: none;
}
.why-text li {
    font-size: 1.2rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.why-text li i {
    color: var(--pool-primary);
    font-size: 1.6rem;
}
.pool-cta {
    display: inline-block;
    margin-top: 35px;
    background: linear-gradient(145deg, #00c8ff, #0066a0);
    color: white;
    font-weight: 700;
    padding: 16px 42px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.3rem;
    box-shadow: 0 10px 30px #00c8ff;
    transition: 0.3s;
    border: none;
}
.pool-cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px #00c8ff;
}
.why-image img {
    width: 100%;
    border-radius: 40px;
    border: 2px solid #00c8ff;
    box-shadow: 0 30px 70px black;
}

/* ===== POOL FOOTER ===== */
.pool-footer {
    background: #021016;
    padding: 50px 0 30px;
    border-top: 1px solid #00c8ff40;
}
.pool-footer-content {
    text-align: center;
}
.pool-footer-logo img {
    width: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #00c8ff);
}
.pool-footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}
.pool-footer-links a {
    color: #b0e0ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}
.pool-footer-links a:hover {
    color: var(--pool-primary);
}
.pool-footer-copy {
    color: #6f9bb4;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .pool-title { font-size: 3.8rem; }
    .pool-subtitle { font-size: 1.6rem; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .why-grid { grid-template-columns: 1fr; text-align: center; }
    .why-text ul { display: inline-block; text-align: left; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(2, 18, 28, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 25px;
        transform: translateY(-150%);
        transition: 0.4s;
        backdrop-filter: blur(20px);
        border-bottom: 2px solid var(--pool-primary);
        z-index: 999;
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: block; }
    .pool-title { font-size: 2.8rem; }
    .pool-subtitle { font-size: 1.3rem; }
    .section-heading { font-size: 2rem; }
    .showcase-grid { grid-template-columns: 1fr; }
    .detailed-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .pool-title { font-size: 2.2rem; }
    .pool-hero { min-height: 70vh; }
    .detail-icon { width: 80px; height: 80px; font-size: 2.2rem; }
}