/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand img.logo-img {
    height: 50px; /* Increased from 40px */
    width: auto;
    max-width: 200px; /* Increased from 180px */
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-nav {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-nav:hover {
    background: #5a6fd8;
    color: white;
}

.contact-nav:hover::after {
    display: none;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #2c3e50;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .contact-nav {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
}

/* Hamburger menu hidden on desktop */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Section base styles */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 70px; /* Account for fixed navbar */
}

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

/* Splash Screen Styles */
.splash-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.splash-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.text-content {
    text-align: left;
    padding-left: 2rem;
}

.main-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 400px;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Document Mockup */
.image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.document-mockup {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    position: relative;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.doc-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.doc-badge {
    background: #4caf50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.document-content {
    margin-bottom: 1rem;
}

.doc-line {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.doc-line.short {
    width: 75%;
}

/* Reviews Section Styles */
.reviews-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-carousel {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.carousel-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0);
}

.stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-style: italic;
}

.review-author strong {
    color: #2c3e50;
    font-weight: 600;
}

.review-author span {
    color: #6c757d;
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #667eea;
}

.client-logos {
    text-align: center;
    margin-top: 4rem;
}

.client-logos h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.logo-carousel-container {
    display: flex;
    align-items: center;
    height: 120px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 1rem 0;
}

.logo-carousel {
    display: flex;
    align-items: center;
    animation: scroll 20s linear infinite;
    width: fit-content;
}

.client-logo {
    height: 60px;
    width: auto;
    margin: 0 2rem;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .splash-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .text-content {
        padding-left: 0;
    }
    
    .main-headline {
        font-size: 2.5rem;
    }
    
    .subheadline {
        margin: 0 auto 2rem auto;
    }
    
    .image-content {
        display: none;
    }
    
    .document-mockup {
        max-width: 300px;
    }
    
    /* Reviews section mobile styles */
    .reviews-section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .review-card {
        padding: 1.5rem;
        height: auto;
        min-height: 200px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .carousel-container {
        height: auto;
        min-height: 250px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .logo-placeholder {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 1rem;
    }
    
    .main-headline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .logo-grid {
        grid-template-columns: 1fr;
    }
} 

/* Additional mobile carousel styles */
@media (max-width: 768px) {
    .carousel-controls {
        gap: 0.5rem;
    }
    
    .review-card {
        margin: 0 0.5rem;
    }
    
    .review-author span {
        font-size: 0.8rem;
    }
    
    /* Logo carousel mobile styles */
    .client-logo {
        height: 40px;
        margin: 0 1rem;
    }
    
    .logo-carousel {
        animation: scroll 15s linear infinite;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-33.33%);
        }
    }
}

/* Services Section Styles */
.services-section {
    background: #f8f9fa;
    padding: 4rem 2rem;
}

.services-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card ul li {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.service-cta {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.service-cta:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.services-summary {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .services-summary {
        margin: 2rem 0;
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* POPIA Services Section Styles */
.popia-services-section {
    background: white;
    padding: 4rem 2rem;
}

.popia-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.popia-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.popia-summary {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #ff2a2a 0%, #ce4b2b 100%);
    border-radius: 15px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .popia-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .popia-summary {
        margin: 2rem 0;
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Contact Section Styles */
.contact-section {
    background: #2c3e50;
    padding: 4rem 2rem;
    color: white;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.contact-info {
    text-align: left;
    padding: 2.5rem 0;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: block;
    margin-bottom: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.address-block {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.address-block .address {
    display: inline-block;
    line-height: 1.5;
    white-space: pre-line;
}

.contact-method:hover {
    opacity: 0.8;
}

.contact-method .icon {
    margin-right: 0.5rem;
}


.book-consultation:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.response-time {
    background: #667eea;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.response-time p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.response-time:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

/* What is PAIA Section Styles */
.paia-section {
    background: white;
    padding: 4rem 2rem;
}

.paia-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.paia-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    justify-items: center;
    justify-content: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.paia-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

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

.paia-card.urgent {
    border-left-color: #ff6b6b;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.paia-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.paia-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
}

.paia-summary {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.summary-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-button.secondary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: #f8f9fa;
    color: #667eea;
    border-color: #f8f9fa;
}

@media (max-width: 768px) {
    .paia-section {
        padding: 2rem 1rem;
    }
    
    .paia-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .paia-card {
        padding: 2rem 1.5rem;
    }
    
    .paia-summary {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .summary-text {
        font-size: 1.1rem;
    }
}
