/*
 * style.css — DOMIDEXX Website Styles
 *
 * This file contains all custom styles for the DOMIDEXX website.
 * It works on top of Bootstrap 5 (loaded via CDN in each HTML page).
 *
 * HOW TO MODIFY COLORS:
 * All brand colors are defined as CSS variables at the top.
 * Change the color values here to update the entire website.
 *
 * HOW TO MODIFY FONTS:
 * Change the font-family in the :root section below.
 *
 * TABLE OF CONTENTS:
 * 1. CSS Variables (Brand Colors & Fonts)
 * 2. Base & Typography
 * 3. Navigation Bar
 * 4. Hero Section
 * 5. Section Layouts
 * 6. Cards
 * 7. Buttons
 * 8. Platform Cards
 * 9. Ecosystem Diagram
 * 10. Process Steps
 * 11. Team Section
 * 12. Blog Cards
 * 13. Portfolio Cards
 * 14. Contact Form
 * 15. Footer
 * 16. Admin Dashboard
 * 17. Utilities
 */


/* ============================================================
   1. CSS VARIABLES — Brand Colors & Design Tokens
   Change these to rebrand the entire website.
   ============================================================ */
:root {
  /* Brand Colors */
  --primary-blue: #2DA9DF;       /* Main blue — buttons, links, accents */
  --accent-gold:  #F2B321;       /* Gold — highlights, badges, callouts */
  --accent-green: #39C54A;       /* Green — success, active status */
  --dark-text:    #1F2937;       /* Almost black — body text */
  --white:        #FFFFFF;       /* Pure white — backgrounds, cards */
  --light-gray:   #F8FAFC;       /* Very light gray — alternating sections */
  --border-gray:  #E5E7EB;       /* Light gray — borders, dividers */
  --medium-gray:  #6B7280;       /* Medium gray — secondary text */

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Inter', 'Segoe UI', Georgia, serif;

  /* Spacing */
  --section-padding: 80px 0;
  --card-border-radius: 8px;
  --button-border-radius: 6px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
}


/* ============================================================
   2. BASE & TYPOGRAPHY
   ============================================================ */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: #1a8cbf; text-decoration: underline; }

p { margin-bottom: 1rem; }

.text-primary-blue { color: var(--primary-blue) !important; }
.text-gold         { color: var(--accent-gold) !important; }
.text-green        { color: var(--accent-green) !important; }
.text-muted-custom { color: var(--medium-gray) !important; }


/* ============================================================
   3. NAVIGATION BAR
   ============================================================ */
.navbar {
  background: var(--white) !important;
  border-bottom: 2px solid var(--border-gray);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

/* Logo area */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}
.navbar-brand .brand-name .domi { color: var(--primary-blue); }
.navbar-brand .brand-name .dexx { color: var(--accent-gold); }

.navbar-brand .brand-tagline {
  font-size: 0.65rem;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  line-height: 1;
}

/* Nav links */
.navbar-nav .nav-link {
  color: var(--dark-text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem !important;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
  background: rgba(45, 169, 223, 0.08);
}

/* Dropdown menu */
.dropdown-menu {
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--dark-text);
  padding: 0.5rem 1rem;
}
.dropdown-item:hover {
  background: rgba(45, 169, 223, 0.08);
  color: var(--primary-blue);
}

/* CTA button in navbar */
.btn-nav-cta {
  background: var(--primary-blue);
  color: var(--white) !important;
  border-radius: var(--button-border-radius);
  padding: 0.4rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600;
}
.btn-nav-cta:hover {
  background: #1a8cbf !important;
  color: var(--white) !important;
}


/* ============================================================
   4. HERO SECTION
   ============================================================ */
/* =========================================
   HERO ORGANIC IMAGE SHAPE & ORBS
   ========================================= */
.hero-organic-img {
    width: 115%; /* Scales the image up */
    max-width: none;
    height: auto;
    margin-left: -5%; 
    
    /* Creates a modern, non-rectangular soft shape */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    
    /* Soft blue shadow */
    box-shadow: 0 30px 60px rgba(45, 169, 223, 0.15);
    
    /* Adds a subtle floating/breathing animation */
    animation: morphing-shadow 8s ease-in-out infinite;
    object-fit: cover;
}

@keyframes morphing-shadow {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translateY(0);
    }
    50% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
        transform: translateY(-10px);
    }
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translateY(0);
    }
}

/* Ensure it stacks properly on mobile screens */
@media (max-width: 991px) {
    .hero-organic-img {
        width: 100%;
        margin-left: 0;
        margin-top: 2rem;
    }
}

/* Base styling for the glowing orbs */
.hero-section {
    position: relative;
    overflow: hidden; 
}
.hero-bg-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}
.z-index-1 { z-index: 1; }

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-orb 20s ease-in-out infinite alternate;
}
.orb-1 { width: 400px; height: 400px; background: #2DA9DF; top: -100px; left: -150px; }
.orb-2 { width: 350px; height: 350px; background: #7c3aed; bottom: -50px; right: 35%; animation-delay: -5s; }

@keyframes float-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 80px) scale(1.1); }
}

/* Entrance Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
/* ============================================================
   PREMIUM HERO IMAGE STYLES
   ============================================================ */

/* Creates a positioning context for the background glow */
.hero-image-wrapper {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

/* 1. Ambient Background Glow */
.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(45, 169, 223, 0.4) 0%, rgba(124, 58, 237, 0.2) 50%, transparent 70%);
  filter: blur(45px);
  z-index: -1;
}

/* 2. Glass Border, Shadows & Elevation */
.premium-hero-img {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.12),
    0 0 30px 0 rgba(45, 169, 223, 0.25);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  
  /* 3. Applies the floating animation */
  animation: floatAnimation 6s ease-in-out infinite;
}

/* 4. Interactive Hover Effect */
.premium-hero-img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.18),
    0 0 40px 0 rgba(45, 169, 223, 0.4);
  cursor: pointer;
}

/* 5. Gentle Floating Motion Keyframes */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.hero-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 40%, #f8fafc 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,169,223,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(242,179,33,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 169, 223, 0.1);
  border: 1px solid rgba(45, 169, 223, 0.3);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--primary-blue);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-gray);
}

.hero-stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  display: block;
}

.hero-stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--medium-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ecosystem diagram in hero */
.hero-ecosystem {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gray);
  position: relative;
  z-index: 1;
}

.hero-ecosystem .eco-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--medium-gray);
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

.eco-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.85rem;
  background: var(--light-gray);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-gray);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-text);
  transition: all 0.2s ease;
}
.eco-item:hover { background: rgba(45,169,223,0.08); border-color: var(--primary-blue); }

.eco-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eco-icon svg, .eco-icon span { color: white; font-size: 14px; }

.eco-arrow {
  text-align: center;
  color: var(--primary-blue);
  font-size: 1rem;
  margin: 0.1rem 0;
  opacity: 0.6;
}


/* ============================================================
   5. SECTION LAYOUTS
   ============================================================ */
section {
  padding: var(--section-padding);
}

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

/* Section heading pattern */
.section-header { margin-bottom: 3rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  background: rgba(45, 169, 223, 0.08);
  border: 1px solid rgba(45, 169, 223, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 0.75rem;
}

.section-title .accent-word { color: var(--primary-blue); }

.section-desc {
  font-size: 1rem;
  color: var(--medium-gray);
  max-width: 600px;
  line-height: 1.7;
}


/* ============================================================
   6. CARDS
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  padding: 1.75rem;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(45, 169, 223, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg, .card-icon i {
  font-size: 1.25rem;
  color: var(--primary-blue);
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Platform Card */
.platform-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.platform-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.platform-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.platform-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.4rem;
}

.platform-card .platform-type {
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.platform-card p {
  font-size: 0.82rem;
  color: var(--medium-gray);
  line-height: 1.5;
  margin-bottom: 0;
}


/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn-primary-blue {
  background: var(--primary-blue);
  color: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: var(--button-border-radius);
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary-blue:hover {
  background: #1a8cbf;
  border-color: #1a8cbf;
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45,169,223,0.35);
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: var(--button-border-radius);
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-outline-blue:hover {
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--dark-text);
  border: 2px solid var(--accent-gold);
  border-radius: var(--button-border-radius);
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-gold:hover {
  background: #d9990d;
  border-color: #d9990d;
  color: var(--dark-text);
  text-decoration: none;
  transform: translateY(-1px);
}


/* ============================================================
   8. PROCESS / METHODOLOGY STEPS
   ============================================================ */
.process-steps { position: relative; }

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.process-step:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-md); }

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.step-content p {
  font-size: 0.83rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}


/* ============================================================
   9. WHO WE SERVE / TARGET AUDIENCE
   ============================================================ */
.serve-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.serve-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.serve-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.serve-card h5 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.serve-card p {
  font-size: 0.83rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}


/* ============================================================
   10. BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--border-gray) 100%);
  object-fit: cover;
  width: 100%;
}

.blog-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border-gray);
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.blog-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.83rem;
  color: var(--medium-gray);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--medium-gray);
}


/* ============================================================
   11. PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  height: 100%;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.portfolio-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.portfolio-card-image {
  height: 200px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.portfolio-card-image img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-card-body { padding: 1.25rem; }

.portfolio-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tag-platform { background: rgba(45,169,223,0.1); color: var(--primary-blue); }
.tag-type     { background: rgba(57,197,74,0.1); color: #1a8f2b; }
.tag-status   { background: rgba(242,179,33,0.15); color: #9a6900; }
.tag-ongoing  { background: rgba(45,169,223,0.1); color: var(--primary-blue); }

.portfolio-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.portfolio-card .institution { font-size: 0.8rem; color: var(--medium-gray); margin-bottom: 0.6rem; }
.portfolio-card p { font-size: 0.83rem; color: var(--medium-gray); margin-bottom: 0; }


/* ============================================================
   12. CONTACT FORM
   ============================================================ */
.contact-section { background: var(--light-gray); }

.contact-form-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gray);
}

.contact-info-card {
  background: var(--primary-blue);
  border-radius: 12px;
  padding: 2.5rem;
  color: white;
  height: 100%;
}

.contact-info-card h3 { color: white; margin-bottom: 1.5rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info-item h6 {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: white;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.coverage-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

.coverage-badge {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Form styling */
.form-control, .form-select {
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 0.6rem 0.875rem;
  font-size: 0.9rem;
  color: var(--dark-text);
  transition: border-color 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(45,169,223,0.15);
  outline: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-text);
  margin-bottom: 0.4rem;
}

/* Alert messages */
.alert-success-custom {
  background: rgba(57,197,74,0.08);
  border: 1px solid rgba(57,197,74,0.3);
  color: #1a6b26;
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
}

.alert-error-custom {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  color: #991b1b;
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
}


/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
  background: var(--dark-text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-brand .brand-name { color: white; }
.footer-brand .brand-tagline { color: rgba(255,255,255,0.5); }

.footer h5 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--primary-blue); text-decoration: none; }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 2.5rem 0 0;
}

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary-blue); }


/* ============================================================
   14. STATUS BADGES
   ============================================================ */
.badge-new      { background: rgba(45,169,223,0.12); color: #1a7aab; }
.badge-contacted { background: rgba(242,179,33,0.15); color: #9a6900; }
.badge-proposal { background: rgba(139,92,246,0.12); color: #6d28d9; }
.badge-won      { background: rgba(57,197,74,0.12); color: #1a6b26; }
.badge-lost     { background: rgba(239,68,68,0.1); color: #991b1b; }
.badge-published { background: rgba(57,197,74,0.12); color: #1a6b26; }
.badge-draft    { background: rgba(107,114,128,0.12); color: #374151; }

.status-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}


/* ============================================================
   15. ADMIN DASHBOARD STYLES
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  min-width: 250px;
  background: var(--dark-text);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-nav { padding: 1rem 0; flex: 1; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(45,169,223,0.15);
  color: var(--primary-blue);
  text-decoration: none;
}

.sidebar-nav .nav-section-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  padding: 1rem 1.5rem 0.35rem;
  font-weight: 700;
}

.admin-main {
  flex: 1;
  margin-left: 250px;
  background: var(--light-gray);
  min-height: 100vh;
}

.admin-topbar {
  background: var(--white);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0;
}

.admin-content { padding: 2rem; }

/* Stat cards */
.stat-card {
  background: var(--white);
  border-radius: var(--card-border-radius);
  padding: 1.5rem;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon.blue  { background: rgba(45,169,223,0.1); color: var(--primary-blue); }
.stat-icon.gold  { background: rgba(242,179,33,0.1); color: var(--accent-gold); }
.stat-icon.green { background: rgba(57,197,74,0.1); color: var(--accent-green); }
.stat-icon.purple { background: rgba(139,92,246,0.1); color: #7c3aed; }

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--medium-gray);
  font-weight: 500;
}

/* Admin tables */
.admin-table-wrapper {
  background: var(--white);
  border-radius: var(--card-border-radius);
  border: 1px solid var(--border-gray);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table-header h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th {
  background: var(--light-gray);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--medium-gray);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gray);
  text-align: left;
}

.admin-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-gray);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--light-gray); }

/* Admin modal */
.admin-modal { display: none; }
.admin-modal.active { display: flex; }

.admin-login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gray);
  width: 100%;
  max-width: 420px;
}


/* ============================================================
   16. PLATFORM PAGE STYLES
   ============================================================ */
.platform-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, var(--light-gray) 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-gray);
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-gray);
  font-size: 0.9rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { color: var(--accent-green); font-weight: 700; flex-shrink: 0; }

.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1a8cbf 100%);
  color: white;
  padding: var(--section-padding);
  text-align: center;
}
.cta-section h2 { color: white; }
.cta-section p  { color: rgba(255,255,255,0.85); }


/* ============================================================
   17. UTILITIES
   ============================================================ */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.divider {
  height: 3px;
  width: 48px;
  background: var(--primary-blue);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}

.divider-center { margin: 0.75rem auto 1.5rem; }

.loading-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--medium-gray);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.empty-state p { font-size: 0.9rem; }

/* Responsive adjustments */
@media (max-width: 768px) {
  section { padding: 50px 0; }
  .hero-section { padding: 70px 0 50px; }
  .hero-stats { gap: 1.25rem; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .contact-form-wrapper { padding: 1.5rem; }
  .admin-content { padding: 1rem; }
}

/* Print styles */
@media print {
  .navbar, .footer, .btn-primary-blue, .btn-outline-blue { display: none; }
  body { font-size: 12pt; }
}
