/* Fermite Landing Page Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    transition: opacity 0.5s ease-in-out;
}

/* Smooth transitions for content */
.fermite-main {
    transition: opacity 0.6s ease-in-out;
}

.fermite-header {
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.hexagon-background {
    transition: opacity 0.8s ease-in-out;
}

/* Hexagon Background Pattern - Beehive Style */
.hexagon-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/fermite-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff8e1;
    opacity: 1;
}

/* Dark overlay to improve text readability */
.hexagon-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Header */
.fermite-header {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.6s ease-out;
}

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

.fermite-logo img {
    height: 40px;
    width: auto;
}

.fermite-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.btn-home {
    background-color: #f9a825;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-home:hover {
    background-color: #f57f17;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff !important;
    text-decoration: none;
}

/* Main Content */
.fermite-main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    padding: 60px 0;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.welcome-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-subtitle {
    font-size: 1.6rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

/* Info Boxes */
.info-boxes {
    margin-top: 40px;
}

.info-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    height: 100%;
    min-height:300px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.info-box.info-box-right {
    animation-delay: 0.4s;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.info-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 3px solid #f9a825;
    padding-bottom: 10px;
}

.info-box p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-box a {
    color: #f9a825;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #f57f17;
    text-decoration: underline;
}

.btn-facebook {
    background-color: #4267B2;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.btn-facebook:hover {
    background-color: #365899;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #fff !important;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2.5rem;
    }

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

    .info-box {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .info-box h2 {
        font-size: 1.6rem;
    }

    .info-box p {
        font-size: 1rem;
    }

    .fermite-header {
        padding: 15px 0;
    }

    .fermite-logo-text {
        font-size: 20px;
    }

    .fermite-logo img {
        height: 35px;
    }

    .welcome-section {
        margin-bottom: 50px;
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2.2rem;
    }

    .welcome-subtitle {
        font-size: 1.6rem;
    }

    .info-box {
        padding: 25px 15px;
    }

    .info-box h2 {
        font-size: 1.6rem;
    }

    .info-box p {
        font-size: 1.6rem;
    }
}

/* Ensure proper stacking on mobile */
@media (max-width: 991px) {
    .info-boxes .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Smooth fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

