/* Main CSS for SaaS Cost Optimization Audit Template */

/* Color Variables - Pastel High Contrast Colors */
:root {
    --primary-color: #3e86dd;
    --primary-light: #7bb3ff;
    --primary-dark: #2646a0;
    
    --secondary-color: #07ad5d;
    --secondary-light: #62fda7;
    --secondary-dark: #0d8e62;
    
    --accent-color: #e8ac1b;
    --accent-light: #ffb94f;
    --accent-dark: #d69300;
    
    --danger-color: #ff5333;
    --danger-light: #ff9d8e;
    --danger-dark: #e7282a;
    
    --info-color: #00ccdc;
    --info-light: #65f1f7;
    --info-dark: #1ba3bc;
    
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --dark: #2c364f;
    --gray-100: #F3F4F6;
    --gray-200: #e1eaf9;
    --gray-300: #c0cbdc;
    --gray-400: #afb7c5;
    --gray-500: #5d647b;
    --gray-600: #565e65;
    --gray-700: #2d3543;
    --gray-800: #111a22;
    --gray-900: #13182c;
    
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.25rem;
    color: var(--primary-color);
}

h1, .h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

p, .lead {
    font-size: 1rem;
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding-top: 80px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--box-shadow-lg);
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Cards and Features */
.feature-card,
.service-card,
.pricing-card,
.review-card,
.case-study-card,
.career-card,
.cost-feature,
.automation-card,
.support-card,
.custom-card,
.faq-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.review-card:hover,
.case-study-card:hover,
.career-card:hover,
.cost-feature:hover,
.automation-card:hover,
.support-card:hover,
.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

/* Feature Icons */
.feature-icon,
.service-icon,
.security-icon,
.support-icon,
.automation-icon,
.integration-icon,
.custom-icon,
.monitoring-icon,
.migration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 12px;
    background-color: var(--light-bg);
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Services Section */
.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.price-tag {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Pricing Cards */
.pricing-card.border-primary {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), var(--box-shadow);
}

.pricing-card .card-header {
    border-radius: 12px 12px 0 0;
}

/* Team Section */
.team-member .member-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--box-shadow);
}

/* Reviews Section */
.stars i {
    font-size: 1rem;
    margin-right: 2px;
}

/* Process Section */
.step-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Timeline Section */
.timeline-year {
    font-size: 1rem;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.form-control {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(83, 139, 255, 0.10);
}

.contact-info .contact-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

/* Blog Section */
.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Gallery Section */
#gallery img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Breadcrumb */
.breadcrumb-section {
    padding-top: 100px;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb img:hover {
    opacity: 1;
}

/* Space Page */
#space {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

/* Utility Classes */
.text-purple {
    color: #9461f7;
}

.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* Custom Grid Fix for 5 Columns */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Animations - Conservative ScrollReveal Only */
[data-sal] {
    transition-duration: 0.5s;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Additional Styles for Better Visual Appeal */
.info-item,
.feature-item,
.process-step,
.timeline-item,
.security-item,
.enterprise-feature,
.integration-item,
.monitoring-feature,
.migration-feature {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--white);
    transition: transform 0.3s ease;
}

.info-item:hover,
.feature-item:hover,
.process-step:hover,
.timeline-item:hover,
.security-item:hover,
.enterprise-feature:hover,
.integration-item:hover,
.monitoring-feature:hover,
.migration-feature:hover {
    transform: translateY(-2px);
}

/* Icon Colors */
.text-primary { color: var(--primary-color); }
.text-success { color: var(--secondary-color); }
.text-warning { color: var(--accent-color); }
.text-danger { color: var(--danger-color); }
.text-info { color: var(--info-color); }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .team-member .member-photo img {
        width: 100px;
        height: 100px;
    }
} 

.hero-section h1 {
    padding-top: 60px; /* Reduced from 225px to ensure visibility */
}


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
