/* Custom CSS for Inklore Partners */

/* CSS Variables for Brand Colors */
:root {
    --teal-primary: #5a9b9d;
    --teal-light: #7ab5b7;
    --teal-dark: #4a8285;
    --dark-slate: #4a5568;
    --dark-slate-light: #718096;
    --dark-slate-dark: #2d3748;
    --light-gray: #f7fafc;
    --white: #ffffff;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --border-light: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Custom Button Styles */
.btn-teal {
    background-color: var(--teal-primary);
    border-color: var(--teal-primary);
    color: white;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-teal:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 155, 157, 0.3);
}

.btn-outline-teal {
    border: 2px solid var(--teal-primary);
    color: var(--teal-primary);
    background: transparent;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-teal:hover {
    background-color: var(--teal-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 155, 157, 0.3);
}

/* Background Utilities */
.bg-dark-slate {
    background-color: var(--dark-slate) !important;
}

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

/* Text Utilities */
.text-teal {
    color: var(--teal-primary) !important;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Navigation Styles */
.navbar-dark .navbar-brand {
    font-weight: 600;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background-color: var(--teal-primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--teal-light);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 16px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--teal-light) !important;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    width: 400px;
}

/* Section Styles */
.section {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    height: 70vh;
    padding: 40px 0;
}

.hero-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    margin-bottom: 1.5rem;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-card i {
    font-size: 2.5rem;
    display: block;
}

.hero-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: var(--text-muted);
    margin: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    color: var(--teal-primary);
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    min-height: 350px;
}

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

.service-icon {
    background: linear-gradient(45deg, var(--teal-primary), var(--teal-light));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: '?';
    color: var(--teal-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* About Section */
.about-content {
    padding-right: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-item i {
    width: 20px;
}

.contact-item a {
    color: var(--text-muted);
}

.contact-item a:hover {
    color: var(--teal-primary);
}

/* Notable Wins */
.notable-wins h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.win-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--teal-primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.win-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.win-header h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.win-tag {
    background-color: var(--teal-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.win-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.portfolio-header h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    flex: 1;
    margin-right: 1rem;
}

.portfolio-tag {
    background-color: var(--dark-slate);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.portfolio-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.portfolio-features h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portfolio-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.portfolio-features li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.portfolio-features li:before {
    content: '?';
    color: var(--teal-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background-color: var(--light-gray);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

/* Contact Section */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: white;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 0.2rem rgba(90, 155, 157, 0.25);
}

.contact-form .form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-info-card {
    padding: 1.5rem;
}

.contact-info-card i {
    font-size: 2rem;
    display: block;
}

.contact-info-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
footer .logo-container .brand-name,
footer .logo-container .brand-subtitle {
    color: white;
}

footer .logo-container .brand-subtitle {
    color: var(--teal-light);
}

footer p {
    color: white !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.testimonial-author h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-top: 1rem;
}

.testimonial-rating i {
    color: #ffc107;
    margin-right: 0.25rem;
}

/* Resources */
.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

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

.resource-icon {
    background: linear-gradient(45deg, var(--teal-primary), var(--teal-light));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.resource-content {
    flex: 1;
}

.resource-content h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.resource-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.resource-tag {
    background-color: var(--teal-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.resource-size {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .portfolio-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .portfolio-header h4 {
        margin-right: 0;
    }
    
    .flash-messages {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 80vh;
        padding: 80px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .resource-card {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-icon {
        align-self: center;
    }
    
    .hero-section {
        height: auto;
        min-height: 70vh;
        padding: 60px 0 30px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Smooth animations for page load */
.hero-content,
.service-card,
.portfolio-card,
.win-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-content {
    animation-delay: 0.2s;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.min-vh-100 {
    min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--teal-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--teal-dark);
}
