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

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.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: 12px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5530;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5530;
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Carousel */
.hero {
    margin-top: 80px;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    z-index: -1;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 3;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.company-info h3,
.company-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

.company-info h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #333;
}

.directors-list {
    list-style: none;
    padding-left: 0;
}

.directors-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
}

.company-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5530;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    color: #2c5530;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: 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 label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.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: #2c5530;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .company-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}




/* Active navigation link */
.nav-link.active {
    color: #2c5530;
    font-weight: 600;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: slowZoom 8s ease-in-out infinite alternate;
    z-index: 1;
}
    
    
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
    box-sizing: border-box;
}
.loading-text {
    text-align: center;
    color: white;
    animation: fadeInUp 1.5s ease-out;
    max-width: 90%;
    width: 100%;
    z-index: 3;
    position: relative;
}


.loading-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #ffffff, #f0f8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.loading-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
}

.explore-mauritius-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: buttonPulse 2s ease-in-out infinite;
}

.explore-mauritius-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 85, 48, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    animation: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.3); }
    100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.6); }
}

@media (max-width: 768px) {
    .loading-text h1 {
        font-size: 2.5rem;
    }
    
    .loading-text p {
        font-size: 1rem;
    }
}

/* Advanced Typography and Readability Enhancements */
.text-shadow-light {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.3);
}

.text-shadow-dark {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255, 255, 255, 0.5);
}

.text-glow-white {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
}

.text-glow-emerald {
    text-shadow: 0 0 10px rgba(44, 85, 48, 0.8), 0 0 20px rgba(44, 85, 48, 0.6), 0 0 30px rgba(44, 85, 48, 0.4);
}

/* Dynamic contrast backgrounds */
.high-contrast-bg {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(44, 85, 48, 0.8));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.light-contrast-bg {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(44, 85, 48, 0.2);
}

/* Improved readability for different backgrounds */
.on-dark-bg {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.on-light-bg {
    color: #2c5530;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.on-colorful-bg {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(44, 85, 48, 0.7));
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Enhanced button styles */
.cta-button-enhanced {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-button-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button-enhanced:hover::before {
    left: 100%;
}

.cta-button-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive typography scaling */
@media (max-width: 1200px) {
    .parallax-content h1 { font-size: 3.5rem; }
    .parallax-content h2 { font-size: 2.8rem; }
    .parallax-content p { font-size: 1.2rem; }
}

@media (max-width: 992px) {
    .parallax-content h1 { font-size: 3rem; }
    .parallax-content h2 { font-size: 2.4rem; }
    .parallax-content p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .parallax-content h1 { font-size: 2.5rem; }
    .parallax-content h2 { font-size: 2rem; }
    .parallax-content p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .parallax-content h1 { font-size: 2rem; }
    .parallax-content h2 { font-size: 1.8rem; }
    .parallax-content p { font-size: 0.95rem; }
}

@keyframes buttonPulse {
    0% { transform: scale(1); box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(44, 85, 48, 0.6); }
    100% { transform: scale(1); box-shadow: 0 8px 25px rgba(44, 85, 48, 0.4); }
}

/* Mobile responsive for loading screen */
@media (max-width: 768px) {
    .loading-text h1 {
        font-size: 2.5rem;
    }
    
    .loading-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .explore-mauritius-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .loading-text h1 {
        font-size: 2rem;
    }
    
    .loading-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .explore-mauritius-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    
    
    /* Mobile responsive for loading screen */
@media (max-width: 768px) {
    .loading-screen {
        height: 100vh;
        height: 100dvh;
    }
    
    .loading-content {
        height: 100vh;
        height: 100dvh;
    }
    
    .loading-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .loading-overlay {
        padding: 15px;
    }
    
    .loading-text {
        max-width: 95%;
    }
    
    .loading-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .loading-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }
    
    .explore-mauritius-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .loading-overlay {
        padding: 10px;
    }
    
    .loading-text {
        max-width: 100%;
    }
    
    .loading-text h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .loading-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .explore-mauritius-btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 180px;
    }
}

@media (max-width: 320px) {
    .loading-text h1 {
        font-size: 1.8rem;
    }
    
    .loading-text p {
        font-size: 0.9rem;
    }
    
    .explore-mauritius-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 160px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .loading-text h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .loading-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .explore-mauritius-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
    
    

