/* ---
   NEW THEME: Modern Slate & Cyan
   Palette:
   - Base Background: #0e1525 (Deep Slate)
   - Surface Color: #172133 (Lighter Slate for cards/nav)
   - Border/Dividers: #2d3b52
   - Primary Text: #E2E8F0 (Soft Off-White)
   - Muted Text: #8892b0 (Gray-Blue)
   - Accent: #22d3ee (Vibrant Cyan)
--- */

/* Basic Setup and Fonts */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    padding-top: 70px;
    background-color: #0e1525; /* Base background */
    color: #E2E8F0; /* Primary text */
}

h1, h2, h3, h4, h5, h6 { 
    font-weight: 600; 
    color: #F8FAFC; /* Brighter white for headings */
}

html { scroll-behavior: smooth; }
section { padding: 80px 0; overflow-x: hidden; }

/* General Overrides */
.text-muted {
    color: #8892b0 !important; /* Muted text */
}

hr {
    border-top: 1px solid #2d3b52; /* Subtle divider */
}

/* Navbar */
.navbar {
    background-color: rgba(23, 33, 51, 0.8); /* Surface color with transparency */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2d3b52;
}
.navbar-brand { font-size: 1.5rem; color: #22d3ee !important; } /* Accent color */
.nav-link { 
    font-weight: 500; 
    margin: 0 10px; 
    transition: color 0.3s ease; 
    color: rgba(226, 232, 240, 0.75);
}
.nav-link:hover { color: #ffffff !important; }


/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-color: #0e1525;
    overflow: hidden;
    background: linear-gradient(rgba(14, 21, 37, 0.85), rgba(14, 21, 37, 0.85)), url('images/hero-background.jpg') no-repeat center center;
    background-size: cover;
}
#particles-js {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-section .display-3 { font-size: 3.5rem; }

/* PREMIUM: Animated Gradient Hero Title */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 1s forwards;
    animation-delay: 0.2s;
    /* Gradient text effect */
    background: linear-gradient(45deg, #ffffff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

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

/* PREMIUM: Glowing Button */
.btn-glow {
    background: #22d3ee;
    border-color: #22d3ee;
    color: #0e1525; /* Dark text for contrast */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
    animation: pulse 2.5s infinite;
}
.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.7);
    animation-play-state: paused;
}
@keyframes pulse {
    0% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.4); }
    50% { box-shadow: 0 0 25px rgba(34, 211, 238, 0.6); }
    100% { box-shadow: 0 0 15px rgba(34, 211, 238, 0.4); }
}

/* Core Objectives with Icons */
.objective-box {
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.objective-box:hover {
    background-color: #172133; /* On hover, reveal the surface color */
}
.objective-icon {
    font-size: 3rem;
    color: #22d3ee; /* Accent color */
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.objective-box:hover .objective-icon {
    transform: scale(1.2) rotate(-10deg);
}

/* Impact Section */
#impact .counter {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Multi-tone Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: #172133; /* Surface color */
    border: 1px solid #2d3b52 !important; /* Border color */
    color: #E2E8F0;
    border-radius: 8px; /* Slightly rounded corners */
}
.card:hover {
    transform: translateY(-10px);
    border-color: #22d3ee; /* Accent border on hover */
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.1) !important;
}

/* Founder Cards */
.founder-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    border: 7px solid #172133; /* Border matches card background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}
.founder-card:hover .founder-img {
    transform: scale(1.1);
}
.founder-card {
    background-color: transparent;
    border: none !important;
    box-shadow: none !important;
}

/* Contact Link */
#contact a {
    color: #22d3ee; /* Accent color */
    font-weight: 600;
    position: relative;
    text-decoration: none;
}
#contact a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #22d3ee; /* Accent color */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
#contact a:hover::after {
    width: 100%;
}