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

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #12372a;
    background-color: #436850; 
}

/* Header Section */
.header {
    position: relative;
    background: url('/assets/images/friends.jpg') no-repeat center center/cover;
    height: 500px;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

/* Logo and Text Styling */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: absolute;
    top: 20px;
    left: 20px;
    animation: fadeInRight 1.5s ease;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 0.5rem;
}

.company-name {
    font-size: 2rem;
    font-weight: bold;
    color: #adbc9f;
    text-shadow: 2px 2px 5px #000000, -2px -2px 5px #000000, 2px -2px 5px #000000, -2px 2px 5px #000000;
}

.header-text {
    font-size: 4rem;
    font-weight: 700;
    color: #adbc9f;
    text-shadow: 2px 2px 5px #000000, -2px -2px 5px #000000, 2px -2px 5px #000000, -2px 2px 5px #000000;
    animation: fadeInUp 1.5s ease;
}

/* About Section */
.about-section {
    padding: 0;
}

/* About Row Styling */
.about-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    width: 100vw;
    min-height: 500px;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1s ease, transform 1s ease;
}

.about-row.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Leader Row Styling */
.leader-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    position: relative;
}

.leader-image {
    position: absolute;
    left: -400px;
    top: 50%;
    transform: translateY(-50%);
}

.leader-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #adbc9f;
}

.leader-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.leader-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.leader-text p {
    font-size: 1.4rem;
    line-height: 1.8;
}

/* Alternating Row Colors */
.row-color1 {
   background-color: #436850;
    color: #fbfada;
}

.row-color2 {
    background-color: #436850;
    color: #fbfada;
}

.row-color3 {
    background-color: #adbc9f;
    color: #12372a;
}

.row-color4 {
    background-color: #fbfada;
    color: #436850;
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.4rem;
    line-height: 1.8;
}

/* Footer Section */
footer {
    background-color: #12372A;
    color: #FBFADA;
    text-align: center;
    padding: 20px 10px;
    position: relative;
    margin-top: auto; 
}

footer p {
    margin: 10px 0;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Row Animations */
.row-color1.visible {
    animation: slideInLeft 1s ease forwards;
}

.row-color2.visible {
    animation: slideInRight 1s ease forwards;
}

.row-color3.visible {
    animation: slideInLeft 1s ease forwards;
}

.row-color4.visible {
    animation: slideInRight 1s ease forwards;
}

/* Sticky Button */
.sticky-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #436850;
    color: #FBFADA;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border: 3px solid #000000;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

.sticky-button:hover {
    background-color: #ADBC9F;
    color: #12372A;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: fixed;
    top: 60px;
    right: 20px;
    background-color: #12372A;
    border: 3px solid #000000;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

.dropdown-content.show {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #FBFADA;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content li a:hover {
    background-color: #ADBC9F;
    color: #12372A;
}

.dropdown-content li a.active {
    background-color: #436850;
    color: #FBFADA;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .leader-image {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 2rem;
    }
    
    .leader-content {
        flex-direction: column;
        padding-left: 0;
    }
}

@media (max-width: 992px) {
    .header-text {
        font-size: 3rem;
    }
    
    .about-content h2, .leader-text h2 {
        font-size: 2rem;
    }
    
    .about-content p, .leader-text p {
        font-size: 1.2rem;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header {
        height: 400px;
    }
    
    .header-text {
        font-size: 2.5rem;
    }
    
    .leader-image img {
        width: 250px;
        height: 250px;
    }
    
    .about-row {
        padding: 3rem 1rem;
        min-height: 400px;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header {
        height: 350px;
    }
    
    .header-text {
        font-size: 2rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .company-name {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .leader-image img {
        width: 200px;
        height: 200px;
    }
    
    .about-content h2, .leader-text h2 {
        font-size: 1.8rem;
    }
    
    .about-content p, .leader-text p {
        font-size: 1.1rem;
    }
    
    .about-row {
        padding: 2rem 1rem;
        min-height: 350px;
    }
}