/* ================================
   BASE STYLING & LAYOUT
================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0b0f15; /* Deeper cosmic tone */
    color: #cfd9e3; /* Softer light text for readability */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent unwanted horizontal scroll */
}

/* ================================
   HERO SECTION
================================== */
.hero-section {
    background: linear-gradient(135deg, #031423 0%, #043c5a 100%);
    padding: 100px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    background-image: radial-gradient(circle at 20% 30%, rgba(0,255,200,0.08) 0%, transparent 80%);
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #e6faff;
    letter-spacing: 0.5px;
}
.hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #a0b7c7;
}

/* ================================
   BUTTONS
================================== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #00c3ff, #00ffae);
    color: #000;
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(0, 255, 200, 0.8);
}

/* ================================
   SERVICES SECTION (Geospatial)
================================== */
.services-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: auto;
}
.services-section h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 170, 0.6);
}

/* Category Group */
.category {
    margin-bottom: 3.5rem;
}
.category h3 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #1fbfff;
    border-bottom: 2px solid #00bfff;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ================================
   CARD GRID
================================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.card {
    background: linear-gradient(180deg, #121821 0%, #0b0f15 100%);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #1f2937;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    border-color: #00ffaa;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.3);
}
.card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    color: #e8f9ff;
}

/* ================================
   TEXT BLOCKS
================================== */
.short-summary, .full-text {
    text-align: justify;
    margin-top: 0.5rem;
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.55;
}
.full-text {
    display: none;
    padding-top: 10px;
    border-top: 1px dashed #2c3a47;
}

/* Read More Button */
.read-more-btn {
    margin-top: 1rem;
    background: linear-gradient(90deg, #00bfff, #00ffaa);
    color: #000;
    padding: 8px 22px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s ease;
}
.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px #00ffaa;
}

/* ================================
   CONTACT SECTION
================================== */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0b0f15 0%, #111820 100%);
    text-align: center;
    border-top: 1px solid #1f2937;
}
.contact-section h2 {
    color: #00ffaa;
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
}
.contact-section p {
    color: #aab7c3;
    margin-bottom: 1.5rem;
}
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #30363d;
    background-color: #0d1117;
    color: #c9d1d9;
    font-size: 1rem;
}
.contact-form textarea {
    resize: vertical;
}

/* ================================
   ANIMATIONS
================================== */
.slide-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVENESS
================================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .services-section h2 {
        font-size: 2rem;
    }
}
