/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    padding-top: 80px; /* Add padding to account for fixed header */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: rgba(240, 240, 240, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

/* Hide navigation for regular users but keep for search engines */
nav {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0cb35;
}

/* Hero section with payment message */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    padding: 50px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero .slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    animation: slideshow 15s infinite;
}

.hero .slideshow .slide:nth-child(1) {
    background-image: url('images/slide/side-01.jpeg');
    animation-delay: 0s;
}

.hero .slideshow .slide:nth-child(2) {
    background-image: url('images/slide/slide-02.jpeg');
    animation-delay: 5s;
}

.hero .slideshow .slide:nth-child(3) {
    background-image: url('images/slide/slide-03.jpg');
    animation-delay: 10s;
}

@keyframes slideshow {
    0%, 25% {
        opacity: 1;
    }
    33%, 92% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.message-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.message {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 40px;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
    position: relative;
    color: #333;
    animation: float 5s ease-in-out infinite;
    z-index: 5;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(-2deg);
    }
}

.message:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 3px dashed #d9534f;
    border-radius: 15px;
    z-index: -1;
}

.message h2 {
    color: #d9534f;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.message-content {
    font-size: 1.3rem;
    line-height: 1.7;
}

.message-content p {
    margin-bottom: 15px;
}

.message-content p:first-child {
    font-weight: bold;
    font-size: 1.5rem;
}

.signature {
    margin-top: 25px;
    font-style: italic;
    text-align: right;
    font-weight: bold;
}

/* Team section styles */
.team {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

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

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer; /* Add pointer cursor to indicate it's clickable */
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1004/591; /* Business card dimensions 1004 × 591 */
}

.team-member h3 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
    color: #1a365d;
    margin: 0;
}

.team-member p {
    padding: 0 20px 20px;
    color: #757575;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive adjustments for team section */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .team h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* Services section - hidden from UI but available for search engines */
.services {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    visibility: hidden;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a365d;
}

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

.service {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid #f0cb35;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service h3 {
    color: #1a365d;
    margin-bottom: 15px;
}

/* Footer styles - hidden from UI but available for search engines */
footer {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    visibility: hidden;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-info, .footer-contact {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-info h3, .footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f0cb35;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal popup styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 20px;
    overflow: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.modal-info {
    margin-top: 20px;
    text-align: center;
}

.modal-info h3 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 5px;
}

.modal-info p {
    font-size: 1.3rem;
    color: #757575;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .message {
        padding: 25px;
    }
    
    .message h2 {
        font-size: 1.8rem;
    }
    
    .message-content {
        font-size: 1.1rem;
    }
}
