h2{
    font-size: 1.75rem !important; /* Equivalent to 28px if base font-size is 16px */
}


:root {
    --primary-color: #554477;
    --secondary-color: #7a669b;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'sans-serif', sans-serif;
}

body {
    background: var(--white);
}

/* Global Link Reset */
a {
    text-decoration: none;
    color: inherit;
    margin: 0;
    padding: 0;
}

/* Top Bar Styles */
.top-bar {
    background: var(--primary-color);
    padding: 10px 0;
    color: var(--white);
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.contact-info a {
    color: var(--white);
    margin-right: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}
.custom-alert {
    background: #d4edda;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    /* Position fixed to stay in viewport */
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* Add animation */
    animation: slideIn 0.5s ease-in-out;
    z-index: 1000;
}

/* Animation for smooth entry */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.custom-alert .alert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-alert h3 {
    color: green;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.custom-alert p {
    color: #555;
    margin-bottom: 15px;
}

.custom-alert button {
    padding: 10px 20px;
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.custom-alert button:hover {
    background-color: darkgreen;
}

/* Add fade out animation */
.custom-alert.hiding {
    animation: slideOut 0.5s ease-in-out forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
/* Header Styles */
.header {
    background: transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px !important;
}

.logo img {
    height: 50px;
    width: auto; /* Maintain aspect ratio */
}

.logo-text {
    color: var(--primary-color) !important;
    font-size: 1.3rem;
    font-weight: bold;
    padding-left: 10px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap; /* Prevent text wrapping */
}

.logo a:hover {
    opacity: 0.9;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .logo {
        gap: 5px !important; /* Reduce gap for mobile */
    }
    
    .logo img {
        height: 40px; /* Slightly smaller logo for mobile */
    }
    
    .logo-text {
       
        color: var(--primary-color) !important;
    }

    .logo a {
        align-items: center;
        justify-content: flex-start; /* Align to left on mobile */
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .logo img {
        height: 35px; /* Even smaller for very small devices */
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* Navigation Styles */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 5px 0;
    transition: 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

/* Footer Styles */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 50px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns for desktop */
    gap: 40px;
    margin-bottom: 40px;
}

/* Logo Section Styles */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
}

.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: var(--white);
}

/* Section Headers */
.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding-left: 0;
}

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

.footer-section ul li a {
    color: var(--white);
    transition: 0.3s;
    padding: 2px 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Footer Contact Info */
.footer-section p {
    line-height: 1.8;
}

.footer-section i {
    color: var(--white);
    margin-right: 10px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Tablet Responsiveness */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-logo {
        grid-column: 1 / -1; /* Make logo section full width */
    }
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        text-align: justify;
    }

    .footer-section h3::after {
        left: 0;
        transform: none;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-logo h3 {
        font-size: 1.2rem;
        text-align: justify;
    }

    .footer-section ul li a {
        padding: 5px 0; /* Larger touch target for mobile */
    }
    
    .footer-section ul {
        text-align: justify;
    }
}

/* Mobile View Styling */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        background: var(--white);
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px;
        border: 1px solid #ddd;
    }

    .nav-links a {
        color: var(--primary-color);
        font-size: 1.1rem;
        padding: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
     .footer-section ul li a {
        padding: 5px 0; /* Larger touch target for mobile */
    }
    
    .footer-section ul {
        text-align: justify;
    }
}
/* Formation of Elkin Exports Section */
.formation-elkin {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
}

.formation-elkin h2 {
    font-size: 30px;
    color: #554477;
    text-align: center;
}

.formation-elkin p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.title {
            text-align: center;
            color: #684EA0;
            font-size: 24px;
            margin-bottom: 40px;
        }

        .person-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .person-card {
            position: relative;
            padding: 24px;
            text-align: center;
            background: white;
            border-radius: 8px;
            border-left: 4px solid #684EA0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .person-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 16px rgba(104, 78, 160, 0.2);
            border-left-color: #4A3575;
            background: linear-gradient(to bottom, white, #F3F0FF);
        }

        .icon-container {
            width: 64px;
            height: 64px;
            margin: 0 auto 16px;
            background: #F3F0FF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .person-card:hover .icon-container {
            transform: scale(1.1);
            background: #E9E3FF;
        }

        .icon {
            width: 32px;
            height: 32px;
            fill: #684EA0;
            transition: fill 0.3s ease;
        }

        .person-card:hover .icon {
            fill: #4A3575;
        }

        .person-name {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin: 0 0 8px;
            transition: color 0.3s ease;
        }

        .person-card:hover .person-name {
            color: #684EA0;
        }

        .person-title {
            font-size: 14px;
            color: #666;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .person-card:hover .person-title {
            color: #684EA0;
        }

        /* Glowing border effect on hover */
        .person-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 8px;
            border: 2px solid transparent;
            transition: border-color 0.3s ease;
            pointer-events: none;
        }

        .person-card:hover::after {
            border-color: rgba(104, 78, 160, 0.2);
        }

        @media (max-width: 1024px) {
            .person-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .person-grid {
                grid-template-columns: 1fr;
            }
        }