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

:root {
    --primary-blue: #1674ba;
    --accent-gold: #faad1a;
    --dark-black: #000000;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    max-height: 70px;
    width: auto;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: var(--white);
    list-style: none;
    padding: 15px 0;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    z-index: 1000;
}

/* Create an invisible bridge to prevent dropdown from disappearing */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    border-left-color: var(--accent-gold);
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(22, 116, 186, 0.85), rgba(250, 173, 26, 0.85)), url('../assets/images/kindehero.jpg') center/cover;
    color: var(--white);
    padding: 200px 20px 150px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
    z-index: 1;
}

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

.hero h2 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--dark-black);
}

.btn-primary:hover {
    background-color: #f59e0e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(250, 173, 26, 0.4);
}

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

.btn-secondary:hover {
    background-color: #1560a0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 116, 186, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 100px 20px;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-top: -20px;
    margin-right: -20px;
    height: 150px;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-black);
    padding: 0 20px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
    padding: 0 20px;
}

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

/* Projects Section */
.projects {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.projects-carousel {
    position: relative;
    margin-bottom: 50px;
    min-height: 300px;
}

.project-item {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-item.active {
    display: block;
    opacity: 1;
}

.project-content {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--accent-gold);
}

.project-content h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

.project-content ul {
    list-style: none;
    padding: 0;
}

.project-content li {
    color: var(--text-dark);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.project-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.carousel-controls {
    text-align: center;
    margin-top: 30px;
}

.carousel-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--dark-black);
    transform: scale(1.1);
}

/* How We Work Section */
.how-we-work {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f4f8, var(--bg-light));
}

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

.process-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 4px solid var(--accent-gold);
}

.process-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    opacity: 0.3;
}

.process-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-black);
}

.process-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Partners Section */
.partners {
    padding: 40px 20px;
    background-color: var(--white);
    color: var(--dark-black);
}

.partners .section-header h2 {
    color: var(--primary-blue);
}

.partners .section-header p {
    color: var(--dark-black);
}

.partners-carousel {
    position: relative;
    margin-bottom: 30px;
    min-height: 120px;
    overflow: hidden;
}

.partners-carousel-inner {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

.partners-slide {
    flex: 0 0 calc(20% - 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.partners-slide img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

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

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.partners-carousel-inner:hover {
    animation-play-state: paused;
}

.partners-controls {
    display: none;
}

.partners-btn {
    display: none;
}

/* Presence Section */
.presence {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

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

.presence-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.presence-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(22, 116, 186, 0.2);
}

.presence-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.presence-card p {
    color: var(--accent-gold);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-info>p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-details {
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item i {
    font-size: 24px;
    color: var(--accent-gold);
    width: 30px;
    text-align: center;
}

.detail-item h4 {
    color: var(--dark-black);
    margin-bottom: 5px;
}

.detail-item p {
    color: var(--text-light);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--dark-black);
    transform: translateY(-3px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

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

.contact-form .btn {
    align-self: flex-start;
}

/* Map container for contact page */
.map-container {
    width: 100%;
    height: 420px;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Service Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

.service-overview {
    padding: 80px 20px;
    background-color: var(--white);
}

.service-overview h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 20px;
}

.service-overview p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
}

.service-details {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

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

.detail-card {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--accent-gold);
}

.detail-icon {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.detail-card h3 {
    font-size: 20px;
    color: var(--dark-black);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    color: var(--text-dark);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
}

.service-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 18px;
}

.industries-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.industries-section h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
}

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

.industry-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.industry-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(22, 116, 186, 0.2);
}

.industry-item i {
    font-size: 36px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.industry-item p {
    color: var(--text-dark);
    font-weight: 500;
}

.key-projects {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.key-projects h2 {
    color: var(--primary-blue);
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-item-list {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.project-item-list i {
    color: var(--accent-gold);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.project-item-list span {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue) 50%, var(--accent-gold) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 20px 30px;
}

.contact-cta {
    background: #0a3d62;
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.contact-cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

/* Footer Social Links */
.footer-section .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: #f5f5f5;
        margin: 0;
        min-width: auto;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        padding: 10px 20px 10px 40px;
        font-size: 14px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .project-content {
        padding: 30px;
    }

    .partners-slide {
        flex: 0 0 calc(33.333% - 14px);
    }

    .partners-carousel-inner {
        animation: scroll-mobile 15s linear infinite;
    }

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

        100% {
            transform: translateX(calc(-100% / 2));
        }
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 100px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .services,
    .projects,
    .how-we-work,
    .testimonials,
    .presence,
    .contact {
        padding: 60px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    .carousel-btn,
    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .footer-content {
        gap: 30px;
    }
}



/* About Us Page Styles */
.about-overview {
    padding: 80px 20px;
    background-color: var(--bg-light);
}

.about-overview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-overview-content h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.about-overview-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.about-overview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    object-fit: cover;
}

.about-section {
    padding: 80px 20px;
    background-color: var(--primary-blue);
    color: var(--white);
}

.about-section h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 30px;
    text-align: left;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--white);
    text-align: left;
    max-width: 900px;
}

.core-values {
    padding: 100px 20px;
    background-color: var(--white);
    color: var(--text-dark);
}

.core-values h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 60px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(26, 84, 163, 0.08);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid rgba(26, 84, 163, 0.2);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(26, 84, 163, 0.12);
    transform: translateY(-10px);
    border-color: rgba(26, 84, 163, 0.4);
}

.value-icon {
    font-size: 50px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

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

.value-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.about-cta {
    padding: 80px 20px;
    background-color: var(--accent-gold);
    text-align: center;
    color: var(--dark-black);
}

.about-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-black);
}

.about-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Responsive Design for About Us */
@media (max-width: 768px) {

    .about-overview,
    .about-section,
    .about-cta {
        padding: 50px 20px;
    }

    .about-overview-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-overview-content h2,
    .about-section h2,
    .core-values h2,
    .about-cta h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 30px 20px;
    }
}