﻿:root {
    --bg-dark: #0b1320;
    --bg-darker: #1a2332;
    --bg-dark-alt: #16202e;
    --text: #0f172a;
    --text-dark: #1a202c;
    --text-light: #e2e8f0;
    --muted: #94a3b8;
    --card: #ffffff;
    --card-dark: #1f2937;
    --border: #e7eaf0;
    --border-dark: #2d3748;
    --radius: 12px;
    --shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
    --shadow-dark: 0 6px 18px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero {
    padding: 64px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0b1320 0%, #1a2332 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
  position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
    z-index: 0;
}

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

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin: 0 0 6px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fff 0%, #a8b8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    opacity: .9;
    margin: 0;
    position: relative;
    z-index: 1;
}

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

.hero img {
    border-radius: var(--radius);
    margin: 0 auto 20px;
}

.section {
    padding: 60px 20px;
}

.section.light {
    background: var(--bg-light);
}

.section.dark {
    background: linear-gradient(135deg, #0b1320 0%, #1a2332 100%);
    color: #fff;
}

.section.dark-alt {
    background: linear-gradient(135deg, #16202e 0%, #1e2a3a 100%);
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

.mt {
    margin-top: 16px;
}

.grid-2 {
    display: grid;
  gap: 28px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.cards-3, .cards-4 {
  display: grid;
    gap: 24px;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .cards-3 {
     grid-template-columns: 1fr 1fr;
    }

    .cards-4 {
  grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .cards-3, .cards-4 {
   grid-template-columns: 1fr;
 }
 
    .section {
        padding: 40px 16px;
    }
}

.card, .tile, .feature, .person, .contact {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover, .feature:hover, .tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

/* Dark theme cards */
.section.dark .card,
.section.dark-alt .card {
    background: var(--card-dark);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark);
}

.section.dark .card:hover,
.section.dark-alt .card:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
}

/* Enhanced Feature Card Styling - Dark Version */
.feature-card {
    background: var(--card-dark);
    border: 2px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: #667eea;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
 display: flex;
  align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.feature-description {
    font-size: 0.95rem;
  color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.section.dark .feature,
.section.dark-alt .feature,
.section.dark .person {
    background: var(--card-dark);
    border-color: var(--border-dark);
    color: #fff;
    box-shadow: var(--shadow-dark);
}

.section.dark .feature:hover,
.section.dark-alt .feature:hover {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 600;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Dark tiles */
.tile {
    overflow: hidden;
    padding: 0;
    background: var(--card-dark);
    border: 2px solid var(--border-dark);
}

.tile:hover {
    border-color: #667eea;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
}

.tile img {
    width: 100%;
    display: block;
}

.tile-body {
    padding: 24px;
    background: var(--card-dark);
}

.tile-body h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
}

.tile-body p,
.tile-description {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.numbers {
    background: var(--bg-light);
}

.numbers .card h3 {
    font-size: 34px;
    margin: 0;
    font-weight: 700;
}

.numbers .card p {
    margin: 6px 0 0;
}

.gallery-4 {
    display: grid;
 grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 900px) {
.gallery-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .gallery-4 {
        grid-template-columns: 1fr;
    }
}

.team .person {
    text-align: center;
  padding: 24px;
}

.team .person img {
    border-radius: 8px;
    margin: 0 auto 12px;
    width: 100%;
}

.team .person h3 {
    margin: 0;
}

.footer {
    padding: 24px 20px;
    text-align: center;
    background: var(--bg-dark);
    color: #aab3c5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 4px 0;
}

/* Radzen button overrides for home page - IMPORTANT FOR CLICKABILITY */
.hero .rz-button,
.section .rz-button,
button.rz-button {
    padding: 12px 32px;
    font-size: 1rem;
 font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer !important;
    position: relative;
  z-index: 10;
}

.hero .rz-button:hover,
.section .rz-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer !important;
}

/* Ensure all interactive elements show pointer cursor */
.rz-button,
.rz-button-text,
button,
a {
    cursor: pointer !important;
}

/* Feature icons animation */
.feature-icon span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon span {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive typography */
h2 {
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 640px) {
    h2 {
  font-size: 1.75rem !important;
    }
  
    .hero h1 {
        font-size: 2rem !important;
    }
  
    .hero p {
        font-size: 0.95rem !important;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
  
    .hero .rz-button,
    .section .rz-button {
     padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for better UX */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Improve contrast and readability */
.section.light h3 {
    color: var(--text-dark);
}

.section.light p.muted {
    color: #4a5568;
}

.section.dark h3,
.section.dark-alt h3 {
    color: var(--text-light);
}

.section.dark p,
.section.dark-alt p {
    color: var(--muted);
}

/* Additional cursor styling for all clickable elements */
button, 
a, 
.rz-button,
[role="button"],
input[type="submit"],
input[type="button"] {
    cursor: pointer !important;
}

button:hover,
a:hover,
.rz-button:hover {
    cursor: pointer !important;
}
