/* Hand-drawn style CSS for Sostahagwo B2B Solutions Website */

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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: #2c3e50;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-text {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    position: relative;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border-color: #2c3e50;
    box-shadow: 3px 3px 0px #2c3e50;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #2c3e50;
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
    border-color: #2c3e50;
    box-shadow: 3px 3px 0px #2c3e50;
}

.btn-secondary:hover {
    background-color: #d5dbdb;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #2c3e50;
}

.btn-text {
    background: transparent;
    color: #3498db;
    border: none;
    box-shadow: none;
    padding: 8px 16px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #2c3e50;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo a {
    text-decoration: none;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #3498db;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    margin: 2px 0;
}

/* Active state animations */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    border-bottom: 3px wavy #3498db;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
}

.hero h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0px rgba(52, 152, 219, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #34495e;
}

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

.hero-image svg {
    filter: drop-shadow(3px 3px 0px rgba(44, 62, 80, 0.3));
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #2c3e50;
    box-shadow: 5px 5px 0px #2c3e50;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: rotate(1deg) scale(1.05);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* About Section */
.about-preview {
    padding: 80px 0;
    background: linear-gradient(45deg, #ecf0f1 0%, #d5dbdb 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #2c3e50;
    box-shadow: 5px 5px 0px rgba(44, 62, 80, 0.3);
    position: relative;
}

.testimonial-icon {
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
    border-top: 2px solid #2c3e50;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: #2c3e50;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Blog Preview */
.blog-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #2c3e50;
    box-shadow: 5px 5px 0px #27ae60;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: rotate(-1deg) scale(1.02);
}

.blog-icon {
    margin-bottom: 1rem;
}

.read-more {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #27ae60;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #2c3e50;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #2c3e50;
    box-shadow: 5px 5px 0px rgba(44, 62, 80, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #2c3e50;
    border-radius: 8px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1) rotate(5deg);
}

.footer-bottom {
    border-top: 2px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    z-index: 1001;
    border-top: 3px solid #3498db;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #2c3e50;
    max-width: 500px;
    margin: 2rem;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #ecf0f1;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-category span {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
}

.about-hero-content {
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.company-story {
    padding: 80px 0;
    background-color: #fff;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    text-align: left;
}

.team {
    padding: 80px 0;
    background: linear-gradient(45deg, #ecf0f1 0%, #d5dbdb 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #2c3e50;
    box-shadow: 5px 5px 0px rgba(44, 62, 80, 0.3);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: rotate(2deg) scale(1.02);
}

.member-photo {
    margin-bottom: 1rem;
}

.position {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 1rem;
}

.values {
    padding: 80px 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #2c3e50;
    box-shadow: 5px 5px 0px rgba(44, 62, 80, 0.3);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: rotate(-1deg) scale(1.05);
}

.value-icon {
    margin-bottom: 1rem;
}

.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Thank You Page Styles */
.thank-you {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.next-steps {
    margin: 3rem 0;
    text-align: left;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 3px solid #2c3e50;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    border: 2px solid #2c3e50;
}

.contact-info-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #2c3e50;
    margin: 2rem 0;
    text-align: left;
}

.urgent-contact {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    justify-content: center;
}

.actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 80px;
    background-color: #fff;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-content h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.blog-content {
    padding: 80px 0;
    background-color: #fff;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecf0f1;
    color: #7f8c8d;
}

.blog-article h2 {
    text-align: left;
    margin: 2rem 0 1rem;
    color: #3498db;
}

.blog-article h3 {
    margin: 1.5rem 0 1rem;
    color: #2c3e50;
}

.blog-article p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-article ul,
.blog-article ol {
    margin: 1rem 0 1rem 2rem;
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.blog-back {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .container {
        position: relative;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        z-index: 1000;
        padding: 80px 20px 20px;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        border-right: 3px solid #3498db;
    }
    
    .nav.mobile-menu-open {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .nav li {
        margin: 0;
        border-bottom: 1px solid #ecf0f1;
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 15px 20px;
        color: #2c3e50;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 0;
        position: relative;
    }
    
    .nav a:hover {
        background-color: #3498db;
        color: white;
        transform: translateX(5px);
    }
    
    .nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background-color: #3498db;
        transition: width 0.3s ease;
        z-index: -1;
    }
    
    .nav a:hover::before {
        width: 100%;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-content,
    .about-content,
    .story-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .urgent-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero svg,
    .about-image svg,
    .story-image svg {
        width: 100%;
        height: auto;
    }
}

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

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }