/* Custom CSS for Gamvoryxming Landing Page */

/* Google Fonts - Poppins */
body {
    font-family: 'Poppins', sans-serif;
}

/* General Body & Container Styling */
body {
    background-color: #1A3A2A; /* Primary Dark Green */
    color: #E0E0E0; /* Light text for readability */
}

.container {
    max-width: 1200px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF; /* White for headings */
}

h1 {
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background-color: #FFD700; /* Gold accent */
    color: #1A3A2A; /* Dark green text on gold */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #E6C200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #4CAF50; /* Lighter green */
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #388E3C; /* Darker green on hover */
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: #1A3A2A;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header nav a {
    color: #E0E0E0;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #FFD700;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensure it takes full viewport height */
    padding-top: 4rem; /* Offset for fixed header */
}

.hero-visuals svg {
    animation: float 6s ease-in-out infinite alternate;
}

.hero-visuals svg:nth-child(1) {
    animation-delay: 0s;
}
.hero-visuals svg:nth-child(2) {
    animation-delay: 2s;
}
.hero-visuals svg:nth-child(3) {
    animation-delay: 4s;
}

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

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(20px) rotate(5deg); }
}

/* About Us Section */
.responsive-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* FAQ Section */
.faq-item {
    background-color: #1A3A2A;
    border: 1px solid #2E5C41;
}

.faq-question {
    cursor: pointer;
    background-color: #1A3A2A;
}

.faq-question:hover {
    background-color: #2E5C41;
}

.faq-question.active .heroicon-plus {
    transform: rotate(45deg); /* Plus to X */
}

.faq-answer {
    background-color: #2E5C41;
}

/* Team Section */
.team-member-card {
    margin-bottom: 1.5rem; /* Spacing for masonry layout */
}

.team-avatar-wrapper {
    position: relative;
    transition: border-color 0.3s ease;
}

.hover-overlay {
    transition: all 0.3s ease;
}

/* Industries Section */
.industry-card {
    transition: all 1s ease;
}

.industry-card svg{
    margin: 0 auto;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.industry-card .hover-description {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 1s ease;
}

.industry-card:hover .hover-description {
    opacity: 1;
    height: auto; /* Adjust as needed */
}

.industry-card .heroicon-64-outline {
    width: 4rem; /* 64px */
    height: 4rem; /* 64px */
    display: inline-block;
    vertical-align: middle;
    transition: all 1s ease;
}

.industry-card:hover .heroicon-64-outline {
    transform: scale(1.1);
}

/* Stats Section */
.stats-container {
    overflow-x: auto; /* For mobile scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.stats-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.stat-card {
    min-width: 220px; /* Ensure cards don't shrink too much */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Form Section */
#contact input[type="text"], 
#contact input[type="email"], 
#contact textarea {
    background-color: #F3F4F6;
    color: #1A3A2A;
    border: 1px solid #4CAF50;
}

#contact input::placeholder, 
#contact textarea::placeholder {
    color: #6B7280; /* Darker placeholder text */
}

#contact input:focus, 
#contact textarea:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.4);
}

/* Footer Section */
.footer-section {
    background-color: #1A3A2A;
}

.footer-tile a {
    color: #E0E0E0;
    transition: color 0.3s ease;
}

.footer-tile a:hover {
    color: #FFD700;
}

.footer-tile .heroicon-24-outline {
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
    display: inline-block;
    vertical-align: middle;
}

/* Cookie Banner */
#cookie-banner {
    transition: transform 0.5s ease-out;
}

#cookie-banner.show {
    transform: translateY(0);
}

/* Mobile Menu */
#mobile-menu {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 500px; /* Arbitrary large value to allow smooth transition */
}

@media (max-width: 991px) {
.grid-sizer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem; /* Adjust for smaller screens */
    }

    .grid-sizer{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
    .hero-description {
        font-size: 1rem;
    }
    .hero-cta {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .services-grid, .industries-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        text-align: center;
    }

    .footer-tile a.text-3xl {
        justify-content: center;
    }

    .footer-tile .flex {
        justify-content: center;
    }

    .stats-container {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .stat-card {
        flex-shrink: 0;
    }
}
/* New styles for .infoGuardBlock and its nested elements */

.infoGuardBlock {
    padding: 3rem 1.5rem; /* Top/bottom padding and side padding */
    margin-top: 4rem; /* Top margin to separate from previous section */
    margin-bottom: 4rem; /* Bottom margin */
    background-color: #2E5C41; /* A slightly lighter green for the block background */
    border-radius: 0.75rem; /* Slightly rounded corners for the block */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.infoGuardBlock h1 {
    font-size: 2.25rem; /* Slightly smaller than typical H1 for content blocks */
    font-weight: 700;
    margin-bottom: 1.5rem; /* Space below heading */
    line-height: 1.2;
    color: #FFD700; /* Gold accent for main heading */
}

.infoGuardBlock h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem; /* Space above heading */
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #FFFFFF; /* White for sub-headings */
}

.infoGuardBlock h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: #E0E0E0; /* Light grey for tertiary headings */
}

.infoGuardBlock h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #E0E0E0;
}

.infoGuardBlock h5 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.6;
    color: #E0E0E0;
}

.infoGuardBlock p {
    font-size: 1rem; /* Standard paragraph font size */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #E0E0E0; /* Light text color */
}

.infoGuardBlock ul {
    list-style: disc; /* Default disc for unordered lists */
    margin-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 0; /* Remove default padding */
    color: #E0E0E0;
}

.infoGuardBlock li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem; /* Space between list items */
    color: #E0E0E0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {
    .infoGuardBlock {
        padding: 2rem 1rem; /* Adjust padding for smaller screens */
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .infoGuardBlock h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .infoGuardBlock h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
    }

    .infoGuardBlock h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .infoGuardBlock p,
    .infoGuardBlock ul,
    .infoGuardBlock li {
        font-size: 0.9375rem; /* Slightly smaller text for mobile */
    }
}
