/* Add these animation keyframes at the top of the file */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Add these animation classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* Update existing styles with animations */
#hero .hero-content {
    animation: slideInUp 0.8s ease-out;
}

#hero .hero-image {
    animation: scaleIn 0.8s ease-out;
}

.feature-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add hover effects to navigation */
header nav ul li a {
    position: relative;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0056b3;
    transition: width 0.3s ease;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Add animation to testimonials */
.testimonial {
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

/* Add animation to blog posts */
.blog-post-item {
    animation: scaleIn 0.6s ease-out;
    transition: transform 0.3s ease;
}

.blog-post-item:hover {
    transform: translateY(-5px);
}

/* Add animation to form elements */
#demoRequestForm input,
#demoRequestForm textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#demoRequestForm input:focus,
#demoRequestForm textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

/* Add animation to social icons */
.footer-social a {
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

/* Modern CSS Reset and Base Styles */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004a99;
    --primary-light: #3399ff;
    --secondary-color: #004a99;
    --accent-color: #00b4d8;
    --accent-gradient: linear-gradient(135deg, #0066cc 0%, #00b4d8 100%);
    --text-color: #1a1a2e;
    --text-light: #4a5568;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(0, 102, 204, 0.2);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: #0056b3; /* Primary blue for links */
}

a:hover {
    color: #003d80; /* Darker blue on hover */
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header:hover {
    background: rgba(255, 255, 255, 0.98);
}

header nav {
    max-width: 1300px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    font-size: 1.6em;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    transition: var(--transition);
}

header .logo a:hover {
    color: var(--primary-dark);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

header nav ul li {
    margin-left: 0;
}

header nav ul li a {
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.08);
}

.cta-header .btn {
    margin-left: 16px;
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.4);
}

.cta-header .btn:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.5);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.45);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1em;
    border-radius: 14px;
}

.btn-app-store {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}
/* Add .btn-google-play if needed */

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f0f7ff 50%, #e6f2ff 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 102, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 620px;
    z-index: 2;
}

.tagline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 180, 216, 0.1) 100%);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content h1 span,
.hero-content h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0088cc 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
}

.pilot-note {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-top: 2rem;
    padding: 14px 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.pilot-note::before {
    content: '⭐';
    font-size: 1rem;
}

.pilot-note strong {
    color: #b45309;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.hero-buttons .btn-primary {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
    transition: var(--transition);
}

.main-image:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 35px 60px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.08;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: -60px;
    animation-delay: 0s;
}

.shape-2 {
    width: 180px;
    height: 180px;
    top: 55%;
    right: -90px;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 25%;
    animation-delay: 4s;
}

.feature-highlights-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-highlight {
    position: static;
    background: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

.feature-highlight:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.feature-highlight i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature-highlight.analytics i {
    color: #10b981;
}

.feature-highlight.reporting i {
    color: var(--accent-color);
}

/* Problem Section Styles */
.problem-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
    position: relative;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.2), transparent);
}

.problem-section h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #dc3545;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.problem-section h2::after {
    display: none;
}

.problem-section h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.2;
}

.problem-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto 4rem;
    line-height: 1.9;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.problem-item {
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius-lg);
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.problem-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
}

.problem-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    font-size: 1.4rem;
    color: #dc3545;
}

.problem-item p {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Solution Section Styles */
.solution-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.2), transparent);
}

.solution-section h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.solution-section h2::after {
    display: none;
}

.solution-section h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.2;
}

.solution-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 850px;
    margin: 0 auto 4rem;
    line-height: 1.9;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-item {
    background: var(--white);
    padding: 2.25rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 102, 204, 0.08);
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.12);
}

.solution-item:hover::before {
    transform: scaleX(1);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.solution-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
}

.solution-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 0.98rem;
}

/* How It Works Section Styles */
.how-it-works-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.how-it-works-section h2::after {
    display: none;
}

.how-it-works-section h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.workflow-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    position: relative;
}

.workflow-container::before {
    display: none;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
}

.workflow-step:first-child::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.workflow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    margin-bottom: 1.75rem;
}

.workflow-step:first-child .step-number {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.step-content {
    width: 100%;
}

.step-content h4 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-content h4::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300b4d8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
}

.workflow-step:first-child .step-content h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E");
}

.step-content ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.step-content ul li {
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.step-content ul li strong {
    color: var(--text-color);
    font-weight: 600;
}

.workflow-step:first-child .step-content ul li {
    border-left-color: #10b981;
}

.step-content ul li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.step-content ul li::before {
    display: none;
}

.step-content ul li:last-child {
    margin-bottom: 0;
}

/* Workflow step icons */
.step-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    opacity: 0.1;
}

/* Features Section Styles */
.features-section {
    padding: 6rem 2rem;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.feature-link i {
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--secondary-color);
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.05);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 100%;
    }

    .feature-highlight {
        display: none;
    }

    .workflow-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .problem-section h3,
    .solution-section h3,
    .how-it-works-section h3,
    .waitlist-section h3,
    .contact-intro {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-links ul li a:hover {
        transform: none;
    }

    .workflow-container {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    #waitlistForm {
        padding: 2rem 1.5rem;
    }

    header nav {
        padding: 0 20px;
    }

    header nav ul {
        gap: 4px;
    }

    header nav ul li a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Initialize AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Sections */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 10px auto 0;
    border-radius: 2px;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

/* Features Overview */
#features-overview {
    background-color: #fff;
}

/* Testimonials */
#testimonials {
    background-color: #e0f0ff; /* Light blue background */
}

.testimonial-slider {
    display: flex; /* Basic layout, can be enhanced with JS */
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex-basis: calc(50% - 40px); /* Two testimonials per row, adjust as needed */
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
    color: #444;
    margin-bottom: 10px;
}

.testimonial h4 {
    color: #0056b3;
    font-weight: bold;
}

/* CTA Main */
#cta-main {
    background-color: #004a99; /* Dark blue for main CTA */
    color: #fff;
}

#cta-main h2 {
    color: #fff;
}
#cta-main h2::after {
    background-color: #fff;
}

#cta-main p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

#cta-main .btn-primary {
    background-color: #fff;
    color: #0056b3;
    border-color: #fff;
}
#cta-main .btn-primary:hover {
    background-color: #e9ecef;
    color: #004a99;
}

#cta-main .btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}
#cta-main .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Download App Section */
#download-app {
    background-color: #f8f9fa;
}

/* Waitlist Section */
.waitlist-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    color: white;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.waitlist-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.waitlist-section h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.waitlist-section h2::after {
    display: none;
}

.waitlist-section h3 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
    line-height: 1.2;
}

.waitlist-section > .container > p {
    text-align: center;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

#waitlistForm {
    max-width: 520px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

#waitlistForm div {
    margin-bottom: 1.5rem;
    text-align: left;
}

#waitlistForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

#waitlistForm input[type="text"],
#waitlistForm input[type="email"],
#waitlistForm select,
#waitlistForm textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: #f9fafb;
}

#waitlistForm input:focus,
#waitlistForm select:focus,
#waitlistForm textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    background: var(--white);
}

#waitlistForm select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
}

#waitlistForm textarea {
    resize: vertical;
    min-height: 100px;
}

#waitlistForm button {
    width: 100%;
    padding: 16px;
    font-size: 1.1em;
    margin-top: 0.5rem;
    border-radius: var(--border-radius);
}

.contact-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.contact-note a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.contact-note a:hover {
    border-bottom-color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.contact-section h2 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-section h2::after {
    display: none;
}

.contact-intro {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.contact-info-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.1);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.25);
}

.contact-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.contact-info-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Features Page Specific Styles */
.page-intro {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

#features-detailed .container {
    text-align: left;
}

.feature-category {
    margin-bottom: 50px;
}

.feature-category h3 {
    font-size: 1.8em;
    color: #003366; /* Dark blue for category titles */
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f0ff; /* Light blue border */
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    width: 48px; /* Adjust as needed */
    height: 48px;
    margin-right: 20px;
    flex-shrink: 0;
    /* Add placeholder style if icons are SVGs or require specific coloring */
    /* filter: invert(25%) sepia(85%) saturate(2500%) hue-rotate(190deg) brightness(90%) contrast(100%); for a blue tint */
}

.feature-list-item h4 {
    font-size: 1.3em;
    color: #0056b3; /* Primary blue */
    margin-bottom: 8px;
}

.feature-list-item p {
    font-size: 1em;
    color: #444;
    line-height: 1.7;
}

.cta-section {
    background-color: #e0f0ff; /* Light blue background */
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.cta-section h3 {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 25px;
}

/* Pricing Page Specific Styles */
#pricing-plans .container {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
    align-items: stretch; /* Makes cards same height if content differs */
}

.pricing-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For badge positioning */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border-top: 4px solid #0056b3; /* Primary blue accent for popular plan */
}

.pricing-card .badge {
    position: absolute;
    top: -15px; /* Adjust to sit nicely on the border or slightly above */
    left: 50%;
    transform: translateX(-50%);
    background-color: #0056b3; /* Primary blue */
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.7em;
    color: #004a99; /* Darker blue */
    margin-bottom: 15px;
    margin-top: 10px; /* Space if badge is present */
}

.pricing-card .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #003366; /* Darkest blue */
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 0.5em;
    font-weight: normal;
    color: #555;
}

.pricing-card .plan-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 25px;
    min-height: 40px; /* Ensure consistent spacing */
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    padding-left: 10px; /* Indent list items slightly */
    flex-grow: 1; /* Allows footer button to stick to bottom */
}

.pricing-card ul li {
    margin-bottom: 12px;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li::before {
    content: '\2713'; /* Checkmark character */
    color: #0056b3; /* Primary blue */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto; /* Pushes button to the bottom of the card */
}

.faq-pricing {
    margin-top: 60px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-pricing h3 {
    font-size: 1.8em;
    color: #004a99;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #0056b3;
}

.faq-item h4 {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.95em;
    color: #555;
}

/* About Us Page Specific Styles */
.page-hero {
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

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

.page-hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    padding: 40px 0; /* Adjusted padding for sections within About page */
    text-align: left;
}

.content-section h2 {
    text-align: center; /* Center section titles on About page */
    margin-bottom: 30px;
}

.content-section p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.content-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#mission-values .mission-item {
    text-align: center;
    margin-bottom: 40px;
}

#mission-values .mission-item h3 {
    font-size: 1.6em;
    color: #004a99;
    margin-top: 10px; /* Space after icon */
    margin-bottom: 10px;
}

.inline-icon {
    width: 60px; /* Larger icon for main mission */
    height: 60px;
    margin-bottom: 5px;
}

.inline-icon-small {
    width: 40px; /* Smaller icon for values */
    height: 40px;
    margin-bottom: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.value-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.value-item h4 {
    font-size: 1.3em;
    color: #0056b3;
    margin-bottom: 10px;
}

#team .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #e0f0ff;
}

.team-member h4 {
    font-size: 1.2em;
    color: #004a99;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 0; /* Reset margin for this p */
}

#careers {
    text-align: center;
}
#careers .content-section {
    text-align: center;
}

/* Contact Page Specific Styles */
#contact-form-section .container {
    max-width: 1100px; /* Wider container for side-by-side layout */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-form-container h2,
.contact-details-container h2 {
    font-size: 1.8em;
    color: #004a99;
    margin-bottom: 20px;
}

#mainContactForm label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

#mainContactForm input[type="text"],
#mainContactForm input[type="email"],
#mainContactForm textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    margin-bottom: 15px;
}

#mainContactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#mainContactForm button {
    display: inline-block;
    width: auto; /* Override general form button width if needed */
}

.contact-details-container p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444;
}

.contact-info-list {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 25px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1em;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 3px; /* Align with text better */
    flex-shrink: 0;
}

.contact-details-container h3 {
    font-size: 1.3em;
    color: #004a99;
    margin-top: 25px;
    margin-bottom: 10px;
}

.social-links-contact img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.social-links-contact img:hover {
    opacity: 1;
}

.map-placeholder iframe {
    display: block; /* Remove any extra space below iframe */
}

/* Responsive adjustments for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack form and details */
    }
    .contact-details-container {
        margin-top: 40px;
    }
}

/* Documentation Page Specific Styles */
#documentation-content .container {
    text-align: left;
}

.search-bar-docs {
    display: flex;
    margin: 30px auto 50px;
    max-width: 700px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden; /* To contain button border radius */
}

.search-bar-docs input[type="search"] {
    flex-grow: 1;
    padding: 15px;
    font-size: 1.1em;
    border: none;
    outline: none;
}

.search-bar-docs button {
    padding: 0 25px;
    font-size: 1em;
    border: none;
    border-radius: 0; /* Remove individual button radius */
    cursor: pointer;
}

#documentation-content h2 {
    text-align: center;
    margin-bottom: 30px;
}

.doc-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.doc-category-card {
    background-color: #fff;
    padding: 25px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.doc-category-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    /* Consider a filter for uniform icon color if using diverse SVGs */
    /* filter: invert(30%) sepia(90%) saturate(1500%) hue-rotate(195deg) brightness(95%) contrast(90%); */
}

.doc-category-card h3 {
    font-size: 1.4em;
    color: #0056b3;
    margin-bottom: 10px;
}

.doc-category-card p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 20px;
    min-height: 50px; /* Consistent card height for text */
}

.doc-category-card a {
    font-weight: bold;
    color: #0056b3;
    text-decoration: underline;
}

.popular-articles {
    margin-bottom: 40px;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.popular-articles h3 {
    font-size: 1.5em;
    color: #004a99;
    margin-bottom: 15px;
}

.popular-articles ul {
    list-style: none;
    padding-left: 0;
}

.popular-articles ul li {
    margin-bottom: 10px;
}

.popular-articles ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popular-articles ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Blog Page Specific Styles */
#blog-content .container {
    text-align: left;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; /* Main content and sidebar */
    gap: 40px;
    margin-top: 30px;
}

.blog-posts h2 {
    font-size: 1.8em;
    color: #004a99;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f0ff;
}

.blog-post-item {
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden; /* To contain thumbnail */
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post-item:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.blog-post-thumbnail {
    width: 100%;
    height: 220px; /* Or use aspect-ratio */
    object-fit: cover;
}

.blog-post-content {
    padding: 20px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px; /* Row and column gap */
}

.blog-post-meta span {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
}

.blog-post-meta img {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    opacity: 0.7;
}

.blog-post-content h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.blog-post-content h3 a {
    color: #003366;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post-content h3 a:hover {
    color: #0056b3;
}

.blog-post-content p {
    font-size: 0.95em;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    align-self: flex-start; /* Button aligns to start */
}

/* Blog Sidebar */
.blog-sidebar .sidebar-widget {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    border: 1px solid #e7e7e7;
}

.blog-sidebar .sidebar-widget h4 {
    font-size: 1.25em;
    color: #004a99;
    margin-bottom: 15px;
}

.blog-sidebar .sidebar-widget input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
}

.blog-sidebar .sidebar-widget ul {
    list-style: none;
    padding-left: 0;
}

.blog-sidebar .sidebar-widget ul li {
    margin-bottom: 8px;
}

.blog-sidebar .sidebar-widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-sidebar .sidebar-widget ul li a:hover {
    color: #0056b3;
}

.tag-cloud a {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-right: 5px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-cloud a:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    color: #0056b3;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 3px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination a.active,
.pagination a:hover {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
}

/* Responsive adjustments for Blog Page */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr; /* Stack posts and sidebar */
    }
    .blog-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .blog-post-item {
        /* Simpler layout for very small screens if needed */
    }
    .blog-post-thumbnail {
        height: 180px;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 2rem 2rem;
    font-size: 0.95em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.footer-logo a {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-logo p {
    font-size: 0.95em;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4,
.footer-newsletter h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 12px;
    font-size: 1.1em;
    transition: var(--transition);
    display: inline-block;
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-newsletter input[type="email"] {
    width: calc(100% - 110px);
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px 0 0 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.95rem;
}

.footer-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter button {
    padding: 12px 20px;
    border-radius: 0 10px 10px 0;
    border: none;
    background: var(--accent-gradient);
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    #hero {
        flex-direction: column;
        text-align: center;
    }
    #hero .hero-content {
        margin-bottom: 30px;
    }
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
    }
    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header nav ul li {
        margin: 5px 10px;
    }
    .cta-header {
        margin-top: 15px;
    }
    #hero h1 {
        font-size: 2.2em;
    }
    #hero p {
        font-size: 1em;
    }
    #hero .hero-image img {
        max-width: 80%;
    }
    section h2 {
        font-size: 1.8em;
    }
    .testimonial-slider {
        flex-direction: column;
    }
    .testimonial {
        flex-basis: 100%;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .footer-newsletter input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 4px;
    }
    .footer-newsletter button {
        width: 100%;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    header .logo a {
        font-size: 1.5em;
    }
    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .btn-large {
        padding: 12px 25px;
        font-size: 1em;
    }
    #hero h1 {
        font-size: 1.8em;
    }
} 