/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* South African Flag Colors */
:root {
    --sa-red: #DE2910;
    --sa-blue: #002395;
    --sa-green: #007A4D;
    --sa-yellow: #FFB81C;
    --sa-black: #000000;
    --sa-white: #FFFFFF;
    --gradient-red: linear-gradient(135deg, #DE2910, #B71C1C);
    --gradient-blue: linear-gradient(135deg, #002395, #1565C0);
    --gradient-green: linear-gradient(135deg, #007A4D, #2E7D32);
}

        /* Backup styles in case external CSS doesn't load */
        .highlight {
            color: #DE2910 !important;
            font-weight: 700 !important;
            background: none !important;
            -webkit-background-clip: unset !important;
            -webkit-text-fill-color: unset !important;
            background-clip: unset !important;
        }
        
        /* Basic fallback styles */
        body {
            font-family: 'Inter', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 0;
        }
        
        .hero {
            padding: 120px 0 80px;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        
        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #000;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            color: #002395;
            margin-bottom: 1rem;
            font-weight: 600;
        }
        
        .hero-description {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 2rem;
            line-height: 1.8;
        }
        
        .btn {
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #DE2910, #B71C1C);
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(222, 41, 16, 0.3);
        }
        
        .btn-secondary {
            background: transparent;
            color: #002395;
            border: 2px solid #002395;
        }
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sa-black);
}

.logo-p {
    width: 40px;
    height: 50px;
    position: relative;
    background: var(--sa-red);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--sa-blue) 0%, var(--sa-blue) 25%,
        var(--sa-green) 25%, var(--sa-green) 50%,
        var(--sa-red) 50%, var(--sa-red) 75%,
        var(--sa-yellow) 75%, var(--sa-yellow) 100%);
    border-radius: 5px;
}

.logo-inner {
    position: relative;
    width: 30px;
    height: 40px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 3px;
    overflow: hidden;
}

.cityscape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    clip-path: polygon(0 100%, 20% 60%, 40% 80%, 60% 40%, 80% 70%, 100% 30%, 100% 100%);
}

.sa-flag {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 8px;
    background: linear-gradient(45deg, 
        var(--sa-black) 0%, var(--sa-black) 30%,
        var(--sa-green) 30%, var(--sa-green) 50%,
        var(--sa-yellow) 50%, var(--sa-yellow) 70%,
        var(--sa-red) 70%, var(--sa-red) 100%);
    border: 1px solid var(--sa-white);
    border-radius: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--sa-black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--sa-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--sa-black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--sa-white) 0%, #f8f9fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--sa-black);
}

.highlight {
    background: linear-gradient(135deg, var(--sa-red), var(--sa-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--sa-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sa-red), #B71C1C);
    color: var(--sa-white);
    box-shadow: 0 4px 15px rgba(222, 41, 16, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 41, 16, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--sa-blue);
    border: 2px solid var(--sa-blue);
}

.btn-secondary:hover {
    background: var(--sa-blue);
    color: var(--sa-white);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 300px;
    height: 400px;
    position: relative;
}

.hero-p {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--sa-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--sa-blue) 0%, var(--sa-blue) 25%,
        var(--sa-green) 25%, var(--sa-green) 50%,
        var(--sa-red) 50%, var(--sa-red) 75%,
        var(--sa-yellow) 75%, var(--sa-yellow) 100%);
    border-radius: 15px;
}

.hero-inner {
    position: relative;
    width: 80%;
    height: 80%;
    background: linear-gradient(180deg, #FF6B35 0%, #8B4513 100%);
    border-radius: 10px;
    overflow: hidden;
}

.hero-cityscape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    clip-path: polygon(0 100%, 15% 70%, 30% 85%, 45% 55%, 60% 80%, 75% 45%, 90% 65%, 100% 40%, 100% 100%);
}

.hero-sa-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 20px;
    background: linear-gradient(45deg, 
        var(--sa-black) 0%, var(--sa-black) 30%,
        var(--sa-green) 30%, var(--sa-green) 50%,
        var(--sa-yellow) 50%, var(--sa-yellow) 70%,
        var(--sa-red) 70%, var(--sa-red) 100%);
    border: 2px solid var(--sa-white);
    border-radius: 3px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--sa-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sa-black);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--sa-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sa-blue), var(--sa-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--sa-white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sa-black);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--sa-white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sa-black);
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--sa-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sa-red);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    width: 250px;
    height: 300px;
    position: relative;
}

.about-p {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--sa-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--sa-blue) 0%, var(--sa-blue) 25%,
        var(--sa-green) 25%, var(--sa-green) 50%,
        var(--sa-red) 50%, var(--sa-red) 75%,
        var(--sa-yellow) 75%, var(--sa-yellow) 100%);
    border-radius: 12px;
}

.about-inner {
    position: relative;
    width: 80%;
    height: 80%;
    background: linear-gradient(180deg, #FF6B35 0%, #8B4513 100%);
    border-radius: 8px;
    overflow: hidden;
}

.about-cityscape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    clip-path: polygon(0 100%, 15% 70%, 30% 85%, 45% 55%, 60% 80%, 75% 45%, 90% 65%, 100% 40%, 100% 100%);
}

.about-sa-flag {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 25px;
    height: 16px;
    background: linear-gradient(45deg, 
        var(--sa-black) 0%, var(--sa-black) 30%,
        var(--sa-green) 30%, var(--sa-green) 50%,
        var(--sa-yellow) 50%, var(--sa-yellow) 70%,
        var(--sa-red) 70%, var(--sa-red) 100%);
    border: 1px solid var(--sa-white);
    border-radius: 2px;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--sa-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--sa-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, var(--sa-blue), var(--sa-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    text-align: center;
    color: var(--sa-white);
}

.portfolio-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-placeholder h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--sa-black);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--sa-white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sa-red), var(--sa-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    color: var(--sa-white);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--sa-black);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: var(--sa-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sa-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--sa-black);
    color: var(--sa-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-p {
    width: 35px;
    height: 45px;
    position: relative;
    background: var(--sa-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--sa-blue) 0%, var(--sa-blue) 25%,
        var(--sa-green) 25%, var(--sa-green) 50%,
        var(--sa-red) 50%, var(--sa-red) 75%,
        var(--sa-yellow) 75%, var(--sa-yellow) 100%);
    border-radius: 4px;
}

.footer-inner {
    position: relative;
    width: 25px;
    height: 35px;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    border-radius: 2px;
    overflow: hidden;
}

.footer-cityscape {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    clip-path: polygon(0 100%, 20% 60%, 40% 80%, 60% 40%, 80% 70%, 100% 30%, 100% 100%);
}

.footer-sa-flag {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 10px;
    height: 6px;
    background: linear-gradient(45deg, 
        var(--sa-black) 0%, var(--sa-black) 30%,
        var(--sa-green) 30%, var(--sa-green) 50%,
        var(--sa-yellow) 50%, var(--sa-yellow) 70%,
        var(--sa-red) 70%, var(--sa-red) 100%);
    border: 1px solid var(--sa-white);
    border-radius: 1px;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--sa-white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--sa-white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sa-red), var(--sa-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sa-white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-logo {
        width: 200px;
        height: 250px;
    }
    
    .about-logo {
        width: 180px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
} 