/* AIMPLIFY Website Styles */

:root {
    --primary-color: #170709;
    --secondary-color: #3d3d3d;
    --accent-color: #FF6B35;
    --orange-color: #FF6B35;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --hero-color: #170709;
    --font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px; /* Account for fixed navbar */
}

.main-content {
    min-height: calc(100vh - 200px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.display-1 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-gradient {
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-logo {
    height: 40px;
}

/* Alternative: if you want to add background to logo */
.navbar-brand {
    padding: 5px 10px;
    border-radius: 4px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link.active {
    color: var(--orange-color) !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: var(--orange-color) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 6px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-outline-primary {
    color: var(--orange-color);
    border-color: var(--orange-color);
}

.btn-outline-primary:hover {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #1a2338;
    border-color: #1a2338;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, rgba(32, 44, 69, 0.05) 0%, transparent 50%);
    transform: rotate(12deg);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--hero-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--orange-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1a2338);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Services images: consistent size + graceful fallback */
.service-image {
    width: 100%;
    height: 320px;                 /* default desktop height */
    object-fit: cover;              /* crop without distortion */
    background: linear-gradient(135deg, #f3f4f6, #e9ecef);
}

@media (max-width: 991.98px) {
    .service-image { height: 260px; }
}

@media (max-width: 575.98px) {
    .service-image { height: 220px; }
}

/* Pillars Section */
.pillars-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.pillar-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.pillar-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pillar-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

.pillar-card .text-primary {
    color: var(--orange-color) !important;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
   background: var(--primary-color);
     color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--orange-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color) !important;
    color: var(--text-light) !important;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light) !important;
}

.footer p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--orange-color) !important;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Blog Styles */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.blog-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--orange-color);
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    color: #e55a2b;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-header:hover {
    background: #f8f9fa;
}

.faq-content {
    padding: 15px 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 0px 0;
    }
    
    .services-section,
    .pillars-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--orange-color) !important;
}

.bg-primary {
    background-color: var(--orange-color) !important;
}

.border-primary {
    border-color: var(--orange-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

.display-4
{
    color: var(--text-dark)
}

.pt-50 {
    padding-top: 50px !important;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.white
{
    color: var(--text-light) !important;    
}

.admin
{
    padding-top: 0px;

}


/* ========================================
   RESPONSIVE MEDIA QUERIES - SPACING FIXES
   ======================================== */

/* Extra small devices (phones, portrait, up to 576px) */
@media (max-width: 575.98px) {
    /* XS - Mobile portrait */
   .hero-section {
    padding: 40px 0!important;
   }    
}

/* Small devices (phones, landscape, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* SM - Mobile landscape */
    
   .hero-section {
    padding: 40px 0!important;
   }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* MD - Tablets */
   .hero-section {
    padding: 40px 0!important;
   }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* LG - Small desktops */
    
   .hero-section {
    padding: 40px 0!important;
   }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* XL - Large desktops */
    
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    /* XXL - Extra large desktops */
    
}