/* ========================================
   DIASPORA TALENT CENTRE STYLES
   ======================================== */

/* CSS Variables for Brand Colors */
:root {
    --primary-red: #A62828;
    --primary-orange: #F39C12;
    --dark-red: #8B1F1F;
    --light-orange: #FDB462;
    --orange-bg: #FFF5E6;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-gray: #666666;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
}

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

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-red);
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-orange);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--light-orange);
}

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

/* Ocean Wave Animation */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 200%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(243,156,18,0.3)'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    animation: wave 15s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 0.8;
}

.wave2 {
    bottom: -30px;
    animation: wave 12s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 0.5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='rgba(243,156,18,0.2)'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
}

.wave3 {
    bottom: -40px;
    animation: wave 18s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 0.3;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='rgba(253,180,98,0.25)'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--light-orange);
}

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

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-red);
}

.btn-secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-primary-large {
    background: var(--primary-orange);
    color: var(--white);
    padding: 18px 45px;
    font-size: 18px;
}

.btn-primary-large:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 60px 0;
    background: var(--orange-bg);
}

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

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* ========================================
   VALUES SECTION
   ======================================== */

.values-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 50px;
}

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

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.value-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-gray);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: var(--primary-red);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--light-orange);
    margin-bottom: 30px;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--light-orange);
    position: relative;
    z-index: 2;
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background: var(--light-gray);
}

.two-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.content-title {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.highlight-box {
    background: var(--orange-bg);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-orange);
}

.highlight-box h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 500;
}

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

.max-width-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* ========================================
   MISSION & VISION
   ======================================== */

.mission-vision-section {
    padding: 80px 0;
}

.mission-box {
    background: var(--primary-red);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
}

.mission-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-orange);
}

.vision-box {
    background: var(--primary-orange);
    color: var(--white);
    padding: 50px;
    border-radius: 12px;
}

.vision-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vision-box p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   REGION CARDS
   ======================================== */

.region-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.region-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.region-card h4 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.region-card p {
    color: var(--text-gray);
}

/* ========================================
   SERVICES PAGE
   ======================================== */

.service-block {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.service-block.highlight {
    background: var(--orange-bg);
    border-left: 5px solid var(--primary-orange);
}

.service-block h2 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.service-block p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 500;
}

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

.grid-item {
    background: var(--light-gray);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

.service-block.highlight .grid-item {
    background: var(--white);
}

.visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.visa-item {
    background: var(--orange-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.visa-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.visa-item h4 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.visa-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-info-card {
    display: flex;
    gap: 20px;
    background: var(--orange-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--text-gray);
    margin-bottom: 5px;
}

.contact-info-card a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.office-hours {
    background: var(--primary-red);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.office-hours h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.office-hours p {
    margin-bottom: 8px;
    color: var(--light-orange);
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-instruction {
    background: #E8F4F8;
    border-left: 4px solid var(--primary-orange);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.form-instruction p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.map-section {
    padding: 60px 0;
    background: var(--light-gray);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-red);
    color: var(--white);
    padding: 60px 0 30px;
    overflow: hidden;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    width: 100%;
}

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

.footer-col {
    min-width: 0;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    word-wrap: break-word;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    color: var(--light-orange);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-col ul li a {
    color: var(--light-orange);
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-tagline {
    color: var(--light-orange);
    margin-top: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--light-orange);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .wave {
        height: 100px;
    }

    .wave2 {
        height: 100px;
    }

    .wave3 {
        height: 100px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-title {
        font-size: 1.7rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-block h2 {
        font-size: 1.7rem;
    }

    .mission-box,
    .vision-box {
        padding: 30px;
    }

    .contact-form-container {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-card {
        padding: 25px;
    }

    .value-icon {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}
