/* ewanweb.com Custom Styles */
/* Digital Marketing Agency for Service-Based Businesses */

/* ========== Color Variables ========== */
:root {
    /* Primary Colors */
    --primary-blue: #0066CC;
    --success-green: #28A745;
    --white: #FFFFFF;
    --dark-gray: #2C3E50;

    /* Accent Colors */
    --warning-orange: #FF6B35;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;

    /* Additional Colors */
    --text-color: #2C3E50;
    --border-color: #dee2e6;

    /* Spacing */
    --section-spacing: 80px;
    --content-max-width: 1200px;
}

/* ========== Typography ========== */
body {
    font-family: 'Open Sans', 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Roboto', 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-gray);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ========== Layout ========== */
.container {
    max-width: var(--content-max-width);
}

.section-spacing {
    padding: var(--section-spacing) 0;
}

/* ========== Navigation ========== */
.navbar {
    padding: 1rem 0;
    background-color: var(--white) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.navbar-light .navbar-brand {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-light .nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .nav-link:hover {
    color: var(--primary-blue);
}

.navbar .btn-cta {
    margin-left: 1rem;
}

.navbar .phone-link {
    color: var(--dark-gray);
    font-weight: 600;
    text-decoration: none;
    margin-right: 1rem;
}

.navbar .phone-link:hover {
    color: var(--primary-blue);
}

/* ========== Buttons ========== */
.btn-primary-custom {
    background-color: var(--warning-orange);
    border-color: var(--warning-orange);
    color: var(--white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #e55c2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary-custom {
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-lg-custom {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* ========== Hero Section ========== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 50px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

/* ========== Trust Bar ========== */
.trust-bar {
    background-color: var(--light-gray);
    padding: 30px 0;
    border-top: 3px solid var(--success-green);
}

.trust-badge {
    text-align: center;
    padding: 10px;
}

.trust-badge i {
    color: var(--success-green);
    font-size: 2rem;
    margin-bottom: 10px;
}

.trust-badge p {
    margin: 0;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ========== Cards ========== */
.service-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    background: var(--white);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.service-card p {
    color: var(--medium-gray);
}

/* ========== Industry Cards ========== */
.industry-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    background: var(--white);
}

.industry-card:hover {
    border-color: var(--primary-blue);
    background-color: var(--light-gray);
    transform: scale(1.05);
}

.industry-card i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.industry-card h5 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.industry-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* ========== Pricing Cards ========== */
.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    background: var(--white);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary-blue);
    border-width: 3px;
    background: linear-gradient(to bottom, #f8f9ff 0%, var(--white) 100%);
}

.pricing-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 20px 0;
}

.pricing-card .price-subtitle {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    color: var(--success-green);
    margin-right: 10px;
}

/* ========== Testimonial Cards ========== */
.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.testimonial-card .stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
}

.testimonial-card .client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-card .client-name {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.testimonial-card .client-business {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ========== Case Study Cards ========== */
.case-study-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-study-card .card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052a3 100%);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.case-study-card .metric-highlight {
    background: var(--success-green);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: var(--section-spacing);
}

.footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
    padding: 0;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* ========== Mobile Optimizations ========== */
@media (max-width: 768px) {
    .section-spacing {
        padding: 50px 0;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .hero-section .btn-primary-custom,
    .hero-section .btn-secondary-custom {
        margin: 10px 0;
    }
}

/* ========== Sticky Mobile CTA ========== */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--warning-orange);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }
}

.sticky-mobile-cta .btn {
    width: 100%;
    background: var(--white);
    color: var(--warning-orange);
    font-weight: 700;
    border: none;
}

/* ========== Click-to-Call Button ========== */
.phone-cta {
    display: inline-flex;
    align-items: center;
    background: var(--success-green);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-cta:hover {
    background: #218838;
    color: var(--white);
    transform: scale(1.05);
}

.phone-cta i {
    margin-right: 10px;
}

/* ========== Form Styles ========== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.contact-form .required::after {
    content: '*';
    color: #dc3545;
    margin-left: 4px;
}

/* ========== Utility Classes ========== */
.text-primary-custom {
    color: var(--primary-blue) !important;
}

.text-orange {
    color: var(--warning-orange) !important;
}

.bg-light-custom {
    background-color: var(--light-gray) !important;
}

.badge-custom {
    background: var(--success-green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== Section Backgrounds ========== */
.section-alternate {
    background-color: var(--light-gray);
}

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