/* 
 * GeekLabs.co Main Stylesheet
 * Theme inspired by juicyllama.com with a modern tech aesthetic
 */

/* ===== Base Styles ===== */
:root {
    /* Primary Colors */
    --primary-color: #fc4b6c; /* Pink/magenta */
    --primary-dark: #e91e63;
    --primary-light: #ff7a97;
    
    /* Secondary Colors */
    --secondary-color: #3454d1; /* Blue */
    --secondary-dark: #2a43a7;
    --secondary-light: #5977ff;
    
    /* Neutrals */
    --text-dark: #36384a;
    --text-medium: #6c6f81;
    --text-light: #9ca0b4;
    --background-light: #f8f9fa;
    --background-dark: #1b1c2a;
    
    /* Other */
    --border-color: #eaedf0;
    --card-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-dark);
}

p {
    margin-bottom: 20px;
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(252, 75, 108, 0.3);
}

.button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary-color);
}

.nav-links ul {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    padding: 180px 0 100px;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(252, 75, 108, 0.05) 0%, rgba(52, 84, 209, 0.05) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--primary-light);
    opacity: 0.05;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 50px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== Services Section ===== */
.services {
    background-color: white;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(252, 75, 108, 0.15);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    color: var(--text-medium);
}

.service-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: -20px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* ===== Approach Section ===== */
.approach {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.02));
    z-index: 0;
}

.approach-steps {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.approach-step {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: var(--transition);
}

.approach-step:hover .step-number {
    transform: translateX(-50%) translateY(-10px);
    opacity: 0.3;
}

.approach-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--primary-dark);
}

.approach-step p {
    color: var(--text-medium);
}

/* ===== Case Studies Section ===== */
.case-studies {
    background-color: white;
}

.case-study-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    padding: 20px;
}

.case-study-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.case-study-content p {
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== About Section ===== */
.about {
    background-color: var(--background-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 0;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.testimonial {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    max-width: 350px;
    flex: 1;
    min-width: 280px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-quote i {
    font-size: 30px;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 10px;
}

.testimonial-quote p {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--primary-dark);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--background-light);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    margin-right: 15px;
}

.info-item p {
    color: white;
    margin-bottom: 0;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 2;
    min-width: 280px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 75, 108, 0.1);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, #000 100%);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-logo p {
    color: var(--text-light);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-link-group {
    min-width: 150px;
}

.footer-link-group h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
}

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

.footer-link-group a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-link-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .approach-step {
        min-width: 160px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .nav-links, .cta-button {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .button {
        padding: 10px 20px;
    }
    
    .approach-steps {
        gap: 20px;
    }
    
    .approach-step {
        padding: 20px;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
